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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [Unreleased]

### Fixed

- `SUPPORTED_SERVER_VERSION` corrected to `>=0.8.0,<1.0.0` (was `>=0.3.0,<1.0.0`). The
advertised minimum server version was stale — the SDK's proto stubs already target
v0.8.0+. README and docs updated to match. Aligns with the TypeScript SDK.

## [0.3.0a1] - 2026-04-27

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ gh attestation verify opendecree-*.whl --repo opendecree/decree-python
## Requirements

- Python 3.11+
- A running OpenDecree server (v0.3.0+)
- A running OpenDecree server (v0.8.0 – v0.x, pre-1.0)

## Questions?

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pip install opendecree
## Requirements

- Python 3.11+
- A running OpenDecree server (v0.3.0+)
- A running OpenDecree server (v0.8.0 – v0.x, pre-1.0)

## Quick Start

Expand Down
2 changes: 1 addition & 1 deletion sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ This package is fully typed. It ships a `py.typed` marker and `.pyi` stub files
## Requirements

- Python 3.11+
- A running OpenDecree server (v0.3.0+)
- A running OpenDecree server (v0.8.0 – v0.x, pre-1.0)

## License

Expand Down
2 changes: 1 addition & 1 deletion sdk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ omit = ["src/opendecree/_generated/*"]
fail_under = 95

[tool.opendecree]
supported_server_version = ">=0.3.0,<1.0.0"
supported_server_version = ">=0.8.0,<1.0.0"
2 changes: 1 addition & 1 deletion sdk/src/opendecree/_constants.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Generated by build/gen-constants.py — do not edit manually.
SUPPORTED_SERVER_VERSION = ">=0.3.0,<1.0.0"
SUPPORTED_SERVER_VERSION = ">=0.8.0,<1.0.0"
2 changes: 1 addition & 1 deletion sdk/tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def test_import(self):

def test_version_constants(self):
assert opendecree.__version__
assert opendecree.SUPPORTED_SERVER_VERSION == ">=0.3.0,<1.0.0"
assert opendecree.SUPPORTED_SERVER_VERSION == ">=0.8.0,<1.0.0"
assert opendecree.PROTO_VERSION == "v1"


Expand Down
6 changes: 3 additions & 3 deletions sdk/tests/test_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ def test_dev_version_skips_check():


def test_uses_default_range():
# Default is SUPPORTED_SERVER_VERSION = ">=0.3.0,<1.0.0"
check_version_compatible("0.5.0") # should not raise
# Default is SUPPORTED_SERVER_VERSION = ">=0.8.0,<1.0.0"
check_version_compatible("0.9.0") # should not raise


# --- fetch_server_version ---
Expand Down Expand Up @@ -193,7 +193,7 @@ def test_client_check_compatibility_passes():

client = ConfigClient.__new__(ConfigClient)
client._timeout = 5.0
client._server_version = ServerVersion(version="0.3.1", commit="abc")
client._server_version = ServerVersion(version="0.9.0", commit="abc")
client._version_stub = MagicMock()
client._version_pb2 = MagicMock()

Expand Down
2 changes: 1 addition & 1 deletion sdk/tests/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def test_version():


def test_supported_server_version():
assert opendecree.SUPPORTED_SERVER_VERSION == ">=0.3.0,<1.0.0"
assert opendecree.SUPPORTED_SERVER_VERSION == ">=0.8.0,<1.0.0"


def test_proto_version():
Expand Down