# Changelog
All notable changes to `trust-tasks-https` are documented in this file.
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/);
this crate versions independently of `trust-tasks-rs` — it takes its own
leading bump when a `trust-tasks-rs` break reaches it, rather than aligning
to that crate's number (see the `0.6.5` → `0.7.0` release for the shape).
## [0.44.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.43.0...trust-tasks-https-v0.44.0) — 2026-11-28
## [0.43.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.42.0...trust-tasks-https-v0.43.0) — 2026-11-27
## [0.42.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.41.6...trust-tasks-https-v0.42.0) — 2026-11-27
## [0.41.6](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.41.5...trust-tasks-https-v0.41.6) — 2026-11-25
## [0.41.5](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.41.4...trust-tasks-https-v0.41.5) — 2026-11-25
## [0.41.4](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.41.3...trust-tasks-https-v0.41.4) — 2026-11-25
## [0.41.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.41.2...trust-tasks-https-v0.41.3) — 2026-11-25
## [0.41.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.41.1...trust-tasks-https-v0.41.2) — 2026-11-24
## [0.41.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.41.0...trust-tasks-https-v0.41.1) — 2026-11-24
## [0.41.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.40.5...trust-tasks-https-v0.41.0) — 2026-11-24
### Build & CI
- **rs**: Move to the affinidi-tdk 0.49 generation and jsonwebtoken 12 ([#1352](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1352))
* test(https): unwrap the fallible HMAC key constructors of jsonwebtoken 12
jsonwebtoken 12 returns a Result from EncodingKey::from_secret and DecodingKey::from_secret, because it rejects empty HMAC keys. Test code only.
## [0.40.5](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.40.4...trust-tasks-https-v0.40.5) — 2026-11-19
## [0.40.4](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.40.3...trust-tasks-https-v0.40.4) — 2026-11-17
## [0.40.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.40.2...trust-tasks-https-v0.40.3) — 2026-11-17
## [0.40.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.40.1...trust-tasks-https-v0.40.2) — 2026-11-16
## [0.40.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.40.0...trust-tasks-https-v0.40.1) — 2026-11-16
## [0.40.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.39.0...trust-tasks-https-v0.40.0) — 2026-11-14
### Build & CI
- **https**: Jsonwebtoken 11 in trust-tasks-https, jsonschema 0.60 in trust-tasks-rs ([#1290](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1290))
Aligns the two dependencies a downstream workspace (OpenVTC VTI) compiles
twice because these crates pinned older majors: jsonschema 0.49 in
trust-tasks-rs (`validate` feature) beside its 0.60, and jsonwebtoken 10 in
trust-tasks-https (`jwt` feature) beside its 11.
jsonschema is private to trust-tasks-rs (no jsonschema type is in its public
API) and needed no code change. jsonwebtoken is public through
`JwtBearerAuth::new(DecodingKey, Validation, _)`, so a consumer that builds
those values with jsonwebtoken 10 must move to 11: a break of the `jwt`
feature's API, hence the `!`. No source change was needed in this crate.
### Fixed
- **rs,https,ts,go,dart**: Refuse a document that marks an unrecognized ext namespace critical ([#1256](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1256))
* fix(rs,https,ts,go,dart)!: refuse a document that marks an unrecognized ext namespace critical
SPEC §4.5.2 rule 4: a consumer that does not recognize a namespace named in
extCritical MUST NOT process the document and MUST reject it with
unsupportedExtension. No runtime read the member, so a document whose payload
type does not model it was processed as if the namespace were absent.
Each runtime gains a check (check_critical_extensions, checkCriticalExtensions,
CheckCriticalExtensions) that walks the payload as received alongside its
schema, applies rules 1, 2 and 4, and runs in every consume pipeline after
the proof and per-specification checks and before the item-11 record. The
recognized namespaces are a new consume-checks option, empty by default.
Shared vectors in fixtures/consume/ext-critical.json pin the four together.
## [0.39.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.38.0...trust-tasks-https-v0.39.0) — 2026-11-13
### Added
- **rs,https**: Build the HTTPS server on consume_dispatched; async handlers and auth ([#1244](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1244))
* feat(rs,https)!: build the HTTPS server on consume_dispatched; async handlers and auth
HttpsServer now runs every framework check through
trust_tasks_rs::consume_dispatched_answer and keeps only the HTTP steps.
The checks only it had become ConsumeChecks options (require_attribution,
proof_did_methods, received_bytes). Adds on_async/on_ack_async, an
AsyncAuth trait every Auth satisfies, extends forward routing with
unsupportedVersion, and per-type maxDocumentBytes enforcement with a body
limit derived from the registered tasks.
### Build & CI
- **proof, didcomm**: Affinidi-crypto 0.3 and the matching Affinidi releases ([#1265](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1265))
* build(proof,didcomm): affinidi-crypto 0.3 and the matching Affinidi releases
trust-tasks-proof requires affinidi-crypto 0.3, affinidi-data-integrity
0.8.7, affinidi-did-common 0.4.7 and affinidi-did-resolver-cache-sdk
0.8.53, the releases built on affinidi-crypto 0.3, so its KeyType is the
one those crates use. The trust-tasks-didcomm dev dependencies move to
affinidi-crypto 0.3 and affinidi-messaging-didcomm 0.15.14, and the
affinidi-secrets-resolver dev dependencies to 0.5.18.
The mediator integration test leaves the tree for now: the published
test-mediator 0.16 / messaging-sdk 0.32 build on affinidi-crypto 0.2 and
no longer compile beside affinidi-messaging-didcomm 0.15.14.
- Catch superseded versions and drifted counts in the docs ([#1268](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1268))
The stale-references check now reads every *.md outside specs/ (READMEs,
guides, docs/, the latest version of each binding) and every
examples/**/trust-tasks.toml [tasks] pin, as well as the registry. A
reference may be a link, a mention, a path through a mirroring directory
(specs/…, src/…), a generated module path (acl::grant::v0_2,
acl/grant/v0_2) or a Type URI. CHANGELOGs, SPEC.md and ADRs are history;
other deliberate references are listed with a reason under `documents` in
stale-references-allowlist.json. `npm run fix-stale-references` rewrites the
text references in documents too.
Fixed what it found: README examples in trust-tasks-rs, -https and -proof
on acl/grant 0.1; the push binding's links to push/* and device/set-wake
0.1; CONTRIBUTING-SPECS.md's examples; consumer-side-generation.md, which
said examples/consumer-app pins acl/grant/0.2 and keys/list/0.2 (it pins
0.3 and `latest`).
New scripts/check-doc-facts.mjs (`npm run check-doc-facts`, in `npm run
check` and a `documented facts match the tree` job in checks.yml) checks
the facts the docs still state in prose: RELEASING.md's package table
against the manifests and release-pr.sh's lists, the crates DEVELOPMENT.md
says do not depend on trust-tasks-rs, the layout table, the Node floors,
and the current framework version.
### Fixed
- **rs,https,dart-https**: Run the attribution gate before the route lookup ([#1246](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1246))
Both HTTPS servers looked the route up before the attribution gate, so a sender with neither a bearer token nor a proof could tell a registered type (proofRequired) from an unregistered one (unsupportedType).
The Rust server now runs on consume_dispatched_answer, so the reorder is made there: the checks that read only the envelope (expiry, recipient, freshness, identity) and the attribution gate move out of consume_core into envelope_checks, which consume_inbound and consume_dispatched_answer both run ahead of their item-3 type check. The route lookup still precedes the DID-method screen and proof verification, so an unregistered type never reaches a resolver.
The Dart server runs the same checks before the route lookup and before decoding the payload.
### Performance
- **rs,https**: Hash, compare and route each inbound document once ([#1259](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1259))
* test(rs,https): time the inbound path and pin the item-11 digest values
## [0.38.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.37.15...trust-tasks-https-v0.38.0) — 2026-11-12
### Documentation
- Fix drifted counts, release runbook, licences and stale examples across the four libraries ([#1224](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1224))
* docs(getting-started): move the worked example to acl/grant/0.3 and stamp issuedAt with issued_at_now()
The example pinned acl/grant/0.2, superseded by 0.3, and stamped issuedAt
with chrono::Utc::now(), the full-precision form #970 removed from the
libraries. The TS consumer example wrote toISOString() milliseconds into
document fields the same way. The dependency snippet now uses cargo add,
so it cannot name a stale version, and §4.4 describes the shared version
group instead of versions from 0.14.
### Fixed
- **rs,build,cli,codegen**: Review fixes — declared guard code, SchemaValidator, keyword slugs, generate --lang rs, registry hints, docs.rs ([#1215](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1215))
* fix(rs): declared acl/revoke code in the guard, a caching SchemaValidator, docs.rs metadata
- guards::acl::reject_last_authority returns acl/revoke:lastAuthorityProtected,
the code every acl/revoke version declares (was snake_case); new
LAST_AUTHORITY_PROTECTED constant, pinned to the generated declarations ([#1093](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1093)).
- validate::SchemaValidator: a PayloadValidator compiling each schema once,
cached by the schema text's address and confirmed against its content;
validate_value and check_details use a shared one; prune_payload reuses a
parsed-schema cache; PayloadPolicy::accept_unvalidated() ([#1091](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1091)).
- docs.rs builds trust-tasks-rs with validate + acl and the facade with its
non-spec features, and trust-tasks-rs / trust-tasks-https enable doc_cfg
under docsrs, without which the docs.rs build cannot compile ([#1106](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1106)).
- **https,proof**: Verify client response proofs as received, hold error responses to them, and bound DID resolution by default ([#1204](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1204))
* fix(https,proof)!: verify client response proofs as received, hold error responses to them, and bound DID resolution by default
HttpsClient verified a response's proof over the parsed and re-serialised
document, so a valid signature over, for example, an issuedAt written with
+00:00 was refused. It now verifies over the body exactly as received, as
the server already does.
With a response verifier configured, a trust-task-error response is now
returned as TrustTaskError only when its proof verifies and its issuer and
recipient match the configured VIDs. Otherwise it is returned as the new
ClientError::UnverifiedErrorResponse, which keeps the document for
diagnostics but marks it as unattested. ClientError is now non_exhaustive.
HttpsServer with a verifier and no explicit DID-method choice now accepts
did:key only (DEFAULT_ALLOWED_DID_METHODS). allowed_did_methods widens it;
the new allow_any_did_method lifts it. A server without a verifier is
unchanged.
CachedDidResolver now gives every resolution a deadline
(DEFAULT_RESOLUTION_TIMEOUT, 10 s, with_timeout) and refuses a DID naming
localhost or a loopback, private-network or link-local address before the
client is called (allow_private_hosts opts out). with_host_filter adds a
caller-supplied host allow-list.
- **https,dart-https**: Cap HTTPS client responses, keep bearer tokens on https, stop following redirects, and keep response bodies out of errors ([#1205](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1205))
* fix(https,dart-https)!: cap HTTPS client responses, keep bearer tokens on https, stop following redirects, and keep response bodies out of errors
Rust HttpsClient and Dart HttpsClient:
- The response body is read up to a cap (256 KiB by default,
max_response_bytes / maxResponseBytes) and refused beyond it, with a new
ResponseTooLarge error. A declared Content-Length over the cap is refused
before reading.
- server_url / base must be https. Plain http is accepted for a loopback
host, or elsewhere with allow_insecure_http / allowInsecureHttp, but a
bearer token is never sent over non-loopback http.
- Redirects are not followed by default; a 3xx is returned as an HTTP status
error so the signed document is never re-posted elsewhere. Rust can opt
into same-origin redirects with follow_redirects(true); an https client
never downgrades to http.
- Error text no longer quotes the response body: HttpStatus keeps at most
512 bytes in its field and leaves it out of Display; decode errors keep
only the category and position.
Dart only: every error the HTTP client raises (TLS included) is wrapped as
TransportException; the timeout now covers reading the body and cancels the
read when it fires; a responseVerifier requires a serverVid; a platform
client that followed a redirect anyway is detected by its final URL.
- **runtime**: Settle or release the item-11 claim on every remaining path ([#1177](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1177))
- Rust: the claim stays armed across a retryable refusal's awaited
release and is disarmed on the next statement, so a pipeline dropped
mid-release still releases it. A response or refusal whose `Serialize`
panics is recorded with no response before the panic continues.
- HTTPS server: `release_claim` holds a drop guard across its awaited
release, on both the refusal and the panic branch.
- `ReplayGuard::release_abandoned` documents that it must not block,
require a runtime context or panic, and the default's degradation for a
`release` that suspends, which a test now pins.
- Go: a `MarshalJSON` panic in `settle` records the claim with no
response, then the panic continues.
- Dart: a final refusal that cannot be encoded releases the claim, so a
resend is evaluated again, before the error is rethrown.
- **runtime**: Digest item 11 over the received document, and check envelope types and nesting depth ([#1171](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1171))
* fix(runtime)!: digest item 11 over the received document, and check envelope types and nesting depth
Item 11's duplicate-execution digest is now taken over the document as
received wherever a pipeline holds it, so two documents under one id that
differ only in a member the payload type does not model, or in the spelling
of a timestamp, are an idConflict rather than a duplicate:
- Go ConsumeInbound digests ConsumeOptions.Received when set.
- Dart consumeInbound digests `received` whenever it is passed (it did only
for a forward read), and the HTTPS server, DIDComm and TSP consumers pass it.
- Rust consume_inbound / consume_dispatched digest the received JSON under
ProofPolicy::VerifyReceived, with or without a proof; the HTTPS server
digests the body. New received_document_digest.
TypeScript consumeInbound now checks the envelope before anything reads it:
member types (string id/type and string-valued optional members, object
payload/proof/ceremony, @context string/array/object) and a nesting bound of
128 levels, refused malformedRequest and addressed only from string members.
validateEnvelope and MAX_NESTING_DEPTH are exported.
Dart consumeInbound refuses a document nested beyond maxNestingDepth (128)
with malformedRequest instead of overflowing the stack, and the new
parseTrustTaskDocument decodes a received value without throwing, returning
a malformedRequest reason for a mistyped member.
Shared vectors in fixtures/consume/item11-digest.json run in all four
runtimes.
## [0.37.15](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.37.14...trust-tasks-https-v0.37.15) — 2026-11-11
## [0.37.14](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.37.13...trust-tasks-https-v0.37.14) — 2026-11-10
## [0.37.13](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.37.12...trust-tasks-https-v0.37.13) — 2026-11-10
## [0.37.12](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.37.11...trust-tasks-https-v0.37.12) — 2026-11-09
## [0.37.11](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.37.10...trust-tasks-https-v0.37.11) — 2026-11-09
## [0.37.10](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.37.9...trust-tasks-https-v0.37.10) — 2026-11-08
## [0.37.9](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.37.8...trust-tasks-https-v0.37.9) — 2026-11-08
## [0.37.8](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.37.7...trust-tasks-https-v0.37.8) — 2026-11-07
## [0.37.7](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.37.6...trust-tasks-https-v0.37.7) — 2026-11-06
## [0.37.6](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.37.5...trust-tasks-https-v0.37.6) — 2026-11-05
## [0.37.5](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.37.4...trust-tasks-https-v0.37.5) — 2026-11-05
## [0.37.4](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.37.3...trust-tasks-https-v0.37.4) — 2026-11-05
## [0.37.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.37.2...trust-tasks-https-v0.37.3) — 2026-11-05
## [0.37.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.37.1...trust-tasks-https-v0.37.2) — 2026-11-04
### Added
- **trust-task-discovery**: Publish 0.4, a responder advertises the horizon up to which it honours a stated expiresAt ([#1030](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1030))
SPEC §7.2 (Bounding the record) applies a consumer's maximum age only where a
document states no expiresAt, and since trust-tasks-rs 0.37 ([#1021](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/1021))
validate_freshness does so, honouring a stated expiry up to the policy's
expiry_horizon. discovery 0.3 cannot describe that: its window "governs
issuedAt only" and its responder refuses any document past
issuedAt + maxAgeSeconds + clockSkewSeconds, whatever expiresAt it states. A
responder that honours an expiry could only advertise a narrower window than
it applies, and a producer could not learn that stating an expiry keeps a long
delivery acceptable.
- specs/trust-task-discovery/0.4: acceptanceWindow gains an optional
expiryHorizonSeconds (whole seconds, at least 1), and the spec defines a
document's acceptance end: issuedAt + maxAgeSeconds without an expiresAt;
the earlier of expiresAt and issuedAt + expiryHorizonSeconds with one; and,
where the window carries no horizon, the earlier of expiresAt and
issuedAt + maxAgeSeconds, which is what a 0.3 window says.
- Responder: MUST NOT advertise a horizon wider than it applies, nor one at
all if it applies its maximum age whatever expiresAt states.
- Discoverer: send bounds follow the acceptance end. MAY state an expiresAt
within the horizon, no later than it will pursue delivery, instead of
issuing a chain of new attempts; a new attempt carries it unchanged.
Absent a horizon, it MUST assume the maximum age applies to every
document.
- AcceptanceWindow is closed in 0.3, so an added optional member is a MINOR
increment (§5.2): a new version, not an edit.
- Response-side invalid examples: a zero horizon, a duration string, and a
fractional entry-level horizon.
- trust-tasks-rs: DiscoveryRegistry::respond_to_v0_4 is the current answer.
acceptance_window_from reads the policy's expiry_horizon, and
expiry_horizon() sets one by hand. respond_to_v0_3 moves to
discovery/superseded.rs and states the window without the horizon (narrower
than applied, which 0.3 permits).
- trust-tasks-https: enable_discovery answers 0.4, and 0.3 beside 0.2 and 0.1.
- trust-tasks-dart-https: enableDiscovery answers 0.4. Dart's FreshnessPolicy
has no horizon, so its window states none, which says the maximum age
applies to every document. 0.3 moves to the superseded block.
- Examples and tests that named the 0.3 types use 0.4.
- Bindings regenerated (Rust, TS, Go, Dart). 0.3 is superseded.
Follows from #1021 and trustoverip/dtgwg-vti-spec#96 (VTI-OPS-024,
VTI-OPS-028, VTI-TRN-048), whose implementation in
OpenVTC/verifiable-trust-infrastructure states delivery deadlines as expiresAt.
## [0.37.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.37.0...trust-tasks-https-v0.37.1) — 2026-11-04
## [0.37.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.36.10...trust-tasks-https-v0.37.0) — 2026-11-04
## [0.36.10](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.36.9...trust-tasks-https-v0.36.10) — 2026-11-03
## [0.36.9](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.36.8...trust-tasks-https-v0.36.9) — 2026-11-03
## [0.36.8](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.36.7...trust-tasks-https-v0.36.8) — 2026-11-03
## [0.36.7](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.36.6...trust-tasks-https-v0.36.7) — 2026-11-02
## [0.36.6](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.36.5...trust-tasks-https-v0.36.6) — 2026-11-01
## [0.36.5](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.36.4...trust-tasks-https-v0.36.5) — 2026-11-01
## [0.36.4](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.36.3...trust-tasks-https-v0.36.4) — 2026-10-30
## [0.36.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.36.2...trust-tasks-https-v0.36.3) — 2026-10-30
## [0.36.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.36.1...trust-tasks-https-v0.36.2) — 2026-10-29
### Fixed
- Stamp issuedAt in whole seconds in every library ([#970](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/970)) ([#979](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/979))
Rust wrote `issuedAt` with `Utc::now()`, which chrono serializes at the
clock's precision: nine fractional digits on Linux, on every error response
`dispatch_or_reject` / `reject_with` built and every response `respond_with`
built. TypeScript wrote milliseconds with `toISOString()`. SPEC §13.1 item 3
calls a full-precision timestamp a fingerprint and lets a producer round
`issuedAt` down; readers with a narrower RFC 3339 profile refused these
documents.
Every instant the framework stamps is now UTC in whole seconds, rounded
down, the form Go (`SystemClock`) and Dart (`systemClock`) already wrote:
- trust-tasks-rs: new `issued_at_now()`, used by `reject_with_recipient`,
`respond_with` and the dispatchers' error responses.
- trust-tasks-https: the client's default `issuedAt` and the server's two
fallback error documents.
- trust-tasks-capability-client: built documents and `new_attempt`.
- @openvtc/trust-tasks: new `issuedAtNow()`, the default clock of
`rejectWithRecipient` / `rejectWith` / `respondWith`.
- @openvtc/trust-tasks-capability-client: built documents and `newAttempt`.
A whole second is inside every acceptance window a consumer applies, so no
specification has to opt in; the minute or hour §13.1 permits is left to a
specification that states its skew. Rounding down never future-dates a
document (§7.2 item 13). Readers are unchanged and keep accepting any RFC
3339 precision and offset; received documents are never re-stamped, so
proofs and item-11 digests are unaffected.
The same vectors are pinned in all four libraries (tests/issued_at_precision.rs,
test/issued-at.test.ts, trusttasks/issued_at_test.go,
test/issued_at_test.dart): what is written, and that 0, 1, 3, 6 and 9
fractional digits and an offset are all read.
## [0.36.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.36.0...trust-tasks-https-v0.36.1) — 2026-10-28
## [0.36.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.35.4...trust-tasks-https-v0.36.0) — 2026-10-27
### Added
- **ts, go**: Trust-task-error/0.6 and the unsupportedExtension and indeterminate standard codes ([#961](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/961))
* feat(ts)!: trust-task-error/0.6 and the unsupportedExtension and indeterminate standard codes
Framework 0.7.0 added unsupportedExtension to the standard codes, and the
indeterminate ruling (SPEC §8.3) adds indeterminate: the recipient could
not decide because something it needed and does not control could not
be obtained or checked, which is neither a refusal nor a failed
verification. Both live in the closed code list of the trust-task-error
payload schema, so they need a new version.
- specs/trust-task-error/0.6: both codes appended to the enum, and
extends: "0.5", which the build checks. References to 0.5 across the
registry therefore stay current, and no other spec changes.
- All four libraries recognize both codes and emit 0.6:
trust_task_error_type_uri(), TRUST_TASK_ERROR_TYPE_URI,
TrustTaskErrorTypeURI and trustTaskErrorTypeUri move together.
Rust's StandardCode is hand-written (trust-task-error is in
SKIP_SLUGS) and gains UnsupportedExtension and Indeterminate, with
indeterminate retryable by default as §8.3 gives it.
- The HTTPS binding's status table maps unsupportedExtension to 422 and
indeterminate to 503, in the binding prose, trust-tasks-https and
trust_tasks_https. The Dart package spells the new codes out so it
still builds against a core that predates them.
Breaking for @openvtc/trust-tasks only: StandardCode is a closed union
there, so an exhaustive switch over it stops compiling. Rust's
StandardCode is #[non_exhaustive] and Go's and Dart's are open string
types, so the change is additive for them.
Part of trustoverip/dtgwg-trust-tasks-spec#42.
## [0.35.4](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.35.3...trust-tasks-https-v0.35.4) — 2026-10-27
### Added
- The prebuilt specification modules are deprecated in all four libraries; generate the tasks you use ([#954](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/954))
Milestone 5 of docs/design/consumer-side-generation.md. Every prebuilt module
outside the framework's own specifications (trust-task-*, trust-ceremony-*,
_framework/) is deprecated, so that an application is told to pin the tasks it
uses with the trust-tasks CLI and generate them instead. Nothing is removed:
the withdrawal batch that removes them is chosen later, at least 90 days after
this ships.
Each library marks the prebuilt entry point where its toolchain reports a
deprecation, never the module body, which is also what the consumer-side
generators emit:
- Rust: #[deprecated] on each gated family module in trust-tasks-rs's
specs/mod.rs (trust-tasks-codegen). It reaches every path and item under the
module; framework modules and trust-tasks-build's output are unmarked.
- TypeScript: the root index re-exports each module as
`import * as _X …; /** @deprecated … */ export import X = _X;`, because
TypeScript ignores @deprecated on `export * as`. API compatibility against
0.27.8: nothing removed or changed. A deep import of a module file is not
marked; TypeScript has no module-level deprecation.
- Go: a `Deprecated:` paragraph in each prebuilt package's doc, which gopls and
staticcheck (SA1019) report on import.
- Dart: @Deprecated on each prebuilt library's `library` directive, which the
analyzer reports on import from another package. This package's own tests
use them, so analysis_options ignores the same-package diagnostic SDKs
before 3.4 report.
The TS, Go and Dart equivalence tests mask exactly the mark; every consumer
generator is still held to the prebuilt tree as before. Hand-written Rust that
uses prebuilt modules on purpose — the acl-specimen test modules, the
integration tests and the examples — carries #[allow(deprecated)]; none of the
runtime does.
GETTING-STARTED, the four library READMEs, the design doc and CLAUDE.md say
so, and point at each language's generator.
## [0.35.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.35.2...trust-tasks-https-v0.35.3) — 2026-10-26
### Fixed
- **rs**: The transport crates depend on trust-tasks-rs's runtime only ([#939](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/939))
trust-tasks-didcomm, -didcomm-v1, -tsp, -https, -proof and
-capability-client depended on trust-tasks-rs with its default features,
which are every specification family. Cargo unifies features across the
graph, so an application that generates only the tasks it pins
(trust-tasks-build) still compiled every prebuilt module as soon as it
depended on any transport, and the facade route in GETTING-STARTED
(`trust-tasks` with default-features = false and runtime_path) got every
family anyway.
None of these crates uses a specification module outside its tests,
examples and doc examples, so each now depends on the runtime alone
(default-features = false) and enables `acl` (and `task-consent` for
trust-tasks-https) as a dev-dependency feature for those.
Verified per crate in isolation, so no other workspace member can switch
the families back on: `cargo tree -e features` shows trust-tasks-rs with
no features for each, and each crate's tests, examples and doctests pass
with --all-features.
An application that reached a family's types only because a transport
switched every family on must now enable that family (or the `all-specs`
default) on trust-tasks-rs itself.
## [0.35.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.35.1...trust-tasks-https-v0.35.2) — 2026-10-26
## [0.35.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.35.0...trust-tasks-https-v0.35.1) — 2026-10-26
## [0.35.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.34.2...trust-tasks-https-v0.35.0) — 2026-10-26
### Added
- **codegen**: Superseded and retired spec versions are deprecated in every library, and withdrawn ones leave them in a quarterly batch ([#921](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/921))
* feat(go): mark superseded and retired spec versions deprecated, and omit withdrawn ones
Every generated request package now exports `const Deprecation` (empty for a
current version, otherwise "superseded by <slug>/<M.N>", "retired; use
<slug>/<M.N>" or "retired"), and a deprecated version's Payload and Response
types carry a `// Deprecated:` paragraph. A version with `status: withdrawn`
gets no package at all. The rule is derived independently from front matter,
per SPEC "Superseded and Withdrawn Versions".
## [0.34.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.34.1...trust-tasks-https-v0.34.2) — 2026-10-24
## [0.34.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.34.0...trust-tasks-https-v0.34.1) — 2026-10-23
## [0.34.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.33.2...trust-tasks-https-v0.34.0) — 2026-10-23
### Fixed
- The HTTPS servers check expiry, recipient and freshness before identity, as consume_inbound does ([#879](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/879))
The Rust and Dart HTTPS servers ran identity resolution (§7.2 item 6) before
expiry, recipient and freshness (items 4 and 5a). consume_inbound and every
other binding run them in §7.2 order. So a document failing both kinds of
check was refused identityMismatch over HTTPS, and expired or wrongRecipient
everywhere else.
Both servers now use §7.2 order when the sender is authenticated. With no
authenticated sender, identity still runs first. Then the only identity that
can disagree is the recipient, and §8.1 suppresses that refusal. Checking the
recipient first would answer wrongRecipient instead, telling an
unauthenticated prober which VIDs the server is not, and undoing the PR #75
suppression both servers' regression tests pin. Those tests are unchanged and
pass.
CLAUDE.md's note on the Dart server's step order is updated to match.
- Proofs are verified over the document as received, so a genuine proof survives a typed re-encoding ([#875](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/875))
Every Rust consumer verified a proof over its parsed TrustTask re-serialised:
consume_inbound through ProofVerifier::verify, the HTTPS server through
DynProofVerifier::verify_json on a TrustTask<Value>. Re-serialisation
reproduces the signed bytes only when every member round-trips, and several
do not — a generated `#[serde(default)]` member the producer omitted comes
back as `false`, a member the payload type does not model is dropped, and a
framework timestamp written `+00:00` is re-rendered as `Z`. A genuine proof
over any such document was refused proofInvalid.
- ProofVerifier and DynProofVerifier gain a provided `verify_received(&Value)`;
the affinidi Verifier overrides it with its exact `verify_raw`, and
ErasedVerifier forwards it. Existing implementations keep the old,
re-serialising behaviour by default.
- ProofPolicy gains `VerifyReceived(&V, &Value)` and `with_received`, which
turns a caller's `Verify` into it. consume_inbound re-parses the received
value and refuses proofInvalid when it is not the document being consumed,
since a proof over one document vouches for nothing about another.
- The TSP, DIDComm v2 and DIDComm v1 `receive` paths keep the document as
received and apply `with_received`, so their callers change nothing.
- The HTTPS server verifies over the request body parsed as a Value, keeping
the typed parse that refuses a duplicated top-level member.
- DynProofVerifier's doc no longer claims the erasure is lossless.
All additive: cargo semver-checks reports no update required for
trust-tasks-rs, trust-tasks-proof or trust-tasks-https.
## [0.33.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.33.1...trust-tasks-https-v0.33.2) — 2026-10-22
## [0.33.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.33.0...trust-tasks-https-v0.33.1) — 2026-10-21
## [0.33.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.32.10...trust-tasks-https-v0.33.0) — 2026-10-21
## [0.32.10](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.32.9...trust-tasks-https-v0.32.10) — 2026-10-21
## [0.32.9](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.32.8...trust-tasks-https-v0.32.9) — 2026-10-21
## [0.32.8](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.32.7...trust-tasks-https-v0.32.8) — 2026-10-21
## [0.32.7](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.32.6...trust-tasks-https-v0.32.7) — 2026-10-20
## [0.32.6](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.32.5...trust-tasks-https-v0.32.6) — 2026-10-20
## [0.32.5](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.32.4...trust-tasks-https-v0.32.5) — 2026-10-20
## [0.32.4](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.32.3...trust-tasks-https-v0.32.4) — 2026-10-19
## [0.32.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.32.2...trust-tasks-https-v0.32.3) — 2026-10-19
## [0.32.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.32.1...trust-tasks-https-v0.32.2) — 2026-10-19
## [0.32.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.32.0...trust-tasks-https-v0.32.1) — 2026-10-19
## [0.32.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.31.16...trust-tasks-https-v0.32.0) — 2026-10-18
## [0.31.16](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.31.15...trust-tasks-https-v0.31.16) — 2026-10-18
## [0.31.15](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.31.14...trust-tasks-https-v0.31.15) — 2026-10-17
## [0.31.14](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.31.13...trust-tasks-https-v0.31.14) — 2026-10-17
## [0.31.13](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.31.12...trust-tasks-https-v0.31.13) — 2026-10-16
## [0.31.12](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.31.11...trust-tasks-https-v0.31.12) — 2026-10-16
## [0.31.11](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.31.10...trust-tasks-https-v0.31.11) — 2026-10-16
## [0.31.10](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.31.9...trust-tasks-https-v0.31.10) — 2026-10-16
## [0.31.9](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.31.8...trust-tasks-https-v0.31.9) — 2026-10-16
## [0.31.8](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.31.7...trust-tasks-https-v0.31.8) — 2026-10-15
## [0.31.7](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.31.6...trust-tasks-https-v0.31.7) — 2026-10-15
## [0.31.6](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.31.5...trust-tasks-https-v0.31.6) — 2026-10-15
## [0.31.5](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.31.4...trust-tasks-https-v0.31.5) — 2026-10-15
## [0.31.4](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.31.3...trust-tasks-https-v0.31.4) — 2026-10-15
## [0.31.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.31.2...trust-tasks-https-v0.31.3) — 2026-10-15
## [0.31.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.31.1...trust-tasks-https-v0.31.2) — 2026-10-14
## [0.31.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.31.0...trust-tasks-https-v0.31.1) — 2026-10-14
## [0.31.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.30.2...trust-tasks-https-v0.31.0) — 2026-10-13
## [0.30.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.30.1...trust-tasks-https-v0.30.2) — 2026-10-13
## [0.30.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.30.0...trust-tasks-https-v0.30.1) — 2026-10-12
## [0.30.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.29.0...trust-tasks-https-v0.30.0) — 2026-10-11
## [0.29.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.28.1...trust-tasks-https-v0.29.0) — 2026-10-11
## [0.28.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.28.0...trust-tasks-https-v0.28.1) — 2026-10-11
## [0.28.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.27.8...trust-tasks-https-v0.28.0) — 2026-10-11
## [0.27.8](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.27.7...trust-tasks-https-v0.27.8) — 2026-10-10
## [0.27.7](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.27.6...trust-tasks-https-v0.27.7) — 2026-10-05
## [0.27.6](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.27.5...trust-tasks-https-v0.27.6) — 2026-10-05
## [0.27.5](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.27.4...trust-tasks-https-v0.27.5) — 2026-10-05
## [0.27.4](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.27.3...trust-tasks-https-v0.27.4) — 2026-10-03
## [0.27.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.27.2...trust-tasks-https-v0.27.3) — 2026-10-03
## [0.27.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.27.1...trust-tasks-https-v0.27.2) — 2026-10-03
## [0.27.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.27.0...trust-tasks-https-v0.27.1) — 2026-10-03
## [0.27.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.26.3...trust-tasks-https-v0.27.0) — 2026-10-03
## [0.26.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.26.2...trust-tasks-https-v0.26.3) — 2026-10-02
## [0.26.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.26.1...trust-tasks-https-v0.26.2) — 2026-10-02
## [0.26.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.26.0...trust-tasks-https-v0.26.1) — 2026-10-02
## [0.26.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.25.4...trust-tasks-https-v0.26.0) — 2026-10-01
## [0.25.4](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.25.3...trust-tasks-https-v0.25.4) — 2026-10-01
## [0.25.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.25.2...trust-tasks-https-v0.25.3) — 2026-10-01
## [0.25.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.25.1...trust-tasks-https-v0.25.2) — 2026-10-01
## [0.25.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.25.0...trust-tasks-https-v0.25.1) — 2026-09-30
## [0.25.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.24.9...trust-tasks-https-v0.25.0) — 2026-09-30
## [0.24.9](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.24.8...trust-tasks-https-v0.24.9) — 2026-09-30
## [0.24.8](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.24.7...trust-tasks-https-v0.24.8) — 2026-09-29
## [0.24.7](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.24.6...trust-tasks-https-v0.24.7) — 2026-09-29
## [0.24.6](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.24.5...trust-tasks-https-v0.24.6) — 2026-09-28
## [0.24.5](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.24.4...trust-tasks-https-v0.24.5) — 2026-09-28
## [0.24.4](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.24.3...trust-tasks-https-v0.24.4) — 2026-09-28
## [0.24.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.24.2...trust-tasks-https-v0.24.3) — 2026-09-28
## [0.24.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.24.1...trust-tasks-https-v0.24.2) — 2026-09-27
## [0.24.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.24.0...trust-tasks-https-v0.24.1) — 2026-09-27
## [0.24.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.23.6...trust-tasks-https-v0.24.0) — 2026-09-27
## [0.23.6](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.23.5...trust-tasks-https-v0.23.6) — 2026-09-27
## [0.23.5](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.23.4...trust-tasks-https-v0.23.5) — 2026-09-27
## [0.23.4](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.23.3...trust-tasks-https-v0.23.4) — 2026-09-27
## [0.23.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.23.2...trust-tasks-https-v0.23.3) — 2026-09-26
## [0.23.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.23.1...trust-tasks-https-v0.23.2) — 2026-09-26
## [0.23.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.23.0...trust-tasks-https-v0.23.1) — 2026-09-26
## [0.23.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.22.7...trust-tasks-https-v0.23.0) — 2026-09-26
## [0.22.7](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.22.6...trust-tasks-https-v0.22.7) — 2026-09-24
## [0.22.6](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.22.5...trust-tasks-https-v0.22.6) — 2026-09-24
## [0.22.5](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.22.4...trust-tasks-https-v0.22.5) — 2026-09-24
## [0.22.4](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.22.3...trust-tasks-https-v0.22.4) — 2026-09-24
## [0.22.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.22.2...trust-tasks-https-v0.22.3) — 2026-09-23
## [0.22.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.22.1...trust-tasks-https-v0.22.2) — 2026-09-23
## [0.22.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.22.0...trust-tasks-https-v0.22.1) — 2026-09-23
## [0.22.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.21...trust-tasks-https-v0.22.0) — 2026-09-23
## [0.21.21](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.20...trust-tasks-https-v0.21.21) — 2026-09-22
## [0.21.20](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.19...trust-tasks-https-v0.21.20) — 2026-09-22
## [0.21.19](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.18...trust-tasks-https-v0.21.19) — 2026-09-22
## [0.21.18](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.17...trust-tasks-https-v0.21.18) — 2026-09-22
## [0.21.17](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.16...trust-tasks-https-v0.21.17) — 2026-09-22
## [0.21.16](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.15...trust-tasks-https-v0.21.16) — 2026-09-22
## [0.21.15](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.14...trust-tasks-https-v0.21.15) — 2026-09-22
## [0.21.14](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.12...trust-tasks-https-v0.21.14) — 2026-09-22
## [0.21.13](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.12...trust-tasks-https-v0.21.13) — 2026-09-22
## [0.21.12](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.11...trust-tasks-https-v0.21.12) — 2026-09-21
### Added
- **trust-task-discovery**: Publish 0.2 with a three-part frameworkVersion ([#571](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/571))
trust-task-discovery/0.1's response admits frameworkVersion only as
MAJOR.MINOR, so a responder cannot advertise a framework release as the
framework has written it since 0.4.0 (SPEC §5.1.1) — 0.6.0, or a later
PATCH. Widening 0.1 in place would make every 0.1 discoverer that
validates the response reject a conforming one, so this is 0.2.
- specs/trust-task-discovery/0.2: identical to 0.1 except the response's
frameworkVersion is MAJOR.MINOR.PATCH; adds "Relationship to 0.1"
(answer each version in the version asked; discoverers SHOULD ask 0.2)
and the four Security & Privacy sub-sections. Bindings generated.
- trust-tasks-rs: DiscoveryRegistry::respond_to_v0_2; the configured
release is held three-part and written MAJOR.MINOR in a 0.1 response.
Default "0.2" (stale) -> "0.6.0".
- trust-tasks-https: with_discovery/enable_discovery answer both 0.1 and
0.2, and advertise both.
- trust-tasks-dart-https: enableDiscovery answers both versions; default
frameworkVersion '0.5' -> '0.6.0'; example asks in 0.2.
## [0.21.11](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.10...trust-tasks-https-v0.21.11) — 2026-09-21
### Specifications
- Generate SPEC.md from the canonical framework specification ([#559](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/559))
SPEC.md was a hand-ported copy of trustoverip/dtgwg-trust-tasks-spec,
and had drifted: it lacked #14's versioning sections (Document Status,
three-part framework versions, ratification), among others. It is now an
output.
- scripts/generate-framework-spec.mjs assembles the canonical Spec-Up-T
sources (specs.json markdown_paths + term definitions), numbers the
headings in canonical order, rewrites named anchors to numbered ones,
and emits legacy anchors as aliases. --check fails on drift.
- scripts/framework-spec-legacy-anchors.json maps every anchor of the old
hand-maintained copy to its canonical section, so existing links keep
resolving (generator rejects an alias that collides with a heading).
- build-registry: every /SPEC.md#… link in spec and binding prose,
including the bindings' absolute GitHub links, must name a section or
alias. Found 15 links broken before this change; fixed.
- deploy.yml regenerates SPEC.md from canonical main before the build, so
trusttasks.org serves the latest canonical text, and redeploys daily and
on workflow_dispatch / repository_dispatch (framework-spec-updated).
- Canonical order moves Terminology to §3, Conformance to §17, and the old
§10-§13 (Security & Privacy, Discovery, Task control, References) to
§12/§13, §10, §11 and §18. Qualified references ("SPEC §N", "SPEC.md §N",
links to SPEC.md) are rewritten across specs, bindings, docs, scripts and
library comments; bindings regenerated.
- CLAUDE.md, CONTRIBUTING-SPECS.md, README and the website point framework
changes at the canonical repository.
## [0.21.10](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.9...trust-tasks-https-v0.21.10) — 2026-09-21
## [0.21.9](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.8...trust-tasks-https-v0.21.9) — 2026-09-21
## [0.21.8](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.7...trust-tasks-https-v0.21.8) — 2026-09-21
## [0.21.7](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.6...trust-tasks-https-v0.21.7) — 2026-09-21
## [0.21.6](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.5...trust-tasks-https-v0.21.6) — 2026-09-21
## [0.21.5](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.4...trust-tasks-https-v0.21.5) — 2026-09-20
## [0.21.4](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.3...trust-tasks-https-v0.21.4) — 2026-09-19
## [0.21.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.2...trust-tasks-https-v0.21.3) — 2026-09-17
## [0.21.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.1...trust-tasks-https-v0.21.2) — 2026-09-16
## [0.21.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.21.0...trust-tasks-https-v0.21.1) — 2026-09-16
## [0.21.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.20.7...trust-tasks-https-v0.21.0) — 2026-09-16
## [0.20.7](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.20.6...trust-tasks-https-v0.20.7) — 2026-09-15
## [0.20.6](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.20.5...trust-tasks-https-v0.20.6) — 2026-09-15
## [0.20.5](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.20.4...trust-tasks-https-v0.20.5) — 2026-09-14
## [0.20.4](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.20.3...trust-tasks-https-v0.20.4) — 2026-09-11
## [0.20.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.20.2...trust-tasks-https-v0.20.3) — 2026-09-10
## [0.20.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.20.1...trust-tasks-https-v0.20.2) — 2026-09-10
## [0.20.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.20.0...trust-tasks-https-v0.20.1) — 2026-09-10
## [0.20.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.19.4...trust-tasks-https-v0.20.0) — 2026-09-10
## [0.19.4](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.19.3...trust-tasks-https-v0.19.4) — 2026-09-10
## [0.19.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.19.2...trust-tasks-https-v0.19.3) — 2026-09-09
## [0.19.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.19.1...trust-tasks-https-v0.19.2) — 2026-09-09
## [0.19.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.19.0...trust-tasks-https-v0.19.1) — 2026-09-09
## [0.19.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.18.11...trust-tasks-https-v0.19.0) — 2026-09-09
## [0.18.11](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.18.10...trust-tasks-https-v0.18.11) — 2026-09-09
## [0.18.10](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.18.9...trust-tasks-https-v0.18.10) — 2026-09-09
## [0.18.9](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.18.8...trust-tasks-https-v0.18.9) — 2026-09-09
## [0.18.8](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.18.7...trust-tasks-https-v0.18.8) — 2026-09-08
## [0.18.7](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.18.6...trust-tasks-https-v0.18.7) — 2026-09-08
## [0.18.6](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.18.5...trust-tasks-https-v0.18.6) — 2026-09-08
## [0.18.5](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.18.4...trust-tasks-https-v0.18.5) — 2026-09-08
## [0.18.4](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.18.3...trust-tasks-https-v0.18.4) — 2026-09-07
## [0.18.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.18.2...trust-tasks-https-v0.18.3) — 2026-09-07
## [0.18.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.18.1...trust-tasks-https-v0.18.2) — 2026-09-07
## [0.18.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.18.0...trust-tasks-https-v0.18.1) — 2026-09-06
## [0.18.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.17.10...trust-tasks-https-v0.18.0) — 2026-09-06
## [0.17.10](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.17.9...trust-tasks-https-v0.17.10) — 2026-09-05
## [0.17.9](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.17.8...trust-tasks-https-v0.17.9) — 2026-09-05
## [0.17.8](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.17.7...trust-tasks-https-v0.17.8) — 2026-09-04
## [0.17.7](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.17.5...trust-tasks-https-v0.17.7) — 2026-09-02
## [0.17.5](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.17.4...trust-tasks-https-v0.17.5) — 2026-09-02
## [0.17.4](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.17.3...trust-tasks-https-v0.17.4) — 2026-09-01
## [0.17.3](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.17.2...trust-tasks-https-v0.17.3) — 2026-08-28
## [0.17.2](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.17.1...trust-tasks-https-v0.17.2) — 2026-08-28
## [0.17.1](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.17.0...trust-tasks-https-v0.17.1) — 2026-08-27
## [0.17.0](https://github.com/trustoverip/dtgwg-trust-tasks-tf/compare/trust-tasks-https-v0.16.0...trust-tasks-https-v0.17.0) — 2026-08-27
### Changed
- **versioning**: Release the trust-tasks-rs-exposing crates in lockstep ([#315](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/315))
### Specifications
- Bound every free-text payload member with a maxLength (§7.3) ([#296](https://github.com/trustoverip/dtgwg-trust-tasks-tf/pull/296))
* spec: bound every free-text payload member with a maxLength
SPEC.md §7.3 (framework 0.5.0) requires that any member holding free
text declare a `maxLength`. 92 free-text string members across 83 draft
schemas carried none, leaving the wire contract unbounded and every
consumer to invent its own ceiling — or none, which is what §10.3
(schema-validation DoS) exists to prevent.
Bounds are chosen per member from the vocabulary the registry already
uses rather than applied uniformly:
256 `label`, `comment` — a display name or an OpenSSH key comment;
matches the existing 256 on provision/integration `label` and
the `name` members alongside it.
500 requester-authored prose that a surface renders to a human who
is deciding something; matches task-consent/request/0.1 `note`,
the registry's considered consent-surface bound.
1024 `reason`, `description`, `message` — operator or service prose
recorded for audit or returned as a diagnostic; matches the six
existing `reason: 1024` and the `description: 1024` in policy/
and vtc/endorsement-type.
16384 chat/message `text` — the task's actual content rather than
metadata about it; matches the corpus's long-form bound on
vault `secureNotes`.
All amended specifications are `status: draft`, so the change is made in
place per SPEC §5.2. Deliberately untouched:
* 17 members in `retired` specifications, frozen by SPEC §6.4.
* messaging/_shared/0.1 `AuditEntry.detail` and did-management/
_shared/0.1 `DomainEntry.label` — shared $defs reachable from a
retired specification, so bounding them would change a frozen
specification's effective wire contract.
* vault/_shared/{0.1,0.2,0.3} `TspMessageEnvelope.message` — opaque
base64url TSP bytes, not free text.
The `label` description in vault/_shared/*/vault-entry.schema.json said
the wire spec enforced no maximum length. It now does, so the sentence
is corrected rather than left contradicting the schema it annotates.
`npm run validate` re-checks all 533 fenced example documents against
the amended schemas; none is rejected by a new bound.
## [0.16.0] - 2026-08-26
### Changed
- **BREAKING: `HttpsServer::on` takes one type parameter and requires
`RequestPayload`.** It was `on::<P, Resp, _>` with `Resp` unconstrained, so
`on::<acl::grant::Payload, acl::revoke::Response, _>` compiled and
registered a handler answering `acl/grant` with an `acl/revoke` document.
The response type is now `P::Response`, inferred, and a mismatched pair is
a compile error — the same correction #287 made to `HttpsClient::send`.
Migration: drop the response type parameter.
`.on::<grant::v0_1::Payload, grant::v0_1::Response, _>(h)` →
`.on::<grant::v0_1::Payload, _>(h)`.
- **Added `HttpsServer::on_ack` for fire-and-forget specifications.** A spec
defining no `$defs.Response` gets no `RequestPayload` impl, so `on` cannot
take it — without this, those specs would have become unregisterable. The
handler returns `Ok(())` and the server answers `204 No Content`, matching
the status the binding already gives a duplicate of a completed
fire-and-forget execution. `DispatchFn` now returns `Option<Value>`:
SPEC §4.4.1 distinguishes a `#response` whose payload is empty (200 with a
body) from a specification with no response at all (204).
## [0.15.0] - 2026-08-26
### Changed
- **BREAKING. `HttpsClient::send` takes one type parameter, not two.** The
response type is now `<Req as RequestPayload>::Response`, which the codegen
pairs with the request from the one schema:
```rust
let resp = client.send::<grant::Payload, grant::Response>(req).await?;
let resp = client.send::<grant::Payload>(req).await?;
```
The pair could previously disagree — `send::<grant::Payload,
revoke::Response>(req)` compiled, and the mistake surfaced as a decode
failure against a live server. It no longer type-checks. A specification
defining no success response implements no `RequestPayload`, so `send` does
not compile for it, which is the right answer for an exchange with no reply.
Call sites written without the turbofish (`let r: TrustTask<grant::Response>
= client.send(req).await?;`) are unaffected.
- **BREAKING.** Requires `trust-tasks-rs` 0.14, whose generated payload types
are `#[non_exhaustive]` and built through a builder. A handler returning a
response payload constructs it with `Response::builder()` rather than a
struct literal — see that crate's migration note.
`HttpsServer::on` deliberately keeps both type parameters
(`on::<Req, Resp, _>`) in this release. Constraining it to
`Req: RequestPayload` is the same win on the server side and is worth doing,
but it also decides whether a server may register a handler for a
response-less specification, which is a separate question from this release's.
## [0.14.1] - 2026-08-26
### Fixed
- **The end-to-end demo now signs, so it completes.** `acl/grant/0.1`
declares `proof` REQUIRED and this server enforces it, so `client_demo`
had never succeeded — it returned `422 proofRequired`. It now derives a
`did:key` from a fixed seed, sets `issuer`/`recipient`/`issuedAt` before
signing, and signs via `ProofExt`; `server_demo` maps the `alice` bearer
token to the same `did:key` and verifies with `Verifier::for_did_key()`.
Examples and dev-dependencies only — no library code changed, and
dev-dependencies are stripped at publish.
## [0.14.0] - 2026-08-26
### Changed
- **`trust-tasks-rs` requirement moved to `0.13`.** That release flips
`IS_PROOF_REQUIRED` on `vta/memory/list/0.1`'s response, so a consumer rejects
an unproofed response it used to accept. This crate re-exports the generated
types, so the leading component moves with it. No change to this crate's own
API.
## [0.13.0] - 2026-08-26
### Added
- **SPEC §7.2 item 11 — the duplicate-execution record, on by default.** The
server now claims each document `id` before dispatch and keeps a record of
what it executed, so a bit-for-bit resend is absorbed instead of executing a
second time and a *different* document under a reused `id` is refused
`idConflict`. `trust-tasks-rs` 0.12.0 shipped the `ReplayGuard` seam; this
release is the wiring that makes an HTTPS deployment actually keep the
record.
The claim sits at the `validated → accepted` transition — after validation,
attribution, the DID-method pre-screen and proof verification, immediately
before the handler runs. Claiming earlier would burn the `id` of every
document the server then refuses, so a corrected resend came back
`idConflict` forever and a stranger could pre-burn an `id` it had merely
observed.
Verdicts are disposed of per §7.2 (*Disposition of a duplicate*), which is
explicit that a duplicate is never a failure:
| Verdict | Answer |
|---|---|
| `Fresh` | dispatch, then record the response |
| `Duplicate` with a recorded response | `200` with that response, no second dispatch |
| `Duplicate`, original still in flight | `202 Accepted` — accepted, executing, no result yet |
| `Duplicate`, nothing recorded | `204 No Content` — silence, the fire-and-forget case |
| `Conflict` | `409` `idConflict` |
| guard error | `503` `unavailable`, `retryable` — **fail closed**, never execute |
A refusal or a panic downstream of the claim releases it, so a legitimate
retry is not blocked for the whole retention window.
- **`HttpsServerBuilder::with_replay_guard`** — supply a shared-store
`ReplayGuard`. The default `InMemoryReplayGuard` is correct for a
single-process consumer and **not** correct behind a load balancer, where two
replicas would each accept the same document once.
- **`HttpsServerBuilder::freshness`** — the acceptance window, defaulting to
`FreshnessPolicy::consequential()` (`issuedAt` REQUIRED, five-minute window).
Its `record_expiry` is what bounds the replay record: SPEC §7.2 makes the
window and the record's retention one bound, so there is deliberately no
second TTL to configure.
- **`HttpsServerBuilder::replay_protection(false)`** — the documented opt-out.
Its rustdoc says plainly what turning it off re-opens.
- **`ClientError::DuplicateAbsorbed`** — a 2xx with an empty body (the `202` /
`204` answers above) now surfaces as its own variant rather than as a
response-decode failure. It is *not* a failure: the effect happened, once.
### Changed
- **BREAKING: the duplicate-execution record and the freshness bound are on by
default.** Both change what a consumer observes. A deployment that resends a
document under a reused `id` will now see `idConflict`, and one whose
producers omit `issuedAt` — or whose intermediaries hold a request longer
than five minutes — will now see `malformedRequest` / `expired` where the
document used to be executed. The safe behaviour is the default, as with
`require_attribution` in 0.11.0; both opt-outs are one builder call and both
say what they cost.
### Fixed
- **SPEC §12.4: the deserializer's rendering no longer reaches the wire.** Both
places the server deserialized a body — the document parse and the payload
downcast — put `serde_json::Error`'s `Display` into the rejection message,
which spells the member path, the byte offset, and sometimes the full set of
expected members ("invalid type: string \"not-a-number\", expected a nonzero
u64"). That describes this consumer's internal type layout to anyone willing
to POST malformed JSON. Both now use `RejectReason::malformed_from_serde`,
which `trust-tasks-rs` 0.12.0 exported for exactly this; the detail stays in
the operator's log.
## [0.12.0] - 2026-08-26
### Changed
- **`trust-tasks-rs` requirement moved to `0.12`.** That crate's `0.12.0` makes
the duplicate-execution record of SPEC §7.2 item 11 and the freshness bound of
item 13 part of `consume_inbound`. This crate re-exports its types, so the
leading component moves with it.
This server does **not** yet get the guard: its pipeline runs its own §7.2
checks and never reaches `consume_inbound`, so a `ReplayGuard` still has to be
threaded through the handler path. Until it is, an HTTPS deployment has no
duplicate-execution defence.
## [0.11.1] - 2026-08-26
### Changed
- **The two fallback error documents now carry the `trust-task-error` version
the rest of the stack emits.** `synthesise_error` and
`suppressed_error_response` spelled `trust-task-error/0.2` out for
themselves, while `trust-tasks-rs` and the TypeScript runtime both emitted
`0.5` — so the version a producer saw depended on which branch of the
rejection path its request hit, and neither README described either number.
Both now call `trust_tasks_rs::trust_task_error_type_uri()`, which
`trust-tasks-rs` 0.11.18 made public as the single source of truth.
`0.5` is a forward-minor move from `0.2`; per SPEC §5.2 a `0.2` consumer
SHOULD accept it. Every *other* error response this server emits already
carried `0.5`, because they are built by `TrustTask::reject_with` in
`trust-tasks-rs` — these two branches were the only ones that disagreed.
### Fixed
- `proof_invalid_when_verifier_rejects` asserted that the verifier's own error
description reaches the wire. It does not any more, and should not have:
SPEC §12.4 makes that a resolver-reachability and DID-document oracle for a
sender who is by construction unauthenticated. The test is renamed
`proof_invalid_wire_message_withholds_the_verifier_description` and now
asserts both halves — the constant on the wire, and the description still
present on `RejectReason`'s `Display` for the operator's log. The sanitising
itself is in `trust-tasks-rs` 0.11.18.
## [0.11.0] - 2026-08-26
Security release. **Every item under "Changed" alters the behaviour of an
existing deployment**, most of them by refusing traffic that used to be
accepted. Nothing on the wire moved; read the first entry before upgrading.
### Changed
- **BREAKING (behaviour, not API): unattributable documents are now rejected.**
A new `HttpsServerBuilder::require_attribution` option **defaults to `true`**.
A document arriving with neither a transport-authenticated peer nor a `proof`
is refused with `proofRequired` before any handler runs.
Previously `build()` installed a `BearerAuth` with an empty token map, the
peer resolved to `None`, and SPEC §4.8.1 then fell back **entirely** to the
document's in-band `issuer` — an unverified string the sender chose. The
per-spec `IS_PROOF_REQUIRED` check was the only thing standing behind it, and
133 of the 344 generated spec modules never set it — including mutating ones
(`auth/step-up/approve-response/0.2`, `did-management/did/register/0.1`,
`messaging/admin/add/0.1`). So an unauthenticated, proofless POST claiming
`"issuer": "did:web:victim"` reached a handler with that string presented as
the caller's identity. The binding specification says plainly that this
binding "does not permit `proof` to be omitted"; the runtime had no
representation of that rule.
**A deployment that relied on unauthenticated, proofless requests will start
seeing `proofRequired`/422.** The fix is to authenticate the caller (or have
it sign). `.require_attribution(false)` restores the old behaviour and is
documented for local development and tests only — its rustdoc spells out what
it re-opens.
- **BREAKING: the request pipeline is reordered.** Route lookup, transport auth
and the attribution gate now run **before** proof verification. Verifying a
proof resolves its `verificationMethod` DID, which for `did:web` is an
outbound HTTPS request to a host the *sender* named — and the proof block used
to run at step 4a, ahead of route lookup at step 5. A stranger could therefore
make a server built `with_verifier` fetch an arbitrary host by POSTing a
document whose `type` that server does not even implement, unauthenticated and
unrated-limited. An unknown type or an unattributable sender is now rejected
before anything touches the network. Observable consequence: a request that
was both unroutable *and* carried a bad proof now reports `unsupportedType`
where it used to report `proofInvalid`.
- **BREAKING: the status table now matches the binding specification's §4.**
`proofRequired`, `proofInvalid`, `identityMismatch`, `wrongRecipient`,
`unsupportedType`, `unsupportedVersion` and `expired` all map to **422**;
they previously mapped to 401, 401, 403, 403, 400, 400 and 400. Any client
branching on those HTTP statuses needs updating (the framework error code in
the body is unchanged and remains authoritative). The finer split was itself
the identity oracle the specification's flat 422 exists to avoid: it told an
unauthenticated prober, without reading a body, whether its proof or its
claimed identity was the problem. `malformedRequest`/400,
`permissionDenied`/403, `idConflict`/409, `unavailable`/503 and
`internalError`/500 are unchanged.
- **BREAKING: discovery requires an authenticated discoverer by default.**
`enable_discovery()` / `with_discovery()` built the registry with no auth
predicate, so any unauthenticated POST got back the server's full route table.
SPEC §12 says a responder **SHOULD** authenticate the discoverer first. Opt
back in with the new `HttpsServerBuilder::public_discovery()`.
- **BREAKING: `Content-Type: application/json` is now required**, per the
binding specification §2; anything else (or an absent header) is refused with
**415**. `dispatch_handler` took raw `Bytes` and never looked. `text/plain` is
one of the media types a cross-origin `fetch` or HTML form may send *without*
a CORS preflight, so any page in a victim's browser could drive this endpoint;
requiring JSON forces the preflight and the browser refuses on our behalf.
- **BREAKING: `HttpsClient::send` binds each response to its request.** It used
to return any 2xx body that merely deserialised as `TrustTask<Resp>`. It now
requires the response's `threadId` to equal the request's `threadId ?? id`,
its `type` to be the request's `type` with `#response`, its `issuer` to be the
configured `server_vid` and its `recipient` to be `my_vid` — each with its own
`ClientError` variant. On an error response, `inResponseTo.id` must name the
request where the responder populated it (absent under `identityMismatch` per
SPEC §8.1, which stays acceptable). `ClientError` gained seven variants, which
is breaking for exhaustive `match`.
- The binding identifier is `https://trusttasks.org/binding/https/0.2`.
`BINDING_URI`, the crate-level module docs and the README all said `0.1`.
### Added
- `HttpsServerBuilder::allowed_did_methods` — pre-screens the DID method in
`proof.verificationMethod` before the verifier is called, bounding where
proof-verification egress can go. Off by default. Depth (resolved-host
allow-listing, redirect policy, per-resolution timeouts) belongs in the
resolver behind the verifier, not at this boundary.
- `HttpsServerBuilder::request_timeout` and
`HttpsServerBuilder::max_concurrent_requests`, with the constants
`DEFAULT_REQUEST_TIMEOUT` (30s) and `DEFAULT_MAX_CONCURRENT_REQUESTS` (512).
`into_router` now applies a tower `TimeoutLayer` and `ConcurrencyLimitLayer`;
`serve()` was previously a bare `axum::serve` with neither, so a stalled
request held a connection and a task open indefinitely (slowloris). An expired
request answers `408`.
- `MAX_BODY_BYTES` is now public and exported. A caller replacing the router's
`DefaultBodyLimit` layer wants to know what it is replacing.
- `HttpsClientBuilder::with_response_verifier` — optional verification of the
`proof` on response documents. Configuring it makes a signed response
mandatory: a proofless response is rejected rather than silently downgraded.
## [0.8.0] - 2026-08-16
### Changed
- Requires `trust-tasks-rs` 0.8, which adds the `cancelled` standard error code
(framework 0.4, SPEC §8.3) and the `trust-task-control/0.1` payload types.
Additive on the Rust side — `StandardCode` has been `#[non_exhaustive]` since
0.7.0 — so this crate needed no source change.
- `cancelled` maps to **HTTP 422**, the same bucket as `taskFailed`: a
deliberate stop is neither a server fault nor a malformed request.
## [0.7.0] - 2026-08-15
### Changed
- **BREAKING.** Requires `trust-tasks-rs` 0.7, whose `StandardCode` is now
`#[non_exhaustive]` and carries the new `idConflict` code (framework 0.4,
SPEC §8.3). Any `match` over `StandardCode` that this crate's types reach
needs a wildcard arm.
- `idConflict` maps to **HTTP 409 Conflict**. The status table gained a
wildcard arm sending any future unmapped code to 500, so a framework
revision no longer fails to compile here.
## [0.6.0] - 2026-08-10
### Changed
- **BREAKING.** Requires `trust-tasks-rs` 0.6, which narrows `DigestMultibase`
to the multibase headers CID 1.0 requires. The core types cross this crate's
public API, so a graph mixing 0.5 with this crate will not type-check. No API
of this crate changed on its own account.
## [0.5.0] - 2026-08-09
### Changed
- **BREAKING.** Requires `trust-tasks-rs` 0.5. That release adds a field to
`TrustTask<P>` for the framework 0.4 `ceremony` member, and the core types
cross this crate's public API, so a dependency graph mixing 0.4 with this
crate will not type-check. No API of this crate changed on its own account.
## [0.4.0] - 2026-08-09
### Changed
- **BREAKING.** Requires `trust-tasks-rs` 0.4. That release changes digest
payload members from `String` to the validating `DigestMultibase` newtype, and
the core types cross this crate's public API, so a dependency graph mixing
`trust-tasks-rs` 0.3 with this crate will not type-check. No API of this crate
changed on its own account.
## [0.2.2] — 2026-07-17
### Fixed
- `DEFAULT_TIMEOUT` / `DEFAULT_CONNECT_TIMEOUT` (added in 0.2.1) are now
re-exported from the crate root as intended; previously they were
documented as public API but unreachable, which also broke the
workspace doc build under `-D warnings`.
## [0.2.1] — 2026-07-16
### Added
- `HttpsClientBuilder::timeout(Duration)` and
`HttpsClientBuilder::connect_timeout(Duration)`, plus the
`DEFAULT_TIMEOUT` (30s) / `DEFAULT_CONNECT_TIMEOUT` (10s) constants.
### Changed
- **The client's `reqwest::Client` now carries finite timeouts by
default.** Previously it was built with no timeout at all, so a peer
that accepted the connection and never answered would hang the caller
forever. An exchange that legitimately needs longer than 30s can raise
the limits via the new builder methods. Behavioral change: calls that
previously hung indefinitely now fail with a `ClientError::Http`
timeout error.
## [0.1.2] — 2026-05-27
### Changed
- Track `trust-tasks-rs` 0.1.2. No public API changes in this crate; the
bump exists so consumers can `cargo update -p trust-tasks-https` and
pick up the new spec families (`did-management/*`, `webvh/*`,
`vault/*`, `device/*`, `policy/*`, `provision/integration`, etc.) over
the HTTPS transport without further dependency surgery.
## [0.1.1] — 2026-05-19
### Added
- `HttpsServerBuilder::with_verifier(verifier)` — plug in any
`trust_tasks_rs::ProofVerifier` implementation. When configured, the
server verifies the `proof` member of every proof-bearing inbound
document and rejects `proof_invalid` on failure; when absent, the
server rejects proof-bearing documents with `malformed_request` as
before. Stored internally as `Arc<DynProofVerifier>` for object-safe
dispatch. This lets `acl/grant` / `acl/revoke` / `acl/change-role`
(all `proofRequirement: REQUIRED`) flow end-to-end on the binding
once a verifier is configured — without one, `IS_PROOF_REQUIRED`
enforcement still fires per the security fix above.
- `RequestContext.resolved: ResolvedParties` — handlers can now read
the SPEC §4.8.1-resolved issuer/recipient pair directly instead of
re-running `TransportHandler::resolve_parties` to re-derive what the
dispatch pipeline already computed. Matches the ergonomic improvement
in `trust-tasks-rs` `consume_inbound`'s handler signature.
### Fixed — security
- The server previously accepted documents carrying a `proof` member
without verifying it (the binding has no in-band verifier). A producer
that signed its document and saw a 200 had no way to learn that the
signature was never checked. The server now rejects proof-bearing
documents with `malformed_request` at the framework-checks stage,
matching the same rule `consume_inbound` now applies under
`ProofPolicy::RejectIfPresent`. The wire-exposed reason is the
framework-shared `PROOF_NOT_ACCEPTED_BY_POLICY` constant — naming
the server's configuration would let an unauthenticated probe
fingerprint verifier coverage across a fleet.
- The server previously accepted *proofless* documents on specs whose
front matter declares `proofRequirement.requirement: REQUIRED` —
silently violating SPEC §7.2 item 7. The dispatch closure now
consults `Payload::IS_PROOF_REQUIRED` after downcast and rejects with
`proof_required` when the spec requires a proof and none is present,
regardless of whether the binding is configured to verify.
Combined with the verifier plug-in point added under "Added" below,
REQUIRED specs (e.g. `acl/grant`, `acl/revoke`, `acl/change-role`)
now flow end-to-end on the binding when a verifier is wired in via
`HttpsServerBuilder::with_verifier`; without a verifier they are
correctly refused with `proof_required` (proofless) or
`malformed_request` (proof-bearing, the policy rejection above).
## [0.1.0] — initial pre-release, tracks `trust-tasks-rs` 0.1, `SPEC.md` 0.1
### Added
- HTTPS transport binding for the Trust Tasks framework (SPEC §9).
Binding URI: `https://trusttasks.org/binding/https/0.1`.
- `HttpsServer` — axum-based, single `POST /trust-tasks` endpoint.
Builder API: `HttpsServer::builder().local_vid(...).with_auth(...).on::<P, Resp, _>(handler).build()`.
Runs the full SPEC §7.2 pipeline per request: `resolve_parties`
(§4.8.1 in-band-wins), `validate_basic` (items 4 + 5),
`enforce_audience_binding` (item 8 / §4.8.2), dispatch by canonical
Type URI (§4.4.1 item 1), then the user handler. Success ⇒
`respond_with`; failure ⇒ `TransportHandler::reject` (§8.1 routing).
- `HttpsServer::with_discovery(registry)` and
`HttpsServer::enable_discovery()` — one-line wiring of
`trust-task-discovery/0.1` on the server. `enable_discovery()`
snapshots every Type URI registered via `.on(...)` (plus discovery
itself) and serves the matching subset on each query.
- `HttpsClient` — reqwest-based typed `send::<Req, Resp>` with bearer
auth, automatic in-band identity defaulting, and `ClientError` that
distinguishes transport-level failures, framework
`trust-task-error/0.1` documents, and untyped non-2xx fallbacks.
- `HttpsHandler` — `TransportHandler` impl that maps the bearer-
authenticated sender into the framework's transport peer.
- `BearerAuth` — minimal `HashMap<token, VID>` `Auth` implementation
for demos and tests; production deployments plug in their own
`Auth` impl.
- `status_for_code(code) -> u16` — informative HTTP status mapping
from `StandardCode` (400 / 401 / 403 / 422 / 500 / 503).
- `examples/server_demo.rs` + `examples/client_demo.rs` — runnable
end-to-end demo on `localhost:3000`.
- `tests/end_to_end.rs` — full HTTP loop covering happy path,
identity-mismatch routing + sanitised wire message,
unsupported-type, spec-handler rejection, plus discovery
advertisement and pattern-filtered discovery.
### Cargo features
- `client` (default) — `HttpsClient` + `reqwest`.
- `server` (default) — `HttpsServer` + `axum` + `tokio` + `tower`.
[0.1.1]: https://github.com/trustoverip/dtgwg-trust-tasks-tf/releases/tag/trust-tasks-https-v0.1.1
[0.1.0]: https://github.com/trustoverip/dtgwg-trust-tasks-tf/releases/tag/v0.1.0