Skip to content

Releases: cloudscale-ch/cloudscale-go-sdk

v9.0.0

04 May 13:26

Choose a tag to compare

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: DevicePath removed

    The API does not return device_path. It has been removed. href and name are 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 from VolumeStub to SourceVolumeStub

    The API returns only href, uuid, and name for a snapshot's source volume. A dedicated SourceVolumeStub type has been introduced to match this shape.

    Migration: replace any access to .Type, .SizeGB, or .DevicePath on VolumeSnapshot.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

17 Mar 14:59

Choose a tag to compare

What's Changed

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:

  • Zone to ZoneStub
  • Region to RegionStub (in some cases)
  • Image to ImageServerStub (in some cases)
  • Flavor to FlavorStub and a new Flavor type has been introduced instead

Migration: use the new type names instead.

Full Changelog: v7.0.0...v8.0.0

v7.0.0

26 Feb 14:47
ee5a8cf

Choose a tag to compare

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:

  • VolumeCreateRequest when creating volumes
  • VolumeUpdateRequest when 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

10 Dec 13:36

Choose a tag to compare

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

16 Apr 12:49
1baae3a

Choose a tag to compare

What's Changed

  • Bump golang.org/x/oauth2 from 0.28.0 to 0.29.0 by @dependabot in #56
  • Fix handling of empty AllowedCIDRs in LoadBalancerListener by @alakae in #57

Breaking Change:

  • LoadBalancerListenerRequest.AllowedCIDRs is now *[]string instead of []string. You will see compile errors after upgrading if you are affected.

Full Changelog: v5.1.0...v6.0.0

v5.1.0

19 Mar 11:25

Choose a tag to compare

What's new:

  • Add Wait For Helper by @alakae in #54
  • Map the default_username field for images by @href in #55
  • And version updates as well as internal refactorings.

Full Changelog: v5.0.1...v5.1.0

cloudscale-go-sdk v5.0.1

23 Jul 09:25

Choose a tag to compare

What's Changed

Full Changelog: v5.0.0...v5.0.1

cloudscale-go-sdk v5.0.0

12 Mar 14:44
1cef5bc

Choose a tag to compare

What's new:

  • On SubnetCreateRequest.DNSServers and SubnetUpdateRequest.DNSServers it is now possible to set no DNS server by assigning nil. To use the default cloudscale DNS servers, assign UseCloudscaleDefaults.

Breaking Change:

  • SubnetCreateRequest.DNSServers and SubnetUpdateRequest.DNSServers are now *[]string instead 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

24 Oct 09:24

Choose a tag to compare

What's new:

  • Add LoadBalancer property to all descendant resources of LoadBalancer, 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.Pool is now *LoadBalancerPoolStub instead of LoadBalancerPoolStub.
    Ensure your code has nil checks before accessing fields of LoadBalancerListener.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

24 Oct 09:00

Choose a tag to compare

Pre-release
Add information on major upgrade.