Skip to content

Commit ebc6ced

Browse files
committed
Merge branch 'next' into shilman/add-dev-cancel-event
2 parents 09e097b + 4dad3f9 commit ebc6ced

File tree

54 files changed

+173
-104
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+173
-104
lines changed

CHANGELOG.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,58 @@
1+
## 9.1.0
2+
3+
Storybook 9.1 is packed with new features and improvements to enhance accessibility, streamline testing, and make your development workflow even smoother!
4+
5+
🚀 Improved upgrade command with monorepo support for seamless upgrades
6+
🅰 Angular fixes for Tailwind 4, cache busting, and zoneless compatibility
7+
🧪 `sb.mock` API and Automocking: one-line module mocking to simplify your testing workflow
8+
🧪 Favicon shows test run status for quick visual feedback
9+
⚛️ Easier configuration for React Native projects
10+
🔥 Auto-abort play functions on HMR to avoid unwanted side effects
11+
🏗️ Improved CSF factories API for type safe story definitions
12+
♿️ A11y improvements across Storybook’s UI — addon panel, toolbar, sidebar, mobile & more
13+
💯 Dozens more fixes and improvements based on community feedback!
14+
15+
<details>
16+
<summary>List of all updates</summary>
17+
18+
- A11y: Improved toolbar a11y by fixing semantics - [#28672](https://github.com/storybookjs/storybook/pull/28672), thanks @mehm8128!
19+
- Addon Vitest: Remove Optimize deps candidates due to Vitest warnings - [#31809](https://github.com/storybookjs/storybook/pull/31809), thanks @valentinpalkovic!
20+
- Angular: Bundle using TSup - [#31690](https://github.com/storybookjs/storybook/pull/31690), thanks @ndelangen!
21+
- Angular: Prevent directory import in Angular builders - [#32012](https://github.com/storybookjs/storybook/pull/32012), thanks @ghengeveld!
22+
- Automigration: Await updateMainConfig in removeEssentials - [#32140](https://github.com/storybookjs/storybook/pull/32140), thanks @valentinpalkovic!
23+
- Builder-Vite: Fix logic related to setting allowedHosts when IP address used - [#31472](https://github.com/storybookjs/storybook/pull/31472), thanks @JSMike!
24+
- Controls: Improve the accessibility of the object control - [#31581](https://github.com/storybookjs/storybook/pull/31581), thanks @Sidnioulz!
25+
- Core: Abort play function on HMR - [#31542](https://github.com/storybookjs/storybook/pull/31542), thanks @ghengeveld!
26+
- Core: Avoid pausing animations in non-Vitest Playwright environments - [#32123](https://github.com/storybookjs/storybook/pull/32123), thanks @ghengeveld!
27+
- Core: Cleanup of type following up v9 and small verbatimModuleSyntax type fix - [#31823](https://github.com/storybookjs/storybook/pull/31823), thanks @alcpereira!
28+
- Core: Fix aria-controls attribute on sidebar nodes to include all children - [#31491](https://github.com/storybookjs/storybook/pull/31491), thanks @candrepa1!
29+
- Core: Fix horizontal scrollbar covering part of the toolbar - [#31704](https://github.com/storybookjs/storybook/pull/31704), thanks @Sidnioulz!
30+
- Core: Fix moving log file across drives and projectRoot detection on Windows - [#32020](https://github.com/storybookjs/storybook/pull/32020), thanks @ghengeveld!
31+
- Core: Prevent interactions panel from flickering and showing incorrect state - [#32150](https://github.com/storybookjs/storybook/pull/32150), thanks @ghengeveld!
32+
- Core: Serve dynamic favicon based on testing module status - [#31763](https://github.com/storybookjs/storybook/pull/31763), thanks @ghengeveld!
33+
- Core: Support container queries in addon panels - [#23261](https://github.com/storybookjs/storybook/pull/23261), thanks @neil-morrison44!
34+
- CSF Factories: Add parameters/globals types, `extend` API, portable stories - [#30601](https://github.com/storybookjs/storybook/pull/30601), thanks @kasperpeulen!
35+
- CSF: Improve controls parameters - [#31745](https://github.com/storybookjs/storybook/pull/31745), thanks @kasperpeulen!
36+
- CSF: Improve docs parameter types - [#31736](https://github.com/storybookjs/storybook/pull/31736), thanks @kasperpeulen!
37+
- CSF: Only add preview annotations to definePreview in csf-factories automigration - [#31727](https://github.com/storybookjs/storybook/pull/31727), thanks @kasperpeulen!
38+
- Docs: Update @storybook/icons - [#32144](https://github.com/storybookjs/storybook/pull/32144), thanks @valentinpalkovic!
39+
- Docs: Update `react-element-to-jsx-string` - [#31170](https://github.com/storybookjs/storybook/pull/31170), thanks @7rulnik!
40+
- Init: Exclude mdx stories when docs feature isn't selected during init - [#32142](https://github.com/storybookjs/storybook/pull/32142), thanks @valentinpalkovic!
41+
- Maintenance: Add flag to toggle default automigrations - [#32113](https://github.com/storybookjs/storybook/pull/32113), thanks @yannbf!
42+
- React Native Web: Simplify config by using vite-plugin-rnw - [#32051](https://github.com/storybookjs/storybook/pull/32051), thanks @dannyhw!
43+
- Telemetry: Add automigration errors - [#32103](https://github.com/storybookjs/storybook/pull/32103), thanks @yannbf!
44+
- Telemetry: Fix `project.json` for getAbsolutePath - [#31510](https://github.com/storybookjs/storybook/pull/31510), thanks @ndelangen!
45+
- Test: Add mock capabilities - [#31987](https://github.com/storybookjs/storybook/pull/31987), thanks @valentinpalkovic!
46+
- Test: Consider exports map - [#32157](https://github.com/storybookjs/storybook/pull/32157), thanks @valentinpalkovic!
47+
- Test: Fix missing source map for Webpack/Vite mock loaders and plugins - [#32111](https://github.com/storybookjs/storybook/pull/32111), thanks @valentinpalkovic!
48+
- Test: Invalidate vite cache for manual mocks - [#32152](https://github.com/storybookjs/storybook/pull/32152), thanks @valentinpalkovic!
49+
- Test: Remove source map generation from webpack automock-loader - [#32115](https://github.com/storybookjs/storybook/pull/32115), thanks @valentinpalkovic!
50+
- UI: Apply user updates for mobile navigation accessibility - [#31401](https://github.com/storybookjs/storybook/pull/31401), thanks @yatishgoel!
51+
- UI: Fix interaction step collapse icon - [#31853](https://github.com/storybookjs/storybook/pull/31853), thanks @AvitalHass!
52+
- UI: Visual focus indicators (VFIs) aren't visible in high contrast mode (rebase) - [#31848](https://github.com/storybookjs/storybook/pull/31848), thanks @Sidnioulz!
53+
54+
</details>
55+
156
## 9.0.18
257

358
- CLI: Fix Storybook doctor compatibility checks - [#32077](https://github.com/storybookjs/storybook/pull/32077), thanks @yannbf!

CHANGELOG.prerelease.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 9.2.0-alpha.0
2+
3+
14
## 9.1.0-beta.3
25

36
- Core: Prevent interactions panel from flickering and showing incorrect state - [#32150](https://github.com/storybookjs/storybook/pull/32150), thanks @ghengeveld!

MIGRATION.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1703,15 +1703,13 @@ These sections explain the rationale, and the required changes you might have to
17031703

17041704
### Deprecated `@storybook/testing-library` package
17051705

1706-
@@ -1082,7 +800,7 @@ To migrate by hand, install `@storybook/test` and replace `@storybook/testing-li
1706+
The `@storybook/testing-library` package has been deprecated with the release of Storybook 8.0, and we recommend using the `@storybook/test` package instead. If you're migrating manually, you'll need to install the new package and update your imports as follows:
17071707

1708-
```ts
1708+
```diff
17091709
- import { userEvent } from '@storybook/testing-library';
17101710
+ import { userEvent } from '@storybook/test';
17111711
```
17121712

1713-
For more information on the change, see the [announcement post](https://storybook.js.org/blog/storybook-test/).
1714-
17151713
### Framework-specific Vite plugins have to be explicitly added
17161714

17171715
In Storybook 7, we would automatically add frameworks-specific Vite plugins, e.g. `@vitejs/plugin-react` if not installed.

code/addons/a11y/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@storybook/addon-a11y",
3-
"version": "9.1.0-beta.3",
3+
"version": "9.2.0-alpha.0",
44
"description": "Test component compliance with web accessibility standards",
55
"keywords": [
66
"a11y",

code/addons/docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@storybook/addon-docs",
3-
"version": "9.1.0-beta.3",
3+
"version": "9.2.0-alpha.0",
44
"description": "Document component usage and properties in Markdown",
55
"keywords": [
66
"addon",

code/addons/jest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@storybook/addon-jest",
3-
"version": "9.1.0-beta.3",
3+
"version": "9.2.0-alpha.0",
44
"description": "React storybook addon that show component jest report",
55
"keywords": [
66
"addon",

code/addons/links/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@storybook/addon-links",
3-
"version": "9.1.0-beta.3",
3+
"version": "9.2.0-alpha.0",
44
"description": "Link stories together to build demos and prototypes with your UI components",
55
"keywords": [
66
"storybook-addons",

code/addons/onboarding/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@storybook/addon-onboarding",
3-
"version": "9.1.0-beta.3",
3+
"version": "9.2.0-alpha.0",
44
"description": "Storybook Addon Onboarding - Introduces a new onboarding experience",
55
"keywords": [
66
"storybook-addons",

code/addons/pseudo-states/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "storybook-addon-pseudo-states",
3-
"version": "9.1.0-beta.3",
3+
"version": "9.2.0-alpha.0",
44
"description": "CSS pseudo states for Storybook",
55
"keywords": [
66
"storybook",

code/addons/themes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@storybook/addon-themes",
3-
"version": "9.1.0-beta.3",
3+
"version": "9.2.0-alpha.0",
44
"description": "Switch between multiple themes for you components in Storybook",
55
"keywords": [
66
"css",

0 commit comments

Comments
 (0)