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
21 changes: 0 additions & 21 deletions .changeset/nervous-donkeys-repeat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rkyv-pin-0-8-18.md

This file was deleted.

25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
21 changes: 21 additions & 0 deletions rkyv-js-codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion rkyv-js-codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion rkyv-js-codegen/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "rkyv-js-codegen",
"version": "0.2.1",
"version": "0.3.0",
"private": true
}
Loading