Skip to content

build(deps): bump maxminddb from 0.23.0 to 0.27.3#102

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/maxminddb-0.27.3
Open

build(deps): bump maxminddb from 0.23.0 to 0.27.3#102
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/maxminddb-0.27.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 23, 2026

Bumps maxminddb from 0.23.0 to 0.27.3.

Release notes

Sourced from maxminddb's releases.

0.27.3

  • Removed the release_max_level_info feature from the log dependency, as libraries should not set a global release log-level cap. Pull request by monosans. GitHub #110.

0.27.2

  • Performance improvement: Faster lookups and record decoding in common paths, including control-byte header parsing and integer decoding.
  • Performance improvement: Faster string decoding for ASCII-only values by using a dedicated ASCII fast path.
  • Performance improvement: Reduced release-build overhead by compiling out debug/trace logging calls.
  • Fixed: Truncated or corrupt data in control-byte headers now returns a decoding error instead of panicking.

0.27.1

  • Performance improvement: Skipped UTF-8 validation for map keys during deserialization. This significantly speeds up full record decoding by treating keys as raw bytes when matching against struct fields.
  • Performance improvement: Optimized tree traversal by reducing bounds checks during node reading.

0.27.0

This release includes significant API changes. See https://github.com/oschwald/maxminddb-rust/blob/HEAD/UPGRADING.md for migration guidance.

Breaking Changes

Lookup API

  • lookup() now returns LookupResult instead of Option<T>. The new API enables lazy decoding - data is only deserialized when explicitly requested.
  • lookup_prefix() has been removed. Use lookup(ip)?.network() instead.

Iteration API

  • within() now requires a second WithinOptions parameter. Use Default::default() for the previous behavior.
  • Within iterator now yields LookupResult instead of WithinItem<T>.

GeoIP2 Structs

  • The names fields now use a Names struct instead of BTreeMap<&str, &str>. Access names directly via language fields (e.g., names.english).
  • Nested struct fields (city, country, location, etc.) are now non-optional with Default, simplifying access patterns.

... (truncated)

Changelog

Sourced from maxminddb's changelog.

0.27.3 - 2026-02-16

  • Removed the release_max_level_info feature from the log dependency, as libraries should not set a global release log-level cap. Pull request by monosans. GitHub #110.

0.27.2 - 2026-02-14

  • Performance improvement: Faster lookups and record decoding in common paths, including control-byte header parsing and integer decoding.
  • Performance improvement: Faster string decoding for ASCII-only values by using a dedicated ASCII fast path.
  • Performance improvement: Reduced release-build overhead by compiling out debug/trace logging calls.
  • Fixed: Truncated or corrupt data in control-byte headers now returns a decoding error instead of panicking.

0.27.1 - 2025-12-18

  • Performance improvement: Skipped UTF-8 validation for map keys during deserialization. This significantly speeds up full record decoding by treating keys as raw bytes when matching against struct fields.
  • Performance improvement: Optimized tree traversal by reducing bounds checks during node reading.

0.27.0 - 2025-11-28

This release includes significant API changes. See https://github.com/oschwald/maxminddb-rust/blob/main/UPGRADING.md for migration guidance.

Breaking Changes

Lookup API

  • lookup() now returns LookupResult instead of Option<T>. The new API enables lazy decoding - data is only deserialized when explicitly requested.
  • lookup_prefix() has been removed. Use lookup(ip)?.network() instead.

Iteration API

  • within() now requires a second WithinOptions parameter. Use Default::default() for the previous behavior.
  • Within iterator now yields LookupResult instead of WithinItem<T>.

GeoIP2 Structs

  • The names fields now use a Names struct instead of BTreeMap<&str, &str>. Access names directly via language fields (e.g., names.english).
  • Nested struct fields (city, country, location, etc.) are now non-optional with Default, simplifying access patterns.

... (truncated)

Commits
  • 15b48e9 Prepare for 0.27.3
  • 0b19ee2 Merge pull request #110 from monosans/patch-1
  • a9f6020 Revert "Set release log level to info at compile time"
  • d2c9fab Merge pull request #108 from oschwald/greg/perf-improv
  • 98a777c Add serde usage benchmark
  • d8a9715 Prepare changelog for 0.27.2
  • 3b38816 Handle truncated control-byte headers gracefully
  • c20e7e8 Optimize control-byte size decoding
  • e525987 Set release log level to info at compile time
  • 40f8823 Add ASCII fast path for string decoding
  • 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 [maxminddb](https://github.com/oschwald/maxminddb-rust) from 0.23.0 to 0.27.3.
- [Release notes](https://github.com/oschwald/maxminddb-rust/releases)
- [Changelog](https://github.com/oschwald/maxminddb-rust/blob/main/CHANGELOG.md)
- [Commits](oschwald/maxminddb-rust@0.23.0...v0.27.3)

---
updated-dependencies:
- dependency-name: maxminddb
  dependency-version: 0.27.3
  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 rust Pull requests that update rust code labels Apr 23, 2026
@LEXUGE LEXUGE force-pushed the main branch 2 times, most recently from 25532d2 to f92f58c Compare April 23, 2026 21:24
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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants