Skip to content

Commit 7f51a00

Browse files
Merge pull request #997 from leecade/develop
build(ViewPagerAndroid): from react-native => @react-native-community/viewpager
2 parents 5152575 + bba003f commit 7f51a00

5 files changed

Lines changed: 392 additions & 630 deletions

File tree

CHANGELOG.md

Lines changed: 80 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,107 +1,129 @@
1-
1+
- [1.6.0-dev]
2+
- ViewPagerAndroid: react-native => @react-native-community/viewpager
3+
- add TypeScript typing of containerStyle
24
- [1.5.14]
3-
+ fixes #582 (Android not setting this onLayout first?) #789 (thanks [@fungilation](https://github.com/fungilation))
4-
+ Add onScrollBegin and onTouchEnd for Android #684 (thanks [@kostyaVyrodov](https://github.com/kostyaVyrodov))
5+
- fixes #582 (Android not setting this onLayout first?) #789 (thanks [@fungilation](https://github.com/fungilation))
6+
- Add onScrollBegin and onTouchEnd for Android #684 (thanks [@kostyaVyrodov](https://github.com/kostyaVyrodov))
57
- [1.5.13]
6-
+ Workaround for react-native 0.4.8 contentOffset regression #572 (thanks [@nixoz](https://github.com/nixoz))
7-
+ Fix wrong calculation of width and height after device rotation #581 (thanks [@kostyaVyrodov](https://github.com/kostyaVyrodov))
8-
+ Calculated width & height on layout, used later on re-rendering. Possibility to change ScrollView styles #548 (thanks [@germanst](https://github.com/germanst))
8+
- Workaround for react-native 0.4.8 contentOffset regression #572 (thanks [@nixoz](https://github.com/nixoz))
9+
- Fix wrong calculation of width and height after device rotation #581 (thanks [@kostyaVyrodov](https://github.com/kostyaVyrodov))
10+
- Calculated width & height on layout, used later on re-rendering. Possibility to change ScrollView styles #548 (thanks [@germanst](https://github.com/germanst))
911
- [1.5.12]
10-
+ Update core packages
11-
+ Optionally disable the 'next' control button (thanks [@SSTPIERRE2](https://github.com/SSTPIERRE2))
12-
+ Fix `Uncaught TypeError: _this.refs.scrollView.scrollTo is not a function` (thanks [@flyskywhy](https://github.com/flyskywhy))
13-
+ Allow dotStyle and activeDotStyle PropTypes to accept Stylesheet (thanks [@knopt](https://github.com/knopt))
14-
+ Calculate the offset in the initial state instead of `onLayout` (thanks [@kjkta](https://github.com/kjkta))
12+
13+
- Update core packages
14+
- Optionally disable the 'next' control button (thanks [@SSTPIERRE2](https://github.com/SSTPIERRE2))
15+
- Fix `Uncaught TypeError: _this.refs.scrollView.scrollTo is not a function` (thanks [@flyskywhy](https://github.com/flyskywhy))
16+
- Allow dotStyle and activeDotStyle PropTypes to accept Stylesheet (thanks [@knopt](https://github.com/knopt))
17+
- Calculate the offset in the initial state instead of `onLayout` (thanks [@kjkta](https://github.com/kjkta))
1518

1619
- [1.5.11]
17-
+ Typescript Definition
20+
21+
- Typescript Definition
1822

1923
- [1.5.1]
20-
+ Allow scroll without animate, ref: [scrollBy(index, animated)](#scrollbyindex-animated)
21-
+ Remove [#254](https://github.com/leecade/react-native-swiper/pull/254) which break the scroll direction in loop mode
24+
25+
- Allow scroll without animate, ref: [scrollBy(index, animated)](#scrollbyindex-animated)
26+
- Remove [#254](https://github.com/leecade/react-native-swiper/pull/254) which break the scroll direction in loop mode
2227

2328
- [1.5.0]
24-
+ Improve develop [workflow](#development) for support watch & use real pkg name in examples
25-
+ Update examples for support `React-native 0.33` + `Xcode8` + `ios10` + `iphone7`
26-
+ Switch to [standard](https://github.com/feross/standard) code style
27-
+ Rewrite source code with ES6 syntex
28-
+ Cancel transform the source code when publish
29-
+ Add a [demo](examples/components/LoadMinimal) for `loadMinimal` + `lazyload`
30-
+ Add a [demo](examples/components/PhotoView) for multi-images viewer
31-
+ [#254](https://github.com/leecade/react-native-swiper/pull/254) Fix jitter when quickly swiping back and forth between pages (iOS) (@thanks [@nemophrost](https://github.com/nemophrost)).
29+
30+
- Improve develop [workflow](#development) for support watch & use real pkg name in examples
31+
- Update examples for support `React-native 0.33` + `Xcode8` + `ios10` + `iphone7`
32+
- Switch to [standard](https://github.com/feross/standard) code style
33+
- Rewrite source code with ES6 syntex
34+
- Cancel transform the source code when publish
35+
- Add a [demo](examples/components/LoadMinimal) for `loadMinimal` + `lazyload`
36+
- Add a [demo](examples/components/PhotoView) for multi-images viewer
37+
- [#254](https://github.com/leecade/react-native-swiper/pull/254) Fix jitter when quickly swiping back and forth between pages (iOS) (@thanks [@nemophrost](https://github.com/nemophrost)).
3238

3339
- [1.4.11]
34-
+ Adds loadMinimalSize property
40+
41+
- Adds loadMinimalSize property
3542

3643
- [1.4.10]
37-
+ Adds loadMinimal to api (lazyloading-esque)
44+
45+
- Adds loadMinimal to api (lazyloading-esque)
3846

3947
- [1.4.9]
40-
+ Adds extra check for title
48+
49+
- Adds extra check for title
4150

4251
- [1.4.8]
43-
+ Fixes loop and autoplay bugs in android
52+
53+
- Fixes loop and autoplay bugs in android
4454

4555
- [1.4.7]
46-
+ Don't attempt to mutate this.props
47-
+ Fixes examples links
48-
+ Adds drag end handling to always reset state.isScrolling
49-
+ Fixes float calculation error
56+
57+
- Don't attempt to mutate this.props
58+
- Fixes examples links
59+
- Adds drag end handling to always reset state.isScrolling
60+
- Fixes float calculation error
5061

5162
- [1.4.6]
52-
+ refactors examples
53-
+ prevents mutation of `this.props`
54-
+ fixes android index loop issue
63+
64+
- refactors examples
65+
- prevents mutation of `this.props`
66+
- fixes android index loop issue
5567

5668
- [1.4.5]
57-
+ renames `scrollTo()` to `scrollBy()`
58-
+ image index is now always an integer
59-
+ prevents parent state updates from reseting index counter
60-
+ fixes issue with scrolling not working sometimes
69+
70+
- renames `scrollTo()` to `scrollBy()`
71+
- image index is now always an integer
72+
- prevents parent state updates from reseting index counter
73+
- fixes issue with scrolling not working sometimes
6174

6275
- [1.4.4]
63-
+ Support for React Native latest(`^0.26.0`)
64-
+ Updates examples to work with react-native-swiper 1.4.4
65-
+ Examples now run on Android (some are still buggy, needs more work)
66-
+ Removes old examples folder
76+
77+
- Support for React Native latest(`^0.26.0`)
78+
- Updates examples to work with react-native-swiper 1.4.4
79+
- Examples now run on Android (some are still buggy, needs more work)
80+
- Removes old examples folder
6781

6882
- [1.4.3]
69-
+ Fixed auto play issue when only a child view
83+
84+
- Fixed auto play issue when only a child view
7085

7186
- [v1.4.0]
72-
+ Support for React Native latest(`^0.17.0`) & Upgrade examples base on Xcode `7.2` / React Native `0.17.0`
7387

74-
+ Upgrade build tool to babel6
88+
- Support for React Native latest(`^0.17.0`) & Upgrade examples base on Xcode `7.2` / React Native `0.17.0`
7589

76-
+ Add missing deps `react-timer-mixin`
90+
- Upgrade build tool to babel6
7791

78-
+ [1f8643a](https://github.com/leecade/react-native-swiper/commit/1f8643a67e2768d165132a19629a991a86672036) Move Dimensions import to deconstructed React import for react-native (@thanks [@jedrekk](https://github.com/jedrekk)).
92+
- Add missing deps `react-timer-mixin`
7993

80-
+ [e28af9b](https://github.com/leecade/react-native-swiper/commit/e28af9b205f17447cb3149b45fc220beec037bce) Support index property in combination with loop property (@thanks [@almost](https://github.com/almost)).
94+
- [1f8643a](https://github.com/leecade/react-native-swiper/commit/1f8643a67e2768d165132a19629a991a86672036) Move Dimensions import to deconstructed React import for react-native (@thanks [@jedrekk](https://github.com/jedrekk)).
8195

82-
+ [6c832d](https://github.com/leecade/react-native-swiper/commit/6c832d6a23da3737a2e8a2667273dc6093bcc9ee) fix warnings about keys for dots (@thanks [@sunnylqm](https://github.com/sunnylqm)).
96+
- [e28af9b](https://github.com/leecade/react-native-swiper/commit/e28af9b205f17447cb3149b45fc220beec037bce) Support index property in combination with loop property (@thanks [@almost](https://github.com/almost)).
8397

84-
+ [8de1afc](https://github.com/leecade/react-native-swiper/commit/8de1afcb75a003424231bb089802db53bbbf84e4) Changes to make the example work in xcode 7 (@thanks [@allomov](https://github.com/allomov)).
98+
- [6c832d](https://github.com/leecade/react-native-swiper/commit/6c832d6a23da3737a2e8a2667273dc6093bcc9ee) fix warnings about keys for dots (@thanks [@sunnylqm](https://github.com/sunnylqm)).
99+
100+
- [8de1afc](https://github.com/leecade/react-native-swiper/commit/8de1afcb75a003424231bb089802db53bbbf84e4) Changes to make the example work in xcode 7 (@thanks [@allomov](https://github.com/allomov)).
85101

86102
- [v1.3.0]
87-
+ [8d6d75c](https://github.com/leecade/react-native-swiper/commit/8d6d75c00edf87b603c218aad0018932277814b5) inject `state` in ScrollResponders (@thanks [@smothers](https://github.com/smothers)).
103+
104+
- [8d6d75c](https://github.com/leecade/react-native-swiper/commit/8d6d75c00edf87b603c218aad0018932277814b5) inject `state` in ScrollResponders (@thanks [@smothers](https://github.com/smothers)).
88105

89106
- [v1.2.2]
90-
+ [890c0ce](https://github.com/leecade/react-native-swiper/commit/890c0ce64e2192c2ca7830e6699f67b88171e74b) ensure `onMomentumScrollEnd` synchronous update `index`.
107+
108+
- [890c0ce](https://github.com/leecade/react-native-swiper/commit/890c0ce64e2192c2ca7830e6699f67b88171e74b) ensure `onMomentumScrollEnd` synchronous update `index`.
91109

92110
- [v1.2.0]
93-
+ [838b24c](https://github.com/leecade/react-native-swiper/commit/838b24cbeaf49b9ca1dabb4eed8305e314503fb1) Re-design a loop model for avoid img flickering.
94-
+ [9cb91c5](https://github.com/leecade/react-native-swiper/commit/9cb91c58c84034b0b8b874dbfc2a44da982686a8) fixes [#7](https://github.com/leecade/react-native-swiper/issues/6) `onMomentumScrollEnd` lost `event` param. (thanks [@smothers](https://github.com/smothers))
111+
112+
- [838b24c](https://github.com/leecade/react-native-swiper/commit/838b24cbeaf49b9ca1dabb4eed8305e314503fb1) Re-design a loop model for avoid img flickering.
113+
- [9cb91c5](https://github.com/leecade/react-native-swiper/commit/9cb91c58c84034b0b8b874dbfc2a44da982686a8) fixes [#7](https://github.com/leecade/react-native-swiper/issues/6) `onMomentumScrollEnd` lost `event` param. (thanks [@smothers](https://github.com/smothers))
95114

96115
- [v1.1.1]
97-
+ [21f0b00](https://github.com/leecade/react-native-swiper/commit/21f0b00138b6936cd3dfac2eb107a14c99c7392b) fixes [#6](https://github.com/leecade/react-native-swiper/issues/6) a define-propType error. (thanks [@benjamingeorge](https://github.com/benjamingeorge))
116+
117+
- [21f0b00](https://github.com/leecade/react-native-swiper/commit/21f0b00138b6936cd3dfac2eb107a14c99c7392b) fixes [#6](https://github.com/leecade/react-native-swiper/issues/6) a define-propType error. (thanks [@benjamingeorge](https://github.com/benjamingeorge))
98118

99119
- [v1.1.0]
100-
+ [44ec630](https://github.com/leecade/react-native-swiper/commit/44ec630b62844dbeaccee73adaa0996e319ebffb) fixes [#4](https://github.com/leecade/react-native-swiper/issues/4) `onMoementumScrollEnd` gets overridden. (thanks [@subpublicanders](https://github.com/subpublicanders))
101-
+ [5de06a7](https://github.com/leecade/react-native-swiper/commit/5de06a7aa86318ad38720728022b80e5cf98a2ab) New prop: `renderPagination`. (thanks [@aksonov](https://github.com/aksonov))
120+
121+
- [44ec630](https://github.com/leecade/react-native-swiper/commit/44ec630b62844dbeaccee73adaa0996e319ebffb) fixes [#4](https://github.com/leecade/react-native-swiper/issues/4) `onMoementumScrollEnd` gets overridden. (thanks [@subpublicanders](https://github.com/subpublicanders))
122+
- [5de06a7](https://github.com/leecade/react-native-swiper/commit/5de06a7aa86318ad38720728022b80e5cf98a2ab) New prop: `renderPagination`. (thanks [@aksonov](https://github.com/aksonov))
102123

103124
- [v1.0.4]
104-
+ [21cb373](https://github.com/leecade/react-native-swiper/commit/21cb3732578588f9d47ee7ddda541577ad691970) fixes [#2](https://github.com/leecade/react-native-swiper/issues/2) Solve the problem of installation. (thanks [@jamwaffles](https://github.com/jamwaffles))
125+
126+
- [21cb373](https://github.com/leecade/react-native-swiper/commit/21cb3732578588f9d47ee7ddda541577ad691970) fixes [#2](https://github.com/leecade/react-native-swiper/issues/2) Solve the problem of installation. (thanks [@jamwaffles](https://github.com/jamwaffles))
105127

106128
- [v1.0.3]
107-
+ [0f796f3](https://github.com/leecade/react-native-swiper/commit/0f796f3557b5aeb1772573cd7ecae2e835bccc0b) fixes [#1](https://github.com/leecade/react-native-swiper/issues/1) Two 'horizontal' in propTypes. (thanks [@MacyzZ](https://github.com/MacyzZ))
129+
- [0f796f3](https://github.com/leecade/react-native-swiper/commit/0f796f3557b5aeb1772573cd7ecae2e835bccc0b) fixes [#1](https://github.com/leecade/react-native-swiper/issues/1) Two 'horizontal' in propTypes. (thanks [@MacyzZ](https://github.com/MacyzZ))

0 commit comments

Comments
 (0)