Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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)). |
Expand Down
3 changes: 2 additions & 1 deletion docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
26 changes: 13 additions & 13 deletions docs/packages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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.
Expand Down Expand Up @@ -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.

Expand Down
8 changes: 7 additions & 1 deletion docs/reference/publication-history/beta-11-publication.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
46 changes: 46 additions & 0 deletions docs/reference/publication-history/beta-12-publication-plan.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
41 changes: 41 additions & 0 deletions docs/reference/publication-history/beta-12-publication.md
Original file line number Diff line number Diff line change
@@ -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.
Loading