[PR #1399] [CLOSED] chore(deps): update module github.com/oschwald/geoip2-golang to v2 #4360

Closed
opened 2026-02-28 12:00:06 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/0xJacky/nginx-ui/pull/1399
Author: @renovate[bot]
Created: 10/19/2025
Status: Closed

Base: devHead: renovate/github.com-oschwald-geoip2-golang-2.x


📝 Commits (1)

  • 5c129b2 chore(deps): update module github.com/oschwald/geoip2-golang to v2

📊 Changes

1 file changed (+1 additions, -2 deletions)

View changed files

📝 go.mod (+1 -2)

📄 Description

This PR contains the following updates:

Package Change Age Confidence
github.com/oschwald/geoip2-golang v1.13.0 -> v2.0.0 age confidence

Release Notes

oschwald/geoip2-golang (github.com/oschwald/geoip2-golang)

v2.0.0: 2.0.0

Compare Source

  • BREAKING CHANGE: Lookup methods now require netip.Addr, return typed
    Names, and provide HasData() helpers while always populating
    Network/IPAddress fields so network topology remains accessible.
  • BREAKING CHANGE: Struct field casing now matches MaxMind responses (for
    example IsoCodeISOCode), location coordinates use pointers, and JSON
    tags rely on Go 1.24 omitzero support—upgrade your toolchain before
    adopting v2.
  • BREAKING CHANGE: Removed FromBytes method. Use OpenBytes instead.
  • Added MIGRATION.md with detailed guidance for upgrading from v1.
  • Updated dependency on github.com/oschwald/maxminddb-golang/v2 to v2.0.0.
  • Added configurable Option helpers so Open and OpenBytes can accept
    future options without forcing a v3 release.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This PR was generated by Mend Renovate. View the repository job log.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/0xJacky/nginx-ui/pull/1399 **Author:** [@renovate[bot]](https://github.com/apps/renovate) **Created:** 10/19/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `renovate/github.com-oschwald-geoip2-golang-2.x` --- ### 📝 Commits (1) - [`5c129b2`](https://github.com/0xJacky/nginx-ui/commit/5c129b22e84f5415c407ddb4eafb878037d69b7d) chore(deps): update module github.com/oschwald/geoip2-golang to v2 ### 📊 Changes **1 file changed** (+1 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+1 -2) </details> ### 📄 Description This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/oschwald/geoip2-golang](https://redirect.github.com/oschwald/geoip2-golang) | `v1.13.0` -> `v2.0.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2foschwald%2fgeoip2-golang/v2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2foschwald%2fgeoip2-golang/v1.13.0/v2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>oschwald/geoip2-golang (github.com/oschwald/geoip2-golang)</summary> ### [`v2.0.0`](https://redirect.github.com/oschwald/geoip2-golang/releases/tag/v2.0.0): 2.0.0 [Compare Source](https://redirect.github.com/oschwald/geoip2-golang/compare/v1.13.0...v2.0.0) - **BREAKING CHANGE**: Lookup methods now require `netip.Addr`, return typed `Names`, and provide `HasData()` helpers while always populating `Network`/`IPAddress` fields so network topology remains accessible. - **BREAKING CHANGE**: Struct field casing now matches MaxMind responses (for example `IsoCode` → `ISOCode`), location coordinates use pointers, and JSON tags rely on Go 1.24 `omitzero` support—upgrade your toolchain before adopting v2. - **BREAKING CHANGE**: Removed `FromBytes` method. Use `OpenBytes` instead. - Added `MIGRATION.md` with detailed guidance for upgrading from v1. - Updated dependency on `github.com/oschwald/maxminddb-golang/v2` to `v2.0.0`. - Added configurable `Option` helpers so `Open` and `OpenBytes` can accept future options without forcing a v3 release. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/0xJacky/nginx-ui). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2IiwibGFiZWxzIjpbXX0=--> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 12:00:06 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#4360
No description provided.