Repository navigation
Release Notes — v2.68.0
v2.67.0 → v2.68.0 · 15 commits
Table of Contents
- Highlights
- Breaking changes and migrations
- Annotations
- Block Storage
- Container Registry
- Instance
- IPAM
- Bug fixes
- Contributors
- Internal and tooling
Highlights
- Instance lifecycle commands add dedicated actions to pause or stop and delete a server. #6897 · commit 4ed9231
- Block Storage commands now use the v1 API and can include deleted resources that have yet to be erased. #6884 · commit f0840b2
- Container Registry now supports the Milan region in the CLI. #6920 · commit f538138
- Annotations displays keys and values in a flat list that’s easier to scan and process. #6878 · commit c52cb3d
Breaking changes and migrations
- Annotations. Pass IDs positionally for
binding delete,key delete/get/updateandvalue delete/get/update. For example, usescw annotations key get "$KEY_ID". #6889 · commit b2ec8ae - Annotations. If you consume the JSON output of
key-value list, update parsers to read one row per key and value combination, withkey_id,key,value_idandvaluefields. Keys without values have a row of their own. #6878 · commit c52cb3d - Annotations. Replace
binding delete-all-matching-srn,binding delete-all-matching-valueandvalue delete-all-matching-keywith individual deletes. The bulk commands are deprecated. #6875 · commit 945c13e - Instance. Replace deprecated
server actioncalls with dedicated commands such asserver startandserver stop. Move fromserver standbytoserver pauseand reviewserver stop-and-deletewhen migrating fromserver terminate, especially if scripts also delete attached resources. Review the output consumed by scripts that use the migrated lifecycle commands, which now return Instance v2 API responses. #6897 · commit 4ed9231
Annotations
Flat key and value listing
The listing shows key and value names alongside their IDs, making it easier to find the ID needed for an update or binding.
scw annotations key-value list
scw annotations key get "$KEY_ID"#6878 · commit c52cb3d · #6889 · commit b2ec8ae
Block Storage
Block Storage v1
The block namespace now uses the v1 API. Volume listings can filter by volume type, and snapshot and volume listings can include deleted resources that have yet to be erased.
scw block snapshot list include-deleted=true
scw block volume list include-deleted=trueContainer Registry
Milan region
Use region=it-mil to manage Container Registry resources in Milan.
scw registry namespace list region=it-milInstance
Dedicated server lifecycle commands
Start, reboot, pause, stop and stop-and-delete now use the Instance v2 API. Pause an Instance with server pause. For a running or paused Instance that you intend to remove, use server stop-and-delete and review its options for attached volumes, IPs and private network interfaces.
scw instance server pause "$SERVER_ID"
scw instance server stop-and-delete --helpEnforced availability in placement groups
Choose max_availability_enforced when group members must run on separate physical hosts. A member fails to start if the platform cannot satisfy that placement constraint.
scw instance placement-group create name=separate-hosts policy-type=max_availability_enforcedIPAM
Find IP addresses for KVDB instances
Filter IPs by kvdb_instance to find addresses attached to KVDB instances.
scw ipam ip list resource-types.0=kvdb_instanceBug fixes
- Annotations. The human-readable binding list now shows the key and value names carried by each binding. #6871 · commit ee0b789
Contributors
Internal and tooling
Updated the Go SDK and sweeper dependencies.