Skip to content

Bump github.com/oschwald/maxminddb-golang/v2 from 2.2.0 to 2.3.0#83

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/oschwald/maxminddb-golang/v2-2.3.0
Open

Bump github.com/oschwald/maxminddb-golang/v2 from 2.2.0 to 2.3.0#83
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/oschwald/maxminddb-golang/v2-2.3.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 19, 2026

Bumps github.com/oschwald/maxminddb-golang/v2 from 2.2.0 to 2.3.0.

Release notes

Sourced from github.com/oschwald/maxminddb-golang/v2's releases.

2.3.0

  • This module now targets Go 1.25+.
  • Reduced reflection decoding time and heap allocations on the hot path. A city-lookup benchmark decoding a geoip2-style result runs about 15% faster and allocates about 39% fewer bytes per lookup compared to 2.2.0.
  • Specialized the IPv4 search-tree walk for 24-, 28-, and 32-bit record sizes to skip the IPv6 prefix when looking up IPv4 addresses.
  • Decoding into a non-nil slice with sufficient capacity now reuses the caller's backing array instead of allocating a fresh slice, matching encoding/json semantics. Callers that share slice headers across Decode calls should be aware that the backing memory is now mutated.
  • Reduced contention under concurrent lookups by switching the internal string cache to a lock-free design.
Changelog

Sourced from github.com/oschwald/maxminddb-golang/v2's changelog.

2.3.0 - 2026-05-17

  • This module now targets Go 1.25+.
  • Reduced reflection decoding time and heap allocations on the hot path. A city-lookup benchmark decoding a geoip2-style result runs about 15% faster and allocates about 39% fewer bytes per lookup compared to 2.2.0.
  • Specialized the IPv4 search-tree walk for 24-, 28-, and 32-bit record sizes to skip the IPv6 prefix when looking up IPv4 addresses.
  • Decoding into a non-nil slice with sufficient capacity now reuses the caller's backing array instead of allocating a fresh slice, matching encoding/json semantics. Callers that share slice headers across Decode calls should be aware that the backing memory is now mutated.
  • Reduced contention under concurrent lookups by switching the internal string cache to a lock-free design.
Commits
  • a48a9be Merge pull request #210 from oschwald/dependabot/go_modules/golang.org/x/sys-...
  • bf13761 Bump golang.org/x/sys from 0.41.0 to 0.44.0
  • 4b96bed Merge pull request #211 from oschwald/greg/perf-improvements
  • a37ef6b Scope goconst suppression to tests
  • 79cd080 Run modernize on the code
  • def3ca5 Target Go 1.25
  • 52a7da6 Add 2.3.0 changelog entry
  • 496ae65 Add reflect.Uint fast path to typed decoder
  • 6eaf764 Precompute interface-field unmarshaler dispatch
  • b8a7100 Specialize IPv4 search-tree walk
  • 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 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 [github.com/oschwald/maxminddb-golang/v2](https://github.com/oschwald/maxminddb-golang) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/oschwald/maxminddb-golang/releases)
- [Changelog](https://github.com/oschwald/maxminddb-golang/blob/main/CHANGELOG.md)
- [Commits](oschwald/maxminddb-golang@v2.2.0...v2.3.0)

---
updated-dependencies:
- dependency-name: github.com/oschwald/maxminddb-golang/v2
  dependency-version: 2.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants