diff --git a/.changeset/nervous-donkeys-repeat.md b/.changeset/nervous-donkeys-repeat.md deleted file mode 100644 index e6f6089..0000000 --- a/.changeset/nervous-donkeys-repeat.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -"rkyv-js": minor -"rkyv-js-codegen": minor ---- - -**BREAKING:** the unidirectional entry points are renamed to match their module names. - -Every direction-split module is a sibling file of the module it splits (`src/lib/hashmap.decode.ts` next to `src/lib/hashmap.ts`), but the export subpath spelled it as a directory. The specifier now mirrors the file: - -| before | after | -|--------|-------| -| `rkyv-js/lib/hashmap/decode` | `rkyv-js/lib/hashmap.decode` | -| `rkyv-js/lib/hashmap/encode` | `rkyv-js/lib/hashmap.encode` | -| `rkyv-js/jit/decode` | `rkyv-js/jit.decode` | -| `rkyv-js/jit/encode` | `rkyv-js/jit.encode` | - -The same applies to `lib/uuid`, `lib/bytes`, `lib/btreemap`, and `lib/indexmap`. The old specifiers are gone, not deprecated. - -Migrate imports in one pass with `s|rkyv-js/(lib/[a-z]+\|jit)/(decode\|encode)|rkyv-js/$1.$2|`. - -In codegen, `set_direction` emits the new specifiers, so bindings generated with this version require the matching `rkyv-js` release. diff --git a/.changeset/rkyv-pin-0-8-18.md b/.changeset/rkyv-pin-0-8-18.md deleted file mode 100644 index 4886572..0000000 --- a/.changeset/rkyv-pin-0-8-18.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"rkyv-js": patch ---- - -Verified wire-format conformance against rkyv 0.8.18 (the pinned version moved up from 0.8.14). Wire bytes are unchanged between the two, so no codec changes were needed. diff --git a/CHANGELOG.md b/CHANGELOG.md index fe0e7f6..eeb7405 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,30 @@ # rkyv-js +## 0.3.0 + +### Minor Changes + +- 8c65b4d: **BREAKING:** the unidirectional entry points are renamed to match their module names. + + Every direction-split module is a sibling file of the module it splits (`src/lib/hashmap.decode.ts` next to `src/lib/hashmap.ts`), but the export subpath spelled it as a directory. The specifier now mirrors the file: + + | before | after | + | ---------------------------- | ---------------------------- | + | `rkyv-js/lib/hashmap/decode` | `rkyv-js/lib/hashmap.decode` | + | `rkyv-js/lib/hashmap/encode` | `rkyv-js/lib/hashmap.encode` | + | `rkyv-js/jit/decode` | `rkyv-js/jit.decode` | + | `rkyv-js/jit/encode` | `rkyv-js/jit.encode` | + + The same applies to `lib/uuid`, `lib/bytes`, `lib/btreemap`, and `lib/indexmap`. The old specifiers are gone, not deprecated. + + Migrate imports in one pass with `s|rkyv-js/(lib/[a-z]+\|jit)/(decode\|encode)|rkyv-js/$1.$2|`. + + In codegen, `set_direction` emits the new specifiers, so bindings generated with this version require the matching `rkyv-js` release. + +### Patch Changes + +- b2f004b: Verified wire-format conformance against rkyv 0.8.18 (the pinned version moved up from 0.8.14). Wire bytes are unchanged between the two, so no codec changes were needed. + ## 0.2.1 ### Patch Changes diff --git a/package.json b/package.json index 7bc1653..f2caae5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rkyv-js", - "version": "0.2.1", + "version": "0.3.0", "description": "An unofficial library for rkyv (Rust zero-copy serialization framework)", "license": "MIT", "homepage": "https://github.com/cometkim/rkyv-js", diff --git a/rkyv-js-codegen/CHANGELOG.md b/rkyv-js-codegen/CHANGELOG.md index c325298..badf3d2 100644 --- a/rkyv-js-codegen/CHANGELOG.md +++ b/rkyv-js-codegen/CHANGELOG.md @@ -1,5 +1,26 @@ # rkyv-js-codegen +## 0.3.0 + +### Minor Changes + +- 8c65b4d: **BREAKING:** the unidirectional entry points are renamed to match their module names. + + Every direction-split module is a sibling file of the module it splits (`src/lib/hashmap.decode.ts` next to `src/lib/hashmap.ts`), but the export subpath spelled it as a directory. The specifier now mirrors the file: + + | before | after | + | ---------------------------- | ---------------------------- | + | `rkyv-js/lib/hashmap/decode` | `rkyv-js/lib/hashmap.decode` | + | `rkyv-js/lib/hashmap/encode` | `rkyv-js/lib/hashmap.encode` | + | `rkyv-js/jit/decode` | `rkyv-js/jit.decode` | + | `rkyv-js/jit/encode` | `rkyv-js/jit.encode` | + + The same applies to `lib/uuid`, `lib/bytes`, `lib/btreemap`, and `lib/indexmap`. The old specifiers are gone, not deprecated. + + Migrate imports in one pass with `s|rkyv-js/(lib/[a-z]+\|jit)/(decode\|encode)|rkyv-js/$1.$2|`. + + In codegen, `set_direction` emits the new specifiers, so bindings generated with this version require the matching `rkyv-js` release. + ## 0.2.1 ### Patch Changes diff --git a/rkyv-js-codegen/Cargo.toml b/rkyv-js-codegen/Cargo.toml index 510d6db..f4bb4dd 100644 --- a/rkyv-js-codegen/Cargo.toml +++ b/rkyv-js-codegen/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rkyv-js-codegen" # Owned by changesets via rkyv-js-codegen/package.json; see scripts/sync-cargo-version.mjs. -version = "0.2.1" +version = "0.3.0" edition = "2024" license = "MIT" description = "JavaScript/TypeScript code generator for rkyv types" diff --git a/rkyv-js-codegen/package.json b/rkyv-js-codegen/package.json index acc8b86..fddbc0e 100644 --- a/rkyv-js-codegen/package.json +++ b/rkyv-js-codegen/package.json @@ -1,5 +1,5 @@ { "name": "rkyv-js-codegen", - "version": "0.2.1", + "version": "0.3.0", "private": true }