Skip to content

Releases: Salve-Software/react-native-nitro-input-mask

Release list

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 11 May 04:02

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

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 11 May 02:08

1.0.0 (2026-05-11)

✨Initial release

High-performance native input masks for React Native, built on Nitro Modules.

  • <NitroInputMask /> — drop-in replacement for <TextInput /> with synchronous native masking (zero JS flicker)
  • NitroInputMaskService — apply any mask to a string without rendering a component
  • Built-in mask types — custom, money, datetime, credit-card
  • Range tokens — inline [from-to] syntax (e.g. [1-12] for month)
  • iOS (Swift) and Android (Kotlin) support