Skip to content

Commit e47a629

Browse files
authored
v1.22.0
2 parents eda7cdf + fc74ebc commit e47a629

File tree

3 files changed

+43
-33
lines changed

3 files changed

+43
-33
lines changed

CHANGELOG.md

Lines changed: 41 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ 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+
12+
### Added
13+
14+
- Job deployments (Batch jobs) service
15+
- Container types
16+
- Cluster types
17+
- Currency type
18+
1019
## [1.21.0] - 2026-03-02
1120

1221
### Fixed
@@ -18,30 +27,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1827
### Added
1928

2029
- 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'`:
21-
```python
22-
instance = verda_client.instances.create(
23-
hostname='test-instance',
24-
location=Locations.FIN_03,
25-
instance_type='CPU.4V.16G',
26-
description='test cpu instance',
27-
image='ubuntu-22.04',
28-
is_spot=True,
29-
ssh_key_ids=[ssh_key.id],
30-
os_volume=OSVolume(
31-
name='test-os-volume-spot',
32-
size=56,
33-
on_spot_discontinue='delete_permanently',
34-
),
35-
)
36-
```
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+
```
3746
- Add `delete_permanently` parameter for instance delete action. When set, `volume_ids` will be deleted in one go, skipping trash:
38-
```python
39-
verda.instances.action(
40-
instance.id, 'delete',
41-
volume_ids=[instance.os_volume_id],
42-
delete_permanently=True,
43-
)
44-
```
47+
```python
48+
verda.instances.action(
49+
instance.id, 'delete',
50+
volume_ids=[instance.os_volume_id],
51+
delete_permanently=True,
52+
)
53+
```
4554

4655
## [1.18.0] - 2025-12-31
4756

@@ -162,16 +171,17 @@ verda.instances.create(...)
162171
- Upgraded pytest
163172

164173
If you are working on the library itself, do a fresh clone or upgrade your local development environment in-place:
165-
```bash
166-
# remove old environment
167-
rm -rf datacrunch.egg-info/ .venv/ datacrunch_env/
168174

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

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

176186
### Added
177187

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)