All notable future changes to the delphi_epidata
python client will be documented in this file.
The format is based on Keep a Changelog.
- Added a one-time check which logs a warning when the newest client version does not match the client version in use.
- Replaced
setup.py
withpyproject.toml
for package metadata and build configuration. - Removed heavy
delphi_utils
dependency by changing debug output from structured logger to direct stderr printing.
- Resolved previous version number typo in CHANGELOG.
- Client version will now only incremented and released when there are structural/functional changes.
- Replaced bad internal logger package import with one from
delphi_utils
package instead.- This bug affected releases 4.1.21 and 4.1.22
- Adds two debug flags:
debug
logs info about HTTP requests and responsessandbox
prevents any HTTP requests from actually executing, allowing for tests that do not incur server load.
- Fixes the
user-agent
version so that it is correctly set to match the current client release.
- Replaced use of deprecated setuptools'
pkg_resources
library with the nativeimportlib.metadata
library.
- Appends a trailing slash to URLs requested by the Python client, which should prevent an automatic redirect and an extra request to the server.
- Removed the
covidcast_nowcast()
method, as the associated API endpoint is no longer available.
- Internally uses newer endpoint-specific URLs instead of an older compatibility alias URL.
- Upper limit on the number of rows returned per request has been increased to 1M (was 3650).
- Method
Epidata.async_epidata()
is now deprecated and will be removed in a future version. - The dict object returned from data request methods will now always have an entry for the "
epidata
" key, potentially with an empty list as its value. previously, if there were no results for the request, the "epidata
" entry was not present. - Results from the
Epidata.covidcast()
method (or potentially thecovidcast
endpoint via theasync_epidata()
method) will now include the keys "source
", "geo_type
", and "time_type
" (and their associated values).
- Established this Changelog