2018-October-29
Storybook 4.0 is our first major-version update in over a year! Key improvements include:
- Build tools
- View layers
- Storybook for Ember #4237
- Storybook for MarkoJS #3504
- Storybook for Mithril #3244
- Storybook for HTML snippets #3475
- Storybook for Svelte #3770
- Storybook for Riot #4070
- Mobile
- Mobile device view: toggling stories panel with ☰ button #3337
- React Native: Remove the packager from storybook #4261
- React-Native: On-device addons #4381
- React-Native: On-device addons for notes, knobs, backgrounds #4327
- UI
- Storybook UI theming #3628
- Core
- Story parameters #2679
- Generic addon decorators [#3555]
(#3555)
- Support css-modules #4405
- start-storybook: open browser tab on first compilation #4149
- start-storybook: suggest an alternative when the port is occupied #4146
- CLI-less Node api #4344
- Rename CLI to sb #4345
There are hundreds of more fixes, features, and tweaks in the 4.0 release. See changelogs for 4.0.0-rc.*
and 4.0.0-alpha.*
for details; check out our migration guide for a walkthrough of how to upgrade or the migration docs for an enumeration of breaking changes.