Skip to content

Bump github.com/oschwald/maxminddb-golang/v2 from 2.0.0-beta.8 to 2.0.0-beta.10 - #34

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/oschwald/maxminddb-golang/v2-2.0.0-beta.10
Closed

Bump github.com/oschwald/maxminddb-golang/v2 from 2.0.0-beta.8 to 2.0.0-beta.10#34
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/oschwald/maxminddb-golang/v2-2.0.0-beta.10

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 26, 2025

Copy link
Copy Markdown
Contributor

Bumps github.com/oschwald/maxminddb-golang/v2 from 2.0.0-beta.8 to 2.0.0-beta.10.

Release notes

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

2.0.0-beta.10

  • Replaced runtime.SetFinalizer with runtime.AddCleanup for resource cleanup in Go 1.24+. This provides more reliable finalization behavior and better garbage collection performance.

2.0.0-beta.9

  • SECURITY: Fixed integer overflow vulnerability in search tree size calculation that could potentially allow malformed databases to trigger security issues.
  • SECURITY: Enhanced bounds checking in tree traversal functions to return proper errors instead of silent failures when encountering malformed databases.
  • Added validation for invalid prefixes in NetworksWithin to prevent unexpected behavior with malformed input.
  • Added SkipEmptyValues() option for Networks and NetworksWithin to skip networks whose data is an empty map or empty array. This is useful for databases that store empty maps or arrays for records without meaningful data. GitHub #172.
  • Optimized custom unmarshaler type assertion to use Go 1.25's reflect.TypeAssert when available, reducing allocations in reflection code paths.
  • Improved memory mapping implementation by using SyscallConn() instead of Fd() to avoid side effects and prepare for Go 1.25+ Windows I/O enhancements. Pull request by database64128. GitHub #179.
  • Added OpenBytes function for better API discoverability and consistency with Open(). FromBytes is now deprecated and will be removed in a future version.
Changelog

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

2.0.0-beta.10 - 2025-08-23

  • Replaced runtime.SetFinalizer with runtime.AddCleanup for resource cleanup in Go 1.24+. This provides more reliable finalization behavior and better garbage collection performance.

2.0.0-beta.9 - 2025-08-23

  • SECURITY: Fixed integer overflow vulnerability in search tree size calculation that could potentially allow malformed databases to trigger security issues.
  • SECURITY: Enhanced bounds checking in tree traversal functions to return proper errors instead of silent failures when encountering malformed databases.
  • Added validation for invalid prefixes in NetworksWithin to prevent unexpected behavior with malformed input.
  • Added SkipEmptyValues() option for Networks and NetworksWithin to skip networks whose data is an empty map or empty array. This is useful for databases that store empty maps or arrays for records without meaningful data. GitHub #172.
  • Optimized custom unmarshaler type assertion to use Go 1.25's reflect.TypeAssert when available, reducing allocations in reflection code paths.
  • Improved memory mapping implementation by using SyscallConn() instead of Fd() to avoid side effects and prepare for Go 1.25+ Windows I/O enhancements. Pull request by database64128. GitHub #179.
  • Added OpenBytes function for better API discoverability and consistency with Open(). FromBytes is now deprecated and will be removed in a future version.
Commits
  • 3f8df2c Set release date
  • eb46904 Replace SetFinalizer with AddCleanup for Go 1.24+
  • 476083a Set release date for beta.9
  • 7bbe8d4 Document pointer pattern for path existence checking
  • dd4a944 Add OpenBytes function and deprecate FromBytes
  • de53e43 Add changelog entry for SyscallConn improvement
  • 65f5091 Call SyscallConn() instead of Fd() to use file's fd
  • 77b99f8 Use Go 1.25 reflect.TypeAssert for custom unmarshalers
  • 5aca7cc Update minimum Go version to 1.24
  • 268fea2 Add SkipEmptyValues option for Networks iteration
  • 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 [github.com/oschwald/maxminddb-golang/v2](https://github.com/oschwald/maxminddb-golang) from 2.0.0-beta.8 to 2.0.0-beta.10.
- [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.0.0-beta.8...v2.0.0-beta.10)

---
updated-dependencies:
- dependency-name: github.com/oschwald/maxminddb-golang/v2
  dependency-version: 2.0.0-beta.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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 Aug 26, 2025
@coderabbitai

coderabbitai Bot commented Aug 26, 2025

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Join our Discord community for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@dependabot @github

dependabot Bot commented on behalf of github Oct 20, 2025

Copy link
Copy Markdown
Contributor Author

Superseded by #37.

@dependabot dependabot Bot closed this Oct 20, 2025
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/oschwald/maxminddb-golang/v2-2.0.0-beta.10 branch October 20, 2025 22:15
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