Skip to content

Releases: storybookjs/react-native

v7.6.12

31 Jan 15:03
Compare
Choose a tag to compare

What's Changed

  • bug: on Windows path with back slash removed after formatting with prettier by @dineshduggal in #546

New Contributors

Full Changelog: v7.6.11...v7.6.12

v7.6.11

30 Jan 11:36
Compare
Choose a tag to compare

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

28 Jan 14:57
Compare
Choose a tag to compare
v7.6.10-rc.0 Pre-release
Pre-release

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

28 Jan 14:58
Compare
Choose a tag to compare

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

Full Changelog: v6.5.6...v6.5.8

v7.6.10-alpha.0

20 Jan 22:05
Compare
Choose a tag to compare
v7.6.10-alpha.0 Pre-release
Pre-release

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

14 Nov 13:59
Compare
Choose a tag to compare
v7.0.0-alpha.8 Pre-release
Pre-release

v7.0.0-alpha.6

28 Oct 14:36
Compare
Choose a tag to compare
v7.0.0-alpha.6 Pre-release
Pre-release

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

23 Oct 16:19
Compare
Choose a tag to compare

fix: protect against empty stories list

Full Changelog: v6.5.6...v6.5.7

v6.5.6

29 Aug 14:52
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.5.5...v6.5.6

v6.5.5

01 Aug 21:25
Compare
Choose a tag to compare

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