Skip to content

Commit 63b8373

Browse files
authored
release 0.3.3 (#12)
* failure events arrive natively, and a wake can no longer be lost events() streams refusals without a poll: the EventNotifier parks in wait_for_event and the engine wakes it for installs and refused reloads alike; failure_poll parses, warns, and does nothing. On the way, the suite caught a wake that could be LOST: the notifier thread read its baseline generation on its own first instruction, so an install racing the thread's birth folded into the baseline and was never reported — the baseline now reads on the caller's thread under the registration lock, in both notifiers. Wheels build on engine 0.8 and the 0.8 store crates with the dev-only patch block gone, and CI runs only where review happens: on the pull request. * release dynamic-config-py and dynamic-config-py-remote 0.3.1 * the conformance pin names a tag that exists The job pinned the engine tarball at v0.7.1 — written before the release, which then shipped as v0.8.0 because semver said so. The published wheel agrees with all twenty v0.8.0 cases, verified before this push. * the engine floor is 0.9 The wheels embed the engine rather than depending on a published version of it, so the Python surface is unchanged and what travels is the engine's own 0.9: resolution is this crate's now, with the fold behind a swappable engine and figment optional. Three of its fixes reach a Python caller without any of them being visible in this repository — a load with one layer no longer folds it, a value nested past sixty-four levels reads as a string rather than overflowing the stack, and a variable whose name is not ASCII no longer aborts a load that reads the environment. Also here: the security sweep's ledger tidy-up, and the shared ci-local gate no longer failing on a containers recipe this repository has never had. * release dynamic-config-py and dynamic-config-py-remote 0.3.2 * the dependency list says three, because it is three The engine's `config` crate is not optional — it carries the fold the engine has none of its own — so the sentence promising that `--no-default-features` leaves `serde` and `arc-swap` behind stopped being true in 0.9. It says three now. Nothing else moves: this package embeds the engine rather than depending on a published version of it, and its own surface is unchanged. * take the dependency paragraph the squash left on main `-s ours` records main as a parent and keeps our tree, which is right for every file except this one: the 0.3.2 PR corrected the dependency paragraph on its way in, and that correction never came back to dev. * fingerprint() and AbsentError reach Python The wheel embeds the engine, so a floor move is the whole of what a Python user sees — except where the engine grew something a binding can carry. `fingerprint()` maps to a string, and a deleted document now has a name (`AbsentError`) rather than arriving as a transient remote failure. The conformance suite holds all three languages to one digest. * release dynamic-config-py and dynamic-config-py-remote 0.3.3
1 parent a77aa2c commit 63b8373

16 files changed

Lines changed: 303 additions & 83 deletions

File tree

‎Cargo.lock‎

Lines changed: 69 additions & 68 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@ authors = ["Cevat Batuhan Tolon <cevatbatuhan.tolon@gmail.com>"]
2323
# The engine. `default-features = false` because each crate names what it
2424
# needs: the base wheel carries every feature a Python caller can reach,
2525
# the remote wheel only what a document needs to travel.
26-
dynamic-config = { version = "0.9", default-features = false }
26+
dynamic-config = { version = "0.10", default-features = false }
2727
# The store crates' shared internals: the redaction that keeps a password
2828
# out of a store's description, by the same rule the store crates use
2929
# rather than by a second copy of it.
30-
dynamic-config-store-core = "0.9"
30+
dynamic-config-store-core = "0.10"
3131
# The eight stores. Caret, because a wheel built today should be able to
3232
# pick up a store's patch release without this repository being re-cut.
33-
dynamic-config-consul = "0.9"
34-
dynamic-config-etcd = { version = "0.9", features = ["tls"] }
35-
dynamic-config-firestore = "0.9"
36-
dynamic-config-git = "0.9"
37-
dynamic-config-nats = "0.9"
38-
dynamic-config-redis = { version = "0.9", features = ["tls"] }
39-
dynamic-config-s3 = "0.9"
40-
dynamic-config-vault = "0.9"
33+
dynamic-config-consul = "0.10"
34+
dynamic-config-etcd = { version = "0.10", features = ["tls"] }
35+
dynamic-config-firestore = "0.10"
36+
dynamic-config-git = "0.10"
37+
dynamic-config-nats = "0.10"
38+
dynamic-config-redis = { version = "0.10", features = ["tls"] }
39+
dynamic-config-s3 = "0.10"
40+
dynamic-config-vault = "0.10"
4141

4242
# A wheel is downloaded, not compiled by whoever installs it, so the
4343
# release profile is the one that matters.

‎book/src/reference.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,7 @@ instance carries `kind`, `path`, `origin_kind` and `origin`.
543543
| `InvalidError` | The configuration as a whole was rejected — Pydantic's report is on `.errors`, scrubbed of input values, and `[]` for a schema that raises a message rather than a report (a dataclass, a `msgspec.Struct`) |
544544
| `RemoteError` | A remote store could not be read — unreachable, refusing, malformed |
545545
| `AuthError` | A credential was rejected, or could not be obtained. Distinct from `RemoteError` on purpose: waiting fixes one and not the other |
546+
| `AbsentError` | The store answered, and the document is not there — a key deleted, a path that never existed. Distinct from `RemoteError`, which is an outage waiting cures, and from `MissingError`, which is a key absent from a document that *was* read |
546547
| `DecryptError` | An encrypted source could not be decrypted |
547548
| `BackendError` | The engine refused — a source added after loading, for instance |
548549
| `NotInitialisedError` | `current()` before the first successful load |

‎book/src/telemetry.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ does not fix its sources.
5656

5757
| Field | Type | Means |
5858
|---|---|---|
59-
| `kind` | `str` | The category: `io`, `parse`, `missing`, `type`, `env`, `invalid`, `remote`, `auth`, `decrypt`, `backend` — the names the [exception classes](reference.md#exceptions) carry |
59+
| `kind` | `str` | The category: `io`, `parse`, `missing`, `type`, `env`, `invalid`, `remote`, `auth`, `absent`, `decrypt`, `backend` — the names the [exception classes](reference.md#exceptions) carry |
6060
| `path` | `str` | The dotted key path, empty when the failure belongs to the load as a whole |
6161
| `seconds_ago` | `float` | How long before the status was taken it was recorded |
6262

‎dynamic-config-python-remote/CHANGELOG.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ is the door into this one.
3030

3131
## [Unreleased]
3232

33+
## 0.3.3 — 2026-08-23
34+
3335
## 0.3.2 — 2026-08-21
3436

3537
### Changed

‎dynamic-config-python-remote/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "dynamic-config-python-remote"
99
# release that moves the base wheel and not this one is fine (the extra keeps
1010
# working); the reverse is not, which is why the compatibility floor is
1111
# declared in `pyproject.toml` rather than assumed.
12-
version = "0.3.2"
12+
version = "0.3.3"
1313
edition.workspace = true
1414
# The organisation's one 1.88 floor — originally forced here anyway by
1515
# `aws-sdk-sts`, `async-nats` and `redis`, measured rather than declared.

‎dynamic-config-python-remote/pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ classifiers = [
5555
# remote path at all. It is not `==` for the reason the Rust crates are: a
5656
# wheel that pinned its sibling exactly would make every base-wheel patch a
5757
# forced upgrade of this one.
58-
dependencies = ["dynamic-config-py>=0.3.2"]
58+
dependencies = ["dynamic-config-py>=0.3.3"]
5959
dynamic = ["version"]
6060

6161
[project.urls]

‎dynamic-config-python/CHANGELOG.md‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,31 @@ breaking.
2626

2727
## [Unreleased]
2828

29+
## 0.3.3 — 2026-08-23
30+
31+
### Added
32+
33+
- **`AbsentError`.** A store that answers "that path holds nothing" raises
34+
its own class rather than the base one. Distinct from `RemoteError`, which
35+
is an outage waiting cures, and from `MissingError`, which is a key absent
36+
from a document that *was* read — the three deserve different answers, and
37+
a program that cannot tell them apart serves a deleted secret forever.
38+
- **`fingerprint()`** — a stable digest of the configuration installed, or
39+
`None` before the first load. `sha256:…`, over the resolved tree rather
40+
than any rendering of it, so two processes agree whether their files were
41+
written as TOML or as YAML.
42+
43+
**Safe to log**: every field named to `secrets=[..]` is masked by position
44+
before hashing, so it moves when a secret appears or disappears and stays
45+
put when one merely rotates — a digest that moved on rotation would be an
46+
oracle for the value that moved it. It answers what
47+
`status().generation` cannot: two processes on generation 4 have nothing
48+
in particular in common.
49+
50+
### Changed
51+
52+
- The engine and the nine store crates move to **0.10**.
53+
2954
## 0.3.2 — 2026-08-21
3055

3156
### Changed

‎dynamic-config-python/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ name = "dynamic-config-python"
1313
# So this moves when *this* changes — a new Python API, a behaviour
1414
# change, or an engine bump worth shipping — and `maturin upload
1515
# --skip-existing` makes a release that changed nothing here a no-op.
16-
version = "0.3.2"
16+
version = "0.3.3"
1717
edition.workspace = true
1818
# Its own floor, not the workspace's 1.71: PyO3 needs more than the core does.
1919
rust-version = "1.88"

‎dynamic-config-python/python/dynamic_config/__init__.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class Database:
6262
from . import _core
6363
from ._config import DynamicConfig
6464
from ._core import (
65+
AbsentError,
6566
AuthError,
6667
BackendError,
6768
DecryptError,
@@ -108,6 +109,7 @@ class Database:
108109
__engine_version__: str = _core.__engine_version__
109110

110111
__all__ = [
112+
"AbsentError",
111113
"AsyncRemoteSource",
112114
"AuthError",
113115
"BackendError",

0 commit comments

Comments
 (0)