Skip to content

Commit 791db3e

Browse files
rekmarksclaude
andcommitted
docs(changelog): record netlayer phase 2 entries
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 828fd00 commit 791db3e

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

packages/kernel-errors/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
- Add `PeerRestartedError`, `IntentionalCloseError`, and `NetworkStoppedError` sentinel errors for the remote-comms transport ([#948](https://github.com/MetaMask/ocap-kernel/pull/948))
1414
- Add `isTerminalSendError` utility to discriminate retry-worthy from terminal `sendRemoteMessage` errors ([#948](https://github.com/MetaMask/ocap-kernel/pull/948))
1515

16+
### Changed
17+
18+
- Remove the `@libp2p/interface` dependency: `isRetryableNetworkError` now classifies the neutral `ChannelResetError` and matches `MuxerClosedError` by error name instead of importing the libp2p class ([#971](https://github.com/MetaMask/ocap-kernel/pull/971))
19+
1620
## [0.6.0]
1721

1822
### Added

packages/ocap-kernel/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2222
- Accept optional `allowedGlobals` on `VatSupervisor` for custom allowlists
2323
- Log a warning when a vat requests an unknown global
2424
- Export `OcapURLIssuerService` and `OcapURLRedemptionService` types so vats can type the corresponding kernel-service endowments ([#952](https://github.com/MetaMask/ocap-kernel/pull/952))
25+
- Export netlayer-neutral identity helpers `deriveNeutralPeerId`, `neutralPeerIdToPublicKey`, and `publicKeyToNeutralPeerId` (multibase base58btc of the raw Ed25519 public key) ([#971](https://github.com/MetaMask/ocap-kernel/pull/971))
2526

2627
### Changed
2728

2829
- Refactor the remote-comms transport into a transport-neutral channel seam (`NetworkChannel`/`ChannelProvider`), with libp2p touchpoints and error mapping confined to the connection factory; `initTransport`'s public signature is unchanged ([#970](https://github.com/MetaMask/ocap-kernel/pull/970))
30+
- **BREAKING:** Make the kernel's peer identity netlayer-neutral: the peer ID is now the multibase base58btc (`z…`) encoding of the raw Ed25519 public key (previously the libp2p `12D3KooW…` peer ID), and the `ocap:` URL `oid` is encrypted with WebCrypto AES-256-GCM (previously libp2p `AES_GCM`). Persisted `peerId`/`ocapURLKey` and previously issued `ocap:` URLs are incompatible; no migration ([#971](https://github.com/MetaMask/ocap-kernel/pull/971))
2931
- **BREAKING:** Remove `VatConfig.platformConfig.fetch` — migrate to `globals: ['fetch', ...]` + `network.allowedHosts` ([#942](https://github.com/MetaMask/ocap-kernel/pull/942))
3032
- **BREAKING:** `MakeAllowedGlobals` now takes a `{ logger }` options bag ([#942](https://github.com/MetaMask/ocap-kernel/pull/942))
3133
- **BREAKING:** Type `VatConfig.globals` and `Kernel.make`'s `allowedGlobalNames` as `AllowedGlobalName[]` (a literal union) instead of `string[]`; unknown names are now rejected at the `initVat` RPC boundary ([#941](https://github.com/MetaMask/ocap-kernel/pull/941))

0 commit comments

Comments
 (0)