1.52.0 (2023-10-12)
1.51.0 (2023-10-04)
1.50.0 (2023-08-24)
1.49.1 (2023-08-17)
1.49.0 (2023-08-08)
- action: unexpected behaviour when watching non-existing Actions (#298) (#300) (c437163)
- instrumentation: multiple instrumented clients cause panic (#289) (#290) (11e2297)
1.48.0 (2023-07-12)
- action: show accurate progress in WatchOverallProgress (#281) (cae9e57)
- iso: invalid field include_wildcard_architecture (188b68a)
1.47.0 (2023-06-21)
1.46.1 (2023-06-16)
- adjust label validation for max length of 63 characters (#273) (6382808)
- deps: update module golang.org/x/net to v0.11.0 (#258) (7918f21)
1.46.0 (2023-06-13)
- provide
.AllWithOpts
method for all clients (#266) (2a7249e) - servertype: implement new Deprecation api field (#268) (ac5ae2e)
1.45.1 (2023-05-11)
1.45.0 (2023-05-11)
1.44.0 (2023-05-05)
1.43.0 (2023-04-26)
1.42.0 (2023-04-12)
1.41.0 (2023-03-06)
- 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)
1.40.0 (2023-02-08)
- action: use configurable backoff to wait for action progress (#227) (8da6417)
- support go v1.20 and drop v1.18 (#231) (44af6e5)
1.39.0 (2022-12-29)
- feat(network): add new Network Zone us-west by @apricote in #217
- chore: prepare v1.38.0 by @apricote in #218
Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.37.0...v1.38.0
- PrimaryIPClient Add AllWithOpts by @LKaemmerling in #214
- fix: error when updating IPv6 Primary IP by @apricote in #215
Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.36.0...v1.37.0
- feat: add ServerClient.DeleteWithResult method by @apricote in #213
- @apricote made their first contribution in #213
Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.35.3...v1.36.0
- Drop support for Go < 1.17 and add official tests on go 1.19 by @LKaemmerling in #211
- Stop automatic retrying on RateLimitExceeded by @LKaemmerling in #210
Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.35.2...v1.35.3
- Allow empty labels by @4ND3R50N in #207
Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.35.1...v1.35.2
- Accept no primary IPs with server create with StartAfterCreate = false by @4ND3R50N in #205
Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.35.0...v1.35.1
- Catch invalid token values and error out without value exposure by @NotTheEvilOne in #194
- Remove ServerRescueTypeFreeBSD64 by @LKaemmerling in #203
- Add Primary IP Support by @LKaemmerling in #204
- @NotTheEvilOne made their first contribution in #194
Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.34.0...v1.35.0
- Test on Go 1.18 by @LKaemmerling in #202
- Add support for sorting the response of all list calls by @LKaemmerling in #201
- Set UsePrivateIP for targets when creating a LoadBalancer by @hakman in #198
- @hakman made their first contribution in #198
Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.33.2...v1.34.0
- Add constant for resource locked error code by @patrickschaffrath in #189
- Fix metadata client error detection by @choffmeister in #193
- Add labels.go to validate resource labels by @4ND3R50N in #197
- @patrickschaffrath made their first contribution in #189
- @choffmeister made their first contribution in #193
- @4ND3R50N made their first contribution in #197
Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.33.1...v1.33.2
41fef2f Add constants for new firewall error code
- Add us-east network zone by @LKaemmerling in #187
Full Changelog: https://github.com/hetznercloud/hcloud-go/compare/v1.32.0...v1.33.0
785896c Add Metadata Client (#184) 7778143 Bump version to 1.32.0 eabe683 Make it possible to instrument the hcloud-go (#185)
1cde0d7 Add RDNS client (#183)
0656bf9 Add support for Load Balancer DNS PTRs (#182) 9218970 Bump hcloud.Version ebf9f25 Test on/with go 1.17 (#181)
592b198 Add new Floating IP Pricing structure (#180) c43897a Bump hcloud.Version ab0ebb2 Placement groups (#179)
e951e99 Fix firewall rule description
e3eca12 Add description field to firewall rules (#177)
ae5e1b8 Add goreleaser (#175) 4cf75f4 Add support for app images (#176)
Add support for firewall protocols ESP and GRE (#173)
- Fix AppliedTo Field in FirewallCreateRequest
- Add
deleted
andIsDeleted()
toImage
(#172)
- Fix validation error caused by firewall label selectors (#171)
- Add Firewall Resource Label Selector (#169)
- Support Hetzner Cloud managed Certificates (#167)
- Add removed
ErrorCodeServerAlreadyAttached
again
- Add missing constants for all resource specific error codes
- Expose metrics for Servers and Load Balancers
- Add support for vSwitch Subnetworks
- Add
PrimaryDiskSize
Field toServer
- Don't send
Authorization
Header whenWithToken
was not called
- Add
IncludeDeprecated
Field toImageListOpts
- Add support for Load Balancer Label Selector targets
- Add support for Load Balancer IP targets
- Fix nil pointer dereference when creating a Load Balancer with HTTP(S) service and not providing HTTP-specific options
- Add
IncludedTraffic
,OutgoingTraffic
andIngoingTraffic
fields toLoadBalancer
- Add
ChangeType()
method to the Load Balancer client - Fix retrying of requests that contain a body
- Retry API requests on conflict error
- Make all
GetByName
methods returnnil
when an empty name is provided - Clarify that filters specified in options for List() calls are not taken into account when their value corresponds to their zero value or when they are empty.
- Add
Status
field toVolume
- Add subnet type
cloud
- Add
WithHTTPClient
option to specify a customhttp.Client
- Add API for requesting a VNC console
- Add support for load balancers and certificates (beta)
- Add
Created
field toSSHKey
- Make IP range optional when adding a subnet to a network
- Add support for names to Floating IPs
- Rename
MacAddress
toMACAddress
onServerPrivateNet
- Add
MacAddress
field toServerPrivateNet
- Add
WithDebugWriter()
client option to provide anio.Writer
to write debug output to
- Add
Created
field toFloatingIP
- Add support for networks
- Add missing fields to
*ListOpts
structs - Fix error handling in
WatchProgress()
- Add support for filtering volumes, images, and servers by status
- Add missing constants for all documented error codes
- Add support for automounting volumes
- Add support for attaching volumes when creating a server
- Add
NextActions
toServerCreateResult
andVolumeCreateResult
- Add
WithApplication()
client option to provide an application name and version that will be included in theUser-Agent
HTTP header - Add support for volumes
- Add
AllWithOpts()
to server, Floating IP, image, and SSH key client - Expose labels of servers, Floating IPs, images, and SSH Keys
- Add
WithPollInterval()
option toClient
which allows to specify the polling interval (issue #92) - Add
CPUType
field toServerType
(issue #91)
- Add
Deprecated
field toImage
(issue #88) - Add
StartAfterCreate
flag toServerCreateOpts
(issue #87) - Fix enum types (issue #89)
- Add
ChangeProtection()
to server, Floating IP, and image client - Expose protection of servers, Floating IPs, and images
- Add
GetByFingerprint()
to SSH key client
- Retry all calls that triggered the API ratelimit
- Slow down
WatchProgress()
in action client from 100ms polling interval to 500ms
- Make clients using the old error code for ratelimiting work as expected (issue #73)
- Support passing user data on server creation (issue #70)
- Fix leaking response body by not closing it (issue #68)
- Add
WatchProgress()
to action client - Use correct error code for ratelimit error (deprecated
ErrorCodeLimitReached
, addedErrorCodeRateLimitExceeded
)
- Add
Image
field toServer