diff --git a/HISTORY.rst b/HISTORY.rst index 91ee08f..fe1697c 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,7 +2,7 @@ History ======= -1.6.0 (unreleased) +1.6.0 (2026-11-18) ------------------ * Added a read-only ``project`` field to ``ConnectionConfig``, ``Ruleset``, ``RulesetLibrary``, ``DiscoveryConfig``, @@ -13,7 +13,6 @@ History so creating a resource places it in the server's default project. * ``RunInfo`` and ``UnfinishedRun`` gain a required ``project`` field: the run's project, taken from its ruleset's project when the run starts. -* Added ``connect_timeout_seconds`` and ``read_timeout_seconds`` to the instance config models. Requires server version 3.26.20 @@ -41,6 +40,14 @@ Requires server version 3.26.20 Requires server version 3.26.22 +1.5.1 (2026-11-05) +------------------ + +* Every request now has a connect and a read timeout, + so a server that stops answering raises ``DataMasqueTransportError`` instead of hanging the caller. + Set them with ``connect_timeout_seconds`` (default 10) and ``read_timeout_seconds`` (default 300) + on the instance config models. + 1.5.0 (2026-10-07) ------------------ diff --git a/pyproject.toml b/pyproject.toml index b3183ec..6f3eaed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "datamasque-python" -version = "1.5.0" +version = "1.6.0" description = "Official Python client for the DataMasque data-masking API." authors = [ { name = "DataMasque Ltd" }, diff --git a/uv.lock b/uv.lock index 7164d65..0fb45ec 100644 --- a/uv.lock +++ b/uv.lock @@ -419,7 +419,7 @@ toml = [ [[package]] name = "datamasque-python" -version = "1.5.0" +version = "1.6.0" source = { editable = "." } dependencies = [ { name = "pydantic" },