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

deps: update module github.com/hetznercloud/hcloud-go/v2 to v2.13.1 #628

Merged
merged 9 commits into from
Aug 14, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 27, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

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

v2.9.0

Compare Source

Features
Bug Fixes

v2.8.0

Compare Source

Features
Bug Fixes
  • improve error message format with correlation id (#​430) (013477f)

v2.7.2

Compare Source

Bug Fixes
  • creating firewall with rules not working correctly (#​412) (43b2bab)

v2.7.1

Compare Source

Bug Fixes

v2.7.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.

@renovate renovate bot requested a review from a team as a code owner March 27, 2024 18:22
@renovate renovate bot force-pushed the renovate/git.luolix.top-hetznercloud-hcloud-go-v2-2.x branch from 1339f60 to 9d54740 Compare April 8, 2024 11:49
@renovate renovate bot force-pushed the renovate/git.luolix.top-hetznercloud-hcloud-go-v2-2.x branch from 9d54740 to 26f2390 Compare April 18, 2024 16:18
@renovate renovate bot changed the title deps: update module github.com/hetznercloud/hcloud-go/v2 to v2.7.0 deps: update module github.com/hetznercloud/hcloud-go/v2 to v2.7.1 Apr 18, 2024
@renovate renovate bot changed the title deps: update module github.com/hetznercloud/hcloud-go/v2 to v2.7.1 deps: update module github.com/hetznercloud/hcloud-go/v2 to v2.7.2 Apr 19, 2024
@renovate renovate bot force-pushed the renovate/git.luolix.top-hetznercloud-hcloud-go-v2-2.x branch from 26f2390 to f58a36a Compare April 19, 2024 15:56
@renovate renovate bot force-pushed the renovate/git.luolix.top-hetznercloud-hcloud-go-v2-2.x branch from f58a36a to 3bd54be Compare April 24, 2024 07:33
@renovate renovate bot force-pushed the renovate/git.luolix.top-hetznercloud-hcloud-go-v2-2.x branch from 3bd54be to 2a79c12 Compare April 25, 2024 09:49
@renovate renovate bot force-pushed the renovate/git.luolix.top-hetznercloud-hcloud-go-v2-2.x branch from 2a79c12 to 272b1c5 Compare May 2, 2024 12:34
@renovate renovate bot changed the title deps: update module github.com/hetznercloud/hcloud-go/v2 to v2.7.2 deps: update module github.com/hetznercloud/hcloud-go/v2 to v2.8.0 May 6, 2024
@renovate renovate bot force-pushed the renovate/git.luolix.top-hetznercloud-hcloud-go-v2-2.x branch from 272b1c5 to 83443f5 Compare May 6, 2024 11:01
@jooola jooola force-pushed the renovate/git.luolix.top-hetznercloud-hcloud-go-v2-2.x branch from 15e0d63 to 77b17a7 Compare May 6, 2024 12:06
@jooola jooola force-pushed the renovate/git.luolix.top-hetznercloud-hcloud-go-v2-2.x branch from 77b17a7 to 5106482 Compare May 7, 2024 09:23
@renovate renovate bot force-pushed the renovate/git.luolix.top-hetznercloud-hcloud-go-v2-2.x branch from 5106482 to 6f40a89 Compare May 31, 2024 08:13
@jooola jooola self-assigned this Jun 26, 2024
@renovate renovate bot force-pushed the renovate/git.luolix.top-hetznercloud-hcloud-go-v2-2.x branch from 64be659 to 4324f93 Compare July 5, 2024 14:26
@renovate renovate bot changed the title deps: update module github.com/hetznercloud/hcloud-go/v2 to v2.8.0 deps: update module github.com/hetznercloud/hcloud-go/v2 to v2.10.2 Jul 5, 2024
Copy link
Contributor Author

renovate bot commented Jul 5, 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):

  • 4 additional dependencies were updated

Details:

Package Change
golang.org/x/crypto v0.24.0 -> v0.25.0
golang.org/x/net v0.26.0 -> v0.27.0
golang.org/x/sys v0.21.0 -> v0.22.0
golang.org/x/term v0.21.0 -> v0.22.0

@jooola
Copy link
Member

jooola commented Jul 5, 2024

Since the hcloud-go library forces us to upgrade the prometheus client library, we depend also on #623 (comment)

@renovate renovate bot force-pushed the renovate/git.luolix.top-hetznercloud-hcloud-go-v2-2.x branch from 829e86f to d12535b Compare August 14, 2024 07:36
@renovate renovate bot changed the title deps: update module github.com/hetznercloud/hcloud-go/v2 to v2.10.2 deps: update module github.com/hetznercloud/hcloud-go/v2 to v2.13.1 Aug 14, 2024
@jooola jooola merged commit 77b4a74 into main Aug 14, 2024
9 checks passed
@jooola jooola deleted the renovate/git.luolix.top-hetznercloud-hcloud-go-v2-2.x branch August 14, 2024 08:35
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