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 module github.com/hetznercloud/hcloud-go to v1.59.1 #26

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 4, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/hetznercloud/hcloud-go v1.50.0 -> v1.59.1 age adoption passing confidence

Release Notes

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

v1.59.1

Compare Source

Bug Fixes
  • invalid_input API errors may not return details (bfa3803)

v1.59.0

Compare Source

Features

v1.58.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
  • load-balancer-type: new traffic price fields (90c3110)
  • pricing: mark traffic field as deprecated (90c3110)
  • server-type: mark included traffic field as deprecated (90c3110)
  • server-type: new traffic price fields (90c3110)

v1.57.0

Compare Source

Features

v1.56.0

Compare Source

Features
  • add volume format property (5ff15f8)

v1.55.0

Compare Source

Features
Bug Fixes
  • improve error message format with correlation id (1939cfb)

v1.54.1

Compare Source

Bug Fixes
  • creating firewall with rules not working correctly (#​414) (2a19325)

v1.54.0

Compare Source

Features
  • error: handle wrapped errors in IsError() (64902c5)
  • server: deprecate ServerRescueTypeLinux32 #​379 (7337010)
Bug Fixes
  • falsely omitted fields in firewall schema (7f39bfa)

v1.53.0

Compare Source

Features

v1.52.0

Compare Source

Features

v1.51.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 changed the title Update module github.com/hetznercloud/hcloud-go to v1.51.0 Update module github.com/hetznercloud/hcloud-go to v1.52.0 Oct 12, 2023
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-1.x branch from f46dab7 to 0c61552 Compare October 12, 2023 15:50
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-1.x branch from 0c61552 to 3009708 Compare December 12, 2023 12:50
@renovate renovate bot changed the title Update module github.com/hetznercloud/hcloud-go to v1.52.0 Update module github.com/hetznercloud/hcloud-go to v1.53.0 Dec 12, 2023
@renovate renovate bot changed the title Update module github.com/hetznercloud/hcloud-go to v1.53.0 Update module github.com/hetznercloud/hcloud-go to v1.54.0 Apr 18, 2024
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-1.x branch 2 times, most recently from 3717194 to 8a1060d Compare April 19, 2024 13:19
@renovate renovate bot changed the title Update module github.com/hetznercloud/hcloud-go to v1.54.0 Update module github.com/hetznercloud/hcloud-go to v1.54.1 Apr 19, 2024
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-1.x branch from 8a1060d to a0cb3c7 Compare May 6, 2024 11:00
@renovate renovate bot changed the title Update module github.com/hetznercloud/hcloud-go to v1.54.1 Update module github.com/hetznercloud/hcloud-go to v1.55.0 May 6, 2024
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-1.x branch from a0cb3c7 to 05c1ab0 Compare May 9, 2024 09:57
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-1.x branch from 05c1ab0 to 107e0ee Compare May 31, 2024 17:13
@renovate renovate bot changed the title Update module github.com/hetznercloud/hcloud-go to v1.55.0 Update module github.com/hetznercloud/hcloud-go to v1.56.0 May 31, 2024
Copy link
Contributor Author

renovate bot commented Jun 4, 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):

  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.15 -> 1.22.6

@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-1.x branch from 107e0ee to 375cfb7 Compare June 17, 2024 14:00
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-1.x branch from 375cfb7 to e06eb64 Compare June 25, 2024 10:00
@renovate renovate bot changed the title Update module github.com/hetznercloud/hcloud-go to v1.56.0 Update module github.com/hetznercloud/hcloud-go to v1.57.0 Jun 25, 2024
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-1.x branch from e06eb64 to c0f6354 Compare July 14, 2024 08:23
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-1.x branch from c0f6354 to be69897 Compare July 25, 2024 15:05
@renovate renovate bot changed the title Update module github.com/hetznercloud/hcloud-go to v1.57.0 Update module github.com/hetznercloud/hcloud-go to v1.58.0 Jul 25, 2024
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-1.x branch from be69897 to abe1687 Compare August 6, 2024 11:16
@renovate renovate bot changed the title Update module github.com/hetznercloud/hcloud-go to v1.58.0 Update module github.com/hetznercloud/hcloud-go to v1.59.0 Aug 6, 2024
@renovate renovate bot force-pushed the renovate/github.com-hetznercloud-hcloud-go-1.x branch from abe1687 to 3e566b7 Compare August 9, 2024 16:37
@renovate renovate bot changed the title Update module github.com/hetznercloud/hcloud-go to v1.59.0 Update module github.com/hetznercloud/hcloud-go to v1.59.1 Aug 9, 2024
@florensie florensie merged commit 4edc9a2 into master Aug 26, 2024
1 check passed
@florensie florensie deleted the renovate/github.com-hetznercloud-hcloud-go-1.x branch August 26, 2024 17:11
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