Skip to content

Releases: storybookjs/react-native

v8.3.1-alpha.1

18 Sep 21:21
Compare
Choose a tag to compare
v8.3.1-alpha.1 Pre-release
Pre-release
  • Some fixes
  • collapsable side and bottom bar for wide view

bunx create-expo-app@latest --template expo-template-storybook@next UniversalStorybook

Full Changelog: v8.3.0-alpha.2...v8.3.1-alpha.1

v8.3.0-alpha.2

16 Sep 22:18
Compare
Choose a tag to compare
v8.3.0-alpha.2 Pre-release
Pre-release
  • Widescreen ui for web/tablet
  • removed workaround for unsupported regex, worked with the web team to get it fixed in 8.3.1
  • fixes for web

Note that now 8.3.1 from storybook core/web will be the minimum required version because of the fix thats needed

To try it you can use the next tag on the template
npx create-expo-app --template expo-template-storybook@next sbv8alpha

Full Changelog: v8.3.0-alpha.1...v8.3.0-alpha.2

v8.3.0-alpha.1

15 Sep 10:03
Compare
Choose a tag to compare
v8.3.0-alpha.1 Pre-release
Pre-release

In this release the rncli issues have been resolved by providing a polyfill for URLSearchParams

Including last release notes since this one is just a small change


Whats in this release

This release includes an update to storybook 8.3 and an update to theming to match the web theme. This will break existing custom themes but makes it easier to reproduce the ui from the web version.

There is also an update to the controls addon to make the ui closer to the web version with more of a table style.

lastly for the ui side of things I've added in the dark theme again copied from the web.

Note: there are still some outstanding issues when running with react-native cli. I highly recommend using expo anyway but if you are on rncli you may need to add some polyfills for browser apis like crypto and url. I intend to remove this requirement but need to track it down.

built in websocket server

In this version there is also now a way to run the websocket server via the withStorybook metro enhancer, this is turned on by passing the websockets options. This makes it possible to control storybook on the device by sending valid storybook events without requiring the web addon addon-react-native-server.

example metro config with websockets options:

module.exports = withStorybook(defaultConfig, {
  enabled: process.env.STORYBOOK_ENABLED === 'true',
  configPath: path.resolve(__dirname, './.storybook'),
  websockets: {
    port: 7007,
    host: 'localhost',
  },
});

What's Changed

New Contributors

Full Changelog: v7.6.20...v8.3.0-alpha.0

v8.3.0-alpha.0

15 Sep 08:44
Compare
Choose a tag to compare
v8.3.0-alpha.0 Pre-release
Pre-release

Whats in this release

This release includes an update to storybook 8.3 and an update to theming to match the web theme. This will break existing custom themes but makes it easier to reproduce the ui from the web version.

There is also an update to the controls addon to make the ui closer to the web version with more of a table style.

lastly for the ui side of things I've added in the dark theme again copied from the web.

Note: there are still some outstanding issues when running with react-native cli. I highly recommend using expo anyway but if you are on rncli you may need to add some polyfills for browser apis like crypto and url. I intend to remove this requirement but need to track it down.

built in websocket server

In this version there is also now a way to run the websocket server via the withStorybook metro enhancer, this is turned on by passing the websockets options. This makes it possible to control storybook on the device by sending valid storybook events without requiring the web addon addon-react-native-server.

example metro config with websockets options:

module.exports = withStorybook(defaultConfig, {
  enabled: process.env.STORYBOOK_ENABLED === 'true',
  configPath: path.resolve(__dirname, './.storybook'),
  websockets: {
    port: 7007,
    host: 'localhost',
  },
});

What's Changed

New Contributors

Full Changelog: v7.6.20...v8.3.0-alpha.0

v7.6.20

12 Jun 11:57
Compare
Choose a tag to compare

What's Changed

Note: knobs are deprecated, this update just stops it from breaking in the latest version.

Full Changelog: v7.6.19...v7.6.20

v7.6.19

27 May 10:58
Compare
Choose a tag to compare

What's Changed

  • chore(deps): bump express from 4.18.2 to 4.19.2 by @dependabot in #566
  • chore(deps): bump webpack-dev-middleware from 6.1.1 to 6.1.2 by @dependabot in #565
  • chore(deps): bump follow-redirects from 1.15.5 to 1.15.6 by @dependabot in #563
  • chore(deps): bump ip from 1.1.8 to 1.1.9 by @dependabot in #557
  • Update prepareStories to handle more options & strip play functions by @awinograd in #573

New Contributors

Full Changelog: v7.6.18...v7.6.19

v7.6.18

17 Apr 10:39
Compare
Choose a tag to compare

What's Changed

  • fix: types was included in the .js file output using the useJs option in sb-rn-get-stories by @grgr-dkrk in #567

Full Changelog: v7.6.17...v7.6.18

v8.0.0-alpha.4

17 Apr 10:42
Compare
Choose a tag to compare
v8.0.0-alpha.4 Pre-release
Pre-release

What's Changed

breaking changes

  • new ui
    • requires the following packages @gorhom/bottom-sheet, react-native-gesture-handler, react-native-reanimated, react-native-svg
    • currently on rn cli a react-native-url-polyfill may be needed, fix will come to remove this requirement.

see: #538

Full Changelog: v8.0.0-alpha.2...v8.0.0-alpha.4

v7.6.17

08 Mar 16:35
Compare
Choose a tag to compare

What's Changed

Full Changelog: v7.6.16...v7.6.17

v8.0.0-alpha.2

07 Mar 17:56
Compare
Choose a tag to compare
v8.0.0-alpha.2 Pre-release
Pre-release

What's Changed

Full Changelog: v8.0.0-alpha.1...v8.0.0-alpha.2