Skip to content

Commit 468cd2e

Browse files
committed
changelog
1 parent ca16687 commit 468cd2e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.19.0] - 2025-02-05
11+
12+
- Add `on_spot_discontinue` parameter for instance OS volumes. Previously the policy was always `'move_to_trash'`, now it can be set to `'delete_permanently'` or `'keep_detached'`:
13+
```python
14+
instance = verda_client.instances.create(
15+
hostname='test-instance',
16+
location=Locations.FIN_03,
17+
instance_type='CPU.4V.16G',
18+
description='test cpu instance',
19+
image='ubuntu-22.04',
20+
is_spot=True,
21+
ssh_key_ids=[ssh_key.id],
22+
os_volume=OSVolume(
23+
name='test-os-volume-spot',
24+
size=56,
25+
on_spot_discontinue='delete_permanently',
26+
),
27+
)
28+
```
29+
- Add `delete_permanently` parameter for instance delete action. When set, `volume_ids` will be deleted in one go, skipping trash:
30+
```python
31+
verda.instances.action(
32+
instance.id, 'delete',
33+
volume_ids=[instance.os_volume_id],
34+
delete_permanently=True,
35+
)
36+
```
37+
1038
## [1.18.0] - 2025-12-31
1139

1240
### Added

0 commit comments

Comments
 (0)