Releases: sanniassin/react-input-mask
Releases · sanniassin/react-input-mask
2.0.4
2.0.3
2.0.2
2.0.1
- Fixed UMD build
2.0.0
- 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
- Fixed false positive warning about
maxLength
prop (#140) - Added react-dom as a peer dependency
2.0.0-beta.3
- 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
- Fixed issues with editing inputs with autoFocus
2.0.0-beta.1
- 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
- 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)