Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* BREAKING CHANGE: Improvements to the HTTP download API. * The client now calls two new endpoints: - /geoip/updates/metadata which is responsible for getting information about a database edition. - /geoip/databases/{edition-id}/download which is responsible for downloading the content of a database edition. This new endpoint redirects downloads to R2 presigned URLs, so systems running geoipupdate need to be able to reach - mm-prod-geoip-databases.a2649acb697e2c09b632799562c076f2.r2.cloudflarestorage.com in addition to updates.maxmind.com. * BREAKING CHANGE: The public package API has been redesigned. The previous API was not easy to use and had become a maintenance burden. We now expose a Client at github.com/maxmind/geoipupdate/client with a Download() method. The intention is to expose less of the geoipupdate internals and provide a simpler and easier to use package. Many previously exposed methods and types are now either internal only or have been removed. * BREAKING CHANGE: If set, GEOIPUPDATE_VERBOSE must either be 0 or 1. All other values will return an error. * Setting GEOIPUPDATE_VERBOSE to 1 now works as expected. In the 6.0.0 and 6.1.0 releases, the flag was ignored. Reported by pmcevoy. GitHub #298. geoipupdate now supports retrying on more types of errors such as HTTP2 INTERNAL_ERROR. * Now geoipupdate doesn't requires the user to specify the config file even if all the other arguments are set via the environment variables. Reported by jsf84ksnf. GitHub #284.
- Loading branch information