Skip to content

chore(release): 📦 version packages (canary)#32

Merged
johncarmack1984 merged 2 commits into
mainfrom
changeset-release/main
May 8, 2026
Merged

chore(release): 📦 version packages (canary)#32
johncarmack1984 merged 2 commits into
mainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown

@github-actions github-actions Bot commented May 8, 2026

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.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@fltsci/taurpc@2.0.0-canary.8

Patch Changes

  • #31 e65f48e Thanks @johncarmack1984! - Allow Channels to be reused across multiple TauRPC command invocations.

    Previously, when a command argument contained a Channel<T> and the runtime ran a transform pass (e.g. semantic-types decoding), the generated TS proxy mutated the original channel's onmessage handler in place. Passing the same channel to a second command (or any code path that re-invoked the proxy) would re-wrap the already-wrapped handler, double-decoding payloads.

    The proxy now wraps via new Channel((response) => v.onmessage(transform(response))) instead of mutating, so the original channel is untouched and safe to reuse.

    Generated bindings now import Channel from @tauri-apps/api/core whenever the affected transform path is reachable.

@johncarmack1984 johncarmack1984 merged commit 90a2736 into main May 8, 2026
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