Skip to content

v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Feb 21:49
· 15 commits to master since this release

2.0.0 (2022-02-14)

Bug Fixes

  • allow to delete static charactes at end (f5ed5b2)
  • static characters can also be optional (e57b657)
  • escape: first character escaped (#49) (aca01db)

Features

  • alternations: add support for alternations / pipe (1ce86ca)
  • add support for repeating characters (347252d)
  • core.js: allow for turning on and off the masking (52ab873)
  • add support optional characters (a4089eb), closes #23

BREAKING CHANGES

  • alternations: The pipe character must be escaped if used as a static string.
  • The asterisk is now a special character, if you were using it before in your masks it
    must be escaped or changed in your token definition.
  • The "?" is now a special character, if you are using this character as part of your mask you must now escape it, or change the token used for optional characters in your token definition.