Skip to content

Releases: storybookjs/react-native

v9.0.9

14 Jun 15:23
Compare
Choose a tag to compare

Note that you may need to regenerate the requires file due to the removal of the actions annotations, this was necessary since this addon got pulled into storybook core and no longer reexports those annotations (we get them automatically instead).

What's Changed

New Contributors

Full Changelog: v9.0.6...v9.0.9

v9.0.9-alpha.0

13 Jun 22:11
Compare
Choose a tag to compare
v9.0.9-alpha.0 Pre-release
Pre-release

What's Changed

Full Changelog: v9.0.7-alpha.1...v9.0.9-alpha.0

v9.0.7-alpha.1

13 Jun 12:00
Compare
Choose a tag to compare
v9.0.7-alpha.1 Pre-release
Pre-release

What's Changed

  • fix: export story types from @storybook/react by @jtomaszewski in #748
  • update latest storybook versions

New Contributors

Full Changelog: v9.0.7-alpha.0...v9.0.7-alpha.1

v9.0.7-alpha.0

10 Jun 10:43
Compare
Choose a tag to compare
v9.0.7-alpha.0 Pre-release
Pre-release

What's Changed

  • feat: start docs by @dannyhw in #702
  • chore(deps): bump estree-util-value-to-estree from 3.3.2 to 3.4.0 by @dependabot in #742
  • chore(deps): bump http-proxy-middleware from 2.0.7 to 2.0.9 by @dependabot in #741
  • chore(deps-dev): bump vite from 6.1.1 to 6.1.6 by @dependabot in #740
  • fix: prevent StoryView from intercepting Android TalkBack focus by @dannyhw in #744
  • Use correct types fields in react native packages by @cappslock in #745

New Contributors

Full Changelog: v9.0.6...v9.0.7-alpha.0

v9.0.6

03 Jun 13:39
Compare
Choose a tag to compare

What's Changed

  • chore(deps): bump tar-fs from 2.1.2 to 2.1.3 by @dependabot in #737
  • fix: respect custom ui over default ui and hide custom ui if ondevice ui flag is false

Full Changelog: v9.0.0...v9.0.6

v9.0.0

29 May 09:54
Compare
Choose a tag to compare

Try the latest version with

npx create-expo-app@latest --template expo-template-storybook@latest UniversalStorybook

or

npx @react-native-community/cli@latest init --template react-native-template-storybook@latest UniversalStorybook

To migrate an existing project

  • Update storybook dependencies to ^9
  • Rename .storybook to .rnstorybook (if you use .storybook for rn storybook config)

main changes

  • internal api changes to support v9 core restructuring
  • lite mode ui
  • custom ui support
  • remove prettier dependency
  • conditional args for controls
  • better support for storyNames
  • you can disable doc tools now if you need to

breaking changes

  • .rnstorybook is now the default config folder instead of .storybook to make it easier to have both reactjs and react native storybook alongside each other
    • if you want to keep the .storybook name or any other name you can still use the configPath option to override this.

What's Changed

New Contributors

Full Changelog: v8.6.2...v9.0.0

v9.0.0-rc.5

29 May 09:19
Compare
Choose a tag to compare
v9.0.0-rc.5 Pre-release
Pre-release

What's Changed

Full Changelog: v9.0.0-rc.4...v9.0.0-rc.5

v9.0.0-rc.4

21 May 14:46
Compare
Choose a tag to compare
v9.0.0-rc.4 Pre-release
Pre-release

What's Changed

You can now use the LiteUI to remove the dependency on reanimated, gesture handler, svg and safeareaview or even pass a custom ui to the getStorybookUI function call as CustomUIComponent

component should have this signature

export type SBUI = (props: {
  story?: StoryContext<ReactRenderer, Args>;
  storyHash: API_IndexHash;
  setStory: (storyId: string) => void;
  storage: Storage;
  theme: Theme;
  children: ReactElement;
}) => ReactElement;

Full Changelog: v9.0.0-beta.7...v9.0.0-rc.4

v9.0.0-beta.7

01 May 19:59
Compare
Choose a tag to compare
v9.0.0-beta.7 Pre-release
Pre-release

What's Changed

  • feat: expo example update and update to latest storybook beta by @dannyhw in #720

Full Changelog: v9.0.0-beta.1...v9.0.0-beta.7

v9.0.0-beta.1

26 Apr 13:59
Compare
Choose a tag to compare
v9.0.0-beta.1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v9.0.0-alpha.10...v9.0.0-beta.1