File tree Expand file tree Collapse file tree 3 files changed +50
-2
lines changed Expand file tree Collapse file tree 3 files changed +50
-2
lines changed Original file line number Diff line number Diff line change 4
4
"initialVersions" : {
5
5
"react-native-reanimated-carousel" : " 4.0.3"
6
6
},
7
- "changesets" : []
7
+ "changesets" : [
8
+ " honest-baboons-sip"
9
+ ]
8
10
}
Original file line number Diff line number Diff line change 1
1
# react-native-reanimated-carousel
2
2
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
+
3
49
## 4.0.3
4
50
5
51
### Patch Changes
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-native-reanimated-carousel" ,
3
- "version" : " 4 .0.3 " ,
3
+ "version" : " 5 .0.0-beta.0 " ,
4
4
"packageManager" : " yarn@4.0.2" ,
5
5
"description" : " Simple carousel component.fully implemented using Reanimated 2.Infinitely scrolling, very smooth." ,
6
6
"author" : " Doho <zhaodonghao586@outlook.com> (https://github.com/dohooo)" ,
You can’t perform that action at this time.
0 commit comments