PackageTrack

Go modules · #2616

github.com/hetznercloud/hcloud-go

v1.59.2hetznercloud/hcloud-go

Release timeline

146 releases since 2017
2019202120232025

Releases

  1. v1.59.222 Nov 2024
    Release notes

    Bug Fixes

    Open source →
  2. v1.59.19 Aug 2024
    Release notes

    Bug Fixes

    • invalid_input API errors may not return details (bfa3803)
    Open source →
  3. v1.59.06 Aug 2024
    Release notes

    Features

    • network: add new network zone ap-southeast (#502) (0104ec0)
    Open source →
  4. v1.58.025 Jul 2024
    Release notes

    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)
    Open source →
  5. v1.57.025 Jun 2024
    Release notes

    Features

    Open source →
  6. v1.56.031 May 2024
    Release notes

    Features

    • add volume format property (5ff15f8)
    Open source →
  7. v1.55.06 May 2024
    Release notes

    Features

    • error: show internal correlation id in error messages (#417) (f7f96a5)
    • implement actions waiter (c4d8be8)
    • require Go >= 1.21 (18adaf6)

    Bug Fixes

    • improve error message format with correlation id (1939cfb)
    Open source →
  8. v1.54.119 Apr 2024
    Release notes

    Bug Fixes

    • creating firewall with rules not working correctly (#414) (2a19325)
    Open source →
  9. v1.54.018 Apr 2024
    Release notes

    Features

    • error: handle wrapped errors in IsError() (64902c5)
    • server: deprecate ServerRescueTypeLinux32 #379 (7337010)

    Bug Fixes

    • falsely omitted fields in firewall schema (7f39bfa)
    Open source →
  10. v1.53.012 Dec 2023
    Release notes

    Features

    • error: include http response in api errors (#335) (4984025)
    Open source →
  11. v1.52.012 Oct 2023
    Release notes

    Features

    Open source →
  12. v1.51.04 Oct 2023
    Release notes

    Features

    Bug Fixes

    Open source →
  13. v1.50.024 Aug 2023
    Release notes

    Features

    Open source →
  14. v1.49.117 Aug 2023
    Release notes

    Bug Fixes

    Open source →
  15. v1.49.010 Aug 2023
    Release notes

    Features

    Bug Fixes

    • action: unexpected behaviour when watching non-existing Actions (#298) (#300) (c437163)
    • instrumentation: multiple instrumented clients cause panic (#289) (#290) (11e2297)
    Open source →
  16. v1.48.012 Jul 2023
    Release notes

    Features

    Bug Fixes

    • action: show accurate progress in WatchOverallProgress (#281) (cae9e57)
    • iso: invalid field include_wildcard_architecture (188b68a)
    Open source →
  17. v1.47.1-0.20230711071546-c82ea5971d9411 Jul 2023pre-release

    Nothing published for this version

  18. v1.47.1-0.20230710074742-b8a0c2419a2810 Jul 2023pre-release

    Nothing published for this version

  19. v1.47.1-0.20230706075122-35d18a125e7e6 Jul 2023pre-release

    Nothing published for this version

  20. v1.47.1-0.20230703104438-cae9e5789b203 Jul 2023pre-release

    Nothing published for this version

  21. v1.47.1-0.20230626123841-faf227da1ced26 Jun 2023pre-release

    Nothing published for this version

  22. v1.47.021 Jun 2023
    Release notes

    Features

    • network: add field expose_routes_to_vswitch (#277) (e73c52d)
    Open source →
    Additional notes

    Features

    • network: add field expose_routes_to_vswitch (#277) (e73c52d)
    Open source →
  23. v1.46.2-0.20230621140111-e40d05fcf2a621 Jun 2023pre-release

    Nothing published for this version

  24. v1.46.2-0.20230621102235-5a23947f385321 Jun 2023pre-release

    Nothing published for this version

  25. v1.46.2-0.20230621083053-a744f31bc1da21 Jun 2023pre-release

    Nothing published for this version

  26. v1.46.116 Jun 2023
    Release notes

    Bug Fixes

    • adjust label validation for max length of 63 characters (#273) (6382808)
    • deps: update module golang.org/x/net to v0.11.0 (#258) (7918f21)
    Open source →
    Additional notes

    Bug Fixes

    • adjust label validation for max length of 63 characters (#273) (6382808)
    • deps: update module golang.org/x/net to v0.11.0 (#258) (7918f21)
    Open source →
  27. v1.46.1-0.20230616121939-976c180fdbbb16 Jun 2023pre-release

    Nothing published for this version

  28. v1.46.1-0.20230614072954-7918f2172ac014 Jun 2023pre-release

    Nothing published for this version

  29. v1.46.013 Jun 2023
    Release notes

    Features

    • provide .AllWithOpts method for all clients (#266) (2a7249e)
    • servertype: implement new Deprecation api field (#268) (ac5ae2e)
    Open source →
    Additional notes

    Features

    • provide .AllWithOpts method for all clients (#266) (2a7249e)
    • servertype: implement new Deprecation api field (#268) (ac5ae2e)
    Open source →
  30. v1.45.2-0.20230606072853-1ed156c2721d6 Jun 2023pre-release

    Nothing published for this version

  31. v1.45.2-0.20230605114321-2a7249ed646b5 Jun 2023pre-release

    Nothing published for this version

  32. v1.45.2-0.20230523071005-008d729f160023 May 2023pre-release

    Nothing published for this version

  33. v1.45.111 May 2023
    Release notes

    Bug Fixes

    • servertype: use int64 to fit TB sizes on 32-bit platforms (#261) (2b19245)
    Open source →
    Additional notes

    Bug Fixes

    • servertype: use int64 to fit TB sizes on 32-bit platforms (#261) (2b19245)
    Open source →
  34. v1.45.011 May 2023
    Release notes

    Features

    • servertype: add field for included traffic (#259) (d3b012a)
    Open source →
    Additional notes

    Features

    • servertype: add field for included traffic (#259) (d3b012a)
    Open source →
  35. v1.44.05 May 2023
    Release notes

    Features

    • iso: extend ISOClient by AllWithOpts method (#254) (c42f69b)

    Bug Fixes

    • deps: update module github.com/prometheus/client_golang to v1.15.1 (#253) (275f0fd)
    Open source →
    Additional notes

    Features

    • iso: extend ISOClient by AllWithOpts method (#254) (c42f69b)

    Bug Fixes

    • deps: update module github.com/prometheus/client_golang to v1.15.1 (#253) (275f0fd)
    Open source →
  36. v1.43.026 Apr 2023
    Release notes

    Features

    Bug Fixes

    • deps: update module github.com/prometheus/client_golang to v1.15.0 (#250) (f10e804)
    Open source →
    Additional notes

    Features

    Bug Fixes

    • deps: update module github.com/prometheus/client_golang to v1.15.0 (#250) (f10e804)
    Open source →
  37. v1.42.1-0.20230425143800-fb4eae1614dc25 Apr 2023pre-release

    Nothing published for this version

  38. v1.42.1-0.20230421075302-f10e8042ac1221 Apr 2023pre-release

    Nothing published for this version

  39. v1.42.012 Apr 2023
    Release notes

    Features

    Bug Fixes

    • deps: update module golang.org/x/net to v0.9.0 (#247) (962afeb)
    Open source →
    Additional notes

    Features

    Bug Fixes

    • deps: update module golang.org/x/net to v0.9.0 (#247) (962afeb)
    Open source →
  40. v1.41.1-0.20230411071010-962afebeed7611 Apr 2023pre-release

    Nothing published for this version

  41. v1.41.1-0.20230316074623-0c28cd4b9cb716 Mar 2023pre-release

    Nothing published for this version

  42. v1.41.06 Mar 2023
    Release notes

    Features

    • add ServerClient.RebuildWithResult to return root password (#245) (82f97cf)

    Bug Fixes

    • deps: update module github.com/google/go-cmp to v0.5.9 (#237) (2237ff7)
    • deps: update module github.com/prometheus/client_golang to v1.14.0 (#241) (75a4a01)
    • deps: update module github.com/stretchr/testify to v1.8.2 (#242) (4b51f1e)
    • deps: update module golang.org/x/net to v0.7.0 [security] (#236) (774a560)
    • deps: update module golang.org/x/net to v0.8.0 (#243) (8ae14f3)
    Open source →
    Additional notes

    Features

    • add ServerClient.RebuildWithResult to return root password (#245) (82f97cf)

    Bug Fixes

    • deps: update module github.com/google/go-cmp to v0.5.9 (#237) (2237ff7)
    • deps: update module github.com/prometheus/client_golang to v1.14.0 (#241) (75a4a01)
    • deps: update module github.com/stretchr/testify to v1.8.2 (#242) (4b51f1e)
    • deps: update module golang.org/x/net to v0.7.0 [security] (#236) (774a560)
    • deps: update module golang.org/x/net to v0.8.0 (#243) (8ae14f3)
    Open source →
  43. v1.40.1-0.20230301082622-c8e039d21cb61 Mar 2023pre-release

    Nothing published for this version

  44. v1.40.1-0.20230228102350-2237ff795cba28 Feb 2023pre-release

    Nothing published for this version

  45. v1.40.1-0.20230223081625-87157d6d9ba323 Feb 2023pre-release

    Nothing published for this version

  46. v1.40.013 Feb 2023
    Release notes

    Features

    • action: use configurable backoff to wait for action progress (#227) (8da6417)
    • support go v1.20 and drop v1.18 (#231) (44af6e5)
    Open source →
    Additional notes

    Features

    • action: use configurable backoff to wait for action progress (#227) (8da6417)
    • support go v1.20 and drop v1.18 (#231) (44af6e5)
    Open source →
  47. v1.39.1-0.20230208090815-44af6e5beade8 Feb 2023pre-release

    Nothing published for this version

  48. v1.39.1-0.20230207064838-06a65ae37ef67 Feb 2023pre-release

    Nothing published for this version

  49. v1.39.1-0.20230206134426-8da6417cf7d86 Feb 2023pre-release

    Nothing published for this version

  50. v1.39.1-0.20230117061712-fcc35e336c9517 Jan 2023pre-release

    Nothing published for this version

  51. v1.39.029 Dec 2022
    Release notes

    Features

    • Use generics to get pointers to types (#219) (a5cd797)

    Bug Fixes

    • deprecate PricingPrimaryIPTypePrice.Datacenter for Location (#222) (e0e5a1e)
    Open source →
    Additional notes

    Features

    • Use generics to get pointers to types (#219) (a5cd797)

    Bug Fixes

    • deprecate PricingPrimaryIPTypePrice.Datacenter for Location (#222) (e0e5a1e)
    Open source →
  52. v1.38.1-0.20221220093651-a5cd79782dc820 Dec 2022pre-release

    Nothing published for this version

  53. v1.38.05 Dec 2022
    Release notes

    What's Changed

    • feat(network): add new Network Zone us-west by @apricote in https://github.com/hetznercloud/hcloud-go/pull/217
    • chore: prepare v1.38.0 by @apricote in https://github.com/hetznercloud/hcloud-go/pull/218

    Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.37.0...v1.38.0

    Open source →
    Additional notes

    What's Changed

    • feat(network): add new Network Zone us-west by @apricote in https://github.com/hetznercloud/hcloud-go/pull/217
    • chore: prepare v1.38.0 by @apricote in https://github.com/hetznercloud/hcloud-go/pull/218

    Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.37.0...v1.38.0

    Open source →
  54. v1.37.010 Nov 2022
    Release notes

    What's Changed

    • PrimaryIPClient Add AllWithOpts by @LKaemmerling in https://github.com/hetznercloud/hcloud-go/pull/214
    • fix: error when updating IPv6 Primary IP by @apricote in https://github.com/hetznercloud/hcloud-go/pull/215

    Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.36.0...v1.37.0

    Open source →
    Additional notes

    What's Changed

    • PrimaryIPClient Add AllWithOpts by @LKaemmerling in https://github.com/hetznercloud/hcloud-go/pull/214
    • fix: error when updating IPv6 Primary IP by @apricote in https://github.com/hetznercloud/hcloud-go/pull/215

    Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.36.0...v1.37.0

    Open source →
  55. v1.36.08 Nov 2022
    Release notes

    What's Changed

    • feat: add ServerClient.DeleteWithResult method by @apricote in https://github.com/hetznercloud/hcloud-go/pull/213

    New Contributors

    • @apricote made their first contribution in https://github.com/hetznercloud/hcloud-go/pull/213

    Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.35.3...v1.36.0

    Open source →
    Additional notes

    What's Changed

    • feat: add ServerClient.DeleteWithResult method by @apricote in https://github.com/hetznercloud/hcloud-go/pull/213

    New Contributors

    • @apricote made their first contribution in https://github.com/hetznercloud/hcloud-go/pull/213

    Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.35.3...v1.36.0

    Open source →
  56. v1.35.319 Sept 2022
    Release notes

    What's Changed

    • Drop support for Go < 1.17 and add official tests on go 1.19 by @LKaemmerling in https://github.com/hetznercloud/hcloud-go/pull/211
    • Stop automatic retrying on RateLimitExceeded by @LKaemmerling in https://github.com/hetznercloud/hcloud-go/pull/210

    Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.35.2...v1.35.3

    Open source →
    Additional notes

    What's Changed

    • Drop support for Go < 1.17 and add official tests on go 1.19 by @LKaemmerling in https://github.com/hetznercloud/hcloud-go/pull/211
    • Stop automatic retrying on RateLimitExceeded by @LKaemmerling in https://github.com/hetznercloud/hcloud-go/pull/210

    Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.35.2...v1.35.3

    Open source →
  57. v1.35.229 Jul 2022
    Release notes

    What's Changed

    • Allow empty labels by @4ND3R50N in https://github.com/hetznercloud/hcloud-go/pull/207

    Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.35.1...v1.35.2

    Open source →
    Additional notes

    What's Changed

    • Allow empty labels by @4ND3R50N in https://github.com/hetznercloud/hcloud-go/pull/207

    Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.35.1...v1.35.2

    Open source →
  58. v1.35.14 Jul 2022
    Release notes

    What's Changed

    • Accept no primary IPs with server create with StartAfterCreate = false by @4ND3R50N in https://github.com/hetznercloud/hcloud-go/pull/205

    Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.35.0...v1.35.1

    Open source →
    Additional notes

    What's Changed

    • Accept no primary IPs with server create with StartAfterCreate = false by @4ND3R50N in https://github.com/hetznercloud/hcloud-go/pull/205

    Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.35.0...v1.35.1

    Open source →
  59. v1.35.028 Jun 2022
    Release notes

    What's Changed

    • Catch invalid token values and error out without value exposure by @NotTheEvilOne in https://github.com/hetznercloud/hcloud-go/pull/194
    • Remove ServerRescueTypeFreeBSD64 by @LKaemmerling in https://github.com/hetznercloud/hcloud-go/pull/203
    • Add Primary IP Support by @LKaemmerling in https://github.com/hetznercloud/hcloud-go/pull/204

    New Contributors

    • @NotTheEvilOne made their first contribution in https://github.com/hetznercloud/hcloud-go/pull/194

    Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.34.0...v1.35.0

    Open source →
    Additional notes

    What's Changed

    • Catch invalid token values and error out without value exposure by @NotTheEvilOne in https://github.com/hetznercloud/hcloud-go/pull/194
    • Remove ServerRescueTypeFreeBSD64 by @LKaemmerling in https://github.com/hetznercloud/hcloud-go/pull/203
    • Add Primary IP Support by @LKaemmerling in https://github.com/hetznercloud/hcloud-go/pull/204

    New Contributors

    • @NotTheEvilOne made their first contribution in https://github.com/hetznercloud/hcloud-go/pull/194

    Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.34.0...v1.35.0

    Open source →
  60. v1.34.1-0.20220621050632-8f67d53e876721 Jun 2022pre-release

    Nothing published for this version