Upcoming Release Changes - #181
Merged
Merged
Conversation
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
@soundxyz/graphql-react-ws@3.0.3
Patch Changes
5fe13f6Thanks @jswirbs! - Add
syncStoreoption touseSubscription(default
true). SetsyncStore: falsewhen consuming events only viaonData/onErrorto skipmirroring each result into the valtio store — avoiding a React re-render of the calling component
on every subscription frame. Important for high-frequency fan-out (e.g. chat reactions). Returned
data/errordo not update whilesyncStoreisfalse.@soundxyz/graphql-react-query-example-next@1.0.62
Patch Changes
[
5fe13f6]:Note
Low Risk
Release-only version and changelog updates; the underlying change is an opt-in subscription performance flag with default behavior unchanged.
Overview
Changesets release that publishes
@soundxyz/graphql-react-ws@3.0.3and bumps the Next example to 1.0.62 on the new dependency.The release documents
syncStoreonuseSubscription(defaulttrue). WithsyncStore: false, subscription frames are handled viaonData/onErroronly—results are not mirrored into the valtio store, so the hook’s component does not re-render on every message (useful for high-frequency subscriptions). Returneddataanderrorstay stale whilesyncStoreisfalse.This PR’s diff is version/changelog housekeeping (including removal of the consumed changeset); the behavior ships from #180.
Reviewed by Cursor Bugbot for commit be3f55b. Bugbot is set up for automated code reviews on this repo. Configure here.