Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 41 additions & 31 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.22.0] - 2026-03-20

### Added

- Job deployments (Batch jobs) service
- Container types
- Cluster types
- Currency type

## [1.21.0] - 2026-03-02

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

- 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'`:
```python
instance = verda_client.instances.create(
hostname='test-instance',
location=Locations.FIN_03,
instance_type='CPU.4V.16G',
description='test cpu instance',
image='ubuntu-22.04',
is_spot=True,
ssh_key_ids=[ssh_key.id],
os_volume=OSVolume(
name='test-os-volume-spot',
size=56,
on_spot_discontinue='delete_permanently',
),
)
```
```python
instance = verda_client.instances.create(
hostname='test-instance',
location=Locations.FIN_03,
instance_type='CPU.4V.16G',
description='test cpu instance',
image='ubuntu-22.04',
is_spot=True,
ssh_key_ids=[ssh_key.id],
os_volume=OSVolume(
name='test-os-volume-spot',
size=56,
on_spot_discontinue='delete_permanently',
),
)
```
- Add `delete_permanently` parameter for instance delete action. When set, `volume_ids` will be deleted in one go, skipping trash:
```python
verda.instances.action(
instance.id, 'delete',
volume_ids=[instance.os_volume_id],
delete_permanently=True,
)
```
```python
verda.instances.action(
instance.id, 'delete',
volume_ids=[instance.os_volume_id],
delete_permanently=True,
)
```

## [1.18.0] - 2025-12-31

Expand Down Expand Up @@ -162,16 +171,17 @@ verda.instances.create(...)
- Upgraded pytest

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

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

# run example
uv run python examples/simple_create_instance.py
```
# create new environment and install dependencies
uv sync

# run example
uv run python examples/simple_create_instance.py
```

### Added

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "verda"
version = "1.21.0"
version = "1.22.0"
description = "Official Python SDK for Verda (formerly DataCrunch) Public API"
readme = "README.md"
requires-python = ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading