Releases: storybookjs/react-native
v8.3.0-alpha.2
- 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
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
- feat/v7 store7 by @dannyhw in #509
- feat/server v7 by @dannyhw in #530
- Feat/v8 UI by @dannyhw in #564
- chore/check v8 2 by @dannyhw in #584
- Fix: Update README.md by @exzos28 in #589
- fix: Fixed typo in MIGRATION.md by @gkopylovdev in #593
- chore: fix workspace dev script by @fabioatcorreia in #591
- fix: CalledPreviewMethodBeforeInitializationError (8.2) by @stevoland in #587
New Contributors
- @exzos28 made their first contribution in #589
- @gkopylovdev made their first contribution in #593
- @fabioatcorreia made their first contribution in #591
Full Changelog: v7.6.20...v8.3.0-alpha.0
v8.3.0-alpha.0
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
- feat/v7 store7 by @dannyhw in #509
- feat/server v7 by @dannyhw in #530
- Feat/v8 UI by @dannyhw in #564
- chore/check v8 2 by @dannyhw in #584
- Fix: Update README.md by @exzos28 in #589
- fix: Fixed typo in MIGRATION.md by @gkopylovdev in #593
- chore: fix workspace dev script by @fabioatcorreia in #591
- fix: CalledPreviewMethodBeforeInitializationError (8.2) by @stevoland in #587
New Contributors
- @exzos28 made their first contribution in #589
- @gkopylovdev made their first contribution in #593
- @fabioatcorreia made their first contribution in #591
Full Changelog: v7.6.20...v8.3.0-alpha.0
v7.6.20
v7.6.19
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
- @awinograd made their first contribution in #573
Full Changelog: v7.6.18...v7.6.19
v7.6.18
What's Changed
- fix: types was included in the
.js
file output using theuseJs
option insb-rn-get-stories
by @grgr-dkrk in #567
Full Changelog: v7.6.17...v7.6.18
v8.0.0-alpha.4
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
v8.0.0-alpha.2
What's Changed
Full Changelog: v8.0.0-alpha.1...v8.0.0-alpha.2