Repository navigation
Version Packages - #232
Merged
Merged
Version Packages#232
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 30, 2026 03:05
d3c9f02 to
dd37888
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
bb5a2d9Thanks @jsonnull! - Breaking change:createIPCHandlerregisters electron-trpc's preload script itself, on the default session or the sessions passed aspreload: { sessions }, so apps no longer need one. Apps that expose electron-trpc from their own preload script passpreload: falseand importexposeElectronTRPCfromelectron-trpc/preloadinstead ofelectron-trpc/main. If a build bundles electron-trpc without its preload script,createIPCHandlerthrows an error explaining how to expose it from your own preload script instead.#231
bb5a2d9Thanks @jsonnull! - Breaking change:createIPCHandlerreturns aDisposablehandler that serves every window, replacing thewindowsoption andattachWindow/detachWindow. Requests are cancelled when their page navigates away, reloads, crashes or closes, and disposing the handler cancels everything still running.#231
bb5a2d9Thanks @jsonnull! - Breaking change: Requires tRPC 11 and Electron 35 or later. Pass transformers toipcLinkinstead of the client, as with tRPC 11's other links.Minor Changes
bb5a2d9Thanks @jsonnull! - Add anallowoption tocreateIPCHandler, which decides whether to handle each request, e.g. based onevent.senderFrame.url. Rejected requests fail with aFORBIDDENerror.Patch Changes
bb5a2d9Thanks @jsonnull! - Fix responses reaching the wrong client when a page has several (Incorrect data is returned when using multiple clients #201), types not resolving withmoduleResolution: bundler(Error when used with moduleResolution: Bundler #229),instanceof TRPCClientErrorfailing in the renderer (Unable to use instanceof TRPCClientError #209), and electron-trpc not working in sandboxed renderers (Not compatible with default sandbox mode of Electron 20+ #116).www@0.0.2