Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G go-sso
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • id
  • go-sso
  • Merge requests
  • !16

Update module oschwald/maxminddb-golang to v1

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged renovate requested to merge renovate/github.com-oschwald-maxminddb-golang-1.x into master Jan 14, 2021
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 24

This MR contains the following updates:

Package Type Update Change
github.com/oschwald/maxminddb-golang require major v0.2.0 -> v1.8.0

Release Notes

oschwald/maxminddb-golang

v1.8.0

Compare Source

  • Added maxminddb.SkipAliasedNetworks option to Networks and NetworksWithin methods. When set, this option will cause the iterator to skip networks that are aliases of the IPv4 tree.
  • Added experimental custom deserializer support. This allows much more control over the deserialization. The API is subject to change and you should use at your own risk.

v1.7.0

Compare Source

  • Add NetworksWithin method. This returns an iterator that traverses all networks in the database that are contained in the given network. Pull request by Olaf Alders. GitHub #​65.

v1.6.0

Compare Source

  • This module now uses Go modules. Requested by Matthew Rothenberg. GitHub #​49.
  • Plan 9 is now supported. Pull request by Jacob Moody. GitHub #​61.
  • Documentation fixes. Pull request by Olaf Alders. GitHub #​62.
  • Thread-safety is now mentioned in the documentation. Requested by Ken Sedgwick. GitHub #​39.
  • Fix off-by-one error in file offset safety check. Reported by Will Storey. GitHub #​63.

v1.5.0

Compare Source

  • Drop support for Go 1.7 and 1.8.
  • Minor performance improvements.

v1.4.0

Compare Source

  • Add the method LookupNetwork. This returns the network that the record belongs to as well as a boolean indicating whether there was a record for the IP address in the database. GitHub #​59.
  • Improve performance.

v1.3.1

Compare Source

  • Fix issue with the finalizer running too early on Go 1.12 when using the Verify method. Reported by Robert-André Mauchin. GitHub #​55.
  • Remove unnecessary call to reflect.ValueOf. MR by SenseyeDeveloper. GitHub #​53.

v1.3.0

Compare Source

  • The methods on the maxminddb.Reader struct now return an error if called on a closed database reader. Previously, this could cause a segmentation violation when using a memory-mapped file.
  • The Close method on the maxminddb.Reader struct now sets the underlying buffer to nil, even when using FromBytes or Open on Google App Engine.
  • No longer uses constants from syscall

v1.2.1

Compare Source

  • Fix incorrect index being used when decoding into anonymous struct fields. MR #​42 by Andy Bursavich.

v1.2.0

Compare Source

  • The database decoder now does bound checking when decoding data from the database. This is to help ensure that the reader does not panic when given a corrupt database to decode. Closes #​37.
  • The reader will now return an error on a data structure with a depth greater than 512. This is done to prevent the possibility of a stack overflow on a cyclic data structure in a corrupt database. This matches the maximum depth allowed by libmaxminddb. All MaxMind databases currently have a depth of less than five.

v1.1.0

Compare Source

  • Added appengine build tag for Windows. When enabled, memory-mapping will be disabled in the Windows build as it is for the non-Windows build. Pull request #​35 by Ingo Oeser.
  • SetFinalizer is now used to unmap files if the user fails to close the reader. Using r.Close() is still recommended for most use cases.
  • Previously, an unsafe conversion between []byte and string was used to avoid unnecessary allocations when decoding struct keys. The decoder now relies on a compiler optimization on string([]byte) map lookups to achieve this rather than using unsafe.

v1.0.0

Compare Source

New release for those using tagged releases.


Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited Jan 14, 2021 by renovate
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: renovate/github.com-oschwald-maxminddb-golang-1.x