Skip to content

Version Packages#208

Merged
teamchong merged 1 commit into
mainfrom
changeset-release/main
Jul 7, 2026
Merged

Version Packages#208
teamchong merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

capnweb@0.10.0

Minor Changes

Patch Changes

  • #190 6e5c562 Thanks @taylorodell! - Several correctness and robustness fixes:

    • Error deserialization no longer resolves an attacker-supplied error type name to an inherited Object.prototype member. ERROR_TYPES now has a null prototype, so a wire value such as ["error","constructor",...] no longer resolves to Object (which produced a String wrapper instead of an Error, bypassing instanceof Error checks), and a name like "toString" no longer resolves to a non-constructor and throws. Unknown names correctly fall back to Error.
    • Error deserialization now filters inherited Object.prototype keys (and toJSON) out of an error's own-property bag, matching the behavior already applied when deserializing plain objects. Keys such as __proto__, toString, and valueOf are no longer copied onto deserialized errors.
    • Resolving an import that has already been resolved now disposes the redundant resolution instead of overwriting (and leaking) the previous one.
    • The abort message handler now hands error handlers the unwrapped abort reason rather than the internal payload wrapper, matching the reject handler.
    • WebSocket close reasons longer than the 123-byte limit are now truncated on a UTF-8 character boundary, so aborting a session with a long reason no longer throws from WebSocket.close().

@github-actions github-actions Bot force-pushed the changeset-release/main branch from d0049b5 to a2e48f9 Compare July 7, 2026 01:18
@pkg-pr-new

pkg-pr-new Bot commented Jul 7, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/cloudflare/capnweb@208

commit: a2e48f9

@teamchong teamchong merged commit 92baaed into main Jul 7, 2026
9 checks passed
@teamchong teamchong deleted the changeset-release/main branch July 7, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant