Skip to content

Releases: adammcarth/react-native-segmented-picker

v2.0.2

10 Oct 11:44
adc5885
Compare
Choose a tag to compare
  • iOS 14 support (#29).
  • Fixed a bug for iOS where increasing the number of columns dynamically was causing crashes (#30).

v2.0.1

21 Jul 13:52
ddc3d64
Compare
Choose a tag to compare

Fixes a bug with default selections not applying on the first render.

v2.0.0

29 Jun 11:55
Compare
Choose a tag to compare

In this release

  • New native prop for enabling the real iOS UIPickerView component on Apple devices.
  • You can now specify the width of picker columns as a flex ratio.
  • Improved E2E testing support.

Breaking changes

There are a number of breaking API changes from v1.x.x which were necessary in order to support the new native integration on iOS.

  • options prop is no longer an object, but instead an array of column definition objects. This is so that we can introduce more settings for columns going forward.
  • Picker items must now have a label and a value, and additional extraneous properties in picker items are no longer supported.
  • onValueChange event now emits selections as an object to the first argument.
  • The value of selections in the onConfirm and onCancel events is now in the form of {columnId: 'column value'}.
  • testID's for E2E testing are no longer joined with preset strings. The control over testID's is now totally managed by the developer.

Please review to the README file for updated documentation on all the props and events after upgrading.

v1.1.3

20 Jun 17:35
Compare
Choose a tag to compare
  • Package is now available on GitHub Packages.

v1.1.1

06 Jun 08:48
ff4d60e
Compare
Choose a tag to compare
  • Slight modification to the show and hide animation to improve rendering performance.
  • Modified the scrolling interaction on iOS so that it snaps to items faster.

v1.1.0

18 May 12:45
Compare
Choose a tag to compare
  • TypeScript support!
  • Removed the styled-components dependency.
  • react-native and react are now peer dependencies instead of direct dependencies.
  • Introduced testID attributes for E2E testing frameworks.
  • Fixed a bug which caused an uncaught exception when the picker was hidden via the visible prop. #7
  • Improved the transition smoothness when hiding the picker on iOS.
  • Package is now covered by user interface tests (in addition to functional unit tests).

v1.0.2

16 May 04:55
Compare
Choose a tag to compare
  • Increased the height of the list picker items.
  • Minor security patch updates for development dependencies.

v1.0.1

20 Jan 11:31
2806832
Compare
Choose a tag to compare

This minor patch update allows for the react "key" of list items to be set manually. Refer to the main README file for implementation examples.

Initial Release (Stable)

19 Jan 02:57
Compare
Choose a tag to compare

This is the day zero production release for react-native-segmented-picker!

There were a couple of pre-production versions which existed prior to this, but since they were somewhat volatile (particularly on iOS), I'm leaving those out of the package version history.