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

🌱 Update Update Golang Dependencies group (minor) #1383

Merged
merged 3 commits into from
Aug 9, 2024

Conversation

syself-bot[bot]
Copy link
Contributor

@syself-bot syself-bot bot commented Jul 9, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
github.com/hetznercloud/hcloud-go/v2 v2.10.2 -> v2.13.0 age adoption passing confidence require minor
github.com/onsi/ginkgo/v2 v2.19.0 -> v2.20.0 age adoption passing confidence require minor
github.com/onsi/gomega v1.33.1 -> v1.34.1 age adoption passing confidence require minor
golang.org/x/crypto v0.25.0 -> v0.26.0 age adoption passing confidence require minor
golang.org/x/exp 7f521ea -> 8a7402a age adoption passing confidence require digest
golang.org/x/mod v0.19.0 -> v0.20.0 age adoption passing confidence require minor
k8s.io/utils fe8a2dd -> 18e509b age adoption passing confidence require digest

Release Notes

hetznercloud/hcloud-go (github.com/hetznercloud/hcloud-go/v2)

v2.13.0

Compare Source

Features
Bug Fixes

v2.12.0

Compare Source

API Changes for Traffic Prices and Server Type Included Traffic

There will be a breaking change in the API regarding Traffic Prices and Server Type Included Traffic on 2024-08-05. This release marks the affected fields as Deprecated. Please check if this affects any of your code and switch to the replacement fields where necessary.

You can learn more about this change in our changelog.

Upgrading
Server Type Included Traffic

If you were using the field hcloud.ServerType.IncludedTraffic, you can now get the information through hcloud.ServerType.Pricings:

func main() {
// previous
includedTraffic := serverType.IncludedTraffic

    // now
    locationOfInterest := "fsn1"
    var includedTraffic uint64
    for _, price := range serverType.Pricings {
        if price.Location.Name == locationOfInterest {
            includedTraffic = price.IncludedTraffic
            break
        }
    }
}
Traffic Prices

If you were using the field hcloud.Pricing.Traffic, you can now get the information through hcloud.Pricing.ServerTypes or hcloud.Pricing.LoadBalancerTypes:

func main() {
// previous
trafficPrice := pricing.Traffic

    // now
    serverTypeOfInterest := "cx22"
    locationOfInterest := "fsn1"

    var trafficPrice hcloud.Price
    for _, serverTypePricings := range pricing.ServerTypes {
        if serverTypePricings.ServerType.Name == serverTypeOfInterest {
            for _, price := range serverTypePricings {
               if price.Location.Name == locationOfInterest {
                   trafficPrice = price.PerTBTraffic
                   break
               }
            }
        }
    }
}
Features
  • add jitter in the client default retry exponential backoff (#​492) (6205076)
  • add new WithPollOpts client option (#​493) (2c1a2d6)
  • allow checking multiple errors codes in IsError (#​491) (af59ab8)
  • load-balancer-type: new traffic price fields (94e0f44)
  • pricing: mark traffic field as deprecated (94e0f44)
  • server-type: mark included traffic field as deprecated (94e0f44)
  • server-type: new traffic price fields (94e0f44)

v2.11.0

Compare Source

Features
Bug Fixes
onsi/ginkgo (github.com/onsi/ginkgo/v2)

v2.20.0

Compare Source

2.20.0

Features
Maintenance
  • Add update-deps to makefile [d303d14]
  • bump all dependencies [7a50221]

v2.19.1

Compare Source

2.19.1

Fixes
  • update supported platforms for race conditions [63c8c30]
  • [build] Allow custom name for binaries. [ff41e27]
Maintenance
onsi/gomega (github.com/onsi/gomega)

v1.34.1

Compare Source

1.34.1

Maintenance
  • Use slices from exp/slices to keep golang 1.20 compat [5e71dcd]

v1.34.0

Compare Source

1.34.0

Features
  • Add RoundTripper method to ghttp.Server [c549e0d]
Fixes
  • fix incorrect handling of nil slices in HaveExactElements (fixes #​771) [878940c]
  • issue_765 - fixed bug in Hopcroft-Karp algorithm [ebadb67]
Maintenance

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

@syself-bot syself-bot bot added the update/go label Jul 9, 2024
@syself-bot
Copy link
Contributor Author

syself-bot bot commented Jul 9, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 8 additional dependencies were updated

Details:

Package Change
github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6 -> v0.0.0-20240727154555-813a5fbdbec8
golang.org/x/net v0.26.0 -> v0.28.0
golang.org/x/sync v0.7.0 -> v0.8.0
golang.org/x/sys v0.22.0 -> v0.23.0
golang.org/x/term v0.22.0 -> v0.23.0
golang.org/x/text v0.16.0 -> v0.17.0
golang.org/x/tools v0.22.0 -> v0.24.0
google.golang.org/protobuf v1.33.0 -> v1.34.1

@syself-bot syself-bot bot added the size/S Denotes a PR that changes 20-50 lines, ignoring generated files. label Jul 9, 2024
@syself-bot syself-bot bot changed the title 🌱 Update Golang Dependencies group to 46b0784 🌱 Update Update Golang Dependencies group Jul 11, 2024
@syself-bot syself-bot bot added size/L Denotes a PR that changes 200-800 lines, ignoring generated files. and removed size/S Denotes a PR that changes 20-50 lines, ignoring generated files. labels Jul 11, 2024
@syself-bot syself-bot bot force-pushed the renovate/golang-deps branch 3 times, most recently from bfe83ec to a305b3c Compare July 23, 2024 11:08
@syself-bot syself-bot bot changed the title 🌱 Update Update Golang Dependencies group 🌱 Update Update Golang Dependencies group (minor) Jul 23, 2024
@syself-bot syself-bot bot added size/XXL Denotes a PR that changes 2000+ lines, ignoring generated files. and removed size/L Denotes a PR that changes 200-800 lines, ignoring generated files. labels Jul 26, 2024
@syself-bot syself-bot bot force-pushed the renovate/golang-deps branch 3 times, most recently from 53af99f to 8d2df24 Compare August 6, 2024 11:02
| datasource | package                              | from                               | to                                 |
| ---------- | ------------------------------------ | ---------------------------------- | ---------------------------------- |
| go         | github.com/hetznercloud/hcloud-go/v2 | v2.10.2                            | v2.13.0                            |
| go         | github.com/onsi/gomega               | v1.33.1                            | v1.34.1                            |
| go         | golang.org/x/crypto                  | v0.25.0                            | v0.26.0                            |
| go         | golang.org/x/exp                     | v0.0.0-20240613232115-7f521ea00fb8 | v0.0.0-20240719175910-8a7402abbf56 |
| go         | golang.org/x/mod                     | v0.19.0                            | v0.20.0                            |
| go         | k8s.io/utils                         | v0.0.0-20240502163921-fe8a2dddb1d0 | v0.0.0-20240711033017-18e509b52bc8 |
> hcloud.NetworkSubnetTypeServer is deprecated: Use [NetworkSubnetTypeCloud] instead.
@syself-bot syself-bot bot added the area/code Changes made in the code directory label Aug 9, 2024
@guettli guettli self-requested a review August 9, 2024 10:36
Copy link
Contributor

@guettli guettli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@guettli guettli self-requested a review August 9, 2024 10:38
Copy link
Contributor

@guettli guettli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@batistein batistein merged commit b5626d0 into main Aug 9, 2024
9 checks passed
@batistein batistein deleted the renovate/golang-deps branch August 9, 2024 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/code Changes made in the code directory size/XXL Denotes a PR that changes 2000+ lines, ignoring generated files. update/go
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants