This release is a complete overhaul and you should check the migration guide to understand what needs to be changed on the user side.
A post is coming out with details soon.
What's Changed
- Update README.md by @wolverineks in #165
- Delete duplicate button file to fix CI by @oblador in #173
- chore: Remove expo projects and remove no-hoisting by @oblador in #172
- fix: use modern build of storybook to fix unresolved promises and other issues caused by polyfills [6.0] by @dannyhw in #174
- feat: upgrade example react native dependency to 0.64.1 [6.0] by @dannyhw in #176
- feat: csf support [6.0] by @dannyhw in #175
- [6.0] clean up auto story imports and update some dependencies by @dannyhw in #180
- Modified instructions for running example app in the repo by @lauriharpf in #188
- refactor: Refactors Addons.tsx to a function component by @lauriharpf in #187
- refactor: Refactor OndeviceUI components to function components by @lauriharpf in #189
- feat: ondevice addon controls v1 [6.0] by @dannyhw in #182
- fix: some pending changes from #182 review by @dannyhw in #210
- fix: Fixes #211 (After opening the keyboard the android UI shrinks) by @lauriharpf in #218
- [6.0] Removed FunctionComponent type by @Patil2099 in #217
- feat: add array control type by @dannyhw in #221
- feat: add date control type by @dannyhw in #223
- feat: add text input story to example by @dannyhw in #220
- fix: Fixes selected story changing when editing the story file by @lauriharpf in #224
- feat: adds a prepareall script by @dannyhw in #226
- Fix gap at bottom of story list by @Patil2099 in #230
- feat: Reintroduce the backgrounds addon by @lauriharpf in #229
- fix: Fixes the "
storyFn
is deprecated and will be removed in Storybook 7.0." deprecation warning by @lauriharpf in #228 - feat: radio control by @dannyhw in #231
- docs: Start of addon-ondevice-controls README + minor tweaks to addon-ondevice-backgrounds README by @lauriharpf in #232
- fix: better example for select control by @dannyhw in #234
- feat: add ondevice actions for 6.0 by @dannyhw in #233
- fix: Fixes #237 by adding util dependency by @lauriharpf in #244
- docs: Remove the need to install util and util-deprecate from the v6README (works without them) by @lauriharpf in #245
- fix: Fixes #242 (an action appears in the controls tab as an invalid control type) by @lauriharpf in #246
- refactor: Refactor class components in addons to function components by @lauriharpf in #248
- fix: Fix CI breaking as a result of changes introduced in #248 by @lauriharpf in #249
- fix: Fixes #253. Improve the message shown on the Controls tab when the story has no controls configured by @lauriharpf in #254
- docs: Fixes #247 by editing the v6 alpha guide with instructions on how to set up with Expo by @lauriharpf in #250
- docs: Update resolverMainFields for vanilla React Native by @jd20 in #256
- docs: change v6 test readme to use expo install by @kkalavantavanich in #258
- feat: Move storybook.requires.js and Storybook.tsx files from the root directory to the .storybook folder by @lauriharpf in #252
- fix(scripts): reduce watcher updates and fix small path bug by @dannyhw in #261
- fix: Fix #120 (running "yarn web" on Expo fails). by @lauriharpf in #251
- fix: expo should now work with apha by @dannyhw in #262
- Updated example project to 0.65 by @shikharvashistha in #268
- fix: make it easier to provide the initial selection by @dannyhw in #274
- feat: config location is now flexible and paths relative from main.js by @dannyhw in #278
- feat: add ability to exclude paths for stories (#285) by @jgornick in #286
- feat: add web to the example by @dannyhw in #294
- styles: improving object control for web by @jorgeruvalcaba in #296
- fix: wide screen ui scales better by @dannyhw in #298
- fix: fixed inconsistent control type for 'radio' by @Karthik-B-06 in #309
- fix: should persist selection by default by @dannyhw in #311
- feat: export preview for extendability by @dannyhw in #312
- feat: updated example to 0.66.4 by @dannyhw in #313
- chore(deps): bump follow-redirects from 1.14.4 to 1.14.7 by @dependabot in #317
- chore(deps-dev): bump shelljs from 0.8.4 to 0.8.5 by @dependabot in #316
- chore(deps-dev): bump node-fetch from 2.6.5 to 2.6.7 by @dependabot in #318
- feat: upgrade example to 67 and use hermes by @dannyhw in #321
- Add react-native to the resolver array by @gabimoncha in #325
- fix: better web controls by @dannyhw in #322
- fix: enforce number data type for number input (#291) by @raychanks in #315
- chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 by @dependabot in #330
- Fix typo in readme by @bpringe in #331
- feat: add number feedback to range slider, minor change onSlidingComplete by @CezarCobuz in #336
- chore: tweak navigator design to match SB web navigator design by @a7medev in #326
- chore(deps): bump moment from 2.29.1 to 2.29.2 by @dependabot in #343
- chore(deps): bump plist from 3.0.4 to 3.0.5 by @dependabot in #344
- Update README.md for v6 by @dannyhw in #347
- fix: temporary fix for #327 by @dannyhw in #351
- chore(deps): bump cross-fetch from 3.1.4 to 3.1.5 by @dependabot in #353
- chore(deps): bump semver-regex from 3.1.3 to 3.1.4 by @dependabot in #360
- chore(deps): bump simple-plist from 1.1.1 to 1.3.1 by @dependabot in #359
- chore(deps): bump async from 2.6.3 to 2.6.4 by @dependabot in #352
- code typo fixed in manual setup by @BurakGur in #365
- chore(deps): bump parse-url from 6.0.0 to 6.0.2 by @dependabot in #366
- feat: add story id support to initial selection by @jgornick in #368
- Log errors when loading stories on device fails by @micheleb in #358
- chore(deps): bump moment from 2.29.2 to 2.29.4 by @dependabot in #369
- allow rendering outside safe area by @pvinis in #345
- chore(deps): bump terser from 4.8.0 to 4.8.1 by @dependabot in #373
- fix: Results seemingly not matching filter terms by @jonathanj in #380
- fix: make react hooks useable in component story by @zhouzh1 in #379
- fix: loader js does not see other preview types by @zakharchenkoAndrii in #374
- refactor: some adjustments to safe area styling by @dannyhw in #371
- feat: outline for hide ui button by @dannyhw in #382
- update example to react native 0.70.2 by @dannyhw in #381
- feat: support for storybook 6.4/6.5, CSF3 and HMR fix by @dannyhw in #384
- feat: allow for main.ts or any other file extension by @dannyhw in #391
- fix: dont error with no addons by @dannyhw in #386
- feat: enables use of docgen for generated arg types (somewhat experimental) by @dannyhw in #392
- chore(deps): bump loader-utils from 1.4.0 to 1.4.2 by @dependabot in #396
- fix: add defensive check before call m.hot.accept by @nutstick in #397
- fix: workaround for infinite global decorators by @dannyhw in #398
- fix: default the list item active color if theme value is undefined by @jgornick in #404
- feat: react native server v6 (experimental) by @dannyhw in #393
- feat: re-add knobs to provide compatibility for easier migration by @dannyhw in #406
- docs: correct preview.js example in README by @JeffGuKang in #413
- chore(deps): bump json5 from 1.0.1 to 1.0.2 by @dependabot in #415
- chore(deps): bump ua-parser-js from 0.7.32 to 0.7.33 by @dependabot in #419
- feat(rtl): Orient OnDeviceUI correctly for RTL locales by @jonathanj in #418
- chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 by @dependabot in #409
- documentation: Update README.md by @Randall71 in #417
- fix: auto title, number control when undefined, render type by @dannyhw in #420
- chore: fix missing dep in documentation by @matinzd in #426
- Rerender optimisations by @jonathanj in #427
- Storylist UI usability improvements by @jonathanj in #429
- docs: remove reference to 6.3 by @dannyhw in #430
- fix: support stories config with configuration objects by @stevoland in #424
- fix: improve metro config by @matinzd in #428
- docs: update JSX for react-native usage by @Randall71 in #432
- Fix safe area stories cut off by @jonathanj in #431
- feat: replace example app with an expo one by @dannyhw in #435
- feat: Improve styling in the addons panel by @jonathanj in #437
- feat: Make it possible to open the addons in bottom split by @jonathanj in #438
- fix: StoryView was interfering with scroll gestures by @jonathanj in #440
- docs: update expo metro.config.js by @leonardo-fc in #441
- Fix webpack5 and @storybook/addon-storyshots compatibility error, and a typo by @leonardo-fc in #442
- fix: windows paths now generated correctly by @dannyhw in #445
- fix: dont render addons if no story selected and update number range on slide end by @dannyhw in #446
- feat: rename tabs to sidebar, canvas, addons by @dannyhw in #447
- feat/add-dark-theme by @dannyhw in #448
- fix: cast to string on select control by @dannyhw in #450
New Contributors
- @wolverineks made their first contribution in #165
- @oblador made their first contribution in #173
- @Patil2099 made their first contribution in #217
- @jd20 made their first contribution in #256
- @kkalavantavanich made their first contribution in #258
- @shikharvashistha made their first contribution in #268
- @jgornick made their first contribution in #286
- @jorgeruvalcaba made their first contribution in #296
- @Karthik-B-06 made their first contribution in #309
- @dependabot made their first contribution in #317
- @gabimoncha made their first contribution in #325
- @raychanks made their first contribution in #315
- @bpringe made their first contribution in #331
- @CezarCobuz made their first contribution in #336
- @a7medev made their first contribution in #326
- @BurakGur made their first contribution in #365
- @micheleb made their first contribution in #358
- @pvinis made their first contribution in #345
- @jonathanj made their first contribution in #380
- @zhouzh1 made their first contribution in #379
- @zakharchenkoAndrii made their first contribution in #374
- @nutstick made their first contribution in #397
- @JeffGuKang made their first contribution in #413
- @Randall71 made their first contribution in #417
- @matinzd made their first contribution in #426
- @stevoland made their first contribution in #424
- @leonardo-fc made their first contribution in #441
Full Changelog: v5.3.25...v6.5.0