diff --git a/crates/registry-discovery-client/tests/compatibility_metadata.rs b/crates/registry-discovery-client/tests/compatibility_metadata.rs index 577736e353..12da01f522 100644 --- a/crates/registry-discovery-client/tests/compatibility_metadata.rs +++ b/crates/registry-discovery-client/tests/compatibility_metadata.rs @@ -23,8 +23,8 @@ fn unified_sdk_metadata_names_the_tested_discovery_patch_line_and_proof() { }, "namespaces": { "discovery": { - "testedServerBaseline": "0.51.0", - "compatibleServerPatchLine": "0.51.x", + "testedServerBaseline": "0.52.0", + "compatibleServerPatchLine": "0.52.x", "responseCompatibility": { "additiveObjectMembers": "ignored-after-duplicate-key-rejection", "unknownProblemCodes": "retained-with-problem-type-when-valid", diff --git a/crates/registry-stack-client-node/compatibility.json b/crates/registry-stack-client-node/compatibility.json index 79181a02b3..a16f435e47 100644 --- a/crates/registry-stack-client-node/compatibility.json +++ b/crates/registry-stack-client-node/compatibility.json @@ -6,8 +6,8 @@ }, "namespaces": { "discovery": { - "testedServerBaseline": "0.51.0", - "compatibleServerPatchLine": "0.51.x", + "testedServerBaseline": "0.52.0", + "compatibleServerPatchLine": "0.52.x", "responseCompatibility": { "additiveObjectMembers": "ignored-after-duplicate-key-rejection", "unknownProblemCodes": "retained-with-problem-type-when-valid", diff --git a/crates/registry-stack-client/compatibility.json b/crates/registry-stack-client/compatibility.json index 79181a02b3..a16f435e47 100644 --- a/crates/registry-stack-client/compatibility.json +++ b/crates/registry-stack-client/compatibility.json @@ -6,8 +6,8 @@ }, "namespaces": { "discovery": { - "testedServerBaseline": "0.51.0", - "compatibleServerPatchLine": "0.51.x", + "testedServerBaseline": "0.52.0", + "compatibleServerPatchLine": "0.52.x", "responseCompatibility": { "additiveObjectMembers": "ignored-after-duplicate-key-rejection", "unknownProblemCodes": "retained-with-problem-type-when-valid", diff --git a/docs/site/src/content/docs/changelog.mdx b/docs/site/src/content/docs/changelog.mdx index cb95764346..73431c430e 100644 --- a/docs/site/src/content/docs/changelog.mdx +++ b/docs/site/src/content/docs/changelog.mdx @@ -18,6 +18,7 @@ Per-product detail is in the `CHANGELOG.md` of each product under [`products/`](https://github.com/registrystack/registry-stack/tree/main/products) in the source repository. +- [v0.52.0](https://github.com/registrystack/registry-stack/blob/main/release/notes/v0.52.0.md) (beta-64) lets applicants follow Base Registry Engine (BReg) Proposals filed on their behalf. It adds checked service preview exports and changes BReg paging, Batch results and access grants. - [v0.51.0](https://github.com/registrystack/registry-stack/blob/main/release/notes/v0.51.0.md) (beta-63): Names bounded product logic per product, shares one pagination and route parameter vocabulary, and adds Registry Session as a standalone release binary. - [v0.50.0](https://github.com/registrystack/registry-stack/blob/main/release/notes/v0.50.0.md) (beta-62): Adds authored service roles and managed local previews for synthetic registry projects. - [v0.49.0](https://github.com/registrystack/registry-stack/blob/main/release/notes/v0.49.0.md) (beta-61): Makes production the default posture, publishes the Fetch-based TypeScript client, and moves the native Node.js client to `@registrystack/client-node`. diff --git a/docs/site/src/content/docs/operate/advanced/upgrade-and-retire.mdx b/docs/site/src/content/docs/operate/advanced/upgrade-and-retire.mdx index c1aa62e977..2d5a65e7e4 100644 --- a/docs/site/src/content/docs/operate/advanced/upgrade-and-retire.mdx +++ b/docs/site/src/content/docs/operate/advanced/upgrade-and-retire.mdx @@ -410,9 +410,8 @@ so a binary that cannot run leaves the installed toolset selected. ## Read HTTP responses in v0.52.0 -Run the v0.52.0 BReg, Casework, and Evidence clients with matching runtimes. For Discovery, the -v0.52.0 unified SDK lists v0.51.0 as the tested server baseline. It declares compatibility with -the v0.51.x server patch line. +Run the v0.52.0 BReg, Casework, and Evidence clients with matching runtimes. +Use the v0.52.0 unified SDK with the Discovery server from the same Stack release. The four SDKs accept additional members in ordinary successful HTTP response objects. Required fields must be present, and every known field must satisfy its current type and value constraints. diff --git a/docs/site/src/data/archive-lock.yaml b/docs/site/src/data/archive-lock.yaml index 28f4126052..e65a1dbc2e 100644 --- a/docs/site/src/data/archive-lock.yaml +++ b/docs/site/src/data/archive-lock.yaml @@ -214,3 +214,7 @@ archives: bundle_sha256: 59dc632b050554ea8b011b3a81b7675c4d7c3db621b86f19e185ec182a048ec7 root_tree_sha256: c76924346eedc06b1ea88ff30dab13b63c6687f6431fdb892a4667e4b53d4d26 version_tree_sha256: 01a70bba766b72a51f0bcfcbf00054e470dd8d8a0e571f404545c7b86120667f + v0.52.0: + bundle_sha256: 70d548f9f8335799cefd82249f04d08f94c1eeb097b90e7173351114dd3ac1cc + root_tree_sha256: 117750c6b4b7020c62a2aae6e6d88ca00f2e5d8badcf007f3eeeeae9156a64db + version_tree_sha256: b12b68dcf75eea2db0b9bb4b78e560fc2f862f95dabf8202e2d61a839faa5bbc diff --git a/docs/site/src/data/docsets.yaml b/docs/site/src/data/docsets.yaml index a362caa600..3cb064e719 100644 --- a/docs/site/src/data/docsets.yaml +++ b/docs/site/src/data/docsets.yaml @@ -47,6 +47,49 @@ docsets: registry-adapter: version: main source (unreleased) ref: HEAD + - id: v0.52.0 + label: v0.52.0 + path: /v/0.52.0/ + status: archived + availability: candidate + source: registry-stack-v0.52.0 + repo_docs_source: monorepo + published_at: 2026-12-03 + description: Registry Stack v0.52.0 beta-64 candidate documentation set. + products: + registry-stack: + version: v0.52.0 + ref: v0.52.0 + registry-discovery: + version: v0.52.0 + ref: v0.52.0 + registry-manifest: + version: v0.52.0 + ref: v0.52.0 + registry-evidence: + version: v0.52.0 + ref: v0.52.0 + registry-casework: + version: v0.52.0 + ref: v0.52.0 + registry-scheduling: + version: v0.52.0 + ref: v0.52.0 + registry-render: + version: v0.52.0 + ref: v0.52.0 + registry-messaging: + version: v0.52.0 + ref: v0.52.0 + registry-breg-services: + version: v0.52.0 + ref: v0.52.0 + registry-coordinator: + version: v0.52.0 + ref: v0.52.0 + registry-adapter: + version: v0.52.0 + ref: v0.52.0 - id: v0.51.0 label: v0.51.0 path: /v/0.51.0/ diff --git a/docs/site/src/data/repo-docs.yaml b/docs/site/src/data/repo-docs.yaml index 3d9d46074c..d02b4aa17e 100644 --- a/docs/site/src/data/repo-docs.yaml +++ b/docs/site/src/data/repo-docs.yaml @@ -168,6 +168,9 @@ repos: - docsets: [ v0.51.0 ] standards_referenced: [ dcat, bregdcat-ap, cpsv-ap, ogc-api-records, shacl, json-schema, json-ld, odrl ] last_reviewed: unreviewed + - docsets: [ v0.52.0 ] + standards_referenced: [ dcat, bregdcat-ap, cpsv-ap, ogc-api-records, shacl, json-schema, json-ld, odrl ] + last_reviewed: unreviewed description: Operator and integrator documentation for Registry Manifest. - src: products/manifest/docs/validate-and-render.md archive_src: docs/validate-and-render.md @@ -253,6 +256,9 @@ repos: - docsets: [ v0.51.0 ] standards_referenced: [ dcat, bregdcat-ap, cpsv-ap, ogc-api-records, shacl, skos, json-schema, json-ld, odrl ] last_reviewed: unreviewed + - docsets: [ v0.52.0 ] + standards_referenced: [ dcat, bregdcat-ap, cpsv-ap, ogc-api-records, shacl, skos, json-schema, json-ld, odrl ] + last_reviewed: unreviewed - src: products/manifest/docs/profile-fixtures.md archive_src: docs/profile-fixtures.md dest: products/registry-manifest/profile-fixtures @@ -334,6 +340,9 @@ repos: - docsets: [ v0.51.0 ] standards_referenced: [ sp-dci ] last_reviewed: unreviewed + - docsets: [ v0.52.0 ] + standards_referenced: [ sp-dci ] + last_reviewed: unreviewed - src: products/manifest/docs/reference.md archive_src: docs/reference.md dest: products/registry-manifest/reference @@ -418,6 +427,9 @@ repos: - docsets: [ v0.51.0 ] standards_referenced: [ dcat, bregdcat-ap, cpsv-ap, ogc-api-records, shacl, skos, json-schema, json-ld, cccev, odrl, w3c-did ] last_reviewed: unreviewed + - docsets: [ v0.52.0 ] + standards_referenced: [ dcat, bregdcat-ap, cpsv-ap, ogc-api-records, shacl, skos, json-schema, json-ld, cccev, odrl, w3c-did ] + last_reviewed: unreviewed - src: products/manifest/docs/itb-semic-validation.md dest: products/registry-manifest/itb-semic-validation label: ITB and SEMIC validation @@ -499,6 +511,9 @@ repos: - docsets: [ v0.51.0 ] standards_referenced: [ dcat, bregdcat-ap, shacl, skos, json-schema, json-ld ] last_reviewed: unreviewed + - docsets: [ v0.52.0 ] + standards_referenced: [ dcat, bregdcat-ap, shacl, skos, json-schema, json-ld ] + last_reviewed: unreviewed registry-evidence: label: Evidence remote: https://github.com/registrystack/registry-stack @@ -588,6 +603,9 @@ repos: - docsets: [ v0.51.0 ] standards_referenced: [ openapi, json-schema, sd-jwt-vc ] last_reviewed: unreviewed + - docsets: [ v0.52.0 ] + standards_referenced: [ openapi, json-schema, sd-jwt-vc ] + last_reviewed: unreviewed description: Operator and integrator documentation for Registry Evidence, the minimum-disclosure assertion service. - src: products/evidence/reference/authoring-projects/CONFIG.md dest: products/registry-evidence/authoring-form @@ -670,6 +688,9 @@ repos: - docsets: [ v0.51.0 ] standards_referenced: [ json-schema, openapi, sd-jwt-vc ] last_reviewed: unreviewed + - docsets: [ v0.52.0 ] + standards_referenced: [ json-schema, openapi, sd-jwt-vc ] + last_reviewed: unreviewed description: Complete reference for the editable Evidence authoring project, its validation layers, local key material, and access policies. - src: products/evidence/reference/authoring-projects/SOURCE-EXPORT.md dest: products/registry-evidence/source-exports @@ -752,6 +773,9 @@ repos: - docsets: [ v0.51.0 ] standards_referenced: [] last_reviewed: unreviewed + - docsets: [ v0.52.0 ] + standards_referenced: [] + last_reviewed: unreviewed description: Optional native source import, customized updates, provenance and interrupted transaction recovery. - src: products/evidence/OPERATOR-CONTRACT.md dest: products/registry-evidence/operator-contract @@ -834,4 +858,7 @@ repos: - docsets: [ v0.51.0 ] standards_referenced: [ openapi, sd-jwt-vc ] last_reviewed: unreviewed + - docsets: [ v0.52.0 ] + standards_referenced: [ openapi, sd-jwt-vc ] + last_reviewed: unreviewed description: Supported deployment shape, requester authority and purpose duties, required configuration and secrets, and readiness, audit, and key obligations. diff --git a/products/manifest/CHANGELOG.md b/products/manifest/CHANGELOG.md index 5ba040b613..f71a89d4d5 100644 --- a/products/manifest/CHANGELOG.md +++ b/products/manifest/CHANGELOG.md @@ -7,6 +7,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +## [0.52.0] + +- No user-visible product changes in this release. + ## [0.51.0] - 2026-12-03 - No user-visible product changes in this release. diff --git a/products/manifest/docs/release-notes.md b/products/manifest/docs/release-notes.md index c73fcf502c..c364ed1e38 100644 --- a/products/manifest/docs/release-notes.md +++ b/products/manifest/docs/release-notes.md @@ -2,6 +2,10 @@ ## Unreleased +## 0.52.0 + +- Registry Manifest has no user-visible changes in this release. + ## 0.51.0 - Registry Manifest has no user-visible changes in this release. diff --git a/products/platform/CHANGELOG.md b/products/platform/CHANGELOG.md index 7a8fe1195f..175a0d6eb7 100644 --- a/products/platform/CHANGELOG.md +++ b/products/platform/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## 0.52.0 + - In `dev.yaml`, `preview.coordinatorFunctions` selects functions callable only by Coordinator. The generated `defineFunction` binding passes the authenticated caller kind as its third argument. Coordinator calls receive a request without the `Authorization` header and a diff --git a/products/platform/examples/service-previews/business-registration/package-lock.json b/products/platform/examples/service-previews/business-registration/package-lock.json index aa1b8af1be..44680c103e 100644 --- a/products/platform/examples/service-previews/business-registration/package-lock.json +++ b/products/platform/examples/service-previews/business-registration/package-lock.json @@ -425,9 +425,9 @@ } }, "node_modules/@registrystack/client": { - "version": "0.51.0", + "version": "0.52.0", "resolved": "file:registry-preview-client.tgz", - "integrity": "sha512-rOCK35ReNEg5fPiTVyNRUYJN2SxLqf4Ji+L7ojDvi6EPx5CflOCbpOiv1jK5WdQdixHPuddBaQ0FXoU8Hq2LgA==", + "integrity": "sha512-QoyTvMfkZB8pQ0NDlgSd8appSsRFyEFO6F0JXsIxDEqe63zErwSGMTAWaoioufW7JlR+pDg/hAwgBPLPw5TP3A==", "license": "Apache-2.0", "dependencies": { "esbuild": "0.25.12", diff --git a/products/platform/examples/service-previews/medical-renewal/package-lock.json b/products/platform/examples/service-previews/medical-renewal/package-lock.json index c0b80de96e..204f0a6a48 100644 --- a/products/platform/examples/service-previews/medical-renewal/package-lock.json +++ b/products/platform/examples/service-previews/medical-renewal/package-lock.json @@ -425,9 +425,9 @@ } }, "node_modules/@registrystack/client": { - "version": "0.51.0", + "version": "0.52.0", "resolved": "file:registry-preview-client.tgz", - "integrity": "sha512-rOCK35ReNEg5fPiTVyNRUYJN2SxLqf4Ji+L7ojDvi6EPx5CflOCbpOiv1jK5WdQdixHPuddBaQ0FXoU8Hq2LgA==", + "integrity": "sha512-QoyTvMfkZB8pQ0NDlgSd8appSsRFyEFO6F0JXsIxDEqe63zErwSGMTAWaoioufW7JlR+pDg/hAwgBPLPw5TP3A==", "license": "Apache-2.0", "dependencies": { "esbuild": "0.25.12", diff --git a/products/platform/examples/service-previews/permit-review/package-lock.json b/products/platform/examples/service-previews/permit-review/package-lock.json index f0303d6619..9dd3645511 100644 --- a/products/platform/examples/service-previews/permit-review/package-lock.json +++ b/products/platform/examples/service-previews/permit-review/package-lock.json @@ -425,9 +425,9 @@ } }, "node_modules/@registrystack/client": { - "version": "0.51.0", + "version": "0.52.0", "resolved": "file:registry-preview-client.tgz", - "integrity": "sha512-rOCK35ReNEg5fPiTVyNRUYJN2SxLqf4Ji+L7ojDvi6EPx5CflOCbpOiv1jK5WdQdixHPuddBaQ0FXoU8Hq2LgA==", + "integrity": "sha512-QoyTvMfkZB8pQ0NDlgSd8appSsRFyEFO6F0JXsIxDEqe63zErwSGMTAWaoioufW7JlR+pDg/hAwgBPLPw5TP3A==", "license": "Apache-2.0", "dependencies": { "esbuild": "0.25.12", diff --git a/release/manifests/registry-stack-beta-64.yaml b/release/manifests/registry-stack-beta-64.yaml new file mode 100644 index 0000000000..4832a4f21e --- /dev/null +++ b/release/manifests/registry-stack-beta-64.yaml @@ -0,0 +1,83 @@ +stack: + release: beta-64 + version: 0.52.0 + source_repo: registrystack/registry-stack + source_tag: v0.52.0 + +artifacts: + registry-manifest: 0.52.0 + evidence: 0.52.0 + evidencectl: 0.52.0 + evidence-oid4vci: 0.52.0 + evidencectl-installer: 0.52.0 + registry-docs: 0.52.0 + discovery: 0.52.0 + discoveryctl: 0.52.0 + discovery-installer: 0.52.0 + breg: 0.52.0 + bregctl: 0.52.0 + breg-mcp: 0.52.0 + breg-mcp-installer: 0.52.0 + breg-review: 0.52.0 + breg-review-installer: 0.52.0 + breg-installer: 0.52.0 + casework: 0.52.0 + caseworkctl: 0.52.0 + casework-installer: 0.52.0 + scheduling: 0.52.0 + schedulingctl: 0.52.0 + scheduling-installer: 0.52.0 + messaging: 0.52.0 + messagingctl: 0.52.0 + messaging-installer: 0.52.0 + registry-render: 0.52.0 + registry-render-installer: 0.52.0 + registry-manifest-installer: 0.52.0 + coordinator: 0.52.0 + coordinatorctl: 0.52.0 + coordinator-installer: 0.52.0 + adapter: 0.52.0 + adapterctl: 0.52.0 + adapter-installer: 0.52.0 + rstack: 0.52.0 + rstack-installer: 0.52.0 + registry-session: 0.52.0 + registry-language-server: 0.52.0 + registry-client-node: 0.52.0 + registry-client-python: 0.52.0 + +identifier_catalog: + path: products/identifiers/generated/catalog.v1.json + sha256: b2aba9e9fd691183c174592fa94d4a7ea9f8cb90768a0320cbef873ac730d74f + entry_count: 393 + +external: + thunderid: + kind: image-pin + repo: thunder-id/thunderid + ref: 12f517c4384004e360e26eb7eb1ab0501b678bb2 + version: 1.0.1 + images: + thunderid: ghcr.io/thunder-id/thunderid:1.0.1@sha256:d3c0613ff447a551fd440768a15bdfb6668948e80809cbb50f82d6752f22ab3e + esignet-relay-authenticator: + kind: image-pin + repo: registrystack/esignet-relay-authenticator + ref: 9030f38aac2c85b2e7a2980ec23e2f8e72da97ff + version: 0.6.1 + images: + authenticator: ghcr.io/registrystack/esignet-relay-authenticator:0.6.1@sha256:826ff864a981379dbbdd9bff0f663cd4c1952a1f1fa7c84a076bccce58931dd4 + oidc-ui: ghcr.io/registrystack/esignet-oidc-ui:0.6.1@sha256:2629150e0733ad443d1e563d48790922c88968e93bbf5989a1b9c1974bc109c7 + +warnings: + - code: breg-api-and-tooling + classification: breaking-change + detail: Replace retired Record paging aliases with limit and cursor. Regenerate clients for nested Batch and ingestion results and the ingestion OpenAPI extension rename. Update affected Problem, authoring diagnostic and Rust SDK matches. See release/notes/v0.52.0.md. + - code: breg-project-activation + classification: breaking-change + detail: Update Proposal ownership and membership declarations and give writing profiles authority over the Records they reference. Remove duplicate live memberships and rename reserved Record field API names where applicable. Build and apply a successor package using the active baseline. See release/notes/v0.52.0.md. + - code: postgresql-and-provisioning + classification: breaking-change + detail: Align PostgreSQL URL TLS options with the configured transport and use verify-full in place of verify-ca for administrator URLs. Update affected provisioning matchers to the shared codes and member pointers. See release/notes/v0.52.0.md. + - code: render-production-authentication + classification: breaking-change + detail: Replace production shared-key configuration with OIDC and update callers to obtain a Render audience token. See release/notes/v0.52.0.md. diff --git a/release/notes/v0.52.0.md b/release/notes/v0.52.0.md new file mode 100644 index 0000000000..f8221fd98c --- /dev/null +++ b/release/notes/v0.52.0.md @@ -0,0 +1,83 @@ +# Registry Stack v0.52.0 + +Registry Stack v0.52.0 is the beta-64 release. + +You can export a checked service preview for the business-registration Compose example and let applicants follow a BReg Proposal filed on their behalf. Before upgrading from v0.51.0, update BReg pagination, Batch readers and access grants. Check PostgreSQL transport settings and migrate production Render callers to OIDC. [Registry Stack v0.51.0](https://github.com/registrystack/registry-stack/releases/tag/v0.51.0) + +## Compatibility and upgrade + +Use matching runtimes, tools and clients for the cutover. Back up the deployment and rehearse the cutover on a restored copy. [Upgrade and retire a deployment](https://docs.registrystack.org/dev/operate/advanced/upgrade-and-retire/) + +### Base Registry Engine + +- **Breaking paging changes.** Use `limit` and `cursor` on routes that declare them. Replace the v0.51.0 native read aliases `$top` and `$skiptoken`. BReg reports `400 query.invalid` at `fieldPath: "query"` for those spellings after the affected route's admission checks. This covers native Record reads (including related Records, GeoJSON, temporal reads and lookup), external-view Record reads and root refresh, GIS items and statistics releases. Access-profile selection errors follow each route's rules. Unknown parameters and malformed queries can report `query` or omit the location, depending on the route. Proposal List already used `limit` and ingestion-run List already used `cursor` in v0.51.0. Their refusals for `top` and `after` now report `query`. On the new Proposal Thread List, pass `nextCursor` as `cursor`, including in Node and Python. If you used the development thread client, replace its `after` option. Treat cursor values as opaque. Restart saved continuations that use the retired `skiptoken` member from the first page. Start native Record paging again after package activation, which changes the cursor's package binding. [BReg API query options](https://docs.registrystack.org/dev/reference/breg-api/#query-options) +- **Breaking Batch and ingestion result changes.** Read `record.recordId`, `record.revisionId` and `record.domainData` in each Batch result. These replace the flat `recordId`, `revisionIdentifier` and `domainData` in v0.51.0. Keep the revision ID as a decimal string and the exact quoted `etag` beside `record`. Results follow request order. Chunk submission returns `{run, receipt}`, with results in `receipt.batch.results`. Receipt GET returns the receipt directly, with results in `batch.results`. Node and Python expose the nested fields. In Rust, `receipt.batch().results()` now returns `&[BRegBatchResult]`. Replace per-item JSON indexing with `record_identifier()`, `revision_identifier()`, `domain_data()` and `etag()`. [BReg Batch and ingestion API](https://docs.registrystack.org/dev/reference/breg-api/#batch) +- **Ingestion contracts and diagnostics.** Regenerate clients from the matching OpenAPI and use `x-registry-record-type` in place of `x-registry-entity` on ingestion operations. Send an empty body without `Content-Type` to cancel a run. Ingestion POSTs refuse a caller-supplied `Idempotency-Key`. After admission, `400 request.invalid` can name a fixed member such as `/prefixDigest`, a malformed item such as `/items/0`, or a writable field such as `/items/0/data/quantity`. Branch on `code` and treat `fieldPath` as optional. A row-boundary or unavailable-reference refusal remains a value-free `412 precondition.failed`. [BReg Problem documents](https://docs.registrystack.org/dev/reference/breg-api/#problem-documents) +- **PATCH discovery.** Read the selected profile's capabilities at `GET /v1/registry` and regenerate clients from the matching project and profile OpenAPI. PATCH schemas describe allowed `/data/…` paths per operation. The combined OpenAPI can describe paths across profiles. An unencrypted, stored field can qualify for `test` when current disclosure rules allow the caller to read it. The patch also needs a mutation. When a temporal read requires `asOf`, supply it on the first page and continue with the returned cursor. [BReg API reference](https://docs.registrystack.org/dev/reference/breg-api/) +- **Breaking Immediate Action Create refusals.** Handle `403 write.outside-boundary` when an immediate Action can construct a valid Create from the request alone and its early target row-boundary check fails. Keep handling `412 precondition.failed` for effect-dependent or generated-field boundaries, Evidence-computed plans, immediate Patch target refusals and timer firings. [BReg API reference](https://docs.registrystack.org/dev/reference/breg-api/) +- **Breaking Proposal grant changes.** Replace `ownership: caller` with `party: owner` in `permissions.proposals`. Use a separate `party: subject` grant for subject rights. Set `submitsFor: anyone` on the intended Submit grant when a filer may submit for others. If the Proposal reads its subject from a Record field, review direct Create, Batch, Import and Patch, plus immediate Action targets. For `review.type: none` with automatic application, review both the Action target and the Proposal Submit target. For `breg.proposal.subject-field-write`, bind the field to the writer's verified principal, use a reviewed or manually applied Proposal, or reserve the write for an unrestricted administrator. [Owners and subjects](https://docs.registrystack.org/dev/configure/breg-proposals/#owners-and-subjects) +- **Breaking membership changes.** Declare `membership: {key, principal, active}` on the source Record type. Move each `membershipBoundaries` entry to `rowBoundaries` as `{field, membership}`. Set the boundary on Proposal Start and lifecycle targets wherever both must be restricted. A boundary on the protected Record's own `id` requires a matching reference key and serves reads and referenced-only targets. For `breg.access.membership-source-write` or `breg.access.membership-source-key-write`, review the source writers and grant membership administration separately or through a correctly scoped Action. Before activation, deactivate or tombstone all but one live membership for each key and principal. Activation refuses duplicates with `breg.membership.duplicate-live-rows`. If apply has pinned the target in maintenance, follow operator recovery to repair the duplicates and retry that exact package. [Configure membership boundaries](https://docs.registrystack.org/dev/configure/breg-access/#require-a-current-membership) · [Recover a failed activation](https://docs.registrystack.org/dev/operate/breg-changes/#recover-a-failed-activation) +- **Breaking reference authority changes.** Run `bregctl check` on the authored project. For `breg.access.reference-target-ungranted`, give the same writing profile a `get` or standalone `reference` grant for the referenced Record type, covering the Records it may name. The standalone grant authorises references only. Actions use their own target grants. Handle `409 mutation.conflict` on direct Create, Patch or Batch and `412 precondition.failed` on ingestion when a reference is unavailable. On direct Batch and Batch-backed ingestion, send `Registry-Access-Reason` as unpadded base64url UTF-8 when the selected grant requires it. This includes a chunk naming a Record whose target grant requires a reason. For `bregctl data import`, `bregctl data runs list` and `bregctl data runs cancel`, pass `--access-reason-file` when the selected grant requires it. Use an absolute path to a regular UTF-8 file without a line terminator or symlink components. [Name referenced Records](https://docs.registrystack.org/dev/configure/breg-access/#name-referenced-records) + +Keep the sealed active v0.51.0 package and its matching runtime and tools. Build and apply a successor package to migrate the Proposal store. If `bregctl check` reports `breg.field.api-name-invalid` for a reserved Record member such as `meta`, choose an allowed API name in the successor. Keep the field ID and SQL name when the field continues to represent the same data. Rehearse the successor with the v0.52.0 tools in this order. + +1. Run `bregctl check` on the migrated project. +2. Run `bregctl test` with the active `--baseline-package` and a `--runtime-config` for a disposable schema-test database. Supply the schema-test `--credentials` for production posture and write the receipt with `--output`. +3. Run `bregctl package` with the same `--baseline-package`, the `--test-receipt` and a new `--output` directory. Pass the same `--reviewed-migrations` to test and package when the successor requires reviewed migrations. +4. Run `bregctl plan` against the successor with `--package` and the restored deployment's `--runtime-config` still pointing at the active package. Review the plan and prepare any backup bindings it requires. Rehearse `bregctl apply` with the same target, the reviewed `--expected-digest` and any required `--backup` bindings. +5. Schedule a coordinated restart because predecessor processes lose readiness on activation. Set `package.root` to the successor, run `bregctl verify` and confirm the `applied` outcome with `bregctl status`. Restart and check readiness before opening traffic. [Change an active registry](https://docs.registrystack.org/dev/operate/breg-changes/) + +Resolve uncertain direct Batch outcomes before activation where possible. Retry the original request with its original key while the original activation and request binding still apply. Recovery requires current authority and a retained response. After activation, an admitted request that reuses a key spent by a successful ordinary mutation for the same caller and scope receives `409 idempotency.key-reused`. A request with an unspent key can execute. If recovery is unavailable, reconcile the outcome with an authorised read before issuing a write with a fresh key and, where required, the current ETag. [BReg idempotency](https://docs.registrystack.org/dev/reference/breg-api/#idempotency) + +To recover a committed ingestion receipt, read it directly or replay the exact chunk under the run's bound profile and access context. Recovery checks current authority and projects the original outcome to currently readable fields. The receipt carries the original snapshot, Record and revision IDs, and item ETags in the nested shape, including for supported older receipts. An exact replay commits no additional Records and leaves the checkpoint in place. If BReg erased the receipt with the Record history, admitted reads and replays return `410 ingestion.receipt-erased`. Continue the uncommitted remainder in a successor run if the original run is blocked. [Recover a committed chunk](https://docs.registrystack.org/dev/reference/breg-api/#submit-a-chunk) + +If the exact BReg context contract changes, regenerate and re-pair the Casework policy before deploying Casework. [Pair a current-source provider](https://docs.registrystack.org/dev/configure/casework/#pair-a-current-source-provider) + +Update automation that matches these BReg authoring diagnostics. + +| Previous code | Replacement code | +| --- | --- | +| `breg.manifest.entity-id-collision` | `breg.manifest.record-type-id-collision` | +| `breg.manifest-entity.duplicate-title` | `breg.manifest-record-type.duplicate-title` | +| `breg.manifest-projection.entity-primary-dataset-required` | `breg.manifest-projection.record-type-primary-dataset-required` | +| `breg.manifest-projection.entity-dataset-dangling` | `breg.manifest-projection.record-type-dataset-dangling` | +| `breg.manifest-projection.dataset-entities-empty` | `breg.manifest-projection.dataset-record-types-empty` | +| `breg.manifest-projection.entity-duplicate` | `breg.manifest-projection.record-type-duplicate` | +| `breg.manifest-projection.entity-not-visible` | `breg.manifest-projection.record-type-not-visible` | +| `breg.access.membership-entity-unknown` | `breg.access.membership-record-type-unknown` | + +### PostgreSQL, provisioning and Render + +- **PostgreSQL transport.** For verified TLS, set `database.transport: verified-tls` on product runtimes and `store.transport: verified-tls` on Adapter jobs. For Coordinator, explicitly set `sslmode=verify-full` or `sslmode=require` in both runtime and migration URLs. Either verifies the certificate chain and hostname. A plaintext transport rejects those two URL options. Remove the conflicting `sslmode` option if you intend to keep a supported plaintext transport. For provisioners and `rstack dev` with a TLS administrator URL, replace `sslmode=verify-ca` with `sslmode=verify-full`. [Deploy Registry Coordinator](https://docs.registrystack.org/dev/operate/coordinator/) · [Operate the Adapter](https://docs.registrystack.org/dev/operate/adapter/) +- **Provisioning diagnostics.** Update database secret and CA error matchers to use the shared `platform.provision.*` codes and member pointer. Both apply and `--print-sql` report bundle errors at `/database/caBundleRef`, including for `evidencectl provision`. For `adapterctl job provision`, use `/store/caBundleRef`. Once the reference resolves, PEM parsing can report `platform.provision.ca-bundle-no-certificate`, `platform.provision.ca-bundle-invalid-pem` or `platform.provision.ca-bundle-unusable-certificate`. Keep handling shared secret and public-document diagnostics at the same member pointer for failures before PEM parsing. For example, a value that exceeds the public-document size limit returns `platform.provision.secret-value-invalid` there. Casework emits a plain member pointer. Match production posture notices by `code`, use `pointer` to locate the setting and show `summary` to operators. If you match Rust `SecretError` exhaustively, remove `PublicDocumentNotText` and handle CA parse failures through the caller's CA diagnostics. [Platform changelog](https://github.com/registrystack/registry-stack/blob/main/products/platform/CHANGELOG.md) +- **Render authentication.** Replace production `authentication.apiKeyRef` with `authentication.oidc` and list the allowed clients. Have callers acquire and refresh an access token for the Render audience and send it as a bearer token. Use the configured `renderScope` for render and document routes and `sealScope` for sealing. The defaults are `render:render` and `render:seal`. Seal callers also need client authorisation for the selected seal. For local shared-key use, pass `--posture development` to both `registry-render check` and `registry-render serve` and set `listener.bind` to loopback. The OpenFn example takes `renderAccessToken` in place of `renderApiKey`. [Deploy Registry Render](https://docs.registrystack.org/dev/operate/registry-render/) + +### SDK response compatibility + +The native BReg, Casework, Evidence and Discovery SDKs accept additional members in ordinary successful response objects. Rust, Node and Python still validate required fields and reject duplicate members, including inside additional fields. Use matching runtimes for BReg, Casework and Evidence. Use the v0.52.0 unified SDK with the Discovery server from the same Stack release. [Unified SDK compatibility metadata](https://github.com/registrystack/registry-stack/blob/main/crates/registry-stack-client/compatibility.json) + +Classify Problems by machine-readable identifiers and HTTP status. Keep a fallback for unfamiliar well-formed codes. The native Discovery client can classify a Problem without trace data. It attaches a trace ID to an unrecognised Problem only when the header and body correlate. The generated Discovery TypeScript client accepts a known type with a valid future code. It requires trace correlation for known types and for unfamiliar types that supply either trace field. [Registry Stack TypeScript clients](https://docs.registrystack.org/dev/reference/typescript-clients/) + +In Rust, add `..` to exhaustive field patterns for `BaseRegistryClientError::UnrecognizedProblem`, `DiscoveryClientError::UnrecognizedProblem` and `CaseworkClientError::Problem` if you only need existing fields. Casework's `validation` is an `Option>`. Use `validation.as_deref()` to borrow it. + +The shared Review client accepts additions to ordinary provider responses. Keep exact request validation and retain the accepted Review binding and submission digest for progress and result reads. The BReg Review-context producer contract rejects `requestId`, `result`, `handoff` and `progressCode`, even when they are null. Evidence's fetched key set is discovery data. Use the exact pinned key document for pinned verification and validate the frozen Evidence envelopes and signed formats against their own contracts. Persisted Discovery selections keep their closed shape. Explicitly accept a selection locally before using it. [Read HTTP responses in v0.52.0](https://docs.registrystack.org/dev/operate/advanced/upgrade-and-retire/#read-http-responses-in-v0520) + +## Applicant workflows + +- **Follow a Proposal filed on your behalf.** An Action can declare its subject from an input or a field on a referenced Record. BReg binds the subject on the first successful Submit with that declaration. A verified person acting for themselves can follow the Proposal under a matching subject grant and current target boundaries. An authorised filer can Rebase an eligible Proposal submitted before the declaration while it is in `awaiting-party` or `in-review`, then Submit again. The filer needs current Start and Rebase authority to rebase the Proposal and Submit authority to resubmit it. When submitting for another person, use a Submit grant with `submitsFor: anyone`. +- **Answer with a form.** Answer a Casework ask through BReg. With required review and a declared form, the applicant can add a typed entry while review is open. The `add` grant must list the form in `writableForms`. Cite an uncited current-submission entry ID in the BReg Answer request's `formEntries`. Casework's answer response projects form entries separately. An authorised human reviewer acting for themselves can read the form values live through a configured review-context field. The submission version, frozen effects and effect digest stay fixed. After admission, visibility and checks for `If-Match` and `Idempotency-Key`, a missing or non-object Add Form `input` reports `/input`. Answer reports `/text` for non-string text and `/formEntries` for an invalid form-entry list. Use the matching project and profile OpenAPI for the `proposals.add-form` shape. The corresponding configuration determines whether the operations appear. [Ask for an additional form](https://docs.registrystack.org/dev/configure/breg-proposals/#ask-for-an-additional-form) · [Author a Casework policy](https://docs.registrystack.org/dev/configure/casework/) +- **Exchange messages with the office.** A plain-text Proposal thread opens on first Submit when enabled. Thread access requires an explicit `message` grant and a verified person acting for themselves. Send a message with `If-Match` and `Idempotency-Key`. Mark Read takes `{"through":""}` without those headers. Mark Read advances the Proposal revision only when it moves the read position on an open Proposal. After either call, refetch the Proposal ETag before the next conditional command. Review unfiltered transition hooks for `proposal.messaged`. The event identifies the sender side in `messageFrom` and omits the text. On each authorised human inbox read, Casework can expose a positive `unreadMessages` count from the live office-side read. It omits the member once that count is zero. [Operate BReg webhooks](https://docs.registrystack.org/dev/operate/breg-webhooks/) + +## Service previews and the Compose example + +A page-only `rstack dev` preview can exercise declared BReg routes, including Actions, with zero functions. Function handlers using `defineFunction` receive the authenticated `page` or `coordinator` caller kind. Use `preview.coordinatorFunctions` to restrict calls to Coordinator. A Coordinator caller gets a Registry client with no credential that refuses Registry operations before dispatch. [Run a project with rstack dev](https://docs.registrystack.org/dev/configure/run-a-project-with-rstack-dev/) + +Run `rstack dev export-preview PROJECT --output DIRECTORY` to check and build a preview without starting services. Choose an output path that does not yet exist. The export contains the manifest, static output and any compiled functions. Pin the bundle digest to verify every exported file. The declaration digest identifies the checked `service.yaml`. [Run a project with rstack dev](https://docs.registrystack.org/dev/configure/run-a-project-with-rstack-dev/) + +The holder-function SDK subpath `@registrystack/client/holder-function` shipped in v0.51.0. The v0.52.0 Compose recipe uses it in the reference host. The reviewed function prepares only the two Action input fields and receives no credential argument. It runs in the host process. The host invokes the declared Action with the signed-in registrar's token through a generated client. The browser uses a Session cookie. Compose stages its own sealed BReg package and database. [Business registration on the Compose reference host](https://github.com/registrystack/registry-stack/tree/main/deploy/examples/business-registration) + +Use synthetic data on a disposable Linux amd64 Docker host. Use Node.js 24 and install the locked client with `npm ci`. Generate and check the host client for the sealed project with matching `bregctl`. Use the Session image digest when it appears in the verified release manifest. An optional Casework profile uses the same Session sign-in with separate BReg and Casework audiences. Product, Session and database connections use verified TLS. A deployment across hosts needs TLS on both internal issuer hops. [Compose recipe prerequisites and host client](https://github.com/registrystack/registry-stack/blob/main/deploy/examples/business-registration/README.md#prepare-the-breg-deployment-inputs-manually) + +## Release artifacts + +The v0.52.0 roster is intended to add the first numbered Registry Coordinator and Registry Session container images for Linux amd64. The standalone Session binary first shipped in v0.51.0 and is acquired separately from `rstack install`. Coordinator binaries and the unified SDK's Coordinator namespace first shipped in v0.44.0. Document Store, the Adapter image and the Render unified SDK bindings remain outside the staged roster. Render has an existing image. Confirm the published inventory and image digests against the verified release manifest before installing. [Verify a Registry Stack release](https://github.com/registrystack/registry-stack/blob/main/release/VERIFY.md)