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

chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.15.0 #41

Merged
merged 1 commit into from
Nov 2, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 25, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/hetznercloud/hcloud-go/v2 v2.9.0 -> v2.15.0 age adoption passing confidence

Release Notes

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

v2.15.0

Compare Source

Features

v2.14.0

Compare Source

Features
Bug Fixes

v2.13.1

Compare Source

Bug Fixes

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

v2.10.2

Compare Source

Bug Fixes
  • exp: allow request path matching in the want function (#​475) (267879b)

v2.10.1

Compare Source

Bug Fixes
  • exp: configure response headers before sending them (#​473) (07d4a35)

v2.10.0

Compare Source

Features
Bug Fixes

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.

Copy link
Contributor Author

renovate bot commented Jun 25, 2024

ℹ Artifact update notice

File name: hcloudimages/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):

  • 1 additional dependency was updated

Details:

Package Change
golang.org/x/net v0.25.0 -> v0.26.0
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):

  • 1 additional dependency was updated

Details:

Package Change
golang.org/x/net v0.25.0 -> v0.26.0

@renovate renovate bot changed the title chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.10.0 chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.10.1 Jun 25, 2024
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-v2-2.x branch 2 times, most recently from 2e2837c to c373e8f Compare June 26, 2024 16:40
@renovate renovate bot changed the title chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.10.1 chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.10.2 Jun 26, 2024
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-v2-2.x branch from c373e8f to 611a3f2 Compare July 23, 2024 12:21
@renovate renovate bot changed the title chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.10.2 chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.11.0 Jul 23, 2024
Copy link
Contributor Author

renovate bot commented Jul 23, 2024

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go: downloading github.com/hetznercloud/hcloud-go/v2 v2.15.0
go: downloading github.com/spf13/cobra v1.8.1
go: downloading golang.org/x/crypto v0.28.0
go: downloading github.com/inconshreveable/mousetrap v1.1.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.4
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/prometheus/client_golang v1.20.5
go: downloading golang.org/x/net v0.30.0
go: downloading github.com/russross/blackfriday/v2 v2.1.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.3.0
go: downloading github.com/prometheus/client_model v0.6.1
go: downloading github.com/prometheus/common v0.55.0
go: downloading github.com/prometheus/procfs v0.15.1
go: downloading golang.org/x/sys v0.26.0
go: downloading google.golang.org/protobuf v1.34.2
go: downloading github.com/klauspost/compress v1.17.9
go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
go: downloading golang.org/x/text v0.19.0
go: downloading github.com/hetznercloud/hcloud-go v1.59.1
go: github.com/apricote/hcloud-upload-image/cmd imports
	github.com/apricote/hcloud-upload-image/hcloudimages imports
	github.com/hetznercloud/hcloud-go/v2/hcloud/exp/kit/sshutils: cannot find module providing package github.com/hetznercloud/hcloud-go/v2/hcloud/exp/kit/sshutils

File name: hcloudimages/go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go: downloading github.com/stretchr/testify v1.9.0
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: github.com/apricote/hcloud-upload-image/hcloudimages imports
	github.com/hetznercloud/hcloud-go/v2/hcloud/exp/kit/sshutils: cannot find module providing package github.com/hetznercloud/hcloud-go/v2/hcloud/exp/kit/sshutils

@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-v2-2.x branch from 611a3f2 to 336d1d5 Compare July 25, 2024 12:45
@renovate renovate bot changed the title chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.11.0 chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.12.0 Jul 25, 2024
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-v2-2.x branch from 336d1d5 to 39d66d6 Compare August 6, 2024 11:29
@renovate renovate bot changed the title chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.12.0 chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.13.0 Aug 6, 2024
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-v2-2.x branch from 39d66d6 to 00dd7fb Compare August 9, 2024 17:36
@renovate renovate bot changed the title chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.13.0 chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.13.1 Aug 9, 2024
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-v2-2.x branch from 00dd7fb to 5154fd3 Compare October 21, 2024 12:51
@renovate renovate bot changed the title chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.13.1 chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.14.0 Oct 21, 2024
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-v2-2.x branch from 5154fd3 to ca4a7ea Compare October 31, 2024 22:32
@renovate renovate bot changed the title chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.14.0 chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.15.0 Oct 31, 2024
@apricote apricote force-pushed the renovate/github.com-hetznercloud-hcloud-go-v2-2.x branch from ca4a7ea to aa9a426 Compare November 2, 2024 21:03
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-v2-2.x branch from aa9a426 to d6d809b Compare November 2, 2024 21:04
@apricote apricote force-pushed the renovate/github.com-hetznercloud-hcloud-go-v2-2.x branch from d6d809b to 18b72e3 Compare November 2, 2024 21:06
Copy link
Contributor Author

renovate bot commented Nov 2, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@apricote apricote force-pushed the renovate/github.com-hetznercloud-hcloud-go-v2-2.x branch from 18b72e3 to b6913b4 Compare November 2, 2024 21:08
@apricote apricote merged commit 489ece1 into main Nov 2, 2024
4 checks passed
@apricote apricote deleted the renovate/github.com-hetznercloud-hcloud-go-v2-2.x branch November 2, 2024 21:10
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.

1 participant