Skip to content

Commit fc74ebc

Browse files
committed
bump version
1 parent feb3add commit fc74ebc

File tree

3 files changed

+36
-33
lines changed

3 files changed

+36
-33
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [1.22.0] - 2026-03-20
11+
1012
### Added
1113

1214
- Job deployments (Batch jobs) service
@@ -25,30 +27,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2527
### Added
2628

2729
- Add `on_spot_discontinue` parameter for instance OS volumes. Previously the policy was always `'keep_detached'`, now it can be set to `'move_to_trash'` or `'delete_permanently'`:
28-
```python
29-
instance = verda_client.instances.create(
30-
hostname='test-instance',
31-
location=Locations.FIN_03,
32-
instance_type='CPU.4V.16G',
33-
description='test cpu instance',
34-
image='ubuntu-22.04',
35-
is_spot=True,
36-
ssh_key_ids=[ssh_key.id],
37-
os_volume=OSVolume(
38-
name='test-os-volume-spot',
39-
size=56,
40-
on_spot_discontinue='delete_permanently',
41-
),
42-
)
43-
```
30+
```python
31+
instance = verda_client.instances.create(
32+
hostname='test-instance',
33+
location=Locations.FIN_03,
34+
instance_type='CPU.4V.16G',
35+
description='test cpu instance',
36+
image='ubuntu-22.04',
37+
is_spot=True,
38+
ssh_key_ids=[ssh_key.id],
39+
os_volume=OSVolume(
40+
name='test-os-volume-spot',
41+
size=56,
42+
on_spot_discontinue='delete_permanently',
43+
),
44+
)
45+
```
4446
- Add `delete_permanently` parameter for instance delete action. When set, `volume_ids` will be deleted in one go, skipping trash:
45-
```python
46-
verda.instances.action(
47-
instance.id, 'delete',
48-
volume_ids=[instance.os_volume_id],
49-
delete_permanently=True,
50-
)
51-
```
47+
```python
48+
verda.instances.action(
49+
instance.id, 'delete',
50+
volume_ids=[instance.os_volume_id],
51+
delete_permanently=True,
52+
)
53+
```
5254

5355
## [1.18.0] - 2025-12-31
5456

@@ -169,16 +171,17 @@ verda.instances.create(...)
169171
- Upgraded pytest
170172

171173
If you are working on the library itself, do a fresh clone or upgrade your local development environment in-place:
172-
```bash
173-
# remove old environment
174-
rm -rf datacrunch.egg-info/ .venv/ datacrunch_env/
175174

176-
# create new environment and install dependencies
177-
uv sync
175+
```bash
176+
# remove old environment
177+
rm -rf datacrunch.egg-info/ .venv/ datacrunch_env/
178178

179-
# run example
180-
uv run python examples/simple_create_instance.py
181-
```
179+
# create new environment and install dependencies
180+
uv sync
181+
182+
# run example
183+
uv run python examples/simple_create_instance.py
184+
```
182185

183186
### Added
184187

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.21.0"
3+
version = "1.22.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)