Skip to content
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

Update storybook dependencies (major) - autoclosed #1324

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 11, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@storybook/addon-actions (source) 7.6.17 -> 8.0.9 age adoption passing confidence
@storybook/addon-essentials (source) 7.6.17 -> 8.0.9 age adoption passing confidence
@storybook/addon-interactions (source) 7.6.17 -> 8.0.9 age adoption passing confidence
@storybook/addon-links (source) 7.6.17 -> 8.0.9 age adoption passing confidence
@storybook/addon-viewport (source) 7.6.17 -> 8.0.9 age adoption passing confidence
@storybook/react (source) 7.6.17 -> 8.0.9 age adoption passing confidence
@storybook/react-webpack5 (source) 7.6.17 -> 8.0.9 age adoption passing confidence
msw-storybook-addon (source) ^1.10.0 -> ^2.0.0 age adoption passing confidence
storybook (source) 7.6.17 -> 8.0.9 age adoption passing confidence

Release Notes

storybookjs/storybook (@​storybook/addon-actions)

v8.0.9

Compare Source

v8.0.8

Compare Source

v8.0.7

Compare Source

v8.0.6

Compare Source

v8.0.5

Compare Source

v8.0.4

Compare Source

v8.0.3

Compare Source

v8.0.2

Compare Source

v8.0.1

Compare Source

v8.0.0

Compare Source

Storybook 8.0 is here

It brings major improvements to Storybook's feature set for testing and documentation, with strengthened framework support across React, Vue, Angular, web-components, Svelte, and more.

  • 🩻 Built-in visual testing
  • ⚛️ React Server Component support
  • 🎛️ Improved controls for React and Vue projects
  • ⚡️ Improved Vite architecture, Vitest testing, and Vite 5 support
  • 🧪 2-4x faster Storybooks for testing
  • ✨ Refreshed desktop UI
  • 📲 Rebuilt mobile UX
  • 🙅‍♀️ No more React requirement in non-React projects

Please checkout our Migration Guide to upgrade from earlier versions of Storybook. To see a comprehensive list of changes that went into 8.0, you can refer to the 8.0 prerelease changelogs.

storybookjs/storybook (@​storybook/addon-essentials)

v8.0.9

Compare Source

v8.0.8

Compare Source

v8.0.7

Compare Source

v8.0.6

Compare Source

v8.0.5

Compare Source

v8.0.4

Compare Source

v8.0.3

Compare Source

v8.0.2

Compare Source

v8.0.1

Compare Source

v8.0.0

Compare Source

Storybook 8.0 is here

It brings major improvements to Storybook's feature set for testing and documentation, with strengthened framework support across React, Vue, Angular, web-components, Svelte, and more.

  • 🩻 Built-in visual testing
  • ⚛️ React Server Component support
  • 🎛️ Improved controls for React and Vue projects
  • ⚡️ Improved Vite architecture, Vitest testing, and Vite 5 support
  • 🧪 2-4x faster Storybooks for testing
  • ✨ Refreshed desktop UI
  • 📲 Rebuilt mobile UX
  • 🙅‍♀️ No more React requirement in non-React projects

Please checkout our Migration Guide to upgrade from earlier versions of Storybook. To see a comprehensive list of changes that went into 8.0, you can refer to the 8.0 prerelease changelogs.

storybookjs/storybook (@​storybook/addon-links)

v8.0.9

Compare Source

v8.0.8

Compare Source

v8.0.7

Compare Source

v8.0.6

Compare Source

v8.0.5

Compare Source

v8.0.4

Compare Source

v8.0.3

Compare Source

v8.0.2

Compare Source

v8.0.1

Compare Source

v8.0.0

Compare Source

Storybook 8.0 is here

It brings major improvements to Storybook's feature set for testing and documentation, with strengthened framework support across React, Vue, Angular, web-components, Svelte, and more.

  • 🩻 Built-in visual testing
  • ⚛️ React Server Component support
  • 🎛️ Improved controls for React and Vue projects
  • ⚡️ Improved Vite architecture, Vitest testing, and Vite 5 support
  • 🧪 2-4x faster Storybooks for testing
  • ✨ Refreshed desktop UI
  • 📲 Rebuilt mobile UX
  • 🙅‍♀️ No more React requirement in non-React projects

Please checkout our Migration Guide to upgrade from earlier versions of Storybook. To see a comprehensive list of changes that went into 8.0, you can refer to the 8.0 prerelease changelogs.

storybookjs/storybook (@​storybook/react-webpack5)

v8.0.9

Compare Source

v8.0.8

Compare Source

v8.0.7

Compare Source

v8.0.6

Compare Source

v8.0.5

Compare Source

v8.0.4

Compare Source

v8.0.3

Compare Source

v8.0.2

Compare Source

v8.0.1

Compare Source

v8.0.0

Compare Source

Storybook 8.0 is here

It brings major improvements to Storybook's feature set for testing and documentation, with strengthened framework support across React, Vue, Angular, web-components, Svelte, and more.

  • 🩻 Built-in visual testing
  • ⚛️ React Server Component support
  • 🎛️ Improved controls for React and Vue projects
  • ⚡️ Improved Vite architecture, Vitest testing, and Vite 5 support
  • 🧪 2-4x faster Storybooks for testing
  • ✨ Refreshed desktop UI
  • 📲 Rebuilt mobile UX
  • 🙅‍♀️ No more React requirement in non-React projects

Please checkout our Migration Guide to upgrade from earlier versions of Storybook. To see a comprehensive list of changes that went into 8.0, you can refer to the 8.0 prerelease changelogs.

mswjs/msw-storybook-addon (msw-storybook-addon)

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 the mswDecorator. Loaders get executed before a story renders, differently than decorators, which execute as the story renders.

Please replace your mswDecorator with mswLoader, as the mswDecorator 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.

// .storybook/preview.js
-import { initialize, mswDecorator } from 'msw-storybook-addon'
+import { initialize, mswLoader } from 'msw-storybook-addon'

initialize()

const preview = {
-  decorators: [mswDecorator]
+  loaders: [mswLoader]
}

export default preview
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 using parameters.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.

// ❌ Instead of defining the msw parameter like so:
export const MyStory = {
  parameters: {
    msw: [...] // some handlers here
  }
}

// ✅ You should set them like so:
export const MyStory = {
  parameters: {
    msw: {
      handlers: [...] // some handlers here
    }
  }
}
// ✅ Or like so:
export const MyStory = {
  parameters: {
    msw: {
      handlers: {
        someHandlerName: [...] // some handlers here
      }
    }
  }
}

💥 Breaking Change
🐛 Bug Fix
⚠️ Pushed to main
Authors: 6

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-storybook-dependencies branch 13 times, most recently from 003683c to e2d3932 Compare March 19, 2024 18:19
@renovate renovate bot force-pushed the renovate/major-storybook-dependencies branch 13 times, most recently from 4b0079c to 72b5bd9 Compare March 28, 2024 02:11
@renovate renovate bot force-pushed the renovate/major-storybook-dependencies branch 6 times, most recently from 6ceae5c to aeb48c7 Compare April 10, 2024 09:41
@renovate renovate bot force-pushed the renovate/major-storybook-dependencies branch 16 times, most recently from 7bcfe1a to d0e6445 Compare April 17, 2024 12:31
@renovate renovate bot changed the title Update storybook dependencies to v8 (major) Update storybook dependencies (major) Apr 17, 2024
@renovate renovate bot force-pushed the renovate/major-storybook-dependencies branch 2 times, most recently from 0c1cb36 to 74faec5 Compare April 22, 2024 15:59
@renovate renovate bot force-pushed the renovate/major-storybook-dependencies branch from 74faec5 to 99d9009 Compare April 23, 2024 07:53
@renovate renovate bot changed the title Update storybook dependencies (major) Update storybook dependencies (major) - autoclosed Apr 26, 2024
@renovate renovate bot closed this Apr 26, 2024
@renovate renovate bot deleted the renovate/major-storybook-dependencies branch April 26, 2024 13:51
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.

0 participants