Changelog |
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Tue Apr 09 2024 Paul Howarth <paul@city-fan.org> - 7.0.1-1
- Update to 7.0.1
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 (GH#298)
- 'geoipupdate' now supports retrying on more types of errors such as HTTP2
INTERNAL_ERROR
- Now 'geoipupdate' doesn't require the user to specify the config file if
all the other arguments are set via the environment variables (GH#284)
* Sun Feb 11 2024 Maxwell G <maxwell@gtmx.me> - 6.1.0-4
- Rebuild for golang 1.22.0
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jan 10 2024 Paul Howarth <paul@city-fan.org> - 6.1.0-1
- Update to 6.1.0
- 'geoipupdate' now sets the version in the 'User-Agent' header to the
version in the binary; while there were no issues with the version in the
header, this makes sure it will match the binary (the header also now
includes build information, such as OS and architecture)
- White spaces in secret files 'GEOIPUPDATE_ACCOUNT_ID_FILE',
'GEOIPUPDATE_LICENSE_KEY_FILE' are ignored (GH#262)
* Thu Jul 20 2023 Paul Howarth <paul@city-fan.org> - 6.0.0-1
- Update to 6.0.0
- 'geoipupdate' now supports configuration via environment variables: any
configuration set this way will override any value from the config file,
but still be overridden by any associated command line option (if any)
- The following new environment variables are supported:
- GEOIPUPDATE_ACCOUNT_ID
- GEOIPUPDATE_ACCOUNT_ID_FILE
- GEOIPUPDATE_CONF_FILE
- GEOIPUPDATE_DB_DIR
- GEOIPUPDATE_EDITION_IDS
- GEOIPUPDATE_HOST
- GEOIPUPDATE_LICENSE_KEY
- GEOIPUPDATE_LICENSE_KEY_FILE
- GEOIPUPDATE_LOCK_FILE
- GEOIPUPDATE_PARALLELISM
- GEOIPUPDATE_PRESERVE_FILE_TIMES
- GEOIPUPDATE_PROXY
- GEOIPUPDATE_PROXY_USER_PASSWORD
- GEOIPUPDATE_RETRY_FOR
- GEOIPUPDATE_VERBOSE
- Changed the signature of 'NewConfig' in 'pkg/geoipupdate' to no longer
accept a positional config file path argument, which can now be passed in
using the option from 'WithConfigFile' along with the other optional
parameters
- 'geoipupdate' and 'NewConfig' no longer require a config file to exist
- The '--stack-trace' flag has been removed; this flag has been broken since
4.11.0
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu May 11 2023 Paul Howarth <paul@city-fan.org> - 5.1.1-1
- Update to 5.1.1
- Fixed the Docker health-check script to use the correct time of the last
update attempt (GH#225)
- Added new '--output' flag to print JSON to standard output describing the
result of the run
- Compilation with Go versions before 1.19 is no longer supported
* Wed Apr 19 2023 Paul Howarth <paul@city-fan.org> - 5.0.4-1
- Update to 5.0.4
- The 5.0.0 release mistakenly set the file permissions on downloaded
databases to 0600; this restores the previous behavior of using 0644
(GH#217, GH#218)
- "Database ... up to date" messages are now only shown if the verbose flag
is set (GH#219)
- Since version 5.0.0, the default database directory was not being correctly
set for Debian and RPM package builds - the directory
'/usr/local/share/GeoIP' was being used rather than '/usr/share/GeoIP';
this build restores '/usr/share/GeoIP' as the default directory for these
builds (GH#222)
- Since version 4.9.0, the incorrect commit was tagged; this release attempts
to fix the release process to prevent this issue
* Thu Apr 13 2023 Paul Howarth <paul@city-fan.org> - 5.0.0-1
- Update to 5.0.0
- Redefined the 'Reader' and 'Writer' interface APIs in
'pkg/geoipupdate/database'; this change aims to to make it easier to
introduce custom implementations of these interfaces
- Changed the signature of 'NewConfig' in 'pkg/geoipupdate' to accept
optional parameters; this change allows the introduction of new flags or
config options without making breaking changes to the function's signature
- Introduced 'Parallelism' as a new flag and config option to enable
concurrent database updates
* Fri Mar 17 2023 Paul Howarth <paul@city-fan.org> - 4.11.1-1
- Update to 4.11.1
- 'github.com/pkg/errors' is no longer used to wrap errors
- Docker secrets are now supported for the MaxMind account ID and license
key (GH#197)
- The Dockerfile now has a Healthcheck that makes sure the modification date
of the database directory is within the update period
- The Docker images are now published to the GitHub Container Registry,
'ghcr.io'; we will likely stop publishing to Docker Hub in the near future
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.10.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Sep 27 2022 Paul Howarth <paul@city-fan.org> - 4.10.0-1
- Update to 4.10.0
- HTTPS proxies are now supported (GH#172)
- An HTTP request to get the filename for the edition ID has been removed;
this was previously required as the GeoIP Legacy edition IDs bore little
relation to the name of the database on disk
- Use SPDX-format license tag
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Jul 19 2022 Maxwell G <gotmax@e.email> - 4.9.0-3
- Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in
golang
|