|
2 | 2 |
|
3 | 3 | ## Outcome |
4 | 4 |
|
5 | | -Release `@toolsplus/json-evolutions` 2.0.0 as an Effect 4-native, ESM-only library. The release replaces the io-ts and fp-ts interface, preserves the persisted stored-value protocol, validates genuine JSON at runtime, and continues delegating changeset execution to `fast-json-patch` and `immutability-helper`. |
| 5 | +Release `@toolsplus/json-evolutions` 3.0.0 as an Effect 4-native, ESM-only library. The release replaces the io-ts and fp-ts interface, preserves the persisted stored-value protocol, validates genuine JSON at runtime, and continues delegating changeset execution to `fast-json-patch` and `immutability-helper`. |
6 | 6 |
|
7 | 7 | The rewrite is intentionally source-incompatible with v1. Existing stored values remain compatible. |
8 | 8 |
|
@@ -153,7 +153,7 @@ evolveAndDecode<E = never, R = never>( |
153 | 153 |
|
154 | 154 | The final implementation must preserve the supplied struct's decoding and encoding service requirements. `VersionedSchema` is nominally marked and retains its validated changelog through private symbol metadata. |
155 | 155 |
|
156 | | -`versioned` initially supports `Schema.Struct` only. It rejects a business schema that declares the reserved root `_version` field. Do not add an opaque arbitrary-object-codec overload in v2.0. |
| 156 | +`versioned` initially supports `Schema.Struct` only. It rejects a business schema that declares the reserved root `_version` field. Do not add an opaque arbitrary-object-codec overload in v3.0. |
157 | 157 |
|
158 | 158 | All transformation functions are data-last and pipe-friendly. Do not add duplicate data-first overloads. |
159 | 159 |
|
@@ -318,8 +318,8 @@ Use exact Effect beta ranges. Do not use `^` or `~` while the public Schema type |
318 | 318 |
|
319 | 319 | - Update CI and release workflow test commands for Vitest. |
320 | 320 | - Preserve build, coverage, lint, formatting, documentation, semantic-release, npm provenance, and Node 24 checks. |
321 | | -- Ensure the release commit communicates a breaking change under the repository's Angular conventional-commit rules so semantic-release selects `2.0.0`. |
322 | | -- Publish directly as stable `2.0.0`; do not create a package prerelease line. |
| 321 | +- Ensure the release commit communicates a breaking change under the repository's Angular conventional-commit rules so semantic-release selects `3.0.0`. |
| 322 | +- Publish directly as stable `3.0.0`; do not create a package prerelease line. |
323 | 323 |
|
324 | 324 | ## Test strategy |
325 | 325 |
|
@@ -417,7 +417,7 @@ State explicitly that changelogs are trusted source declarations and that stored |
417 | 417 |
|
418 | 418 | ### Migration guide |
419 | 419 |
|
420 | | -Add a concise v1-to-v2 guide covering: |
| 420 | +Add a concise v1-to-v3 guide covering: |
421 | 421 |
|
422 | 422 | - `io-ts` codec to Effect `Schema.Struct` |
423 | 423 | - `versioned(codec, latestVersion(changelog))` to `schema.pipe(versioned(changelog))` |
@@ -495,11 +495,11 @@ Do this after the interface works end to end so packaging failures remain separa |
495 | 495 | ### Phase 7: Consumer migration and release readiness |
496 | 496 |
|
497 | 497 | 1. Rewrite the README. |
498 | | -2. Add the v1-to-v2 migration guide. |
| 498 | +2. Add the v1-to-v3 migration guide. |
499 | 499 | 3. Verify generated API documentation. |
500 | 500 | 4. Audit exports and tarball contents. |
501 | 501 | 5. Run the full quality gate. |
502 | | -6. Prepare a breaking conventional commit/release path for stable 2.0.0. |
| 502 | +6. Prepare a breaking conventional commit/release path for stable 3.0.0. |
503 | 503 |
|
504 | 504 | ## Quality gate |
505 | 505 |
|
|
0 commit comments