Releases: storybookjs/react-native
Releases Β· storybookjs/react-native
v7.6.12
What's Changed
- bug: on Windows path with back slash removed after formatting with prettier by @dineshduggal in #546
New Contributors
- @dineshduggal made their first contribution in #546
Full Changelog: v7.6.11...v7.6.12
v7.6.11
What's Changed
- New storage option that lets you choose what storage solution you want to use (async storage/mmkv etc).
- Support for main.ts
- Dynamic imports enabled by the unstable_useRequireContext option in metro config.
- you only need to generate your requires file when main.ts changes.
- Error boundaries for stories so your app shouldn't crash when a story throws an error.
- Improved markdown renderer for notes addon.
- Simpler setup for auto args.
Breaking Changes
See the migration guide for more details: https://github.com/storybookjs/react-native/blob/next/MIGRATION.md#from-version-65x-to-76x
- getStorybookUI comes from storybook.requires view export
- storage is a required option in getStorybookUI for persisting your last story
- transformer.unstable_allowRequireContext metro option is required (requires RN 0.72)
- you may also need to add .mjs to your resolver.sourceExts
- types should be imported from
@storybook/react
- react native server is replaced by addon-react-native-server
Full Changelog: v6.5.8...v7.6.11
v7.6.10-rc.0
What's Changed
- fix: wrong ids created for multiple configs with titlePrefix (v7) by @stevoland in #542
- allow main.ts
Full Changelog: v7.6.10-alpha.0...v7.6.10-rc.0
v6.5.8
What's Changed
- chore(deps): bump axios from 1.3.5 to 1.6.1 by @dependabot in #525
- chore(deps): bump react-devtools-core from 4.28.0 to 4.28.4 by @dependabot in #521
- chore(deps): bump @babel/traverse from 7.21.2 to 7.23.2 by @dependabot in #519
- chore(deps): bump browserify-sign from 4.2.1 to 4.2.2 by @dependabot in #524
- feat(react-native-server): add flag to open storybook in the browser by @grgr-dkrk in #532
New Contributors
- @grgr-dkrk made their first contribution in #532
Full Changelog: v6.5.6...v6.5.8
v7.6.10-alpha.0
What's Changed
Now compatible with 7.6.10 and fully working
Full Changelog: v7.0.0-alpha.8...v7.6.10-alpha.0
v7.0.0-alpha.8
Full Changelog: v7.0.0-alpha.6...v7.0.0-alpha.8
v7.0.0-alpha.6
change .storybook/index to be
import { view } from './storybook.requires';
const StorybookUIRoot = view.getStorybookUI({});
export default () => <StorybookUIRoot />;
this metro config is also required now
transformer: {
unstable_allowRequireContext: true,
},
also install 7.6.0-alpha.2 for other storybook packages like @storybook/addon-controls
v6.5.7
fix: protect against empty stories list
Full Changelog: v6.5.6...v6.5.7
v6.5.6
v6.5.5
What's Changed
- chore(deps): bump fast-xml-parser from 4.2.4 to 4.2.5 by @dependabot in #493
- chore(deps): bump semver from 5.7.1 to 5.7.2 by @dependabot in #496
- feat: nested grouping of stories with "group/story" syntax by @dannyhw in #486
- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #499
- chore: update expo, ts and emotion by @dannyhw in #498
- yarn berry changes by @dannyhw in #500
- feat/require context by @dannyhw in #501
- you can use --unstable_useRequireContext on storybook generate to try this out
Full Changelog: v6.5.4...v6.5.5