Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/c-robinson/iplib to v2 #189

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 22, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/c-robinson/iplib v1.0.8 -> v2.0.5 age adoption passing confidence

Release Notes

c-robinson/iplib (github.com/c-robinson/iplib)

v2.0.5: 2.0.5

Compare Source

v2.0.4: 2.0.4

Compare Source

  • Fix an overflow in Net6.Enumerate() on 32bit architectures
  • AllNetsBetween now starts with a netmask of 0 instead of 1, so iplib.AllNetsBetween(0.0.0.0, 255.255.255.255) will now return a single /0 network instead of two /1's.

v2.0.3: 2.0.3

Compare Source

  • New AllNetworksBetween() function generates a []iplib.Net of all the networks required to span two IP addresses inclusively
  • Fix the behavior of NewNetBetween() to always consider the final address when generating a netblock Previously it would sometimes exclude this address when it should not have
  • Update the godoc for NewNetBetween() to reflect reality. Previously the docs indicated that the generated network would be exclusive of both the start and end addresses which was just wrong and kind of dumb
  • Fix regression where Net6.Count() reported zero addresses for ::/0 instead of whatever the actual gimungous number is, which was introduced during the cutover to Uint128

v2.0.2: 2.0.2

Compare Source

  • it is not obvious how go.mod should work for submodules, so this is another attempt to get them working correctly
  • fix for small issues golangci-lint uncovered
  • appease an angry race detector for Net6.Enumerate() on linux (but not macos 😬) by creating local variables inside goroutines
  • improve tests and add benchmarks for Net4.Enumerate() and Net6.Enumerate()

Also some repo cleanup

  • abandon circleci and coveralls in favor of actions workflows against all explicitly supported versions of go, running against MacOS, Linux and Windows

v2.0.1: 2.0.1

Compare Source

  • quick fix to update go get invocation, example imports and documentation references to v2 in the README for iplib, iid and iana

v2.0.0: 2.0.0

Compare Source

This release introduces a breaking change for IPv6 functions that take or return an integer value, including the Hostmask and Net6 structs and methods. Previously these functions relied upon *big.Int to hold the v6 address space, but this has been replaced by lukechampine.com/uint128. The performance improvement for the affected functions is so significant (from 5x faster for the increment/decrement functions to a whopping 25x faster for DeltaIP6()) that it easily justifies the incompatibility. IPv4 functions are unaffected by this change.

It has always been a goal for this library to not rely on dependencies outside of the Go standard library and hopefully some future v3 of this library could employ an internal uint128 type but that would require the adoption of this proposal or something similar.

TLDR:

  • all functions requiring or returning *big.Int have been rewritten to take uint128.Uint128 instead
  • new conversion functions have been created to move between IPv6 and uint128.Uint128 (the *big.Int converters still remain)
  • Net6 and Hostmask now also take and use uint128.Uint128
  • benchmarks, tests, examples and documentation have all been updated to reflect the change
  • the top of the README temporarily calls the change out for added visibility
  • added functions to convert ARPA DNS entries back to net.IP because, weirdly, I need to do this

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 has been generated by Mend Renovate. View repository job log here.

@github-actions github-actions bot enabled auto-merge (squash) April 22, 2024 11:38
@github-actions github-actions bot merged commit ebe0278 into master Apr 22, 2024
34 checks passed
renovate bot added a commit to kairos-io/provider-kairos that referenced this pull request Apr 24, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/mudler/edgevpn](https://togithub.com/mudler/edgevpn) |
`v0.25.1` -> `v0.25.2` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fmudler%2fedgevpn/v0.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fmudler%2fedgevpn/v0.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fmudler%2fedgevpn/v0.25.1/v0.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fmudler%2fedgevpn/v0.25.1/v0.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mudler/edgevpn (github.com/mudler/edgevpn)</summary>

###
[`v0.25.2`](https://togithub.com/mudler/edgevpn/releases/tag/v0.25.2)

[Compare
Source](https://togithub.com/mudler/edgevpn/compare/v0.25.1...v0.25.2)

#### What's Changed

- chore(deps): update codecov/codecov-action action to v3.1.6 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#168
- fix(deps): update module github.com/c-robinson/iplib to v1.0.8 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#169
- fix(deps): update module github.com/hashicorp/golang-lru to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#143
- chore(deps): update golang docker tag to v1.22 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#171
- fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to
v0.25.2 by [@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#170
- fix(deps): update module github.com/creachadair/otp to v0.4.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#153
- fix(deps): update module github.com/miekg/dns to v1.1.59 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#139
- fix(deps): update module github.com/onsi/ginkgo/v2 to v2.17.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#174
- fix(deps): update module github.com/hashicorp/golang-lru to v0.6.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#140
- fix(deps): update module go.uber.org/zap to v1.27.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#175
- fix(deps): update module github.com/onsi/gomega to v1.33.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#130
- fix(deps): update module github.com/multiformats/go-multiaddr to
v0.12.3 by [@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#156
- fix(deps): update module github.com/cenkalti/backoff/v4 to v4.3.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#172
- chore(deps): update actions/setup-go action to v5 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#178
- fix(deps): update module golang.org/x/sys to v0.19.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#176
- chore(deps): update dependency postcss-cli to v11 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#180
- chore(deps): update docker/login-action action to v3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#182
- chore(deps): update actions/checkout action to v4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#177
- fix(deps): update module github.com/labstack/echo/v4 to v4.12.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#141
- chore(deps): update docker/build-push-action action to v5 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#181
- chore(deps): update github artifact actions to v4 (major) by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#183
- chore(deps): update goreleaser/goreleaser-action action to v5 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#184
- fix(deps): update module github.com/hashicorp/golang-lru to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#186
- fix(deps): update module github.com/c-robinson/iplib to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#185
- fix(deps): update module github.com/c-robinson/iplib to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#188
- fix(deps): update module github.com/hashicorp/golang-lru to v0.6.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#187
- fix(deps): update module github.com/c-robinson/iplib to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#189
- fix(deps): update module github.com/hashicorp/golang-lru to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#190
- fix(deps): update module github.com/c-robinson/iplib to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#192
- fix(deps): update module github.com/hashicorp/golang-lru to v0.6.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#191
- fix(deps): update module github.com/hashicorp/golang-lru to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#194
- fix(deps): update module github.com/c-robinson/iplib to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#193
- fix(deps): update module github.com/c-robinson/iplib to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#196
- fix(deps): update module github.com/hashicorp/golang-lru to v0.6.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#195
- fix(deps): update module github.com/c-robinson/iplib to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#197
- fix(deps): update module github.com/hashicorp/golang-lru to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#198
- fix(deps): update module github.com/c-robinson/iplib to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#200
- fix(deps): update module github.com/hashicorp/golang-lru to v0.6.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#199
- fix(deps): update module github.com/c-robinson/iplib to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#202
- fix(deps): update module github.com/hashicorp/golang-lru to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#203
- fix(deps): update module github.com/c-robinson/iplib to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#205
- fix(deps): update module github.com/hashicorp/golang-lru to v0.6.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mudler/edgevpn#204

**Full Changelog**:
mudler/edgevpn@v0.25.1...v0.25.2

</details>

---

### Configuration

πŸ“… **Schedule**: Branch creation - "after 11pm every weekday,before 7am
every weekday,every weekend" in timezone Europe/Brussels, Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Enabled.

β™» **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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/kairos-io/provider-kairos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

None yet

0 participants