Releases: storybookjs/react-native
v9.0.9
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
- 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 - fix: export story types from
@storybook/react
by @jtomaszewski in #748 - feat: update to 9.0.9 by @dannyhw in #749
- feat: remove extra actions annotations by @dannyhw in #750
New Contributors
- @cappslock made their first contribution in #745
- @jtomaszewski made their first contribution in #748
Full Changelog: v9.0.6...v9.0.9
v9.0.9-alpha.0
What's Changed
- feat: update to 9.0.9 by @dannyhw in #749
- feat: remove extra actions annotations by @dannyhw in #750
Full Changelog: v9.0.7-alpha.1...v9.0.9-alpha.0
v9.0.7-alpha.1
What's Changed
- fix: export story types from
@storybook/react
by @jtomaszewski in #748 - update latest storybook versions
New Contributors
- @jtomaszewski made their first contribution in #748
Full Changelog: v9.0.7-alpha.0...v9.0.7-alpha.1
v9.0.7-alpha.0
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
- @cappslock made their first contribution in #745
Full Changelog: v9.0.6...v9.0.7-alpha.0
v9.0.6
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
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
- feat: v9 init by @dannyhw in #698
- chore(deps-dev): bump vite from 6.1.1 to 6.1.2 by @dependabot in #703
- chore(deps-dev): bump vite from 6.2.3 to 6.2.4 by @dependabot in #705
- chore(deps): bump image-size from 1.1.1 to 1.2.1 by @dependabot in #706
- chore(deps-dev): bump vite from 6.2.4 to 6.2.5 by @dependabot in #708
- chore(deps-dev): bump vite from 6.2.5 to 6.2.6 by @dependabot in #712
- feat: upgrade everything to latest alpha version by @dannyhw in #704
- fix: add type for view export (#715) by @jvliwanag in #716
- Hide controls if they are disabled using the built-in
includeConditionalArg
function by @daviegourevitch in #714 - feat: expo example update by @dannyhw in #720
- chore(deps-dev): bump vite from 6.2.6 to 6.2.7 by @dependabot in #719
- fix: remove prettier dependency by @dannyhw in #722
- feat: use eslint 9 by @dannyhw in #723
- feat: custom ui option by @dannyhw in #724
- chore(deps): bump undici from 6.21.1 to 6.21.3 by @dependabot in #728
- feat: lite mode ui by @dannyhw in #729
- feat: update to stable version of v9 by @dannyhw in #736
New Contributors
- @jvliwanag made their first contribution in #716
- @daviegourevitch made their first contribution in #714
Full Changelog: v8.6.2...v9.0.0
v9.0.0-rc.5
What's Changed
Full Changelog: v9.0.0-rc.4...v9.0.0-rc.5
v9.0.0-rc.4
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;
- chore(deps-dev): bump vite from 6.2.6 to 6.2.7 by @dependabot in #719
- fix: remove prettier dependency by @dannyhw in #722
- feat: use eslint 9 by @dannyhw in #723
- feat: custom ui option by @dannyhw in #724
- chore(deps): bump undici from 6.21.1 to 6.21.3 by @dependabot in #728
Full Changelog: v9.0.0-beta.7...v9.0.0-rc.4
v9.0.0-beta.7
What's Changed
Full Changelog: v9.0.0-beta.1...v9.0.0-beta.7
v9.0.0-beta.1
What's Changed
- chore(deps-dev): bump vite from 6.1.1 to 6.1.2 by @dependabot in #703
- chore(deps-dev): bump vite from 6.2.3 to 6.2.4 by @dependabot in #705
- chore(deps): bump image-size from 1.1.1 to 1.2.1 by @dependabot in #706
- chore(deps-dev): bump vite from 6.2.4 to 6.2.5 by @dependabot in #708
- chore(deps-dev): bump vite from 6.2.5 to 6.2.6 by @dependabot in #712
- feat: upgrade everything to latest beta version by @dannyhw in #704
- fix: add type for view export (#715) by @jvliwanag in #716
- Hide controls if they are disabled using the built-in
includeConditionalArg
functoin by @daviegourevitch in #714
New Contributors
- @jvliwanag made their first contribution in #716
- @daviegourevitch made their first contribution in #714
Full Changelog: v9.0.0-alpha.10...v9.0.0-beta.1