diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce4361e..f8a5db2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,6 @@ on: push: branches: [main] pull_request: - branches: [main] jobs: test: diff --git a/CHANGELOG.md b/CHANGELOG.md index d3689ab..16c0663 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ A complete rewrite relative to 1.0.0-beta.11. Verification now runs as suites of named checks, every check that ran is reported, and the result carries an overall `verified` verdict. `verifyCredential` and `verifyPresentation` keep their names, but their options and results have changed: see -[Migration from earlier 1.0.0-beta.x](README.md#migration-from-earlier-100-betax) +[Migration from earlier 1.x](README.md#migration-from-earlier-1x) for a field-by-field map. ### Breaking @@ -22,7 +22,9 @@ for a field-by-field map. - **`verified` is a verdict.** 1.x reported each step and left the conclusion to the caller. In 2.0 a credential that is expired, not yet valid, revoked or suspended has `verified: false`, alongside a bad signature. An issuer that is - not in any registry is a warning: `verified` stays `true`. + not in any registry is a warning: `verified` stays `true`. A verifier may come + to their own conclusions based on the detailed results, if they deem a certain + `fatal` check not to invalidate the whole credential. - **`knownDIDRegistries` is replaced by `registries: EntityIdentityRegistry[]`**, and `reloadIssuerRegistry` is removed. The DCC known-registries list can be passed as `registries` @@ -121,22 +123,19 @@ for a field-by-field map. `additionalInformation`, and `presentationResult` on presentations. - The `@digitalcredentials/issuer-registry-client` dependency. -## 1.0.0-beta.11 - December 15 2025 +## 1.0.0-beta.11 - 2025-12-15 ### Added -- Returns staus list errors that had been incorrectly swallowed. See the README +- Returns status list errors that had been incorrectly swallowed. See the README for new errors that are returned. -## 1.0.0-beta.10 - October 24 2025 +## 1.0.0-beta.10 - 2025-10-24 ### Added - Returns more informative results for json-ld safe-mode errors. See the README for details. - -## 1.0.0-beta.9 - October 2 2025 - -### Added - - Adds schema validation results to the returned verification results. + +Earlier preliminary releases are not recorded here. diff --git a/README.md b/README.md index 481c05c..b9c8e22 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ - [Open Badges 3.0 verification (opt-in submodule)](#open-badges-30-verification-opt-in-submodule) - [Credential recognition + two-pass verification](#credential-recognition--two-pass-verification) - [Architecture](#architecture) -- [Migration from earlier 1.0.0-beta.x](#migration-from-earlier-100-betax) +- [Migration from earlier 1.x](#migration-from-earlier-1x) - [Install](#install) - [Contribute](#contribute) - [License](#license) @@ -1285,10 +1285,10 @@ For internal architecture details — verification pipeline, suite model, type system, dependencies, and architectural direction — see [`docs/architecture.md`](docs/architecture.md). -## Migration from earlier 1.0.0-beta.x +## Migration from earlier 1.x -2.0.0 is a rewrite. This section maps the last 1.x release, 1.0.0-beta.11, to -2.0.0. `verifyCredential` and `verifyPresentation` keep their names; their +2.0.0 is a major update. This section maps the last 1.x release, 1.0.0-beta.11, to +2.0.0. `verifyCredential` and `verifyPresentation` keep their names, but their options and results change. Check ids below are the `CheckResult.id` values (see [verification results](docs/api/verification-results.md)). diff --git a/package.json b/package.json index 39aa435..0c771d6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@digitalcredentials/verifier-core", "description": "For verifying Verifiable Credentials in the browser, Node.js, and React Native.", - "version": "2.0.0", + "version": "2.0.0-beta.1", "scripts": { "build": "rimraf dist/* && tsc", "clear": "rimraf dist/*",