diff --git a/CHANGELOG.md b/CHANGELOG.md index ded957f8..755d3d1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,10 @@ # Changelog -This file records what a consumer of the `@bsv/dpp-*` packages, the contracts and the fixtures needs: the changes in the unpublished candidate and the releases already published. Every package is an experimental beta prerelease whose API may change significantly. The standard is pre-1.0, so breaking changes are expected and recorded here without apology until version 1.0 is declared, as `GOVERNANCE.md` states. [Migration](docs/migration.md) gives the steps for each change that needs one. +This file records what a consumer of the `@bsv/dpp-*` packages, the contracts and the fixtures needs: the changes in each runtime release and the starter that consumes it. Every package is an experimental beta prerelease whose API may change significantly. The standard is pre-1.0, so breaking changes are expected and recorded here without apology until version 1.0 is declared, as `GOVERNANCE.md` states. [Migration](docs/migration.md) gives the steps for each change that needs one. -## Unpublished: dpp-release-2026-11 +## November runtime release and application starter -`dpp-release-2026-11` is the current candidate: `@bsv/dpp-protocol` and `@bsv/dpp-profiles` `0.3.0-beta.10`, `@bsv/dpp-overlay` `0.4.0-beta.13`, `@bsv/dpp-credentials` `0.2.0-beta.6` and `@bsv/create-dpp-app` `0.1.0-beta.2`. Each line below is a change since the last publication, `dpp-release-2026-10-10` on 16 October 2026. A step number is a step of [test the November source candidate](docs/migration.md#test-the-november-source-candidate). - -What this candidate adds, in short: +The four runtime packages in `dpp-release-2026-11` were published on 27 November 2026. The application starter `@bsv/create-dpp-app@0.1.0-beta.2` is a separate release. The following changes are relative to the October runtime set. Numbered migration steps refer to [test the November source candidate](docs/migration.md#test-the-november-source-candidate). [Beta.12 publication receipt](docs/reference/publication-history/beta-12-publication.md) - **Bound sector profiles.** `eu-battery@1` and `eu-textile@1` replace the retired hand-written battery and textile profiles. A product document is validated against its binding's schema, contexts and SHACL shapes, the product is checked against its passport, and the document is split into a public and a restricted part. - **Sector binding successors.** New sector passports use `eu-battery@2` or `eu-textile@2`. Each checks the root class of the identified product, including recognised subclasses. Existing passports continue to use the version and digest they were issued under. @@ -170,6 +168,7 @@ Each set is published to npm with its receipt; [release history](docs/reference/ | Published | Set | Packages | What changed for a consumer | |---|---|---|---| +| 27 November 2026 | `dpp-release-2026-11` | Protocol and profiles `0.3.0-beta.10`, overlay `0.4.0-beta.13` and credentials `0.2.0-beta.6` | Bound sector profiles and signed EPCIS lifecycle claims. [Publication receipt](docs/reference/publication-history/beta-12-publication.md) | | 20 October 2026 | The starters | `@bsv/create-dpp-app` and `@bsv/create-dpp-index` `0.1.0-beta.1`, under `latest` | Generate an application or an index project pinned to `dpp-release-2026-10-10`. | | 16 October 2026 | `dpp-release-2026-10-10` | `@bsv/dpp-protocol` and `@bsv/dpp-profiles` `0.3.0-beta.9`, `@bsv/dpp-overlay` `0.4.0-beta.12`, `@bsv/dpp-credentials` `0.2.0-beta.5` | The first under the current names, formerly `@bsv/dpp-core`, `@bsv/dpp-overlay-topics` and `@bsv/vsc`; overlay `0.4.0-beta.11` differed from the approved bytes and is deprecated ([renames](docs/migration.md#rename-dpp-overlay-topics-to-dpp-overlay-and-vsc-to-dpp-credentials), [dpp-protocol](docs/migration.md#rename-dpp-core-to-dpp-protocol)). | | 9 and 10 October 2026 | `dpp-release-2026-10-7` | Core and profiles `0.3.0-beta.8`, overlay topics `0.4.0-beta.10`, VSC `0.2.0-beta.5` | Record version 3, since parked, overlay contract `0.11.0-draft`, opt-in peer discovery, advertising and retry, and `single-operator@2` ([beta.9 to beta.10](docs/migration.md#from-beta9-to-beta10)). | diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index c5dbff2e..672ae7b3 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -82,7 +82,8 @@ * [Parked: the Python reader](reference/parked/python-reader/README.md) * [Parked: the interoperability trial](reference/parked/interoperability-trial/README.md) * [Release history](reference/release-history.md) - * [Beta.11 publication receipt](reference/publication-history/beta-11-publication.md "Latest publication") + * [Beta.12 publication receipt](reference/publication-history/beta-12-publication.md "Latest publication") + * [Beta.11 publication receipt](reference/publication-history/beta-11-publication.md) * [Beta.10 publication receipt](reference/publication-history/beta-10-publication.md) * [Beta.9 publication receipt](reference/publication-history/beta-9-publication.md) * [Beta.8 publication receipt](reference/publication-history/beta-8-publication.md) diff --git a/docs/packages/README.md b/docs/packages/README.md index c48b156b..b9352c77 100644 --- a/docs/packages/README.md +++ b/docs/packages/README.md @@ -27,7 +27,7 @@ The published release uses **`@bsv/dpp-protocol`**, the new name for the library | Add DPP helpers to your own code | [Choose reference libraries](../start/choose-components-and-services.md#pick-only-the-packages-your-task-uses) | Select only the libraries your code uses, following the version instructions below | | Embed an index or build a custom host | [Index runtime (advanced)](dpp-overlay.md) | Install the runtime directly as an alternative to the Compose preset | -The application starter is published at `0.1.0-beta.1`; unpublished source `0.1.0-beta.2` pins the candidate. Its guide covers npm creation and source checks. Generated projects already declare dependencies and pins: follow their README. Continue below for direct library selection or source development. +The application starter is published at `0.1.0-beta.1`; unpublished source `0.1.0-beta.2` pins the November runtime packages. Its guide covers npm creation and source checks. Generated projects already declare dependencies and pins: follow their README. Continue below for direct library selection or source development. ## Use the renamed source candidate @@ -41,7 +41,7 @@ node scripts/consumer-check.mjs The commands publish nothing. Expect archives in `release/candidates/`, source revision and digests in `release/candidates.json`, and a consumer check in a separate project ending `Every sentence above holds.` Stop if packing or checking fails. -2. In your application directory, install the selected archives together so npm resolves unpublished dependencies locally. Replace `/absolute/path/to/dpp` with the checkout path: +2. In your application directory, install the selected archives together so npm resolves dependencies from the selected archives. Replace `/absolute/path/to/dpp` with the checkout path: ```sh npm install --save-exact /absolute/path/to/dpp/release/candidates/bsv-dpp-protocol-0.3.0-beta.10.tgz /absolute/path/to/dpp/release/candidates/bsv-dpp-profiles-0.3.0-beta.10.tgz @bsv/sdk@2.8.10 @@ -53,26 +53,26 @@ Use the exact npm versions below for published installations. ## Install from npm -The latest complete publication with a receipt here is `dpp-release-2026-10-10` ([beta.11 receipt](../reference/publication-history/beta-11-publication.md)); candidate `dpp-release-2026-11` supersedes it for source development. Exact published versions remain available even if mutable tags move. +The four runtime packages in `dpp-release-2026-11` are available on npm. Exact published versions remain available if tags move. [Beta.12 publication receipt](../reference/publication-history/beta-12-publication.md) -| Library | Published npm version | Candidate archive version | Select for | -|---|---|---|---| -| Protocol | `@bsv/dpp-protocol@0.3.0-beta.9` | `0.3.0-beta.10` | Passport records, verification and native lifecycle claims | -| Profiles | `@bsv/dpp-profiles@0.3.0-beta.9` | `0.3.0-beta.10` | Manifests, payload schemas and supported projection/discovery helpers | -| Credentials | `@bsv/dpp-credentials@0.2.0-beta.5` | `0.2.0-beta.6` | W3C credential verification, EPCIS source import and the EPCIS lifecycle claim; the candidate no longer contains the parked VSC profile. Unnecessary for native lifecycle-claim signing | -| Overlay | `@bsv/dpp-overlay@0.4.0-beta.12` | `0.4.0-beta.13` | Embedded topic managers/lookup services; starters declare it, HTTP clients need none | -| SDK | `@bsv/sdk@2.8.10` | `2.8.10` | Declare directly when importing wallet or transaction APIs | +| Library | Published npm version | Select for | +|---|---|---| +| Protocol | `@bsv/dpp-protocol@0.3.0-beta.10` | Passport records, verification and native lifecycle claims | +| Profiles | `@bsv/dpp-profiles@0.3.0-beta.10` | Manifests, payload schemas and supported projection/discovery helpers | +| Credentials | `@bsv/dpp-credentials@0.2.0-beta.6` | W3C credential verification, EPCIS source import and the EPCIS lifecycle claim; this release no longer contains the parked VSC profile. Unnecessary for native lifecycle-claim signing | +| Overlay | `@bsv/dpp-overlay@0.4.0-beta.13` | Embedded topic managers/lookup services; starters declare it, HTTP clients need none | +| SDK | `@bsv/sdk@2.8.10` | Declare directly when importing wallet or transaction APIs | Install only what your code uses. Start with protocol: ```sh -npm install --save-exact @bsv/dpp-protocol@0.3.0-beta.9 +npm install --save-exact @bsv/dpp-protocol@0.3.0-beta.10 ``` For a published installation using the protocol helpers, profiles and the SDK: ```sh -npm install --save-exact @bsv/dpp-protocol@0.3.0-beta.9 @bsv/dpp-profiles@0.3.0-beta.9 @bsv/sdk@2.8.10 +npm install --save-exact @bsv/dpp-protocol@0.3.0-beta.10 @bsv/dpp-profiles@0.3.0-beta.10 @bsv/sdk@2.8.10 ``` Releases publish to `latest` until version 1.0; exact versions and the lockfile define the tested installation. An [independent implementation](../implement/README.md) needs none of these packages. @@ -112,7 +112,7 @@ npm ci npm run build ``` -Source includes later work: publisher registration, per-publisher write tokens and the `managed-custody@2` signing rule. Opt-in index discovery and advertising were already in the published overlay beta.12. Building it does not reproduce npm archives, even with unchanged version strings. Reproduce published packages at their [receipt's revision](../reference/release-sets.md). +The November runtime release includes publisher registration, per-publisher write tokens and the `managed-custody@2` signing rule. To reproduce its npm archives, check out the exact revision and use the toolchain in the [beta.12 receipt](../reference/publication-history/beta-12-publication.md#verification). This historical beta.4 example reproduces all four packages: the beta.4 `@bsv/dpp-core`, `@bsv/dpp-overlay-topics` and `@bsv/dpp-profiles` and `@bsv/vsc@0.2.0-beta.3`, under the names the overlay and credentials packages were published with at the time. They repack byte for byte from `f9d8e98658c7cf406702d49194ec5a8480cbca73`, recorded in the [beta.4 receipt](../reference/publication-history/beta-4-publication.md). Its examples predate the current quick start. diff --git a/docs/reference/publication-history/beta-11-publication.md b/docs/reference/publication-history/beta-11-publication.md index ac30d81b..6f2c218e 100644 --- a/docs/reference/publication-history/beta-11-publication.md +++ b/docs/reference/publication-history/beta-11-publication.md @@ -1,6 +1,12 @@ +--- +hidden: true +--- + # Beta.11 publication receipt -Reviewers and maintainers can reproduce the successful archive and consumer checks for `dpp-release-2026-10-10` with this receipt. Its four packages are publicly available under their new names and `latest`. +> Archived release. The [beta.12 receipt](beta-12-publication.md) records the November publication. + +Reviewers and maintainers can reproduce the successful archive and consumer checks for `dpp-release-2026-10-10` with this receipt. Its four packages were published under their new names and the `latest` tag. Their exact versions remain available from npm. ## Before reproducing the verification diff --git a/docs/reference/publication-history/beta-12-publication-plan.json b/docs/reference/publication-history/beta-12-publication-plan.json new file mode 100644 index 00000000..e49f0811 --- /dev/null +++ b/docs/reference/publication-history/beta-12-publication-plan.json @@ -0,0 +1,46 @@ +{ + "releaseSet": "dpp-release-2026-11", + "releaseSetSha256": "a64f80d76bc0f485166e041354a3477f0a7ffa4ac17b4126280586ffc704e6c4", + "sourceRevision": "7b697a385c13890768cea5c8b2c36029671b8291", + "sourceState": "committed", + "selection": "conformance/selections/dpp-release-2026-11.json", + "selectionSha256": "b72d7fbee09f3eb9bf404990005c1530d3dc952854d7c6c44affb2d7171ca0f5", + "registry": "https://registry.npmjs.org/", + "access": "public", + "tag": "latest", + "provenance": true, + "candidates": [ + { + "name": "@bsv/dpp-protocol", + "version": "0.3.0-beta.10", + "filename": "bsv-dpp-protocol-0.3.0-beta.10.tgz", + "sha256": "4532fffc0758e1ce10507914ed06fd1c620a533612f5014035986f31d630af4c", + "integrity": "sha512-HlZGjm+gGLS8s2AXQo9VJFRGqto1f5p0xf51lnD7oCvcY9yX/X2T4N2AmtPgriKGmUGOJ4lZJIxhnaZN9h2kkA==", + "size": 155350 + }, + { + "name": "@bsv/dpp-profiles", + "version": "0.3.0-beta.10", + "filename": "bsv-dpp-profiles-0.3.0-beta.10.tgz", + "sha256": "0293a0e42fc0f838fc1dbbc6498a723636200fb9bd354f7fff8fdb549af6fb1e", + "integrity": "sha512-rFr52pzVBgBZSf4RIAyQs+ck/JU0gR36apOBoVFlygtAivzLplytl1k8KegVXegM12pb40Rc9yB+mLFnjPsa/g==", + "size": 697323 + }, + { + "name": "@bsv/dpp-overlay", + "version": "0.4.0-beta.13", + "filename": "bsv-dpp-overlay-0.4.0-beta.13.tgz", + "sha256": "d0b4f8fdd33f6d332cf4d01e02b358eca70fd64aaf668224ac56faff711be223", + "integrity": "sha512-d6PqUYQjHG949bFJvmTsPEA4yiVtsDj8iep7D2meJMU/pkAgGnr+FHEi3hwQcHFcIslM6vilfU6alCWYv/qSKg==", + "size": 217749 + }, + { + "name": "@bsv/dpp-credentials", + "version": "0.2.0-beta.6", + "filename": "bsv-dpp-credentials-0.2.0-beta.6.tgz", + "sha256": "c525fcb95e18f0c5ac7b7fa8987ba26b3c3f80848b2cd87741350d63d068e4fc", + "integrity": "sha512-dA9CQSQOn3Zn5X0TShkVOigIIhG5xUXh4Ywx2jHf7NCzRggT8tKKFYyIMr+rYDrGvFb7SEQYS6qT28WxfeNuGQ==", + "size": 284741 + } + ] +} diff --git a/docs/reference/publication-history/beta-12-publication.md b/docs/reference/publication-history/beta-12-publication.md new file mode 100644 index 00000000..4c1540fb --- /dev/null +++ b/docs/reference/publication-history/beta-12-publication.md @@ -0,0 +1,41 @@ +# Beta.12 publication receipt + +The four runtime packages in `dpp-release-2026-11` were published to public npm under `latest` on 27 November 2026. All four downloaded archives match the approved bytes. Their signed provenance identifies the same GitHub Actions workflow, source commit and publication attempt. + +| Package | Version | Published at (UTC) | Provenance | +|---|---|---|---| +| `@bsv/dpp-protocol` | `0.3.0-beta.10` | 18:10:59.264 | [npm attestation](https://registry.npmjs.org/-/npm/v1/attestations/@bsv%2fdpp-protocol@0.3.0-beta.10) | +| `@bsv/dpp-profiles` | `0.3.0-beta.10` | 18:14:25.835 | [npm attestation](https://registry.npmjs.org/-/npm/v1/attestations/@bsv%2fdpp-profiles@0.3.0-beta.10) | +| `@bsv/dpp-overlay` | `0.4.0-beta.13` | 18:16:15.498 | [npm attestation](https://registry.npmjs.org/-/npm/v1/attestations/@bsv%2fdpp-overlay@0.4.0-beta.13) | +| `@bsv/dpp-credentials` | `0.2.0-beta.6` | 18:18:06.159 | [npm attestation](https://registry.npmjs.org/-/npm/v1/attestations/@bsv%2fdpp-credentials@0.2.0-beta.6) | + +## Publication record + +| Evidence | Value | +|---|---| +| Source | [`7b697a385c13890768cea5c8b2c36029671b8291`](https://github.com/bsv-blockchain/dpp/commit/7b697a385c13890768cea5c8b2c36029671b8291) | +| Inputs | [Release set](https://github.com/bsv-blockchain/dpp/blob/7b697a385c13890768cea5c8b2c36029671b8291/release/dpp-release-2026-11.json) and [conformance selection](https://github.com/bsv-blockchain/dpp/blob/7b697a385c13890768cea5c8b2c36029671b8291/conformance/selections/dpp-release-2026-11.json) | +| Approved plan | [Original JSON](beta-12-publication-plan.json) with SHA-256 `d8c1841602670a495e674bc52d8a678cd6d375cfb9a9941e75e620c8a8554f21` | +| Toolchain | Node `22.23.4` and npm `11.19.0` | +| GitHub Actions | [Dry run](https://github.com/bsv-blockchain/dpp/actions/runs/46041827973), [publication, attempt 3](https://github.com/bsv-blockchain/dpp/actions/runs/46045259413/attempts/3) and [registry consumer verification, attempt 4](https://github.com/bsv-blockchain/dpp/actions/runs/46045259413/attempts/4) | + +The dry run, the publication artefact and a clean local checkout produced the same plan. It records each archive's byte length, SHA-256 and npm SHA-512 integrity. Attempt 3 uploaded all four archives. Its immediate install reported `ETARGET` for credentials. Attempt 4 recognised the four published archives and passed the public consumer checks. A separate local install also verified runtime entry points, packaged artefacts and TypeScript declarations. Verification against each downloaded archive covered the npm registry signature, the npm publish attestation and the SLSA provenance signature. + +## Verification + +Use the recorded Node and npm versions. Set the file creation mask before cloning so that file modes in the packed archives match the publication build. + +```sh +umask 022 +git clone https://github.com/bsv-blockchain/dpp.git dpp-beta-12 +cd dpp-beta-12 +git switch --detach 7b697a385c13890768cea5c8b2c36029671b8291 +npm ci +node scripts/release-candidates.mjs release/dpp-release-2026-11.json +node scripts/publish-candidates.mjs --verify-registry +node scripts/consumer-check.mjs --registry +``` + +The archive check ends with `Every npm tarball matches the candidate bytes.` and the consumer check ends with `Every sentence above holds.` Compare the generated `release/publication-plan.json` with the [archived plan](beta-12-publication-plan.json). Keep logs outside the checkout so the plan records a clean source tree. + +The [installation guide](../../packages/README.md#install-from-npm) lists the four runtime dependencies. The application starter and operator images have their own publication workflows. The [release guide](../release-sets.md) records their status. diff --git a/docs/reference/release-history.md b/docs/reference/release-history.md index bbc55758..41392d13 100644 --- a/docs/reference/release-history.md +++ b/docs/reference/release-history.md @@ -12,11 +12,13 @@ Maintainers and auditors checking an older installation can use this page to fin The archived files are never edited. Each approved plan records its selection's digest, which the archived selection still matches. A plan also records its set's digest at the source revision it bound, before the set was marked superseded, so each set link below opens the set at a recorded revision: for a set published under an approved plan, the source revision that plan bound, the revision to reproduce it from. The archived link beside it opens the file under `release/archive/`. +The [beta.12 receipt](publication-history/beta-12-publication.md) records the November runtime publication and links the approved plan. + ## Earlier sets | Set | Date in 2026 | What it published | Receipt and approved plan | |---|---|---|---| -| [dpp-release-2026-10-10](https://github.com/bsv-blockchain/dpp/blob/0e45ac32da351c1e877431d55e2e9c0c41f54c33/release/dpp-release-2026-10-10.json) ([archived](https://github.com/bsv-blockchain/dpp/blob/44cc49926042466f5a01074d5b0ef0eed7ebdf29/release/archive/dpp-release-2026-10-10.json)) | 16 October | Protocol and profiles beta.9, overlay beta.12 and credentials beta.5, under `latest`. The last published set: a plain install gets these until the current candidate publishes. | [Beta.11 receipt](publication-history/beta-11-publication.md), [plan](publication-history/beta-11-publication-plan.json) | +| [dpp-release-2026-10-10](https://github.com/bsv-blockchain/dpp/blob/0e45ac32da351c1e877431d55e2e9c0c41f54c33/release/dpp-release-2026-10-10.json) ([archived](https://github.com/bsv-blockchain/dpp/blob/44cc49926042466f5a01074d5b0ef0eed7ebdf29/release/archive/dpp-release-2026-10-10.json)) | 16 October | Protocol and profiles beta.9, overlay beta.12 and credentials beta.5, under `latest`. | [Beta.11 receipt](publication-history/beta-11-publication.md), [plan](publication-history/beta-11-publication-plan.json) | | [dpp-release-2026-10-9](https://github.com/bsv-blockchain/dpp/blob/ced766212d597deeac5e2ec1512924481cef2da6/release/dpp-release-2026-10-9.json) ([archived](https://github.com/bsv-blockchain/dpp/blob/44cc49926042466f5a01074d5b0ef0eed7ebdf29/release/archive/dpp-release-2026-10-9.json)) | 16 October | Protocol and profiles beta.9 and credentials beta.5 under their new names; these approved bytes are the ones `dpp-release-2026-10-10` names. Its overlay beta.11 differed from the approved bytes in one file mode, and no set names it. | [Beta.11 receipt](publication-history/beta-11-publication.md) | | [dpp-release-2026-10-8](https://github.com/bsv-blockchain/dpp/blob/d44041ce41ef4fda2c47fc027ea6507bb0e5bc84/release/dpp-release-2026-10-8.json) ([archived](https://github.com/bsv-blockchain/dpp/blob/44cc49926042466f5a01074d5b0ef0eed7ebdf29/release/archive/dpp-release-2026-10-8.json)) | 10 October, declared | Nothing. The candidate that introduced the `@bsv/dpp-protocol` name, superseded by `dpp-release-2026-10-9` before publication. | None | | [dpp-release-2026-10-7](https://github.com/bsv-blockchain/dpp/blob/1b7a922616f5943f884ec07a39e8b966ecc8a42d/release/dpp-release-2026-10-7.json) ([archived](https://github.com/bsv-blockchain/dpp/blob/44cc49926042466f5a01074d5b0ef0eed7ebdf29/release/archive/dpp-release-2026-10-7.json)) | 9 and 10 October | Core and profiles beta.8 and overlay beta.10, under `latest`, beside the unchanged VSC beta.5. The last publication under the former names. | [Beta.10 receipt](publication-history/beta-10-publication.md), [plan](publication-history/beta-10-publication-plan.json) | diff --git a/docs/reference/release-sets.md b/docs/reference/release-sets.md index efd01694..f691fde8 100644 --- a/docs/reference/release-sets.md +++ b/docs/reference/release-sets.md @@ -16,13 +16,13 @@ Installers, implementers and reviewers can use this page to select a release set | | `dpp-release-2026-11` | |---|---| -| Declaration | `release/dpp-release-2026-11.json`; its source revision is recorded when a publication plan binds it | -| Status | Candidate. Nothing of it is published; the last published set is `dpp-release-2026-10-10`, under `latest` since 16 October 2026 ([beta.11 receipt](publication-history/beta-11-publication.md)) | +| Declaration | `release/dpp-release-2026-11.json`; published from `7b697a385c13890768cea5c8b2c36029671b8291` | +| Status | All four runtime packages were published to npm under `latest` on 27 November 2026. The application starter and operator images have separate publication workflows. | | Main packages | `@bsv/dpp-protocol@0.3.0-beta.10`, `@bsv/dpp-overlay@0.4.0-beta.13`, `@bsv/dpp-profiles@0.3.0-beta.10`, `@bsv/dpp-credentials@0.2.0-beta.6`, on `@bsv/sdk@2.8.10` and Node 22 | | Licence | Apache 2.0 for the packages and for this repository's code in both images. The operator preset also runs MongoDB Community Server, which is under the Server Side Public License ([the operator preset](../contribute/licence.md#the-operator-preset)) | | Images | `dpp-overlay` and `dpp-validator`, unpublished: the set records each with the word `unpublished` in place of a digest ([images](#images)) | | npm tag | `latest`; install exact versions and retain the lockfile | -| Receipt | None yet; the [beta.11 receipt](publication-history/beta-11-publication.md) covers the last published set | +| Receipt | [Beta.12 publication receipt](publication-history/beta-12-publication.md) and [approved plan](publication-history/beta-12-publication-plan.json) | | Selection | `conformance/selections/dpp-release-2026-11.json`. From 12 November 2026 it requires one claim per role under `native-baseline@2`, the one baseline a claim names, with `gs1-identifier-discipline` and `profile-governance`, and withholds every other claim with its reason ([conformance](conformance.md)) | Compared with the superseded `dpp-release-2026-10-10`, this set carries the seven decisions of bsv-blockchain/dpp#177: @@ -39,7 +39,7 @@ Compared with the superseded `dpp-release-2026-10-10`, this set carries the seve | Specification scope | From 12 November 2026 passport projections and the publication policy are reference features of the profiles package ([parked material](parked/passport-projections/README.md)), the GS1 discovery specification keeps only the DPP identifier rules, the publisher policy chain, write tokens, registration operations and synchronisation are reference features of the overlay package with SHIP/SLAP discovery and `federated-operators@1` parked, the drafts `battery@3`, `textile@3` and `textile@4` are parked, and since retired with the other sector profiles, and `spec/rules.md` ยง4 is the one definition of the canonical JSON the native documents use. No wire byte changes. | | Record version 3 | Parked outside the standard ([parked material](parked/token-carrier/README.md)): the packages read and write versions 1 and 2, the index declares no `dpp-record` version `3` and has no token id lookup, and the verification report is version 2, without the carrier's two reason codes. | | Directly signed EPCIS events | Parked on 14 November 2026 while the representation is reconsidered: the `epcis-event-vc@1` module stays in the repository and `@bsv/dpp-protocol` no longer exports it ([parked: sign an event](../interoperability/epcis.md#parked-sign-an-event)). Its manifest reads `parked`, its vectors stay as published, and its rows and claim are in the ledger archive. No published set exported it. | -| Sector profiles | Retired on 14 November 2026: `battery@2`, `battery@3`, `battery@4` and `textile@1` to `textile@4`. Their manifests and generated files stay in the profiles package byte for byte. The application starter writes nothing under them, `@bsv/dpp-profiles` prepares and validates nothing under them, and a payload that declares one reads `unknown` with the cause `profile-retired`. An index does not judge profiles, so a state another writer issues under one is still indexed, and still reads as unsupported. `eu-battery@1` and `eu-textile@1`, held by bundled bindings, were the first replacements. Both remain readable. The candidate starter issues new sector passports under `eu-battery@2` and `eu-textile@2` ([move off the retired sector profiles](../migration.md#move-off-the-retired-sector-profiles)). `general@1` and `general@2` are unaffected. The battery demonstration row is in the ledger archive, and `profile-governance` requires the retirement rule. No published set retired a profile. | +| Sector profiles | Retired on 14 November 2026: `battery@2`, `battery@3`, `battery@4` and `textile@1` to `textile@4`. Their manifests and generated files stay in the profiles package byte for byte. The application starter writes nothing under them, `@bsv/dpp-profiles` prepares and validates nothing under them, and a payload that declares one reads `unknown` with the cause `profile-retired`. An index does not judge profiles, so a state another writer issues under one is still indexed, and still reads as unsupported. `eu-battery@1` and `eu-textile@1`, held by bundled bindings, were the first replacements. Both remain readable. The candidate starter issues new sector passports under `eu-battery@2` and `eu-textile@2` ([move off the retired sector profiles](../migration.md#move-off-the-retired-sector-profiles)). `general@1` and `general@2` are unaffected. The battery demonstration row is in the ledger archive, and `profile-governance` requires the retirement rule. This is the first published set to retire a profile. | | Durable EPCIS import | From 14 November 2026 `@bsv/dpp-credentials` has the `./epcis-exchange` entry point: file import into storage the application supplies, with exact-byte retention, idempotent requests, arrival records, conflict decisions, a rebuildable associations index, original-byte export and recovery ([durable EPCIS import](../packages/dpp-credentials.md#durable-epcis-import)). The import record contract is version 2, which requires the request digest, with version 1 kept as `contracts/epcis-import-v1.schema.json`, and `contracts/epcis-exchange-records.schema.json` defines the other durable records. It is no EPCIS repository. | | Validator service | From 15 November 2026 `@bsv/dpp-profiles` has the `./validator-service` and `./validator-client` entry points and the `dpp-validator` executable: the JSON-LD and SHACL engines in another process under the `dpp-validator/1` contract, `contracts/validator.schema.json`, with an image of their own built from `packages/dpp-profiles/validator-image/Dockerfile`. An application chooses between the service and the engines in its own process by configuration, and a service it cannot use reads `unknown`, never `pass` ([run the engines as a service](../packages/dpp-profiles.md#run-the-engines-as-a-service)). The image is built and checked here and is not published | | Images and the operator preset | From 15 November 2026 the set names its images in an `images` member: `dpp-overlay` and `dpp-validator`, each with its Dockerfile, the exact Node version it runs and its digest, and the MongoDB image the preset runs, by tag and digest. The preset pulls each image by digest, includes the validator service, and builds nothing; `deploy/compose.build.yml` builds from source. Both images are labelled with the source revision, the release set and the package version, and the index image carries `NOTICE` and `PATENTS` beside `LICENSE`. The index and the validator service were held to their npm deliveries by `scripts/delivery-parity.mjs` ([images](#images)). `@bsv/dpp-overlay` now names the `mongodb` driver at exactly 7.6.0, the version the image installs. | @@ -59,16 +59,16 @@ These are experimental prereleases: APIs may change during testing. Package vers ## Verify a published release -The last published set is `dpp-release-2026-10-10`: protocol and profiles beta.9, overlay beta.12 and credentials beta.5 under their new names, on `latest` since 16 October 2026. Its [beta.11 receipt](publication-history/beta-11-publication.md) records the approved source revision `0e45ac32da351c1e877431d55e2e9c0c41f54c33`, original release-set input, archive digests and verification results. +The November runtime packages are published under `latest`. The [release history](release-history.md) links earlier publications. -Reproduce the published packages with the receipt's [verification steps](publication-history/beta-11-publication.md#verification): +Reproduce the published packages with the receipt's [verification steps](publication-history/beta-12-publication.md#verification): -1. Use a clean checkout at `0e45ac32da351c1e877431d55e2e9c0c41f54c33` with the toolchain above. +1. Set `umask 022` before creating the clean checkout at `7b697a385c13890768cea5c8b2c36029671b8291`. Use Node `22.23.4` and npm `11.19.0` to reproduce the tarball bytes. 2. Run the receipt's commands from that checkout's root: ```sh npm ci -node scripts/release-candidates.mjs release/dpp-release-2026-10-10.json +node scripts/release-candidates.mjs release/dpp-release-2026-11.json node scripts/publish-candidates.mjs --verify-registry node scripts/consumer-check.mjs --registry ``` diff --git a/release/README.md b/release/README.md index 8e368d59..c4849f35 100644 --- a/release/README.md +++ b/release/README.md @@ -2,7 +2,7 @@ **Experimental prerelease:** For implementation and interoperability testing. APIs may change significantly before a stable release. Pin exact package versions and retain your lockfile. This package is not declared production-ready. Package versions are separate from the specification, wire-format and frozen profile versions they implement. -A release of this standard is a set: the four runtime packages at the versions that implement one set of wire contracts, the selected custody profile, the runtime and the fixtures and schemas checked against them. This directory holds the current set, [`dpp-release-2026-11.json`](dpp-release-2026-11.json), a candidate of which nothing is published yet; the [release guide](../docs/reference/release-sets.md#the-current-set) says what it carries. Every superseded set is kept, byte for byte, under [`archive/`](archive/), with the selection that qualified it under [`archive/selections/`](archive/selections/). [Release history](../docs/reference/release-history.md) is the one record of earlier sets and their publications: when each was published, what it published, and its receipt and approved plan. [`release-set.schema.json`](release-set.schema.json) is a set's shape, and `conformance/check.mjs` holds the current set to the repository: every package version to its manifest, every wire version to what the reference exports, the runtime to the root, every artefact digest to its file, the support declaration of every entry point to the built package, and the selection it names to the ledger. It notes each archived set and selection as history, and refuses a superseded set or selection left outside the archive. A changed wire contract or profile is a new set with a new identifier, never an edit of a frozen one, and `conformance/pin-sources.mjs` re-records the current set's artefact digests after a reviewed change. +A release of this standard is a set: the four runtime packages at the versions that implement one set of wire contracts, the selected custody profile, the runtime and the fixtures and schemas checked against them. This directory holds the current set, [`dpp-release-2026-11.json`](dpp-release-2026-11.json), whose four runtime packages were published on 27 November 2026 ([beta.12 receipt](../docs/reference/publication-history/beta-12-publication.md)); the [release guide](../docs/reference/release-sets.md#the-current-set) says what it carries. Every superseded set is kept, byte for byte, under [`archive/`](archive/), with the selection that qualified it under [`archive/selections/`](archive/selections/). [Release history](../docs/reference/release-history.md) is the one record of earlier sets and their publications: when each was published, what it published, and its receipt and approved plan. [`release-set.schema.json`](release-set.schema.json) is a set's shape, and `conformance/check.mjs` holds the current set to the repository: every package version to its manifest, every wire version to what the reference exports, the runtime to the root, every artefact digest to its file, the support declaration of every entry point to the built package, and the selection it names to the ledger. It notes each archived set and selection as history, and refuses a superseded set or selection left outside the archive. A changed wire contract or profile is a new set with a new identifier, never an edit of a frozen one, and `conformance/pin-sources.mjs` re-records the current set's artefact digests after a reviewed change. Each publication is tagged in this repository as `v0.1.0-beta.N` at its source revision, where N is its receipt's number, with a GitHub pre-release that names the set and links the receipt. The `0.1.0` labels the repository before version 1.0; it is not a package, specification or wire version.