Skip to content

v1.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 11 May 04:02
· 7 commits to main since this release

1.1.0 (2026-05-11)

⚠ BREAKING CHANGES

  • mask: applyMask now returns { masked, raw } instead of a plain string. Migrate with const { masked, raw } = applyMask(props)
  • mask: <NitroInputMask onChangeText /> now receives (result: MaskResult) => void instead of (text: string) => void

✨ Features

  • example: demonstrate onChangeValue on phone input (a4d2065)
  • example: replace ScrollView with tab navigation (a53ce27)
  • example: show masked and raw values below each input (cf47835)
  • mask: add MaskResult type and update spec (8274da6)
  • mask: return MaskResult from applyMask and add onChangeValue (9a3f489)
  • mask: wire onChangeValue in component and service (8c56e30)

🐛 Bug Fixes

  • android: add missing MaskResult import (d53a328)
  • android: revert JNI descriptors to correct package path (dcaf26e)
  • example: update import to scoped package name (dd14004)
  • mask: mark user input before onChangeText check (01431b8)
  • mask: replace onChangeValue with overridden onChangeText (172df90)

💨 Performance Improvements

  • mask: memoize options and fix double setValue on Android (c9a4025)

🔄 Code Refactors

  • mask: remove top-level props cast in NitroInputMask (6672676)

📚 Documentation

  • fix npm badge package name (ec42bfd)
  • fix README examples to use onChangeText with MaskResult (4d343f3)
  • up changelog (cb9179e)
  • up demo gif (5cf4fc6)
  • update README and CHANGELOG for MaskResult (4c7455f)

🛠️ Other changes