Releases: storybookjs/react-native
v8.4.2
v8.4.1
What's Changed
- feat: onDisabledRemoveStorybook option by @dannyhw in #622
- fix: npx tsx confirmation prompt blocks by @tlow92 in #629
- fix: overflowing story content overlaps sidebar by @tlow92 in #627
- migrate withStorybook to typescript by @tlow92 in #633
- fix: add missing devDependency(ts-dedent) by @duguyihou in #638
- docs: Update MANUAL_SETUP.md by @duguyihou in #637
- feat: 8.4 beta preparation by @dannyhw in #634
- feat: add annotations support for addons by @onmotion in #612
New Contributors
- @tlow92 made their first contribution in #629
- @duguyihou made their first contribution in #638
- @onmotion made their first contribution in #612
Full Changelog: v8.3.9...v8.4.1
v8.4.0-rc.0
What's Changed
- feat: onDisabledRemoveStorybook option by @dannyhw in #622
- fix: npx tsx confirmation prompt blocks by @tlow92 in #629
- fix: overflowing story content overlaps sidebar by @tlow92 in #627
- migrate withStorybook to typescript by @tlow92 in #633
- fix: add missing devDependency(ts-dedent) by @duguyihou in #638
- docs: Update MANUAL_SETUP.md by @duguyihou in #637
- feat: 8.4 beta preparation by @dannyhw in #634
- feat: add annotations support for addons by @onmotion in #612
New Contributors
- @tlow92 made their first contribution in #629
- @duguyihou made their first contribution in #638
- @onmotion made their first contribution in #612
Full Changelog: v8.3.9...v8.4.0-rc.0
v8.3.10
- feat: onDisabledRemoveStorybook added to withStorybook to make it easier to remove storybook from the bundle #622
- feat: .d.ts for withStorybook for use with jsdoc
- fix: SearchResults no results text causes error logs on web #622 thanks @tlow92 for the report
- fix: _forceRerender in View could be undefined in rare cases #622
/**
* @type {import('@storybook/react-native/metro/withStorybook').WithStorybookOptions}
*/
const storybookOptions = {
enabled: process.env.STORYBOOK_ENABLED === 'true',
// set this to true to remove storybook from the bundle when "enabled" is set to false
onDisabledRemoveStorybook: false,
};
module.exports = withStorybook(finalConfig, storybookOptions);
Thanks to @trajano for catching the force render issue and suggesting the .d.ts file #626
Full Changelog: v8.3.9...v8.3.10
v8.3.9
fix: fixes the fix for module resolution in 8.3.8 ... sorry
Full Changelog: v8.3.8...v8.3.9
v8.3.8
What's Changed
- fix: only apply enable package exports selectively by @dannyhw in #621
- thanks to @jvliwanag for the suggestion #620
- this should fix issues with module resolution related to esm/package exports caused by withStorybook
Full Changelog: v8.3.7...v8.3.8
v8.3.7
fixes: addon panel wasn't opening with gorhom bottom sheet v5
Full Changelog: v8.3.6...v8.3.7
v8.3.7-alpha.0
Full Changelog: v8.3.6...v8.3.7-alpha.0
fix: gorhom bottom sheet v5 addon panel wasn't opening
v8.3.6
v8.3.5
More details coming in a release post soon.
Migration steps here: https://github.com/storybookjs/react-native/blob/next/MIGRATION.md#from-version-76x-to-83x
get started with expo:
npx create-expo-app --template expo-template-storybook AwesomeStorybook
with rn cli:
npx react-native init AwesomeStorybook --template react-native-template-storybook
expo example:
https://github.com/dannyhw/expo-storybook-starter
rncli example:
https://github.com/dannyhw/react-native-storybook-starter
- Updated to be compatible with v8
- UI rework/redesign
- Theming rework
- Even more code reuse from storybook core
- Simpler metro config via the enhancer pattern
- withStorybook function
- Removed deprecated storiesof syntax and knobs
- Improved hot-reloading/fast refresh
- More ways to use the websockets api without requiring the web setup
- Dedicated wide screen layout for web and tablet
- Better react native web compatibility
Breaking changes:
- new theme values
- new metro config wrapper/enhancer function should be used instead of setting individual values
- new dependencies react-native-reanimated, react-native-gesture-handler, @gorhom/bottom-sheet, react-native-svg
Changes since 8.3.1 beta:
What's Changed
- Fix: Update README.md by @exzos28 in #589
- fix: Fixed typo in MIGRATION.md by @gkopylovdev in #593
- chore: fix workspace dev script by @fabioatcorreia in #591
- feat/v8 by @dannyhw in #538
- Improve 8.3 migration notes by @shilman in #603
- feat: styling adjustments by @dannyhw in #605
- chore(deps): bump rollup from 3.29.4 to 3.29.5 by @dependabot in #604
- chore(deps): bump axios from 1.6.7 to 1.7.7 by @dependabot in #595
- chore(deps): bump express from 4.19.2 to 4.21.0 by @dependabot in #596
- chore(deps): bump webpack from 5.93.0 to 5.95.0 by @dependabot in #606
- chore(deps): bump micromatch from 4.0.5 to 4.0.8 by @dependabot in #594
- feat: enable withstorybook config by default by @dannyhw in #607
- chore(deps): bump serve-static from 1.15.0 to 1.16.2 by @dependabot in #608
- Add API docs for new withStorybook wrapper by @shilman in #610
New Contributors
- @exzos28 made their first contribution in #589
- @gkopylovdev made their first contribution in #593
- @fabioatcorreia made their first contribution in #591
Full Changelog: v7.6.20...v8.3.5