-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency msw-storybook-addon to v2 #297
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: frontend/pnpm-lock.yaml
|
|
c9ab2cb
to
641dbf2
Compare
c637c03
to
fff3026
Compare
6d399dc
to
2a35d2f
Compare
ee73056
to
2ad136d
Compare
6c07a4e
to
1e9954a
Compare
1e9954a
to
fa086a8
Compare
fa086a8
to
f072ae7
Compare
9ff2803
to
d557c85
Compare
30f6d1b
to
ee03ff6
Compare
3e9e35f
to
8d329f3
Compare
8d329f3
to
12beb74
Compare
This PR contains the following updates:
^1.10.0
->^2.0.0
Release Notes
mswjs/msw-storybook-addon (msw-storybook-addon)
v2.0.3
Compare Source
🐛 Bug Fix
Authors: 1
v2.0.2
Compare Source
🐛 Bug Fix
MswParameters
handlers type #146 (@jarojasm95)Authors: 1
v2.0.1
Compare Source
🐛 Bug Fix
Authors: 1
v2.0.0
Compare Source
Release Notes
BREAKING CHANGE: Support MSW 2.0 (#122)
MSW required version is now ^2.0.0
The addon now requires your MSW version to be 2.0.0 or higher. This means you will have to change the format of your handlers as well. More info on how to migrate to MSW 2.0.0: https://mswjs.io/docs/migrations/1.x-to-2.x/
mswDecorator is deprecated in favor of mswLoader
Using MSW in a decorator worked for most scenarios, but there's a slight chance the service worker will not get registered in time. As a result, a story that requests data might actually request real data. Since v1.7.0, this addon provided a
mswLoader
to use instead of themswDecorator
. Loaders get executed before a story renders, differently than decorators, which execute as the story renders.Please replace your
mswDecorator
withmswLoader
, as themswDecorator
will be removed in the next major release. It works the same, respecting the parameters you set, so there's no need to change anything else in your codebase.parameters.msw Array notation deprecated in favor of Object notation
Since v1.5.0, this addon started supporting the
parameters.msw.handlers
object format instead of usingparameters.msw
as an Array. This change was done to follow convention for Storybook addon parameters, but also allows for more advanced usage and make the addon more future proof for upcoming features. You can find more information here.Please migrate to this format, and the previous format will be removed in the next major release.
💥 Breaking Change
🐛 Bug Fix
main
Authors: 6
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.