Skip to content

Commit 5e6ec2a

Browse files
release: version packages (beta) (#851)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 9b388e6 commit 5e6ec2a

File tree

3 files changed

+50
-2
lines changed

3 files changed

+50
-2
lines changed

.changeset/pre.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"initialVersions": {
55
"react-native-reanimated-carousel": "4.0.3"
66
},
7-
"changesets": []
7+
"changesets": [
8+
"honest-baboons-sip"
9+
]
810
}

CHANGELOG.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,51 @@
11
# react-native-reanimated-carousel
22

3+
## 5.0.0-beta.0
4+
5+
### Major Changes
6+
7+
- [#850](https://github.com/dohooo/react-native-reanimated-carousel/pull/850) [`9b388e6`](https://github.com/dohooo/react-native-reanimated-carousel/commit/9b388e6f6237126c4ed25c2442c4b788aad7adf6) Thanks [@dohooo](https://github.com/dohooo)! - # 🎯 Support for Expo 54 & Dynamic Sizing
8+
9+
## ✨ Major Features
10+
11+
### Dynamic Sizing Support
12+
13+
- **Auto-sizing**: `width` and `height` props are now optional. Carousel automatically measures container dimensions via layout
14+
15+
### Expo 54 Compatibility
16+
17+
- Full support for Expo SDK 54
18+
- Updated dependencies for latest React Native ecosystem
19+
20+
## 💥 Breaking Changes
21+
22+
### Dependencies Update Required
23+
24+
- **react-native-reanimated**: Upgrade to `^4.1.0` (was `^3.0.0`)
25+
- **react-native-worklets**: New peer dependency `^0.5.1` required
26+
- **react-native-gesture-handler**: Minimum version `^2.9.0` (no breaking changes)
27+
28+
### Migration Steps
29+
30+
1. Upgrade Reanimated: `npm install react-native-reanimated@^4.1.0`
31+
2. Install Worklets: `npm install react-native-worklets@^0.5.1`
32+
3. Follow Reanimated 4.0 migration guide for any breaking changes
33+
34+
## 🔧 Technical Improvements
35+
36+
- Replaced deprecated `runOnJS` with `scheduleOnRN` from react-native-worklets
37+
- Enhanced test coverage for dynamic sizing scenarios
38+
- Improved overscroll protection logic
39+
- Better error handling for edge cases
40+
41+
## 📚 Documentation
42+
43+
- Updated installation guide with new dependency requirements
44+
- Added migration guide from v4 to v5
45+
- Enhanced examples showcasing dynamic sizing capabilities
46+
47+
**Fixes**: #668 - Auto height calculation support
48+
349
## 4.0.3
450

551
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-reanimated-carousel",
3-
"version": "4.0.3",
3+
"version": "5.0.0-beta.0",
44
"packageManager": "yarn@4.0.2",
55
"description": "Simple carousel component.fully implemented using Reanimated 2.Infinitely scrolling, very smooth.",
66
"author": "Doho <zhaodonghao586@outlook.com> (https://github.com/dohooo)",

0 commit comments

Comments
 (0)