Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update storybook-react-native monorepo to v8 (major) #285

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

smartway-bot[bot]
Copy link

@smartway-bot smartway-bot bot commented Jul 31, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@storybook/addon-ondevice-actions (source) ^6.5.6 -> ^8.0.0 age adoption passing confidence
@storybook/addon-ondevice-backgrounds (source) ^6.5.6 -> ^8.0.0 age adoption passing confidence
@storybook/addon-ondevice-controls (source) ^6.5.6 -> ^8.0.0 age adoption passing confidence
@storybook/addon-ondevice-notes (source) ^6.5.6 -> ^8.0.0 age adoption passing confidence
@storybook/react-native (source) ^6.5.1 -> ^8.0.0 age adoption passing confidence

Release Notes

storybookjs/react-native (@​storybook/addon-ondevice-actions)

v8.4.3

Compare Source

What's Changed
New Contributors

Full Changelog: storybookjs/react-native@v8.4.2...v8.4.3

v8.4.2

Compare Source

What's Changed

Full Changelog: storybookjs/react-native@v8.4.1...v8.4.2

v8.4.1

Compare Source

What's Changed
New Contributors

Full Changelog: storybookjs/react-native@v8.3.9...v8.4.1

v8.3.10

Compare Source

  • feat: onDisabledRemoveStorybook added to withStorybook to make it easier to remove storybook from the bundle #​622
  • feat: .d.ts for withStorybook for use with jsdoc
  • fix: SearchResults no results text causes error logs on web #​622 thanks @​tlow92 for the report
  • fix: _forceRerender in View could be undefined in rare cases #​622
/**
 * @​type {import('@​storybook/react-native/metro/withStorybook').WithStorybookOptions}
 */
const storybookOptions = {
  enabled: process.env.STORYBOOK_ENABLED === 'true',

  // set this to true to remove storybook from the bundle when "enabled" is set to false
  onDisabledRemoveStorybook: false,
};

module.exports = withStorybook(finalConfig, storybookOptions);

Thanks to @​trajano for catching the force render issue and suggesting the .d.ts file #​626

Full Changelog: storybookjs/react-native@v8.3.9...v8.3.10

v8.3.9

Compare Source

fix: fixes the fix for module resolution in 8.3.8 ... sorry

Full Changelog: storybookjs/react-native@v8.3.8...v8.3.9

v8.3.8

Compare Source

What's Changed

Full Changelog: storybookjs/react-native@v8.3.7...v8.3.8

v8.3.7

Compare Source

fixes: addon panel wasn't opening with gorhom bottom sheet v5

Full Changelog: storybookjs/react-native@v8.3.6...v8.3.7

v8.3.6

Compare Source

What's Changed

Full Changelog: storybookjs/react-native@v8.3.5...v8.3.6

v8.3.5

Compare Source

More details coming in a release post soon.

Migration steps here: https://github.com/storybookjs/react-native/blob/next/MIGRATION.md#from-version-76x-to-83x

get started with expo:

npx create-expo-app --template expo-template-storybook AwesomeStorybook

with rn cli:

npx react-native init AwesomeStorybook --template react-native-template-storybook

expo example:
https://github.com/dannyhw/expo-storybook-starter

rncli example:
https://github.com/dannyhw/react-native-storybook-starter

  • Updated to be compatible with v8
  • UI rework/redesign
  • Theming rework
  • Even more code reuse from storybook core
  • Simpler metro config via the enhancer pattern
    • withStorybook function
  • Removed deprecated storiesof syntax and knobs
  • Improved hot-reloading/fast refresh
  • More ways to use the websockets api without requiring the web setup
  • Dedicated wide screen layout for web and tablet
  • Better react native web compatibility

image

image

Breaking changes:
  • new theme values
  • new metro config wrapper/enhancer function should be used instead of setting individual values
  • new dependencies react-native-reanimated, react-native-gesture-handler, @​gorhom/bottom-sheet, react-native-svg

Changes since 8.3.1 beta:

What's Changed
New Contributors

Full Changelog: storybookjs/react-native@v7.6.20...v8.3.5

v7.6.20

Compare Source

What's Changed

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

Full Changelog: storybookjs/react-native@v7.6.19...v7.6.20

v7.6.19

Compare Source

What's Changed
New Contributors

Full Changelog: storybookjs/react-native@v7.6.18...v7.6.19

v7.6.18

Compare Source

What's Changed

Full Changelog: storybookjs/react-native@v7.6.17...v7.6.18

v7.6.17

Compare Source

What's Changed

Full Changelog: storybookjs/react-native@v7.6.16...v7.6.17

v7.6.16

Compare Source

What's Changed
New Contributors

Full Changelog: storybookjs/react-native@v7.6.15...v7.6.16

v7.6.15

Compare Source

What's Changed

storybook core v7.6.13 makes unit tests with compose story possible

New Contributors

Full Changelog: storybookjs/react-native@v7.6.14...v7.6.15

v7.6.14

Compare Source

What's Changed

Full Changelog: storybookjs/react-native@v7.6.13...v7.6.14

v7.6.13

Compare Source

What's Changed

Full Changelog: storybookjs/react-native@v7.6.12...v7.6.13

v7.6.12

Compare Source

What's Changed
New Contributors

Full Changelog: storybookjs/react-native@v7.6.11...v7.6.12

v7.6.11

Compare Source

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: storybookjs/react-native@v6.5.8...v7.6.11

v6.5.7

Compare Source

fix: protect against empty stories list

Full Changelog: storybookjs/react-native@v6.5.6...v6.5.7


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@smartway-bot smartway-bot bot added the dependencies Pull requests that update a dependency file label Jul 31, 2024
@smartway-bot smartway-bot bot force-pushed the renovate/major-storybook-react-native-monorepo branch from c720458 to 2b98ebf Compare October 11, 2024 09:07
@smartway-bot smartway-bot bot changed the title chore(deps): update storybook-react-native monorepo to v7 (major) chore(deps): update storybook-react-native monorepo to v8 (major) Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants