Skip to content

Version Packages - #232

Merged
jsonnull merged 1 commit into
mainfrom
changeset-release/main
Oct 30, 2026
Merged

jsonnull merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

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

electron-trpc@1.0.0

Major Changes

  • #231 bb5a2d9 Thanks @jsonnull! - Breaking change: createIPCHandler registers electron-trpc's preload script itself, on the default session or the sessions passed as preload: { sessions }, so apps no longer need one. Apps that expose electron-trpc from their own preload script pass preload: false and import exposeElectronTRPC from electron-trpc/preload instead of electron-trpc/main. If a build bundles electron-trpc without its preload script, createIPCHandler throws an error explaining how to expose it from your own preload script instead.

  • #231 bb5a2d9 Thanks @jsonnull! - Breaking change: createIPCHandler returns a Disposable handler that serves every window, replacing the windows option and attachWindow/detachWindow. Requests are cancelled when their page navigates away, reloads, crashes or closes, and disposing the handler cancels everything still running.

  • #231 bb5a2d9 Thanks @jsonnull! - Breaking change: Requires tRPC 11 and Electron 35 or later. Pass transformers to ipcLink instead of the client, as with tRPC 11's other links.

Minor Changes

  • #231 bb5a2d9 Thanks @jsonnull! - Add an allow option to createIPCHandler, which decides whether to handle each request, e.g. based on event.senderFrame.url. Rejected requests fail with a FORBIDDEN error.

Patch Changes

www@0.0.2

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from d3c9f02 to dd37888 Compare October 30, 2026 03:05
@jsonnull
jsonnull merged commit 8cb68a7 into main Oct 30, 2026
@jsonnull
jsonnull deleted the changeset-release/main branch October 30, 2026 03:06
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