Skip to content

deps: Bump MaxMind.Db from 5.1.0 to 5.2.0 - #207

Closed
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/nuget/src/Jellyfin.Plugin.TwoFactorAuth/MaxMind.Db-5.2.0
Closed

dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/nuget/src/Jellyfin.Plugin.TwoFactorAuth/MaxMind.Db-5.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 14, 2026

Copy link
Copy Markdown
Contributor

Updated MaxMind.Db from 5.1.0 to 5.2.0.

Release notes

Sourced from MaxMind.Db's releases.

5.2.0

  • Fixed decoding of some valid four-byte data pointers.
  • Fixed truncated or out-of-range results when decoding oversized integers.
  • Added NativeAOT and trimming support for C# model deserialization. The NuGet
    package now includes a source generator for constructor-based and
    property-based models, including models with annotated properties inherited
    from abstract base records.
  • Added reflection-free source-generated activation for supported generic
    collection and dictionary interfaces and concrete types, including closed
    collection types used directly with Find<T> and FindAll<T>.
  • Reused immutable source-generated activation metadata across readers, reducing
    the time and allocation cost of the first model lookup on a new reader.
  • Improved lookup performance and reduced allocations when creating collections
    through reflection.
  • Enabled trim, AOT, and single-file compatibility analysis.
  • Added the MMDBSG001 through MMDBSG016 diagnostics, which report model
    shapes the generator cannot support so that they are caught at build time
    rather than after trimming or an AOT publish. They are reported by default in
    any project that declares models; set the MaxMindDbAotDiagnostics MSBuild
    property to false to turn them off.
  • Added the MaxMind.Db.SourceGeneratorSupport and MaxMind.Db.GeneratedMember
    public types. They exist for generated code to call and are not intended to be
    used directly.
  • Fixed a [MapKey(..., true)] member of a non-nullable value type throwing
    during property-based activation instead of keeping its default. This affected
    the reflection path before this release and is now consistent across both.
  • Added decoding limits to prevent crafted databases from consuming excessive
    time and memory. Each lookup and metadata read allows at most 65,536 decoded
    values, 512 nesting levels (including pointer follows), and 2 MiB of combined
    string, bytes, uint32, uint64, and uint128 payload. Exceeding a limit or
    encountering a pointer cycle throws InvalidDatabaseException. These limits
    reject some previously accepted databases, including those with a string or
    bytes value larger than 2 MiB. Available stack space can impose a lower
    nesting limit.
  • Pointers that point directly to other pointers now throw
    InvalidDatabaseException.
  • Truncated or out-of-bounds data reads now throw InvalidDatabaseException
    instead of ArgumentOutOfRangeException. This also prevents incorrect decoded
    values on netstandard2.0. Update error handlers to catch
    InvalidDatabaseException.

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)

---
updated-dependencies:
- dependency-name: MaxMind.Db
  dependency-version: 5.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, nuget. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@ZL154

ZL154 commented Sep 15, 2026

Copy link
Copy Markdown
Owner

Superseded by #214 (merged): MaxMind.Db 5.2.0 is now on main. Closing.

@ZL154 ZL154 closed this Sep 15, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/nuget/src/Jellyfin.Plugin.TwoFactorAuth/MaxMind.Db-5.2.0 branch September 15, 2026 14:48
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.

1 participant