Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 8, 2025

Bumps geoip2/geoip2 from 2.13.0 to 3.2.0.

Release notes

Sourced from geoip2/geoip2's releases.

3.2.0

  • Support for the GeoIP Anonymous Plus database has been added. To do a lookup in this database, use the anonymousPlus method on GeoIP2\Database\Reader.
  • metroCode on GeoIp2\Record\Location has been deprecated. The code values are no longer being maintained.

3.1.0

  • This library no longer uses implicitly nullable parameter types. This will fix deprecation warning in PHP 8.4. Reported by Steven Lewis. GitHub #230.
  • The PHPDoc type hints have been improved for use with PHPStan.

3.0.0

  • IMPORTANT: PHP 8.1 or greater is now required.
  • BREAKING: Read-only properties are now used for the model and record classes rather than magic methods. This significantly improves performance.
  • BREAKING: The raw property on model classess and the record property on record classes have been removed.
  • BREAKING: On GeoIp2\Record\Traits, the deprecated isAnonymousProxy and isSatelliteProvider properties have been removed.
  • BREAKING: The jsonSerialize output has changed.
  • GeoIp2\WebService\Client methods now throw an InvalidArgumentException if an invalid IP address is passed to them. Previously, they would make a request to the web service and throw a GeoIp2\Exception\InvalidRequestException.
  • The isAnycast property was added to 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.
Changelog

Sourced from geoip2/geoip2's changelog.

3.2.0 (2025-05-05)

  • Support for the GeoIP Anonymous Plus database has been added. To do a lookup in this database, use the anonymousPlus method on GeoIP2\Database\Reader.
  • metroCode on GeoIp2\Record\Location has been deprecated. The code values are no longer being maintained.

3.1.0 (2024-11-15)

  • This library no longer uses implicitly nullable parameter types. This will fix deprecation warning in PHP 8.4. Reported by Steven Lewis. GitHub #230.
  • The PHPDoc type hints have been improved for use with PHPStan.

3.0.0 (2023-12-04)

  • IMPORTANT: PHP 8.1 or greater is now required.
  • BREAKING: Read-only properties are now used for the model and record classes rather than magic methods. This significantly improves performance.
  • BREAKING: The raw property on model classes and the record property on record classes have been removed.
  • BREAKING: On GeoIp2\Record\Traits, the deprecated isAnonymousProxy and isSatelliteProvider properties have been removed.
  • BREAKING: The jsonSerialize output has changed.
  • GeoIp2\WebService\Client methods now throw an InvalidArgumentException if an invalid IP address is passed to them. Previously, they would make a request to the web service and throw a GeoIp2\Exception\InvalidRequestException.
  • The isAnycast property was added to 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.
Commits
  • b7aa587 Update for v3.2.0
  • 60c5325 Update box and phpDocumentor
  • 1c46517 Update maxmind-db/reader
  • 338b5ff Set release date
  • 9487696 Bump copyright dates
  • b78a44c Merge pull request #244 from maxmind/dependabot/github_actions/astral-sh/setu...
  • 4184347 Bump astral-sh/setup-uv from 5 to 6
  • 0b21493 Merge pull request #243 from maxmind/greg/eng-1813
  • 241ba98 Take advantage of some newer PHP features
  • 001cc47 Document BadMethodCallException exception
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [geoip2/geoip2](https://github.com/maxmind/GeoIP2-php) from 2.13.0 to 3.2.0.
- [Release notes](https://github.com/maxmind/GeoIP2-php/releases)
- [Changelog](https://github.com/maxmind/GeoIP2-php/blob/main/CHANGELOG.md)
- [Commits](maxmind/GeoIP2-php@v2.13.0...v3.2.0)

---
updated-dependencies:
- dependency-name: geoip2/geoip2
  dependency-version: 3.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant