-
Notifications
You must be signed in to change notification settings - Fork 22
/
Changes.txt
90 lines (74 loc) · 3.55 KB
/
Changes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
v3.0.3 Sat Nov 9 2024
CLI: add 'OpenCage CLI' to the HTTP user agent string
Test suite: remove python 3.7, add 3.13
v3.0.2 Thu Sep 12 2024
CLI: better handling of empty lines and missing or invalid coordinates
CLI: --dry-run prints an 'all good' message if no warnings
v3.0.1 Wed Sep 5 2024
CLI: rename parameter "extra-params" to "optional-api-params"
CLI: parameter "unordered" which can lead to speedup on large files
CLI: limit --workers to 1 for free trial accounts
Batch example: replaced by CLI now
v3.0.0 Wed Sep 4 2024
Requires python 3.7 and asyncio package
Inititial release of the 'opencage' CLI tool
RateLimitExceededError no longer prints reset date
Batch example: warn if no API key present earlier
Batch example: some errors were not printed, e.g. invalid API key
Batch example: Check latest version of opencage package is used
Add python 3.12, no longer test against python 3.7
v2.3.1 Wed Nov 15 2023
New error 'SSLError' which is more explicit in case of SSL certificate chain issues
Allow setting a domain name (only used in test suite)
Allow setting sslcontext, for example to ignore SSL certificat errors (for debugging only)
Batch example: Guess if input is coordinate pair, if so then do reverse geocoding
Batch example: Give example of input file format
Batch example: Ship CA root certificates instead of relying on those of the operating system
v2.3.0 Tue 04 Jul 2023
Batch example: Raise exception when API key fails (quota, missing API key)
Batch example: Raise exception when input file contains an empty line. Better
early than risking errors later during the async geocoding
Batch example: The CSV '1, "street,city"' were parsed as 3 columns, not the
expected 2 columns
Test suite: Switched from Travis-CI to Github Actions
Dependencies: Requests 2.26->2.31, backoff 1.10->2.2.1, because only those say to support Python 3.10
v2.2.0 Fri 05 May 2023
Using requests > 2.26 , pyopenssl no longer a dependency
Allow setting the http protocol to make API requests (less secure)
Batch example: add progress bar, can be switched off
Batch example: add image of output to README
Examples: mark scripts as executable
v2.1.1 Thu 20 Apr 2023
Add python 3.11, no longer test against python 3.6
Test suite: add pytest-asyncio to enable async tests
Batch example: exception handling caused another exception
Batch example: by default don't request annotations (faster)
Documentation improvements
v2.1.0 Thu 13 Oct 2022
Better handling of non-JSON error responses from API
Test on Python 3.10
v2.0.0 Thu 15 Jul 2021
Python 2 no longer supported
New geocode_async and reverse_geocode_async methods
You can now reuse HTTP connections for multiple requests by using a `with` block
Updated examples/batch.py using asyncronous/parallel requests, much faster
Mayor refactor of test suite
Some tests now run against the live API endpoint using test API keys
v1.2.2 Tue 3 Nov 2020
Test on Python 3.9
v1.2.1 Wed 6 May 2020
Ensure OpenSSL is available on installation
Add exponential backoff to HTTP requests
v1.2 Sun 9 Jun 2019
Use https as default
Handle 401 and 403 exceptions
Documentation clean up
Test proximity works and add an example to README
v1.1.5 Sun 30 Sep 2018
Update setup.py to show project description on pypi.org
v1.1.4 Mon 19 Jul 2015
Server response for exceeded quota is HTTP 402, not 429
v1.1.3 Mon 29 Jun 2015
* .tar.gz file was missing for v1.1.2
v1.1.2 Mon 29 Jun 2015
* Allow extra arguments to forward and reverse geocode call. Thanks https://github.com/CrazyPython