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

build(deps): bump github.com/hetznercloud/hcloud-go/v2 from 2.9.0 to 2.13.1 #151

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2024

Bumps github.com/hetznercloud/hcloud-go/v2 from 2.9.0 to 2.13.1.

Release notes

Sourced from github.com/hetznercloud/hcloud-go/v2's releases.

v2.13.1

2.13.1 (2024-08-09)

Bug Fixes

  • invalid_input API errors may not return details (#507) (ca78af2)

v2.13.0

2.13.0 (2024-08-06)

Features

  • network: add new network zone ap-southeast (#501) (a79a06b)

Bug Fixes

v2.12.0

2.12.0 (2024-07-25)

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
    }
}

</tr></table>

... (truncated)

Changelog

Sourced from github.com/hetznercloud/hcloud-go/v2's changelog.

2.13.1 (2024-08-09)

Bug Fixes

  • invalid_input API errors may not return details (#507) (ca78af2)

2.13.0 (2024-08-06)

Features

  • network: add new network zone ap-southeast (#501) (a79a06b)

Bug Fixes

2.12.0 (2024-07-25)

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 := &quot;fsn1&quot;
var includedTraffic uint64
for _, price := range serverType.Pricings {
    if price.Location.Name == locationOfInterest {
        includedTraffic = price.IncludedTraffic
        break
    }
}

}

... (truncated)

Commits
  • 5a84dd9 chore(main): release 2.13.1 (#509)
  • ca78af2 fix: invalid_input API errors may not return details (#507)
  • 60c5428 chore(main): release 2.13.0 (#500)
  • a79a06b feat(network): add new network zone ap-southeast (#501)
  • ce497fe fix: update NetworkSubnetType constants (#499)
  • 26fe9a9 ci: don't upload coverage for renovate or release-please PRs (#498)
  • 482aee2 chore(main): release 2.12.0 (#494)
  • 94e0f44 feat: new APIs for traffic pricings (#495)
  • 2c1a2d6 feat: add new WithPollOpts client option (#493)
  • af59ab8 feat: allow checking multiple errors codes in IsError (#491)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/hetznercloud/hcloud-go/v2](https://github.com/hetznercloud/hcloud-go) from 2.9.0 to 2.13.1.
- [Release notes](https://github.com/hetznercloud/hcloud-go/releases)
- [Changelog](https://github.com/hetznercloud/hcloud-go/blob/main/CHANGELOG.md)
- [Commits](hetznercloud/hcloud-go@v2.9.0...v2.13.1)

---
updated-dependencies:
- dependency-name: github.com/hetznercloud/hcloud-go/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants