Releases: cloudscale-ch/cloudscale-go-sdk
v9.0.0
What's Changed
- test: speed up integration tests by making them parallel by @mweibel in #81
- Fix Structure of VolumeSnapshot.SourceVolume by @alakae in #82
- Version 9.0.0 by @alakae in #83
Breaking Changes
Two types have been updated to match the actual API response shapes:
-
VolumeStub:DevicePathremovedThe API does not return
device_path. It has been removed.hrefandnameare now included instead.Migration: remove any references to
VolumeStub.DevicePath. Note: the API never populated this field, so it was always an empty string, so this change likely has no impact. -
VolumeSnapshot.SourceVolume: type changed fromVolumeStubtoSourceVolumeStubThe API returns only
href,uuid, andnamefor a snapshot's source volume. A dedicatedSourceVolumeStubtype has been introduced to match this shape.Migration: replace any access to
.Type,.SizeGB, or.DevicePathonVolumeSnapshot.SourceVolume. Note: the API never populated these fields, so they were always zero values, so this change likely has no impact.
Full Changelog: v8.0.0...v9.0.0
v8.0.0
What's Changed
- Bump golang.org/x/oauth2 from 0.35.0 to 0.36.0 by @dependabot[bot] in #78
- feat: add flavors support by @mweibel in #79
- Version 8.0.0 by @mweibel in #80
Breaking Changes
Several types have been renamed to better accomodate what the API exposes and avoid conflicts of type names in the future.
Renamed Types:
ZonetoZoneStubRegiontoRegionStub(in some cases)ImagetoImageServerStub(in some cases)FlavortoFlavorStuband a newFlavortype has been introduced instead
Migration: use the new type names instead.
Full Changelog: v7.0.0...v8.0.0
v7.0.0
What's Changed
- Add CRUD operations for Volume Snapshots by @disperate in #73
- Add support for creating a Volume from a Volume Snapshot by @disperate in #74
- Bump actions/checkout from 6.0.1 to 6.0.2 by @dependabot[bot] in #75
- Bump golang.org/x/oauth2 from 0.34.0 to 0.35.0 by @dependabot[bot] in #76
Breaking Changes
The generic VolumeRequest type has been removed.
You must now explicitly use:
VolumeCreateRequestwhen creating volumesVolumeUpdateRequestwhen updating volumes
Migration: Replace usages of VolumeRequest with the appropriate request type depending on the operation. Compilation errors after upgrading will indicate the required change.
Full Changelog: v6.0.1...v7.0.0
v6.0.1
What's Changed
- Adjust expected error message in integration test by @alakae in #60
- Replace deprecated image urls in integration tests by @disperate in #71
- Bump golang.org/x/oauth2 from 0.29.0 to 0.34.0 by @dependabot[bot] in #70
- Bump github.com/cenkalti/backoff/v5 from 5.0.2 to 5.0.3 by @dependabot[bot] in #61
- Bump actions/setup-go from 5 to 6 by @dependabot[bot] in #63
- Bump actions/checkout from 4.2.2 to 6.0.1 by @dependabot[bot] in #69
Full Changelog: v6.0.0...v6.0.1
v6.0.0
What's Changed
- Bump golang.org/x/oauth2 from 0.28.0 to 0.29.0 by @dependabot in #56
- Fix handling of empty
AllowedCIDRsin LoadBalancerListener by @alakae in #57
Breaking Change:
LoadBalancerListenerRequest.AllowedCIDRsis now*[]stringinstead of[]string. You will see compile errors after upgrading if you are affected.
Full Changelog: v5.1.0...v6.0.0
v5.1.0
cloudscale-go-sdk v5.0.1
What's Changed
- Bump golang.org/x/net from 0.17.0 to 0.23.0 by @dependabot in #45
Full Changelog: v5.0.0...v5.0.1
cloudscale-go-sdk v5.0.0
What's new:
- On
SubnetCreateRequest.DNSServersandSubnetUpdateRequest.DNSServersit is now possible to set no DNS server by assigningnil. To use the default cloudscale DNS servers, assignUseCloudscaleDefaults.
Breaking Change:
SubnetCreateRequest.DNSServersandSubnetUpdateRequest.DNSServersare now*[]stringinstead of[]string. You will see compile errors after upgrading if you are affected.
Full Changelog: v4.0.0...v5.0.0
cloudscale-go-sdk v4.0.0
What's new:
- Add
LoadBalancerproperty to all descendant resources ofLoadBalancer, not only direct children:- Add LoadBalancerPoolMember.LoadBalancer
- Add LoadBalancerHealthMonitor.LoadBalancer
- Add LoadBalancerListener.LoadBalancer
- Bump golang.org/x/net from 0.7.0 to 0.17.0..
Breaking Change:
LoadBalancerListener.Poolis now*LoadBalancerPoolStubinstead ofLoadBalancerPoolStub.
Ensure your code has nil checks before accessing fields ofLoadBalancerListener.Pool.
When using the"tcp"protocol, a pool will always be set. However, in the future
listeners for other protocols might not have a pool assigned. Note: the Load Balancer API is still in beta as of this
writing.
Full Changelog: v3.0.0...v4.0.0
cloudscale-go-sdk v4.0.0-rc.1
Add information on major upgrade.