Skip to content

Releases: sanniassin/react-input-mask

2.0.4

01 Sep 17:03
Compare
Choose a tag to compare
  • 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

06 Aug 15:05
Compare
Choose a tag to compare
  • Fixed incompatibility with react-test-renderer (#147)

2.0.2

12 Jun 16:43
Compare
Choose a tag to compare
  • Fixed #141
  • Fixed issues with autofill in Firefox

2.0.1

22 May 15:44
Compare
Choose a tag to compare
  • Fixed UMD build

2.0.0

22 May 09:35
Compare
Choose a tag to compare
  • 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

17 May 11:45
Compare
Choose a tag to compare
2.0.0-beta.4 Pre-release
Pre-release
  • Fixed false positive warning about maxLength prop (#140)
  • Added react-dom as a peer dependency

2.0.0-beta.3

15 May 20:33
Compare
Choose a tag to compare
2.0.0-beta.3 Pre-release
Pre-release
  • 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

11 May 10:52
Compare
Choose a tag to compare
2.0.0-beta.2 Pre-release
Pre-release
  • Fixed issues with editing inputs with autoFocus

2.0.0-beta.1

10 May 22:07
Compare
Choose a tag to compare
2.0.0-beta.1 Pre-release
Pre-release
  • 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

10 May 14:25
Compare
Choose a tag to compare
2.0.0-beta.0 Pre-release
Pre-release
  • 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)