8000 Get files ready for 1.14 release · lucasicr/python-stdnum@3373938 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3373938

Browse files
committed
Get files ready for 1.14 release
1 parent 40fcc24 commit 3373938

20 files changed

+523
-1
lines changed

ChangeLog

Lines changed: 371 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,374 @@
1+
2020-08-09 Arthur de Jong <arthur@arthurdejong.org>
2+
3+
* [40fcc24] stdnum/be/banks.dat, stdnum/cn/loc.dat,
4+
stdnum/eu/nace.dat, stdnum/gs1_ai.dat, stdnum/iban.dat,
5+
stdnum/imsi.dat, stdnum/isbn.dat, stdnum/nz/banks.dat,
6+
stdnum/oui.dat, update/imsi.py, update/nz_banks.py: Update
7+
database files
8+
9+
2020-03-08 Leandro Regueiro <leandro.regueiro@gmail.com>
10+
11+
* [ff188bd] stdnum/vatin.py, tests/test_vatin.doctest: Add module
12+
to check any VAT number 8000
13+
14+
This effectively mimics vatnumber's `check_vat` function, so people
15+
can easily replace the outdated vatnumber library with stdnum.
16+
17+
Closes https://github.com/arthurdejong/python-stdnum/pull/199
18+
19+
2020-08-08 Arthur de Jong <arthur@arthurdejong.org>
20+
21+
* [b6e43cd] update/gs1_ai.py: Fix Python 3.6 issue in update script
22+
23+
Fixes 180788a
24+
25+
2020-08-08 Arthur de Jong <arthur@arthurdejong.org>
26+
27+
* [180788a] stdnum/gs1_128.py, stdnum/gs1_ai.dat,
28+
tests/test_gs1_128.doctest, update/gs1_ai.py: Add GS1-128 format
29+
30+
This adds validation, parsing and encoding functions for
31+
GS1-128. It is based on the lists of formats as published by
32+
the GS1 organisation.
33+
34+
Based on the implementation provided by Sergi Almacellas Abellana
35+
<sergi@koolpi.com>.
36+
37+
Closes https://github.com/arthurdejong/python-stdnum/pull/144
38+
39+
2020-08-02 Arthur de Jong <arthur@arthurdejong.org>
40+
41+
* [c2284f3] stdnum/ro/onrc.py, tests/test_ro_onrc.doctest: Add
42+
Romanian Trade Register identifier
43+
44+
Closes https://github.com/arthurdejong/python-stdnum/issues/229
45+
Closes https://github.com/arthurdejong/python-stdnum/pull/234
46+
47+
2020-06-02 Mohammed Salman <mohammed@holvi.com>
48+
49+
* [94e2c63] stdnum/gb/utr.py, tests/test_gb_utr.doctest: Add
50+
English Unique Tax Reference
51+
52+
Closes https://github.com/arthurdejong/python-stdnum/pull/227
53+
54+
2020-08-02 Arthur de Jong <arthur@arthurdejong.org>
55+
56+
* [505521e] stdnum/ro/cnp.py: Support foreign residents for
57+
Romanian CNP
58+
59+
This supports 7 or 8 as first digits in the CNP which are
60+
apparently used to identify foreign residents.
61+
62+
This also changes the exception for an incorrect first digit
63+
from InvalidFormat to InvalidComponent which is a little clearer.
64+
65+
Closes https://github.com/arthurdejong/python-stdnum/issues/230
66+
67+
2020-08-02 Arthur de Jong <arthur@arthurdejong.org>
68+
69+
* [51a122d] stdnum/kr/GPKIRootCA1.crt, stdnum/kr/brn.py: Remove
70+
custom CA certificate for www.ftc.go.kr
71+
72+
This certificate is not needed any more because the site now
73+
uses a different certificate that is signed by a known CA.
74+
75+
2020-07-31 evaldez89 <evaldez89@gmail.com>
76+
77+
* [feca1fe] stdnum/do/rnc.py, tests/test_do_rnc.py: Scape new
78+
line character
79+
80+
Closes https://github.com/arthurdejong/python-stdnum/pull/233
81+
Closes https://github.com/arthurdejong/python-stdnum/issues/232
82+
83+
2020-04-05 Leandro Regueiro <leandro.regueiro@gmail.com>
84+
85+
* [dab926c] stdnum/tw/__init__.py, stdnum/tw/ubn.py,
86+
tests/test_tw_ubn.doctest: Add support for Taiwan TIN number
87+
88+
Closes https://github.com/arthurdejong/python-stdnum/pull/214
89+
Closes https://github.com/arthurdejong/python-stdnum/issues/209
90+
91+
2020-07-05 Arthur de Jong <arthur@arthurdejong.org>
92+
93+
* [291b831] tox.ini: Avoid newer isort for flake8 tests
94+
95+
Do not install the latest isort because it currently breaks
96+
flake8-isort. This pinning should be removed as soon as
97+
https://github.com/gforcada/flake8-isort/issues/88 is resolved.
98+
99+
2020-03-08 Leandro Regueiro <leandro.regueiro@gmail.com>
100+
101+
* [7112874] stdnum/id/__init__.py, stdnum/id/npwp.py,
102+
tests/test_id_npwp.doctest: Add support for Indonesian NPWP
103+
104+
Closes https://github.com/arthurdejong/python-stdnum/issues/106
105+
Closes https://github.com/arthurdejong/python-stdnum/pull/198
106+
107+
2020-04-18 Leandro Regueiro <leandro.regueiro@gmail.com>
108+
109+
* [a34a76d] stdnum/vn/__init__.py, stdnum/vn/mst.py,
110+
tests/test_vn_mst.doctest: Add support for Vietnam TIN number
111+
112+
Closes https://github.com/arthurdejong/python-stdnum/issues/217
113+
Closes https://github.com/arthurdejong/python-stdnum/pull/218
114+
115+
2020-05-16 Arthur de Jong <arthur@arthurdejong.org>
116+
117+
* [1b7e985] stdnum/kr/GPKIRootCA1.crt, stdnum/kr/brn.py,
118+
tests/test_kr_brn.py: Add an online check for the South Korean BRN
119+
120+
2020-03-07 Leandro Regueiro <leandro.regueiro@gmail.com>
121+
122+
* [b3891f1] stdnum/kr/__init__.py, stdnum/kr/brn.py,
123+
tests/test_kr_brn.doctest: Add support for South Korea Business
124+
Registration Number
125+
126+
Closes https://github.com/arthurdejong/python-stdnum/pull/197
127+
Closes https://github.com/arthurdejong/python-stdnum/issues/101
128+
129+
2020-06-06 Christopher Ormaza <chris.ormaza@gmail.com>
130+
131+
* [127fff1] stdnum/ec/ci.py: Support 6 as third digit for foreign
132+
people in Ecuador
133+
134+
Closes https://github.com/arthurdejong/python-stdnum/pull/228
135+
136+
2020-03-18 Leandro Regueiro <leandro.regueiro@gmail.com>
137+
138+
* [0d5b8b1] stdnum/sg/__init__.py, stdnum/sg/uen.py,
139+
tests/test_sg_uen.doctest: Add support for Singapore Unique
140+
Entity Number
141+
142+
Closes https://github.com/arthurdejong/python-stdnum/issues/111
143+
Closes https://github.com/arthurdejong/python-stdnum/pull/203
144+
145+
2020-03-18 Leandro Regueiro <leandro.regueiro@gmail.com>
146+
147+
* [4eda3f3] stdnum/nz/__init__.py: Add missing vat alias for
148+
New Zealand
149+
150+
Closes https://github.com/arthurdejong/python-stdnum/pull/202
151+
152+
2020-04-04 Leandro Regueiro <leandro.regueiro@gmail.com>
153+
154+
* [f3ce70c] stdnum/cn/__init__.py, stdnum/cn/uscc.py,
155+
tests/test_cn_uscc.doctest: Add support for Chinese TIN number
156+
157+
Closes https://github.com/arthurdejong/python-stdnum/issues/207
158+
Closes https://github.com/arthurdejong/python-stdnum/pull/210
159+
160+
2020-04-10 Leandro Regueiro <leandro.regueiro@gmail.com>
161+
162+
* [54e2e8f] stdnum/sv/__init__.py, stdnum/sv/nit.py,
163+
tests/test_sv_nit.doctest: Add support for El Salvador TIN number
164+
165+
Closes https://github.com/arthurdejong/python-stdnum/issues/133
166+
Closes https://github.com/arthurdejong/python-stdnum/pull/215
167+
168+
2020-03-31 Leandro Regueiro <leandro.regueiro@gmail.com>
169+
170+
* [356a729] stdnum/il/__init__.py, stdnum/il/hp.py,
171+
tests/test_il_hp.doctest: Add Israeli TIN number
172+
173+
Closes https://github.com/arthurdejong/python-stdnum/pull/208
174+
Closes https://github.com/arthurdejong/python-stdnum/issues/107
175+
176+
2020-04-25 Arthur de Jong <arthur@arthurdejong.org>
177+
178+
* [e49e0e9] docs/index.rst: Document function return behaviour
179+
180+
2020-04-19 Arthur de Jong <arthur@arthurdejong.org>
181+
182+
* [417b500] setup.cfg, setup.py, tox.ini: Flake 8 fixes
183+
184+
2020-04-18 Arthur de Jong <arthur@arthurdejong.org>
185+
186+
* [ff86618] .travis.yml: Resolve Travis configuration warnings
187+
188+
2020-04-18 Arthur de Jong <arthur@arthurdejong.org>
189+
190+
* [982322a] tox.ini: Avoid newest Sphinx
191+
192+
Newer versions of Sphinx treat underscores differently when
193+
used in arguments to automodule causing problems in generating
194+
documentation for the stdnum.in_.aadhaar, stdnum.in_.pan,
195+
stdnum.is_.kennitala and stdnum.is_.vsk modules.
196+
197+
2020-03-20 Arthur de Jong <arthur@arthurdejong.org>
198+
199+
* [91ca4da] stdnum/cu/ni.py, stdnum/do/ncf.py, stdnum/do/rnc.py,
200+
stdnum/es/ccc.py, stdnum/es/referenciacatastral.py,
201+
stdnum/eu/eic.py, stdnum/eu/nace.py, stdnum/fi/hetu.py,
202+
stdnum/fr/nir.py, stdnum/gb/nhs.py, stdnum/gr/amka.py,
203+
stdnum/isil.py, stdnum/issn.py, stdnum/kr/rrn.py, stdnum/mu/nid.py,
204+
stdnum/mx/curp.py, stdnum/mx/rfc.py, stdnum/pl/regon.py: Use
205+
HTTPS in URLs where possible
206+
207+
2020-03-19 grzekru <grzegorzgk1@gmail.com>
208+
209+
* [273dd54] stdnum/eu/vat.py: Use HTTPS instead of HTTP fox
210+
VIES lookups
211+
212+
Closes https://github.com/arthurdejong/python-stdnum/issues/204
213+
Closes https://github.com/arthurdejong/python-stdnum/pull/205
214+
215+
2020-03-03 FabrizioMontanari <ffabrizio.montanari@gmail.com>
216+
217+
* [8433821] stdnum/it/aic.py, tests/test_it_aic.doctest: Add
218+
Italian AIC codes
219+
220+
Closes https://github.com/arthurdejong/python-stdnum/pull/193
221+
222+
2020-03-09 Arthur de Jong <arthur@arthurdejong.org>
223+
224+
* [f7b968c] stdnum/by/unp.py: Fix typo
225+
226+
Thanks @unho
227+
228+
2020-03-08 Arthur de Jong <arthur@arthurdejong.org>
229+
230+
* [d09ed52] stdnum/lv/pvn.py, stdnum/ru/inn.py: Use zip() for
231+
applying weights in check algorithms
232+
233+
2020-03-07 Arthur de Jong <arthur@arthurdejong.org>
234+
235+
* [60139a8] stdnum/by/__init__.py, stdnum/by/portal.nalog.gov.by.crt,
236+
stdnum/by/unp.py, tests/test_by_unp.doctest, tests/test_by_unp.py:
237+
Add Bellarus УНП number
238+
239+
This also adds a function to do an online lookup of the number.
240+
241+
Closes https://github.com/arthurdejong/python-stdnum/issues/196
242+
243+
2020-03-07 Leandro Regueiro <leandro.regueiro@gmail.com>
244+
245+
* [ebe7e10] stdnum/jp/__init__.py: Add missing vat alias for Japan
246+
247+
2020-03-07 Leandro Regueiro <leandro.regueiro@gmail.com>
248+
249+
* [6429080] stdnum/ca/__init__.py: Add missing vat alias for Canada
250+
251+
2020-03-07 Leandro Regueiro <leandro.regueiro@gmail.com>
252+
253+
* [84ee720] stdnum/tr/__init__.py: Add missing vat alias for Turkey
254+
255+
2020-03-07 Leandro Regueiro <leandro.regueiro@gmail.com>
256+
257+
* [fcbe159] stdnum/pe/__init__.py: Add missing vat alias for Peru
258+
259+
2020-03-07 Leandro Regueiro <leandro.regueiro@gmail.com>
260+
261+
* [9be7dee] stdnum/cr/__init__.py: Add missing vat alias for
262+
Costa Rica
263+
264+
2020-03-07 Leandro Regueiro <leandro.regueiro@gmail.com>
265+
266+
* [69d22e9] stdnum/br/__init__.py: Add missing vat alias for Brazil
267+
268+
2020-01-31 Leon Sandøy <leon.haland@gmail.com>
269+
270+
* [df9f922] stdnum/no/fodselsnummer.py,
271+
tests/test_no_fodselsnummer.doctest: Implement get_birth_date()
272+
for no.fodselsnummer
273+
274+
This adds a function that allows you to determine a persons
275+
birth date from a Norwegian fødselsnummer.
276+
277+
This also accounts for D-numbers, H-numbers, and FH-numbers,
278+
which contain special exceptions and modifications to the
279+
birthdate portion of the number.
280+
281+
Most of the information this is based on was found here:
282+
https://no.wikipedia.org/wiki/F%C3%B8dselsnummer#H-nummer
283+
284+
It also updates the list of valid fødselsnummer in the tests,
285+
since this list contained many numbers that are not valid by
286+
this new validation that now accounts for dates.
287+
288+
Additionally, this updates all tests that were failing under the
289+
new validation, and adds a few new tests to bring the coverage
290+
to 100%.
291+
292+
Closes https://github.com/arthurdejong/python-stdnum/pull/187
293+
294+
2020-01-31 Leon Sandøy <leon.haland@gmail.com>
295+
296+
* [4500881] stdnum/dk/cpr.py: Improve birth date validation
297+
for dk.cpr
298+
299+
This adds a check to validate that the birth date information
300+
in a personnummer is not set in the future, resolving a TODO
301+
from this file.
302+
303+
It also improves exception messages for certain validation
304+
fail conditions.
305+
306+
2020-01-31 Leon Sandøy <leon.haland@gmail.com>
307+
308+
* [f5e0456] stdnum/se/personnummer.py: Fix misleading docstring
309+
in se.personnummer get_birth_date()
310+
311+
The docstring for get_birth_date() in the Swedish personnummer.py
312+
warned that the datetime might be 100 years off because of the
313+
lack of precision in the personnummer.
314+
315+
This was accurate when the docstring was written, but this is
316+
no longer accurate after the - and + signs were correctly handled.
317+
318+
Fixes 5441ffa
319+
320+
2020-03-01 Arthur de Jong <arthur@arthurdejong.org>
321+
322+
* [8437b8e] .travis.yml: Use bionic for pypy3 tests on Travis
323+
324+
This switches the pypy3 tests to bionic which has Python
325+
3.6.9. There were installation issues with 3.5.3 on trusty and
326+
coverage issues with 3.6.1 of xenial (now the default on Travis).
327+
328+
2020-02-24 Aleksi Hoffman <aleksi@hoffman.fi>
329+
330+
* [353db92] stdnum/fi/hetu.py, tests/test_fi_hetu.doctest: Support
331+
validating temporary Finnish personal identity codes
332+
333+
This adds an optional allow_temporary parameter, which defaults
334+
to False, to the validate() function.
335+
336+
Closes https://github.com/arthurdejong/python-stdnum/pull/191
337+
338+
2020-02-18 Gustavo Valverde <gustavo@iterativo.do>
339+
340+
* [efa70f1] stdnum/do/ncf.py: Change DGII endpoint to new one
341+
342+
The old endpoint has been deprecated.
343+
344+
Closes https://github.com/arthurdejong/python-stdnum/pull/190
345+
346+
2020-02-12 Arthur de Jong <arthur@arthurdejong.org>
347+
348+
* [e513888] stdnum/se/personnummer.py,
349+
tests/test_se_personnummer.doctest: Fix issue with extra plus
350+
or minus in se.personnummer
351+
352+
Fixes 5441ffa Closes
353+
https://github.com/arthurdejong/python-stdnum/issues/188
354+
355+
2020-01-22 Gustavo Valverde <gustavo@iterativo.do>
356+
357+
* [77a77ba] stdnum/do/ncf.py: Add missing NCF document types
358+
for validation
359+
360+
These document types are in the official
361+
documentation, but were not being validated:
362+
https://dgii.gov.do/cicloContribuyente/facturacion/comprobantesFiscales/Paginas/tiposComprobantes.aspx
363+
364+
Closes https://github.com/arthurdejong/python-stdnum/pull/186
365+
366+
2020-01-19 Arthur de Jong <arthur@arthurdejong.org>
367+
368+
* [d5666b8] ChangeLog, NEWS, README, docs/index.rst,
369+
docs/stdnum.ch.esr.rst, setup.py, stdnum/__init__.py: Get files
370+
ready for 1.13 release
371+
1372
2020-01-19 Arthur de Jong <arthur@arthurdejong.org>
2373

3374
* [334e907] online_check/stdnum.wsgi: Fix online check to be Python

0 commit comments

Comments
 (0)
0