Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"code/lib/codemod/src/transforms/__testfixtures__",
"code/frameworks/angular/template/**",
"code/lib/eslint-plugin",
"docs/versions/*.json",
".prettierrc",
"test-storybooks",
"*.yml",
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 10.3.5

- Core: Disable component manifest by default - [#34408](https://github.com/storybookjs/storybook/pull/34408), thanks @yannbf!

> [!NOTE]
> [Version >=0.5.0 of `@storybook/addon-mcp`](https://github.com/storybookjs/mcp/releases/tag/%40storybook%2Faddon-mcp%400.5.0) enables component manifests again. If you're upgrading Storybook from version >= 10.3.0 to >= 10.3.5 and are using the MCP addon, you should also upgrade `@storybook/addon-mcp` to keep the docs toolset in the MCP server.

## 10.3.4
Comment thread
JReinhold marked this conversation as resolved.

- Addon-a11y: Clear status transition timer on unmount to prevent test flake - [#34203](https://github.com/storybookjs/storybook/pull/34203), thanks @mixelburg!
Expand Down
2 changes: 1 addition & 1 deletion code/addons/docs/docs/props-tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Props tables are automatically inferred from your components and stories, but so

Props tables are rendered from an internal data structure called `ArgTypes`. When you declare a story's `component` metadata, Docs automatically extracts `ArgTypes` based on the component's properties.

You can can customize what's shown in the props table by [customizing the `ArgTypes` data](#customizing-argtypes). This is currently available for `DocsPage` and `<ArgsTable story="xxx">` construct, but not for the `<ArgsTable of={component} />` construct,
You can customize what's shown in the props table by [customizing the `ArgTypes` data](#customizing-argtypes). This is currently available for `DocsPage` and `<ArgsTable story="xxx">` construct, but not for the `<ArgsTable of={component} />` construct,

### Customizing ArgTypes

Expand Down
2 changes: 1 addition & 1 deletion code/core/src/core-server/presets/common-preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export const features: PresetProperty<'features'> = async (existing) => ({
outline: true,
measure: true,
sidebarOnboardingChecklist: true,
componentsManifest: true,
componentsManifest: false,
});

export const csfIndexer: Indexer = {
Expand Down
2 changes: 1 addition & 1 deletion code/core/src/csf-tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ An experimental library to read, analyze, transform, and write CSF programmatica
- Analyze - Extract its metadata & stories based on the Babel AST
- Write - Write the AST back to a file

It can can parse MDX into CSF.
It can parse MDX into CSF.

Coming soon:

Expand Down
2 changes: 1 addition & 1 deletion code/core/src/shared/universal-store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export class UniversalStore<
/**
* The syncing construct is used to keep track of if the instance's state has been synced with the
* other instances. A leader will immediately have the promise resolved. A follower will initially
* be in a PENDING state, and resolve the the leader has sent the existing state, or reject if no
* be in a PENDING state, and resolve when the leader has sent the existing state, or reject if no
* leader has responded before the timeout.
*/
private syncing?: {
Expand Down
2 changes: 1 addition & 1 deletion code/core/src/types/modules/core-common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ export interface StorybookConfigRaw {
/**
* Enable component manifest generation for MCP and other tooling integrations.
*
* @default true
* @default false
*/
componentsManifest?: boolean;

Expand Down
3 changes: 2 additions & 1 deletion code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,5 +195,6 @@
"Dependency Upgrades"
]
]
}
},
"deferredNextVersion": "10.3.5"
}
8 changes: 4 additions & 4 deletions docs/_snippets/main-config-features-components-manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
framework: '@storybook/your-framework',
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
features: {
componentsManifest: false,
componentsManifest: true,
},
};
```
Expand All @@ -17,7 +17,7 @@ const config: StorybookConfig = {
framework: '@storybook/your-framework',
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
features: {
componentsManifest: false,
componentsManifest: true,
},
};

Expand All @@ -32,7 +32,7 @@ export default defineMain({
framework: '@storybook/your-framework',
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
features: {
componentsManifest: false,
componentsManifest: true,
},
});
```
Expand All @@ -47,7 +47,7 @@ export default defineMain({
framework: '@storybook/your-framework',
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
features: {
componentsManifest: false,
componentsManifest: true,
},
});
```
2 changes: 1 addition & 1 deletion docs/api/main-config/main-config-features.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Enable the [Backgrounds](../../essentials/backgrounds.mdx) feature.

Type: `boolean`

Default: `true`
Default: `false`

Generate [manifests](../../ai/manifests.mdx), used by the [MCP server](../../ai/mcp/overview.mdx).

Expand Down
7 changes: 1 addition & 6 deletions docs/versions/latest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
{
"version": "10.3.4",
"info": {
"plain": "- Addon-a11y: Clear status transition timer on unmount to prevent test flake - [#34203](https://github.com/storybookjs/storybook/pull/34203), thanks @mixelburg!\n- Bug: Skip re-processing already transformed config files for CSF factories - [#34273](https://github.com/storybookjs/storybook/pull/34273), thanks @huang-julien!\n- Builder-Vite: Use djb2 hash to prevent variable name collisions in builder-vite - [#34274](https://github.com/storybookjs/storybook/pull/34274), thanks @chida09!\n- CLI: Prompt for init crash reports - [#34316](https://github.com/storybookjs/storybook/pull/34316), thanks @JReinhold!\n- CSF4: Fix duplicate preview loading issue in Vitest - [#34361](https://github.com/storybookjs/storybook/pull/34361), thanks @valentinpalkovic!\n- Core: Fix WebSocket connection for StackBlitz/WebContainers - [#34281](https://github.com/storybookjs/storybook/pull/34281), thanks @ghengeveld!\n- React-Docgen: Try .tsx fallback when resolving .js ESM imports in docgen resolvers - [#34393](https://github.com/storybookjs/storybook/pull/34393), thanks @mixelburg!\n- React-Vite: Upgrade @joshwooding/vite-plugin-react-docgen-typescript to 0.7.0 - [#34335](https://github.com/storybookjs/storybook/pull/34335), thanks @beeswhacks!"
}
}
{"version":"10.3.5","info":{"plain":"- Core: Disable component manifest by default - [#34408](https://github.com/storybookjs/storybook/pull/34408), thanks @yannbf!"}}
7 changes: 1 addition & 6 deletions docs/versions/next.json
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
{
"version": "10.4.0-alpha.3",
"info": {
"plain": "- Addon-Vitest: Streamline vite(st) config detection across init and postinstall - [#34193](https://github.com/storybookjs/storybook/pull/34193), thanks @valentinpalkovic!\n- Angular: Use Story ID for renderer IDs (including standalone stories) - [#33982](https://github.com/storybookjs/storybook/pull/33982), thanks @ValentinFunk!\n- Bug: Skip re-processing already transformed config files for CSF factories - [#34273](https://github.com/storybookjs/storybook/pull/34273), thanks @huang-julien!\n- CLI: Shorten CTA link messages - [#34236](https://github.com/storybookjs/storybook/pull/34236), thanks @shilman!\n- React Native Web: Fix vite8 support by bumping vite-plugin-rnw - [#34231](https://github.com/storybookjs/storybook/pull/34231), thanks @dannyhw!"
}
}
{"version":"10.4.0-alpha.7","info":{"plain":"- CLI: Explicitly tell whether smoke tests passed or failed - [#34419](https://github.com/storybookjs/storybook/pull/34419), thanks @Sidnioulz!\n- Core: Add `ChangeDetectionService` and wire up builder-vite - [#34369](https://github.com/storybookjs/storybook/pull/34369), thanks @ghengeveld!\n- Maintenance: Extract parseFilterParam shared helper from tags and statuses modules - [#34436](https://github.com/storybookjs/storybook/pull/34436), thanks @mixelburg!\n- Sidebar: Add status-based filtering with refactored status architecture - [#34339](https://github.com/storybookjs/storybook/pull/34339), thanks @valentinpalkovic!\n- UI: Fix global shortcuts not showing region focus indicator - [#34201](https://github.com/storybookjs/storybook/pull/34201), thanks @Sidnioulz!"}}
Loading