@midnight-ntwrk/credential-model 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/README.md +12 -3
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -2,7 +2,17 @@
2
2
 
3
3
  All notable changes to this package are documented in this file.
4
4
 
5
- ## 0.2.0 - 2026-09-18
5
+ ## Unreleased
6
+
7
+ ## 0.3.0 - 2026-10-01
8
+
9
+ - Add normative credential-family validation vectors and execute them through
10
+ the package's public assertion API and clean packed consumer.
11
+ - Keep the repository's pnpm requirement development-only so published model
12
+ consumers are not coupled to this monorepo's package manager.
13
+ - Advance the package manifest to the `0.3.0` release base.
14
+
15
+ ## 0.2.0 - 2026-09-25
6
16
 
7
17
  - Accept untyped credential-family input through an assertion boundary and
8
18
  report field-specific `CredentialModelError` failures.
package/README.md CHANGED
@@ -11,11 +11,20 @@ deployment, proof artifacts, or encoding.
11
11
  ## Install
12
12
 
13
13
  ```bash
14
- pnpm add @midnight-ntwrk/credential-model@rc
14
+ pnpm add -E @midnight-ntwrk/credential-model@0.2.0
15
15
  ```
16
16
 
17
- The first public release line is pre-1.0. Pin an exact version when a
18
- credential-family repository requires reproducible builds.
17
+ `0.2.0` is the current stable release. The release line is pre-1.0, so keep the
18
+ resolved version pinned when a credential-family repository requires
19
+ reproducible builds. To evaluate the current 0.3 release candidate explicitly:
20
+
21
+ ```bash
22
+ pnpm add -E @midnight-ntwrk/credential-model@0.3.0-rc1
23
+ ```
24
+
25
+ Before adopting an RC, confirm the moving tag still names that immutable
26
+ version with
27
+ `npm view @midnight-ntwrk/credential-model dist-tags --json`.
19
28
 
20
29
  ## Public API
21
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midnight-ntwrk/credential-model",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Protocol-neutral credential-family contracts for Midnight verifiable credentials",
5
5
  "license": "Apache-2.0",
6
6
  "private": false,
@@ -24,8 +24,7 @@
24
24
  "registry": "https://registry.npmjs.org/"
25
25
  },
26
26
  "engines": {
27
- "node": ">=24",
28
- "pnpm": ">=10.34.5"
27
+ "node": ">=24"
29
28
  },
30
29
  "main": "dist/index.js",
31
30
  "module": "dist/index.js",
@@ -46,6 +45,7 @@
46
45
  "scripts": {
47
46
  "build": "rm -rf dist .cache && tsc -b tsconfig.build.json --force",
48
47
  "test": "vitest run",
48
+ "test:conformance": "vitest run src/test/conformance.test.ts",
49
49
  "typecheck": "tsc -p tsconfig.json --noEmit",
50
50
  "lint": "eslint \"src/**/*.ts\"",
51
51
  "lint:fix": "eslint \"src/**/*.ts\" --fix",