You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Core: Improve addon detection in automigrations on windows - #31937, thanks @mrginglymus!
Next.js: Return mocked router instead of actual router in useRouter - #32131, thanks @JulioJ11!
Telemetry: Improve dev cancellation handling - #32218, thanks @shilman!
v9.2.0-alpha.2
9.2.0-alpha.2
Onboarding: Tweak referral wording in survey - #32185, thanks @shilman!
v9.1.1
9.1.1
CLI: Fix throwing in readonly environments - #31785, thanks @JReinhold!
Onboarding: Tweak referral wording in survey - #32185, thanks @shilman!
Telemetry: Send index stats on dev exit - #32168, thanks @shilman!
v9.2.0-alpha.1
9.2.0-alpha.1
Addon Docs: Add __STORYBOOK_UNSAFE_TOCBOT__ global - #32176, thanks @yannbf!
CLI: Fix throwing in readonly environments - #31785, thanks @JReinhold!
Telemetry: Send index stats on dev exit - #32168, thanks @shilman!
v9.2.0-alpha.0
9.2.0-alpha.0
v9.1.0
9.1.0
Storybook 9.1 is packed with new features and improvements to enhance accessibility, streamline testing, and make your development workflow even smoother!
🚀 Improved upgrade command with monorepo support for seamless upgrades
🅰 Angular fixes for Tailwind 4, cache busting, and zoneless compatibility
🧪 sb.mock API and Automocking: one-line module mocking to simplify your testing workflow
🧪 Favicon shows test run status for quick visual feedback
⚛️ Easier configuration for React Native projects
🔥 Auto-abort play functions on HMR to avoid unwanted side effects
🏗️ Improved CSF factories API for type safe story definitions
♿️ A11y improvements across Storybook’s UI — addon panel, toolbar, sidebar, mobile & more
💯 Dozens more fixes and improvements based on community feedback!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
Controls: Improve the accessibility of the object control - #31581, thanks @Sidnioulz!
Core: Cleanup of type following up v9 and small verbatimModuleSyntax type fix - #31823, thanks @alcpereira!
Core: Disable interactions debugger on composed stories to avoid cross-origin error - #31685, thanks @ghengeveld!
Core: Enhance package manager install methods to support optional force flag - #31796, thanks @valentinpalkovic!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
Core: Improve addon detection in automigrations on windows - #31937, thanks @mrginglymus!
Next.js: Return mocked router instead of actual router in useRouter - #32131, thanks @JulioJ11!
Telemetry: Improve dev cancellation handling - #32218, thanks @shilman!
v9.2.0-alpha.2
9.2.0-alpha.2
Onboarding: Tweak referral wording in survey - #32185, thanks @shilman!
v9.2.0-alpha.1
9.2.0-alpha.1
Addon Docs: Add __STORYBOOK_UNSAFE_TOCBOT__ global - #32176, thanks @yannbf!
CLI: Fix throwing in readonly environments - #31785, thanks @JReinhold!
Telemetry: Send index stats on dev exit - #32168, thanks @shilman!
v9.2.0-alpha.0
9.2.0-alpha.0
v9.1.0
9.1.0
Storybook 9.1 is packed with new features and improvements to enhance accessibility, streamline testing, and make your development workflow even smoother!
🚀 Improved upgrade command with monorepo support for seamless upgrades
🅰 Angular fixes for Tailwind 4, cache busting, and zoneless compatibility
🧪 sb.mock API and Automocking: one-line module mocking to simplify your testing workflow
🧪 Favicon shows test run status for quick visual feedback
⚛️ Easier configuration for React Native projects
🔥 Auto-abort play functions on HMR to avoid unwanted side effects
🏗️ Improved CSF factories API for type safe story definitions
♿️ A11y improvements across Storybook’s UI — addon panel, toolbar, sidebar, mobile & more
💯 Dozens more fixes and improvements based on community feedback!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
Controls: Improve the accessibility of the object control - #31581, thanks @Sidnioulz!
Core: Cleanup of type following up v9 and small verbatimModuleSyntax type fix - #31823, thanks @alcpereira!
Core: Disable interactions debugger on composed stories to avoid cross-origin error - #31685, thanks @ghengeveld!
Core: Enhance package manager install methods to support optional force flag - #31796, thanks @valentinpalkovic!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
Core: Improve addon detection in automigrations on windows - #31937, thanks @mrginglymus!
Next.js: Return mocked router instead of actual router in useRouter - #32131, thanks @JulioJ11!
Telemetry: Improve dev cancellation handling - #32218, thanks @shilman!
v9.2.0-alpha.2
9.2.0-alpha.2
Onboarding: Tweak referral wording in survey - #32185, thanks @shilman!
v9.1.1
9.1.1
CLI: Fix throwing in readonly environments - #31785, thanks @JReinhold!
Onboarding: Tweak referral wording in survey - #32185, thanks @shilman!
Telemetry: Send index stats on dev exit - #32168, thanks @shilman!
v9.2.0-alpha.1
9.2.0-alpha.1
Addon Docs: Add __STORYBOOK_UNSAFE_TOCBOT__ global - #32176, thanks @yannbf!
CLI: Fix throwing in readonly environments - #31785, thanks @JReinhold!
Telemetry: Send index stats on dev exit - #32168, thanks @shilman!
v9.2.0-alpha.0
9.2.0-alpha.0
v9.1.0
9.1.0
Storybook 9.1 is packed with new features and improvements to enhance accessibility, streamline testing, and make your development workflow even smoother!
🚀 Improved upgrade command with monorepo support for seamless upgrades
🅰 Angular fixes for Tailwind 4, cache busting, and zoneless compatibility
🧪 sb.mock API and Automocking: one-line module mocking to simplify your testing workflow
🧪 Favicon shows test run status for quick visual feedback
⚛️ Easier configuration for React Native projects
🔥 Auto-abort play functions on HMR to avoid unwanted side effects
🏗️ Improved CSF factories API for type safe story definitions
♿️ A11y improvements across Storybook’s UI — addon panel, toolbar, sidebar, mobile & more
💯 Dozens more fixes and improvements based on community feedback!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
Controls: Improve the accessibility of the object control - #31581, thanks @Sidnioulz!
Core: Cleanup of type following up v9 and small verbatimModuleSyntax type fix - #31823, thanks @alcpereira!
Core: Disable interactions debugger on composed stories to avoid cross-origin error - #31685, thanks @ghengeveld!
Core: Enhance package manager install methods to support optional force flag - #31796, thanks @valentinpalkovic!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
Core: Improve addon detection in automigrations on windows - #31937, thanks @mrginglymus!
Next.js: Return mocked router instead of actual router in useRouter - #32131, thanks @JulioJ11!
Telemetry: Improve dev cancellation handling - #32218, thanks @shilman!
v9.2.0-alpha.2
9.2.0-alpha.2
Onboarding: Tweak referral wording in survey - #32185, thanks @shilman!
v9.1.1
9.1.1
CLI: Fix throwing in readonly environments - #31785, thanks @JReinhold!
Onboarding: Tweak referral wording in survey - #32185, thanks @shilman!
Telemetry: Send index stats on dev exit - #32168, thanks @shilman!
v9.2.0-alpha.1
9.2.0-alpha.1
Addon Docs: Add __STORYBOOK_UNSAFE_TOCBOT__ global - #32176, thanks @yannbf!
CLI: Fix throwing in readonly environments - #31785, thanks @JReinhold!
Telemetry: Send index stats on dev exit - #32168, thanks @shilman!
v9.2.0-alpha.0
9.2.0-alpha.0
v9.1.0
9.1.0
Storybook 9.1 is packed with new features and improvements to enhance accessibility, streamline testing, and make your development workflow even smoother!
🚀 Improved upgrade command with monorepo support for seamless upgrades
🅰 Angular fixes for Tailwind 4, cache busting, and zoneless compatibility
🧪 sb.mock API and Automocking: one-line module mocking to simplify your testing workflow
🧪 Favicon shows test run status for quick visual feedback
⚛️ Easier configuration for React Native projects
🔥 Auto-abort play functions on HMR to avoid unwanted side effects
🏗️ Improved CSF factories API for type safe story definitions
♿️ A11y improvements across Storybook’s UI — addon panel, toolbar, sidebar, mobile & more
💯 Dozens more fixes and improvements based on community feedback!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
Controls: Improve the accessibility of the object control - #31581, thanks @Sidnioulz!
Core: Cleanup of type following up v9 and small verbatimModuleSyntax type fix - #31823, thanks @alcpereira!
Core: Disable interactions debugger on composed stories to avoid cross-origin error - #31685, thanks @ghengeveld!
Core: Enhance package manager install methods to support optional force flag - #31796, thanks @valentinpalkovic!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
Core: Improve addon detection in automigrations on windows - #31937, thanks @mrginglymus!
Next.js: Return mocked router instead of actual router in useRouter - #32131, thanks @JulioJ11!
Telemetry: Improve dev cancellation handling - #32218, thanks @shilman!
v9.2.0-alpha.2
9.2.0-alpha.2
Onboarding: Tweak referral wording in survey - #32185, thanks @shilman!
v9.1.1
9.1.1
CLI: Fix throwing in readonly environments - #31785, thanks @JReinhold!
Onboarding: Tweak referral wording in survey - #32185, thanks @shilman!
Telemetry: Send index stats on dev exit - #32168, thanks @shilman!
v9.2.0-alpha.1
9.2.0-alpha.1
Addon Docs: Add __STORYBOOK_UNSAFE_TOCBOT__ global - #32176, thanks @yannbf!
CLI: Fix throwing in readonly environments - #31785, thanks @JReinhold!
Telemetry: Send index stats on dev exit - #32168, thanks @shilman!
v9.2.0-alpha.0
9.2.0-alpha.0
v9.1.0
9.1.0
Storybook 9.1 is packed with new features and improvements to enhance accessibility, streamline testing, and make your development workflow even smoother!
🚀 Improved upgrade command with monorepo support for seamless upgrades
🅰 Angular fixes for Tailwind 4, cache busting, and zoneless compatibility
🧪 sb.mock API and Automocking: one-line module mocking to simplify your testing workflow
🧪 Favicon shows test run status for quick visual feedback
⚛️ Easier configuration for React Native projects
🔥 Auto-abort play functions on HMR to avoid unwanted side effects
🏗️ Improved CSF factories API for type safe story definitions
♿️ A11y improvements across Storybook’s UI — addon panel, toolbar, sidebar, mobile & more
💯 Dozens more fixes and improvements based on community feedback!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
Controls: Improve the accessibility of the object control - #31581, thanks @Sidnioulz!
Core: Cleanup of type following up v9 and small verbatimModuleSyntax type fix - #31823, thanks @alcpereira!
Core: Disable interactions debugger on composed stories to avoid cross-origin error - #31685, thanks @ghengeveld!
Core: Enhance package manager install methods to support optional force flag - #31796, thanks @valentinpalkovic!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
Core: Improve addon detection in automigrations on windows - #31937, thanks @mrginglymus!
Next.js: Return mocked router instead of actual router in useRouter - #32131, thanks @JulioJ11!
Telemetry: Improve dev cancellation handling - #32218, thanks @shilman!
v9.2.0-alpha.2
9.2.0-alpha.2
Onboarding: Tweak referral wording in survey - #32185, thanks @shilman!
v9.1.1
9.1.1
CLI: Fix throwing in readonly environments - #31785, thanks @JReinhold!
Onboarding: Tweak referral wording in survey - #32185, thanks @shilman!
Telemetry: Send index stats on dev exit - #32168, thanks @shilman!
v9.2.0-alpha.1
9.2.0-alpha.1
Addon Docs: Add __STORYBOOK_UNSAFE_TOCBOT__ global - #32176, thanks @yannbf!
CLI: Fix throwing in readonly environments - #31785, thanks @JReinhold!
Telemetry: Send index stats on dev exit - #32168, thanks @shilman!
v9.2.0-alpha.0
9.2.0-alpha.0
v9.1.0
9.1.0
Storybook 9.1 is packed with new features and improvements to enhance accessibility, streamline testing, and make your development workflow even smoother!
🚀 Improved upgrade command with monorepo support for seamless upgrades
🅰 Angular fixes for Tailwind 4, cache busting, and zoneless compatibility
🧪 sb.mock API and Automocking: one-line module mocking to simplify your testing workflow
🧪 Favicon shows test run status for quick visual feedback
⚛️ Easier configuration for React Native projects
🔥 Auto-abort play functions on HMR to avoid unwanted side effects
🏗️ Improved CSF factories API for type safe story definitions
♿️ A11y improvements across Storybook’s UI — addon panel, toolbar, sidebar, mobile & more
💯 Dozens more fixes and improvements based on community feedback!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
Controls: Improve the accessibility of the object control - #31581, thanks @Sidnioulz!
Core: Cleanup of type following up v9 and small verbatimModuleSyntax type fix - #31823, thanks @alcpereira!
Core: Disable interactions debugger on composed stories to avoid cross-origin error - #31685, thanks @ghengeveld!
Core: Enhance package manager install methods to support optional force flag - #31796, thanks @valentinpalkovic!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
Co-authored-by: Claude Bot claude-bot@bun.sh
Co-authored-by: Claude noreply@anthropic.com
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
e5e973 fix: HTMLRewriter no longer crashes when element handlers throw exceptions (#21848)
Summary
Comprehensive fixes for multiple HTMLRewriter bugs including crashes,
memory leaks, and improper error handling.
🚨 Primary Issue Fixed (#21680)
HTMLRewriter crash when element handlers throw exceptions -
Process would crash with "ASSERTION FAILED: Unexpected exception
observed" when JavaScript callbacks in element handlers threw exceptions
Solution: Used CatchScope to properly catch and propagate
exceptions through Bun's error handling system
🚨 Additional Bugs Discovered & Fixed
1. Memory Leaks in Selector Handling
Issue: selector_slice string was allocated but never freed when HTMLSelector.parse() failed
Impact: Memory leak on every invalid CSS selector
Fix: Added proper defer/errdefer cleanup in on_() and onDocument_() methods
2. Broken Selector Validation
Issue: Invalid CSS selectors were silently succeeding instead of
throwing meaningful errors
Impact: Silent failures made debugging difficult; invalid
selectors like "", "<<<", "div[" were accepted
Fix: Changed return createLOLHTMLError(global) to return global.throwValue(createLOLHTMLError(global))
3. Resource Cleanup on Handler Creation Failures
Issue: Allocated handlers weren't cleaned up if subsequent
operations failed
Impact: Potential resource leaks in error paths
Fix: Added errdefer blocks for proper handler cleanup
Test plan
Regression test for original crash case
(test/regression/issue/21680.test.ts)
Comprehensive edge case tests
(test/regression/issue/htmlrewriter-additional-bugs.test.ts)
All existing HTMLRewriter tests pass (41 tests, 146
assertions)
Memory leak testing with repeated invalid selector operations
Security testing with malicious inputs, XSS attempts, large
payloads
Concurrent usage testing for thread safety and reuse patterns
Before (multiple bugs):
Crash:
ASSERTION FAILED: Unexpected exception observed on thread Thread:0xf5a15e0000e0 at:
The exception was thrown from thread Thread:0xf5a15e0000e0 at:
Error Exception: abc
!exception() ||m_vm.hasPendingTerminationException()
AddressSanitizer: CHECK failed: asan_poisoning.cpp:37
error: script "bd" was terminated by signal SIGABRT (Abort)
Silent Selector Failures:
// These should throw but silently succeeded:newHTMLRewriter().on("",handler);// empty selectornewHTMLRewriter().on("<<<",handler);// invalid CSS newHTMLRewriter().on("div[",handler);// incomplete attribute
// Now properly throws with descriptive errors:newHTMLRewriter().on("",handler);// Throws: "The selector is empty"newHTMLRewriter().on("<<<",handler);// Throws: "The selector is empty" newHTMLRewriter().on("div[",handler);// Throws: "Unexpected end of selector"
Technical Details
Exception Handling Fix
Used CatchScope to properly catch JavaScript exceptions from
callbacks
Captured exceptions in VM's unhandled_pending_rejection_to_capture
mechanism
Cleared exceptions from scope to prevent assertion failures
Returned failure status to LOLHTML to trigger proper error propagation
Memory Management Fixes
Added defer bun.default_allocator.free(selector_slice) for automatic
cleanup
Added errdefer blocks for handler cleanup on failures
Ensured all error paths properly release allocated resources
Error Handling Improvements
Fixed functions returning bun.JSError!JSValue to properly throw
errors
Distinguished between functions that return errors vs. throw them
Preserved original exception messages through the error chain
Impact
✅ No more process crashes when HTMLRewriter handlers throw
exceptions
✅ No memory leaks from failed selector parsing operations
✅ Proper error messages for invalid CSS selectors with specific
failure reasons
✅ Improved reliability across all edge cases and malicious inputs
✅ Maintains 100% backward compatibility - all existing functionality
preserved
This makes HTMLRewriter significantly more robust and developer-friendly
while maintaining high performance.
Co-authored-by: Claude Bot claude-bot@bun.sh
Co-authored-by: Claude noreply@anthropic.com
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Core: Improve addon detection in automigrations on windows - #31937, thanks @mrginglymus!
Next.js: Return mocked router instead of actual router in useRouter - #32131, thanks @JulioJ11!
Telemetry: Improve dev cancellation handling - #32218, thanks @shilman!
v9.2.0-alpha.2
9.2.0-alpha.2
Onboarding: Tweak referral wording in survey - #32185, thanks @shilman!
v9.1.1
9.1.1
CLI: Fix throwing in readonly environments - #31785, thanks @JReinhold!
Onboarding: Tweak referral wording in survey - #32185, thanks @shilman!
Telemetry: Send index stats on dev exit - #32168, thanks @shilman!
v9.2.0-alpha.1
9.2.0-alpha.1
Addon Docs: Add __STORYBOOK_UNSAFE_TOCBOT__ global - #32176, thanks @yannbf!
CLI: Fix throwing in readonly environments - #31785, thanks @JReinhold!
Telemetry: Send index stats on dev exit - #32168, thanks @shilman!
v9.2.0-alpha.0
9.2.0-alpha.0
v9.1.0
9.1.0
Storybook 9.1 is packed with new features and improvements to enhance accessibility, streamline testing, and make your development workflow even smoother!
🚀 Improved upgrade command with monorepo support for seamless upgrades
🅰 Angular fixes for Tailwind 4, cache busting, and zoneless compatibility
🧪 sb.mock API and Automocking: one-line module mocking to simplify your testing workflow
🧪 Favicon shows test run status for quick visual feedback
⚛️ Easier configuration for React Native projects
🔥 Auto-abort play functions on HMR to avoid unwanted side effects
🏗️ Improved CSF factories API for type safe story definitions
♿️ A11y improvements across Storybook’s UI — addon panel, toolbar, sidebar, mobile & more
💯 Dozens more fixes and improvements based on community feedback!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
Controls: Improve the accessibility of the object control - #31581, thanks @Sidnioulz!
Core: Cleanup of type following up v9 and small verbatimModuleSyntax type fix - #31823, thanks @alcpereira!
Core: Disable interactions debugger on composed stories to avoid cross-origin error - #31685, thanks @ghengeveld!
Core: Enhance package manager install methods to support optional force flag - #31796, thanks @valentinpalkovic!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
Core: Improve addon detection in automigrations on windows - #31937, thanks @mrginglymus!
Next.js: Return mocked router instead of actual router in useRouter - #32131, thanks @JulioJ11!
Telemetry: Improve dev cancellation handling - #32218, thanks @shilman!
v9.2.0-alpha.2
9.2.0-alpha.2
Onboarding: Tweak referral wording in survey - #32185, thanks @shilman!
v9.1.1
9.1.1
CLI: Fix throwing in readonly environments - #31785, thanks @JReinhold!
Onboarding: Tweak referral wording in survey - #32185, thanks @shilman!
Telemetry: Send index stats on dev exit - #32168, thanks @shilman!
v9.2.0-alpha.1
9.2.0-alpha.1
Addon Docs: Add __STORYBOOK_UNSAFE_TOCBOT__ global - #32176, thanks @yannbf!
CLI: Fix throwing in readonly environments - #31785, thanks @JReinhold!
Telemetry: Send index stats on dev exit - #32168, thanks @shilman!
v9.2.0-alpha.0
9.2.0-alpha.0
v9.1.0
9.1.0
Storybook 9.1 is packed with new features and improvements to enhance accessibility, streamline testing, and make your development workflow even smoother!
🚀 Improved upgrade command with monorepo support for seamless upgrades
🅰 Angular fixes for Tailwind 4, cache busting, and zoneless compatibility
🧪 sb.mock API and Automocking: one-line module mocking to simplify your testing workflow
🧪 Favicon shows test run status for quick visual feedback
⚛️ Easier configuration for React Native projects
🔥 Auto-abort play functions on HMR to avoid unwanted side effects
🏗️ Improved CSF factories API for type safe story definitions
♿️ A11y improvements across Storybook’s UI — addon panel, toolbar, sidebar, mobile & more
💯 Dozens more fixes and improvements based on community feedback!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
Controls: Improve the accessibility of the object control - #31581, thanks @Sidnioulz!
Core: Cleanup of type following up v9 and small verbatimModuleSyntax type fix - #31823, thanks @alcpereira!
Core: Disable interactions debugger on composed stories to avoid cross-origin error - #31685, thanks @ghengeveld!
Core: Enhance package manager install methods to support optional force flag - #31796, thanks @valentinpalkovic!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
Core: Improve addon detection in automigrations on windows - #31937, thanks @mrginglymus!
Next.js: Return mocked router instead of actual router in useRouter - #32131, thanks @JulioJ11!
Telemetry: Improve dev cancellation handling - #32218, thanks @shilman!
v9.2.0-alpha.2
9.2.0-alpha.2
Onboarding: Tweak referral wording in survey - #32185, thanks @shilman!
v9.1.1
9.1.1
CLI: Fix throwing in readonly environments - #31785, thanks @JReinhold!
Onboarding: Tweak referral wording in survey - #32185, thanks @shilman!
Telemetry: Send index stats on dev exit - #32168, thanks @shilman!
v9.2.0-alpha.1
9.2.0-alpha.1
Addon Docs: Add __STORYBOOK_UNSAFE_TOCBOT__ global - #32176, thanks @yannbf!
CLI: Fix throwing in readonly environments - #31785, thanks @JReinhold!
Telemetry: Send index stats on dev exit - #32168, thanks @shilman!
v9.2.0-alpha.0
9.2.0-alpha.0
v9.1.0
9.1.0
Storybook 9.1 is packed with new features and improvements to enhance accessibility, streamline testing, and make your development workflow even smoother!
🚀 Improved upgrade command with monorepo support for seamless upgrades
🅰 Angular fixes for Tailwind 4, cache busting, and zoneless compatibility
🧪 sb.mock API and Automocking: one-line module mocking to simplify your testing workflow
🧪 Favicon shows test run status for quick visual feedback
⚛️ Easier configuration for React Native projects
🔥 Auto-abort play functions on HMR to avoid unwanted side effects
🏗️ Improved CSF factories API for type safe story definitions
♿️ A11y improvements across Storybook’s UI — addon panel, toolbar, sidebar, mobile & more
💯 Dozens more fixes and improvements based on community feedback!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
Controls: Improve the accessibility of the object control - #31581, thanks @Sidnioulz!
Core: Cleanup of type following up v9 and small verbatimModuleSyntax type fix - #31823, thanks @alcpereira!
Core: Disable interactions debugger on composed stories to avoid cross-origin error - #31685, thanks @ghengeveld!
Core: Enhance package manager install methods to support optional force flag - #31796, thanks @valentinpalkovic!
CSF: Story ComponentAnnotations['subcomponents'] to correctly use its own type for subcomponents rather than attempt to inherit from the component - #31723, thanks @mihkeleidast!
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
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.
Updated Packages