All Versions
10
Latest Version
Avg Release Cycle
72 days
Latest Release
579 days ago

Changelog History

  • v6.0.0 Changes

    March 16, 2020

    โœ‚ Removed:

    • Mask::apply(), the autocomplete flag

    This flag is now a part of the CaretGravity.FORWARD.

    Modified:

    • CaretGravity is now a sealed class

    โž• Added:

    • CaretGravity.FORWARD, the autocomplete flag
    • CaretGravity.BACKWARD, the autoskip flag
  • v5.0.0 Changes

    September 18, 2019

    โœ‚ Removed:

    • CaretStringIterator::beforeCaret()

    This method is now replaced with ::insertionAffectsCaret() and ::deletionAffectsCaret() calls.

    โž• Added:

    • CaretString instances now contain caret gravity.

    ๐Ÿšš Caret gravity affects caret movement when Mask adds characters precisely at the caret position during formatting. It is important to retain caret position after text deletion/backspacing.

    0๏ธโƒฃ Default CaretGravity is .FORWARD. Set caret gravity to .BACKWARD only when user hits backspace.

    • CaretStringIterator::insertionAffectsCaret() and CaretStringIterator::deletionAffectsCaret()

    These methods allow to incorporate new caret gravity setting.

    • Right-to-left masks.
  • v4.3.1

    July 02, 2019
  • v4.3.0 Changes

    June 13, 2019

    โž• Added:

    • AffinityCalculationStrategy.EXTRACTED_VALUE_CAPACITY option allowing to have radically different mask format depending on the extracted value length
  • v4.2.2

    June 07, 2019
  • v4.2.1

    June 07, 2019
  • v4.2.0 Changes

    May 30, 2019

    โž• Added:

    • AffinityCalculationStrategy.CAPACITY affinity calculation option allowing to have radically different mask format depending on the input length
  • v4.1.0 Changes

    February 06, 2019

    โž• Added:

    • formattedText to MaskedTextChangedListener.ValueListener::onTextChanged
    • Mask::isValid(format:customNotations:) method for format checks

    ๐Ÿ›  Fixed:

    • ๐Ÿ‘€ Optional blocks of symbols are now ignored when extracted value completeness is calculated, see #70
  • v4.0.0

    November 19, 2018
  • v3.4.4

    June 05, 2018