Changeset: New Version - #707
Merged
Merged
Conversation
Patrick Lafrance (patricklafrance)
deleted the
changeset-release/main
branch
September 3, 2026 16:18
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
@squide/firefly-storybook@3.0.0
Major Changes
#706
d37944eThanks @patricklafrance! - The documented Storybook integration moved tomsw-storybook-addonv3. Applications must update their.storybook/preview.tsxwhen they upgrade the addon — see the migration below.This ships as a major release deliberately, to put the migration in front of every consumer, rather than because the package's own code changed.
@squide/firefly-storybooknever imports the addon: the integration isruntime.requestHandlersfed throughparameters.msw, and that contract is identical across both addon majors.msw-storybook-addonis therefore declared as an optional peer spanning the range actually supported,^2.0.7 || ^3.0.0. Applications already on v2 keep working and are not warned about an addon they installed correctly, and it is optional because the addon belongs to the Storybook application, which is not necessarily the package depending on@squide/firefly-storybook.Why
v3 removed the
initializeexport and movedmswLoaderto themsw-storybook-addon/csf3subpath, where it became a factory. With v3 installed, apreview.tsxwritten against the v2 API throws while the preview module is being evaluated:Because a broken
preview.jsaborts the whole preview, this blanks every story in the Storybook — including trivial ones that use neither MSW nor Squide — which makes the cause hard to spot.Migration
Update
.storybook/preview.tsx:If the application augments Storybook's
Parametersinterface, theMswParameterstype has been replaced byMswParameter:The setup function is optional and only needed to preserve
onUnhandledRequest: "bypass". Without one, v3 creates and starts the worker itself, warning on unhandled requests while filtering common asset and Storybook-internal URLs. Handler reset semantics and bothparameters.mswshapes ([...]and{ handlers }) are unchanged.Two traps to watch for
mswLoaderis a factory and must be called. Leaving the v2 shapeloaders: [mswLoader]still type checks, but Storybook invokes it with the loader context and treats the returned function as loaded data, so handlers are never applied and mocking silently stops with no error.Stay on the CSF 3.0 API shown above. v3's newer
addonMsw()(CSF Next) does not readparameters.mswat all, so adopting it would silently disable mocking in every story that relies on themswparameter — including theruntime.requestHandlerspattern this package documents.Patch Changes
d37944eThanks @patricklafrance! - Updated dependencies to their latest versions.d37944e]:@squide/core@7.5.1
Patch Changes
d37944eThanks @patricklafrance! - Updated dependencies to their latest versions.@squide/env-vars@1.4.24
Patch Changes
d37944eThanks @patricklafrance! - Updated dependencies to their latest versions.d37944e]:@squide/fakes@2.2.23
Patch Changes
d37944eThanks @patricklafrance! - Updated dependencies to their latest versions.d37944e]:@squide/firefly@19.2.1
Patch Changes
d37944eThanks @patricklafrance! - Updated dependencies to their latest versions.d37944e]:@squide/firefly-module-federation@3.0.3
Patch Changes
d37944eThanks @patricklafrance! - Updated dependencies to their latest versions.d37944e]:@squide/firefly-rsbuild-configs@2.2.11
Patch Changes
d37944eThanks @patricklafrance! - Updated dependencies to their latest versions.@squide/firefly-webpack-configs@5.2.13
Patch Changes
d37944eThanks @patricklafrance! - Updated dependencies to their latest versions.@squide/i18next@2.6.2
Patch Changes
d37944eThanks @patricklafrance! - Updated dependencies to their latest versions.d37944e]:@squide/launch-darkly@1.0.17
Patch Changes
d37944eThanks @patricklafrance! - Updated dependencies to their latest versions.d37944e]:@squide/msw@4.1.2
Patch Changes
d37944eThanks @patricklafrance! - Updated dependencies to their latest versions.d37944e]:@squide/react-router@10.2.1
Patch Changes
d37944eThanks @patricklafrance! - Updated dependencies to their latest versions.d37944e]: