All Versions
13
Latest Version
Avg Release Cycle
63 days
Latest Release
-

Changelog History
Page 1

  • v6.1.0 Changes

    โž• Added:
    • ๐Ÿ‘ iOS suggestions support
  • v6.0.0 Changes

    March 16, 2020

    โœ‚ Removed:

    • Mask::apply(), the autocomplete flag

    This flag is now a part of the CaretGravity.forward enum case.

    โž• 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.

    • ::deleteText() and ::modifyText() in MaskedTextFieldDelegate, MaskedTextInputListener and MaskedTextViewDelegate

    โ™ป๏ธ These methods had been refactored and merged.

    Please, consider overriding corresponding
    textField(:shouldChangeCharactersIn:replacementString:)
    textInput(:isChangingCharactersIn:replacementString:) or
    textView(:shouldChangeTextIn:replacementText:)
    instead.

    โž• 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. RTLCaretStringIterator had also been rewritten to reflect these changes.

    Modified:

  • v4.3.0 Changes

    June 13, 2019

    โž• Added:

    • AffinityCalculationStrategy.extractedValueCapacity option allowing to have radically different mask format depending on the extracted value length
  • v4.2.0 Changes

    May 30, 2019

    โž• Added:

    • AffinityCalculationStrategy.capacity option allowing to have radically different mask format depending on the input length
  • v4.1.1

    April 08, 2019
  • v4.1.0 Changes

    February 04, 2019

    โž• Added:

    • Mask.isValid(format:customNotations:) method for format checks
    • ๐Ÿšš MaskedTextFieldDelegate.atomicCursorMovement and MaskedTextInputListener.atomicCaretMovement properties in order to address issue #32

    ๐Ÿ›  Fixed:

    • Optional blocks of symbols are now ignored when extracted value completeness is calculated
    • textFieldDidEndEditing delegate method not called
  • v4.0.2

    November 28, 2018
  • v4.0.1

    October 08, 2018
  • v4.0.0

    July 26, 2018