Releases: GSTJ/react-native-magic-modal
Releases · GSTJ/react-native-magic-modal
Magic Modal Release 7.0.1
⚠ BREAKING CHANGES
Minimum peer versions bumped to align with the React Native ecosystem required by Reanimated 4 and scheduleOnRN (replacing the deprecated runOnJS):
react>=18.0.0react-native>=0.81.0react-native-gesture-handler>=2.20.0react-native-reanimated>=4.0.0react-native-worklets>=0.5.0(optional peer; ships with Reanimated 4)
Consumers on older RN/Reanimated versions must upgrade their app before taking this release.
✨ Internal
- Replace deprecated
runOnJSwithscheduleOnRNfromreact-native-worklets - Kitchen-sink example bumped to Expo SDK 55 (RN 0.83.6, React 19.2, Reanimated 4.3.1) end-to-end
📦 Published
- npm: https://www.npmjs.com/package/react-native-magic-modal/v/7.0.1
- Verified working on iOS 26.5 simulator via a fresh Expo SDK 55 app smoke test
🔁 Notes
- Released as 7.0.1 (rather than 7.0.0) because release-it computed the bump against the npm registry's then-latest
6.1.0; semantically identical major release.
6.0.0
What's Changed
- chore(deps): update dependency @release-it/conventional-changelog to v8.0.2 by @renovate in #114
- chore(deps): update dependency @babel/core to ~7.25.0 by @renovate in #117
- chore(deps): update dependency turbo to v2.2.0 by @renovate in #109
- chore: add expo 52 support by @GSTJ in #122
- refactor!: configure full window overlay globally to address exit animation issues by @GSTJ in #125
Full Changelog: v5.1.17...v6.0.0
5.1.17
What's Changed
- chore(deps): update dependency bunchee to v5.1.6 by @renovate in #83
- docs: Update components order in README by @RodSarhan in #90
- feat: make example web-compatible & mark functions as worklets by @GSTJ in #92
- chore(deps): update dependency @babel/core to v7.24.9 by @renovate in #93
- chore(deps): update dependency expo to v51.0.21 by @renovate in #85
- chore(deps): update dependency babel-preset-expo to v11.0.12 by @renovate in #84
- chore(deps): update dependency jest-expo to v51.0.3 by @renovate in #95
- chore(deps): update dependency turbo to v2.0.7 by @renovate in #96
- chore(deps): update dependency prettier to v3.3.3 by @renovate in #99
- chore(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.3.1 by @renovate in #97
- chore(deps): update pnpm to v8.15.9 by @renovate in #100
- chore(deps): update dependency bunchee to v5.2.2 by @renovate in #98
- chore(deps): update dependency husky to v9.1.0 by @renovate in #101
- chore(deps): update dependency node to 20.15 by @renovate in #102
- chore(deps): update dependency release-it to v17.6.0 by @renovate in #104
- chore(deps): update dependency ts-jest to v29.2.3 by @renovate in #105
- chore(deps): update dependency husky to v9.1.1 by @renovate in #107
- chore(deps): update dependency typedoc to ^0.26.0 by @renovate in #106
- fix: cjs errors while importing & add fullWindowOverlay option by @GSTJ in #113
New Contributors
- @RodSarhan made their first contribution in #90
Full Changelog: v4.0.5...v5.1.17
v4.0.5
This update introduces the ability to support multiple modals being
shown at the same time. Previously, only one modal could be shown at a
time. The changes include:
- Global and Hook Hide Functions: Added new global and hook-based
hide functions to manage modal hiding more effectively. This includes
the deprecation of callingmagicModal.hidewithout a modal ID. - Scrollable Modals: Added a new example and support for scrollable
modals. This can be achieved by disabling swipe gestures using the
swipeDirection: undefinedoption. - Readme Updates: Improved usage documentation with preferred
patterns, including new examples for imperative hiding and using hooks
within modals. - Tooling Updates: Updated various development dependencies,
scripts, and configurations to ensure compatibility and improved
development workflow.
Breaking Changes
- The
magicModal.hidefunction now requires a modal ID to hide a
specific modal. This will affect any previous implementation that called
hidewithout an ID.
Migration Guide
- Update any calls to
magicModal.hideto include the appropriate modal
ID. - Review the updated usage patterns and examples in the README to adapt
to the new preferred usage patterns.
Full Changelog: 2.1.8...v4.0.5