1# Changes
2
3As of release v1.24.0 we moved the release notes to Github Releases: https://github.com/hetznercloud/hcloud-go/releases
4
5## v1.23.1
6* Add removed `ErrorCodeServerAlreadyAttached` again
7
8## v1.23.0
9
10* Add missing constants for all resource specific error codes
11* Expose metrics for Servers and Load Balancers
12* Add support for vSwitch Subnetworks
13
14## v1.22.0
15
16* Add `PrimaryDiskSize` Field to `Server`
17
18## v1.21.1
19
20* Don't send `Authorization` Header when `WithToken` was not called
21
22## v1.21.0
23
24* Add `IncludeDeprecated` Field to `ImageListOpts`
25
26## v1.20.0
27
28* Add support for Load Balancer Label Selector targets
29* Add support for Load Balancer IP targets
30
31## v1.19.0
32
33* Fix nil pointer dereference when creating a Load Balancer with HTTP(S)
34  service and not providing HTTP-specific options
35* Add `IncludedTraffic`, `OutgoingTraffic` and `IngoingTraffic` fields to `LoadBalancer`
36* Add `ChangeType()` method to the Load Balancer client
37* Fix retrying of requests that contain a body
38
39## v1.18.2
40
41* Retry API requests on conflict error
42
43## v1.18.1
44
45* Make all `GetByName` methods return `nil` when an empty name is provided
46* Clarify that filters specified in options for List() calls are not taken
47  into account when their value corresponds to their zero value or when
48  they are empty.
49
50## v1.18.0
51
52* Add `Status` field to `Volume`
53* Add subnet type `cloud`
54* Add `WithHTTPClient` option to specify a custom `http.Client`
55* Add API for requesting a VNC console
56* Add support for load balancers and certificates (beta)
57
58## v1.17.0
59
60* Add `Created` field to `SSHKey`
61
62## v1.16.0
63
64* Make IP range optional when adding a subnet to a network
65* Add support for names to Floating IPs
66
67## v1.15.1
68
69* Rename `MacAddress` to `MACAddress` on `ServerPrivateNet`
70
71## v1.15.0
72
73* Add `MacAddress` field to `ServerPrivateNet`
74* Add `WithDebugWriter()` client option to provide an `io.Writer` to write debug output to
75
76## v1.14.0
77
78* Add `Created` field to `FloatingIP`
79* Add support for networks
80
81## v1.13.0
82
83* Add missing fields to `*ListOpts` structs
84* Fix error handling in `WatchProgress()`
85* Add support for filtering volumes, images, and servers by status
86
87## v1.12.0
88
89* Add missing constants for all [documented error codes](https://docs.hetzner.cloud/#overview-errors)
90* Add support for automounting volumes
91* Add support for attaching volumes when creating a server
92
93## v1.11.0
94
95* Add `NextActions` to `ServerCreateResult` and `VolumeCreateResult`
96
97## v1.10.0
98
99* Add `WithApplication()` client option to provide an application name and version
100  that will be included in the `User-Agent` HTTP header
101* Add support for volumes
102
103## v1.9.0
104
105* Add `AllWithOpts()` to server, Floating IP, image, and SSH key client
106* Expose labels of servers, Floating IPs, images, and SSH Keys
107
108## v1.8.0
109
110* Add `WithPollInterval()` option to `Client` which allows to specify the polling interval
111  ([issue #92](https://github.com/hetznercloud/hcloud-go/issues/92))
112* Add `CPUType` field to `ServerType` ([issue #91](https://github.com/hetznercloud/hcloud-go/pull/91))
113
114## v1.7.0
115
116* Add `Deprecated ` field to `Image` ([issue #88](https://github.com/hetznercloud/hcloud-go/issues/88))
117* Add `StartAfterCreate` flag to `ServerCreateOpts` ([issue #87](https://github.com/hetznercloud/hcloud-go/issues/87))
118* Fix enum types ([issue #89](https://github.com/hetznercloud/hcloud-go/issues/89))
119
120## v1.6.0
121
122* Add `ChangeProtection()` to server, Floating IP, and image client
123* Expose protection of servers, Floating IPs, and images
124
125## v1.5.0
126
127* Add `GetByFingerprint()` to SSH key client
128
129## v1.4.0
130
131* Retry all calls that triggered the API ratelimit
132* Slow down `WatchProgress()` in action client from 100ms polling interval to 500ms
133
134## v1.3.1
135
136* Make clients using the old error code for ratelimiting work as expected
137  ([issue #73](https://github.com/hetznercloud/hcloud-go/issues/73))
138
139## v1.3.0
140
141* Support passing user data on server creation ([issue #70](https://github.com/hetznercloud/hcloud-go/issues/70))
142* Fix leaking response body by not closing it ([issue #68](https://github.com/hetznercloud/hcloud-go/issues/68))
143
144## v1.2.0
145
146* Add `WatchProgress()` to action client
147* Use correct error code for ratelimit error (deprecated
148  `ErrorCodeLimitReached`, added `ErrorCodeRateLimitExceeded`)
149
150## v1.1.0
151
152* Add `Image` field to `Server`
153