Skip to content

Commit 1d1fce3

Browse files
authored
Release 1.20 (#75)
* bump version * changelog
1 parent a69239a commit 1d1fce3

3 files changed

Lines changed: 30 additions & 2 deletions

File tree

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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "verda"
3-
version = "1.19.0"
3+
version = "1.20.0"
44
description = "Official Python SDK for Verda (formerly DataCrunch) Public API"
55
readme = "README.md"
66
requires-python = ">=3.10"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)