Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency com.maxmind.geoip2:geoip2 to v4 - abandoned #358

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Feb 18, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.maxmind.geoip2:geoip2 (source) 2.1.0 -> 4.2.1 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

maxmind/GeoIP2-java (com.maxmind.geoip2:geoip2)

v4.2.1

Compare Source

  • Dependency updates:
    • maxmind-db was upgraded to 3.1.1.
    • Jackson was upgraded to 2.17.2.
  • Added missing API documentation.

v4.2.0

Compare Source

  • A WebServiceProvider interface has been added to facilitate mocking of
    WebServiceClient. Requested by Evan Chrisinger. GitHub #​359.
  • The GeoIP2 IP Risk database has been discontinued. Methods and classes
    related to it have been deprecated.
  • The fromString static method on the ConnectionType enum now has
    the JsonCreator annotation so that it is used when deserializing.
    This will prevent new additions in the future from causing a
    deserialization error.
  • The isAnycast() method was added to com.maxmind.geoip2.record.Traits.
    This returns true if the IP address belongs to an anycast
    network
    . This is available for the
    GeoIP2 Country, City Plus, and Insights web services and the GeoIP2 Country,
    City, and Enterprise databases.

v4.1.0

Compare Source

  • Added SATELLITE to the ConnectionType enum.

v4.0.1

Compare Source

  • com.maxmind.db is now a transitive dependency of this Java module.

v4.0.0

Compare Source

  • This library is now a Java module.
  • Added support for the GeoIP2 IP Risk database.

v3.0.2

Compare Source

  • Updated Jackson and maxmind-db dependencies.

v3.0.1

Compare Source

  • Updated Jackson dependencies to address CVE-2020-36518. Pull request by
    slunker. GitHub #​306.
  • Minor doc updates.

v3.0.0

Compare Source

  • Java 11 or greater is now required.
  • Apache HttpClient has been replaced with java.net.http.HttpClient.
  • The close() method on WebServiceClient is now deprecated. It
    no longer does anything.
  • On WebServiceClient.Builder:
    • connectTimeout(int) has been deprecated in favor of
      connectTimeout(Duration).
    • readTimeout(int) has been deprecated in favor of
      requestTimeout(Duration).
    • proxy(Proxy) has been deprecated in favor of proxy(ProxySelector).
  • On HttpException and InvalidRequestException, getUrl() has been
    deprecated in favor of getUri(). Constructors that took a URL have
    been replaced with the equivalent taking a URI.
  • Deprecated constructors on model and trait classes were removed.
  • Model data types were updated to better reflect database data types. In
    particular:
    • getGeoNameId() on City, Continent, Country, RepresentedCountry,
      and Subdivision now returns a Long rather than an Integer.
    • getAutonomousSystemNumber() on AsnResponse and Traits now returns
      a Long rather than an Integer.

v2.17.0: 2.17.0

Compare Source

  • Updated model classes with non-breaking changes from the 4.2.0
    branch. In particular, this fixes an issue deserializing the
    new connection_type from the GeoIP2 web services.
  • Updated Jackson and maxmind-db dependencies.

v2.16.1

Compare Source

  • Added JsonProperty annotations to getMobileCountryCode() and
    getMobileNetworkCode() so that it is possible to serialize the
    object as JSON and then deserialize without losing data.

v2.16.0

Compare Source

  • Support for mobile country code (MCC) and mobile network codes (MNC) was
    added for the GeoIP2 ISP and Enterprise databases as well as the GeoIP2
    City and Insights web services. getMobileCountryCode() and
    getMobileNetworkCode() were added to com.maxmind.geoip2.model.IspResponse
    for the GeoIP2 ISP database and com.maxmind.geoip2.record.Traits for the
    Enterprise database and the GeoIP2 City and Insights web services. We expect
    this data to be available by late January, 2022.
  • Deprecated model constructors that exist for backwards compatibility.
    These constructors are not generally used by users of this library
    directly except perhaps when mocking the reader in tests.

v2.15.0

Compare Source

  • No changes since 2.15.0-rc1.

v2.14.0

Compare Source

  • Update maxmind-db dependency to reduce locking when being used from
    multiple threads and to improve the exceptions thrown on an invalid
    database.
  • Update Jackson dependencies.

v2.13.1

Compare Source

  • Update maxmind-db dependency to fix handling of long strings in the
    database. Reported by Dongmin Yu. GitHub #​181.
  • Update Jackson dependencies.

v2.13.0

Compare Source

  • IMPORTANT: Java 8 is now required. If you need Java 7 support, please
    continue using 2.12.0.
  • DatabaseReader now provides the methods that return an Optional rather
    than throwing an exception when the record is not found in the database. These
    methods are prefixed with "try". Closes #​28. Pull request by Luke Butters.
    GitHub #​147.
  • getNetwork() methods have been added to the various response models. These
    return a com.maxmind.db.Network object representing the largest network
    where all the fields besides the IP address are the same.
  • Updated documentation of anonymizer methods isAnonymousVpn() and
    isHostingProvider() to be more descriptive.
  • The DatabaseReader methods city() and country() can now be called on
    the Enterprise database and the country() method can be called on City
    databases. Request by Gergely Boromissza. GitHub #​132.
  • New getStaticIpScore() and getUserCount() methods were added to
    com.maxmind.geoip2.record.Traits for use with GeoIP2 Precision Insights.
    They represent a measure of how static or dynamic an IP address is, and an
    estimate of the number of users sharing a given address or network,
    respectively.

v2.12.0

Compare Source

  • Rename userId to accountId in various places and support the future error
    codes ACCOUNT_ID_REQUIRED and ACCOUNT_ID_UNKNOWN.

v2.11.0

Compare Source

  • The web service client now correctly handles a proxy of Proxy.NO_PROXY.
  • The isInEuropeanUnion() method was added to
    com.maxmind.geoip2.record.Country. This returns true if the country
    is a member state of the European Union.

v2.10.0

Compare Source

  • The following new anonymizer methods were added to
    com.maxmind.geoip2.record.Traits for use with GeoIP2 Precision Insights:
    isAnonymous(), isAnonymousVpn(), isHostingProvider(), isPublicProxy(),
    and isTorExitNode().

v2.9.0

Compare Source

  • Added support for GeoLite2 ASN database.

v2.8.1

Compare Source

  • Update maxmind-db dependency to fix jackson-databind version range
    issue. Closes GitHub #​77.
  • Update most other dependencies.

v2.8.0

Compare Source

  • All changes included in 2.8.0-rc1.
  • Updated documentation to clarify what the accuracy radius refers to.

v2.7.0

Compare Source

  • Added support for the GeoIP2 Enterprise database.

v2.6.0

Compare Source

  • This release was updated to 1.2.0 of the MaxMind DB reader, which includes
    faster caching with fewer allocations.
  • The IP addresses in the database models are now injected via Jackson rather
    than being added to the JsonNode before deserialization. Pull requests by
    Viktor Szathmáry. GitHub #​56.

v2.5.0

Compare Source

  • The database reader now supports pluggable caching of the decoded data. By
    default, no caching is performed. Please see the README.md file or the API
    docs for information on how to enable caching. Pull requests by Viktor
    Szathmáry. GitHub #​55.

v2.4.0

Compare Source

  • Jackson now uses the constructors on model classes when mapping JSON and
    database records to them rather than overriding the access modifiers on
    them. Pull request by Martijn van Groningen. GitHub #​51 & #​52.
  • The format of the output of the toString() methods in the models has
    changed to better represent the values returned by the databases and web
    services. toString() should be only used for debugging and diagnostics.
    Do not try to parse it. If you want the contents of the model as a machine-
    readable string, use toJson().
  • This release depends on version 1.0.1 of the MaxMind DB reader, which
    includes several performance enhancements from by Viktor Szathmáry.

v2.3.1

Compare Source

  • No code changes in this release
  • Fix for version number in pom.xml example in README.md
  • Slight documentation improvement referring to MaxMind-DB-Reader-java

v2.3.0

Compare Source

  • Add support for the average_income and population_density fields.
  • The isAnonymousProxy() and isSatelliteProvider() methods on
    com.maxmind.geoip2.record.Traits have been deprecated. Please use our
    [GeoIP2 Anonymous IP database](https://www.maxmind.com/en/geoip2-anonymous-
    ip-database) to determine whether an IP address is used by an anonymizing
    service.

v2.2.0

Compare Source

  • A DatabaseProvider interface has been added to facilitate mocking of
    DatabaseReader. Pull request by Yonatan Most. GitHub #​34.
  • A getLeastSpecificSubdivision() method has been added to the
    CityResponse and InsightsResponse model classes. This returns the
    least specific subdivision for the location, e.g., England for Oxford,
    GB. Pull request by Daniel Kaneider. GitHub #​35.
  • The InsightsResponse and Location classes are no longer declared final.
  • AbstractResponse is now declared abstract.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

sfreudenthaler and others added 12 commits February 3, 2025 11:36
codeowners with workflow devs

### Proposed Changes
* change 1
* change 2

### Checklist
- [ ] Tests
- [ ] Translations
- [ ] Security Implications Contemplated (add notes if applicable)

### Additional Info
** any additional useful context or info **

### Screenshots
Original             |  Updated
:-------------------------:|:-------------------------:
** original screenshot **  |  ** updated screenshot **
This pull request includes several changes to the deployment process for
the JavaScript SDK in the
`.github/actions/core-cicd/deployment/deploy-javascript-sdk/action.yml`
file. The primary focus is on updating the versioning and tagging system
from "alpha" to "beta".

Changes to versioning and tagging:

* Updated the example projects to point to the 'next' tag instead of
'latest' to prevent version inconsistency.
* Changed the default `npm-package-tag` from 'alpha' to 'beta'.
* Modified the script to fetch the current version using the 'beta' tag
instead of 'alpha', and set the initial version to "0.0.1-beta.0" if no
current version is found.
* Adjusted the version calculation logic to increment the beta version
number instead of the alpha number.
* Changed the npm dist-tag addition command to use the 'next' tag
instead of 'latest'.
Just a file to trigger the workflow
This pull request includes a small but important change to the
deployment script for the JavaScript SDK. The modification ensures that
the `CURRENT_VERSION` is correctly set even if the retrieved version is
`null`.

*
[`.github/actions/core-cicd/deployment/deploy-javascript-sdk/action.yml`](diffhunk://#diff-b47e2bc3507c79547b7f53206919f60585f49479fa09c01ee9ab15eb6bb4c068L74-R74):
Updated the condition to check if `CURRENT_VERSION` is `null` and set it
to `0.0.1-beta.0` if true.
Just trigger the workflow
### Proposed Changes
* change 1
* change 2

### Checklist
- [ ] Tests
- [ ] Translations
- [ ] Security Implications Contemplated (add notes if applicable)

### Additional Info
** any additional useful context or info **

### Screenshots
Original             |  Updated
:-------------------------:|:-------------------------:
** original screenshot **  |  ** updated screenshot **
### Proposed Changes
* change 1
* change 2

### Checklist
- [ ] Tests
- [ ] Translations
- [ ] Security Implications Contemplated (add notes if applicable)

### Additional Info
** any additional useful context or info **

### Screenshots
Original             |  Updated
:-------------------------:|:-------------------------:
** original screenshot **  |  ** updated screenshot **
@spbolton spbolton requested a review from a team as a code owner February 21, 2025 01:07
@renovate renovate bot changed the title chore(deps): update dependency com.maxmind.geoip2:geoip2 to v4 chore(deps): update dependency com.maxmind.geoip2:geoip2 to v4 - abandoned Feb 21, 2025
Copy link
Author

renovate bot commented Feb 21, 2025

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants