Skip to content
This repository was archived by the owner on Dec 14, 2025. It is now read-only.

Releases: sanniassin/react-input-mask

2.0.4

Choose a tag to compare

@sanniassin sanniassin released this 01 Sep 17:03
  • Fixed setting focus on unfocused input on mask change in Safari (Thanks to @ngryman, #154)
  • Fixed cursor jump on delayed mask or value change
  • Fixed broken compatibility with IE8

2.0.3

Choose a tag to compare

@sanniassin sanniassin released this 06 Aug 15:05
  • Fixed incompatibility with react-test-renderer (#147)

2.0.2

Choose a tag to compare

@sanniassin sanniassin released this 12 Jun 16:43
  • Fixed #141
  • Fixed issues with autofill in Firefox

2.0.1

Choose a tag to compare

@sanniassin sanniassin released this 22 May 15:44
  • Fixed UMD build

2.0.0

Choose a tag to compare

@sanniassin sanniassin released this 22 May 09:35
  • Fixed compatibility with StrictMode in React 16.3 and future React releases (due to deprecation of componentWillReceiveProps)
  • Added beforeMaskedValueChange property to allow to implement custom masking logic
  • Added support for children function to render another component instead of regular input
  • Removed ES module to avoid confusion with default import in some environments
  • Dropped support for React 0.13
  • Minor fixes (look at the beta changelog for more details)

2.0.0-beta.4

2.0.0-beta.4 Pre-release
Pre-release

Choose a tag to compare

@sanniassin sanniassin released this 17 May 11:45
  • Fixed false positive warning about maxLength prop (#140)
  • Added react-dom as a peer dependency

2.0.0-beta.3

2.0.0-beta.3 Pre-release
Pre-release

Choose a tag to compare

@sanniassin sanniassin released this 15 May 20:33
  • Fixed transition between masked and non-masked state
  • Added support for children function to render another component instead of regular input
  • Dropped support for React 0.13

2.0.0-beta.2

2.0.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@sanniassin sanniassin released this 11 May 10:52
  • Fixed issues with editing inputs with autoFocus

2.0.0-beta.1

2.0.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@sanniassin sanniassin released this 10 May 22:07
  • Fixed initial cursor position on inputs with autoFocus
  • Fixed bundles compatibility with IE 8,9,10 (not that easy to support actually)

2.0.0-beta.0

2.0.0-beta.0 Pre-release
Pre-release

Choose a tag to compare

@sanniassin sanniassin released this 10 May 14:25
  • Fixed deprecation warning in future React 16.4 (replaced componentWillReceiveProps with componentDidUpdate)
  • Removed ES module to avoid confusion with default import in some environments
  • Added beforeMaskedValueChange property to allow to implement custom masking logic
  • Log error into console if maxLength property is defined on masked input (#128)
  • Fixed cimoatibility with IE8 (why drop legacy if it's easy to support)
  • Fixed cursor position after deleting range that includes mask prefix
  • Fixed cursor position on backspace over permanent character on platforms with broken keydown event
  • Fixed inconsistent behavior between typing and pasting the same character over mask prefix
  • A lot of refactoring (thanks to @TrySound)