Releases: GSTJ/react-native-magic-modal
Releases · GSTJ/react-native-magic-modal
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.hide
without 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: undefined
option. - 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.hide
function now requires a modal ID to hide a
specific modal. This will affect any previous implementation that called
hide
without an ID.
Migration Guide
- Update any calls to
magicModal.hide
to 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