react-input-mask v2.0.0-beta.0 Release Notes

Release Date: 2018-05-10 // about 4 years ago
    • ๐Ÿ›  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)