Skip to content

Releases: storybookjs/react-native

v8.4.2

09 Nov 14:12
Compare
Choose a tag to compare

What's Changed

  • fix: missing path separators in search results by @tlow92 in #640
  • fix: addon path generating on windows by @dannyhw in #648

Full Changelog: v8.4.1...v8.4.2

v8.4.1

09 Nov 14:12
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.3.9...v8.4.1

v8.4.0-rc.0

01 Nov 13:32
Compare
Choose a tag to compare
v8.4.0-rc.0 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v8.3.9...v8.4.0-rc.0

v8.3.10

22 Oct 19:07
Compare
Choose a tag to compare
  • 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

15 Oct 19:45
Compare
Choose a tag to compare

fix: fixes the fix for module resolution in 8.3.8 ... sorry

Full Changelog: v8.3.8...v8.3.9

v8.3.8

15 Oct 12:35
Compare
Choose a tag to compare

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

14 Oct 21:13
Compare
Choose a tag to compare

fixes: addon panel wasn't opening with gorhom bottom sheet v5

Full Changelog: v8.3.6...v8.3.7

v8.3.7-alpha.0

14 Oct 14:11
Compare
Choose a tag to compare
v8.3.7-alpha.0 Pre-release
Pre-release

Full Changelog: v8.3.6...v8.3.7-alpha.0

fix: gorhom bottom sheet v5 addon panel wasn't opening

v8.3.6

14 Oct 14:10
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.3.5...v8.3.6

v8.3.5

04 Oct 08:14
Compare
Choose a tag to compare

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

image

image

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

New Contributors

Full Changelog: v7.6.20...v8.3.5