Skip to content

2.4.0

Latest

Choose a tag to compare

@samuelbezerrab samuelbezerrab released this 11 Nov 22:19

Highlights

  • Add buttonStyle for the animated selection indicator and activeOpacity for option press feedback. Thanks to @LazyRecon and @vovka-s for the original contributions.
  • Preserve the published 2.3.0 behaviors for touchableProps, per-option disabled, and out-of-range initial selection. When both opacity props are provided, the direct activeOpacity takes precedence.
  • Update TypeScript declarations for modern React Native and React 19, including style props, icons, accessibility labels, and test IDs. textCStyle remains deprecated and ignored.
  • Refresh npm tooling, add behavioral and TypeScript tests, and replace CircleCI with GitHub Actions.

Compatibility and testing

JavaScript and TypeScript compatibility checks pass for React Native 0.76.9, 0.86.3, 0.87.1, and 0.88.1. These checks mock native APIs. A prior iOS 0.88.1 simulator smoke test covered rendering and programmatic selection; native touch gestures and Android runtime behavior remain unverified.

This GitHub release does not publish the package to npm.

Full changelog: 2.0...2.4.0