Skip to content

Releases: leecade/react-native-swiper

v1.6.0

09 Jul 08:22
2cde488
Compare
Choose a tag to compare

Installation

npm i --save react-native-swiper@next

Breaking Changes 💥

android swiper container style props name change: style => containerStyle

📚Completed Work

Dependency

  • Remove ViewPagerAndroid, use ScrollView #1009 (remember to clean the old node_modules)

TypeScript

  • correct the wrong types #1000
  • Add missing scrollBy TypeScript definition #931
  • SwiperProps extends ScrollView base type (✨v1.6.0-rc.3)

New Feature

  • add scrollTo #831
  • Added prop to disable the PrevButton #749
  • Optionally render page #1004

Bug Fix

  • ES6 and CommonJS compatibility #717
  • Solves the issue of state messing up when parent component calls setState #939
  • replay when autoplay is setted to true #1002
  • rename unsafe lifecycles
  • fix broken examples and migrate to react-native 0.60.x
  • fix bad jumping on ios when loadMinimal set true
  • fix fliker when loop and loadMinimal are enabled #1062
  • invoke onMomentumScrollEnd even offset no diff (✨v1.6.0-rc.3)

v1.6.0-dev

26 Jun 04:32
288ce99
Compare
Choose a tag to compare
v1.6.0-dev Pre-release
Pre-release
  • ViewPagerAndroid: react-native => @react-native-community/viewpager
  • add TypeScript typing of containerStyle

1.5.14

26 Nov 10:31
e4dbde6
Compare
Choose a tag to compare

[1.5.14]

1.5.13

02 Oct 18:18
Compare
Choose a tag to compare
  • Workaround for react-native 0.4.8 contentOffset regression #572 (thanks @nixoz)
  • Fix wrong calculation of width and height after device rotation #581 (thanks @kostyaVyrodov)
  • Calculated width & height on layout, used later on re-rendering. Possibility to change ScrollView styles #548 (thanks @germanst)

1.5.12

11 Sep 19:25
Compare
Choose a tag to compare
  • Update core packages
  • Optionally disable the 'next' control button (thanks @SSTPIERRE2) (#531)
  • Fix Uncaught TypeError: _this.refs.scrollView.scrollTo is not a function (thanks @flyskywhy) (#539)
  • Allow dotStyle and activeDotStyle PropTypes to accept Stylesheet (thanks @knopt) (#346)
  • Calculate the offset in the initial state instead of onLayout (thanks @kjkta) (#541)

Fix index prop on iOS

14 Aug 13:08
Compare
Choose a tag to compare

Version 1.5.10

Fix

Fix issue from #500

10 Aug 08:29
Compare
Choose a tag to compare

Quick Fix

  • Merge pull request #508 which fix issue from pull request #500.

Fix issues of previous release

09 Aug 19:56
Compare
Choose a tag to compare
Merge pull request #500 from leecade/updateExample

Update examples

1.5.7

08 Aug 07:16
Compare
Choose a tag to compare
bump version 1.5.7

1.5.6

05 Aug 01:24
Compare
Choose a tag to compare
  • Fix landscape orientation auto resize! (thanks @ahmed3mar, @timmywil)

  • Add containerStyle prop to customize the view container.