Skip to content

Releases: uNmAnNeR/imaskjs

v7.0.0

19 Jun 07:30
Compare
Choose a tag to compare

It's mostly a maintenance release. The main big change is to use Typescript everywhere. With some of any of course.

Some other changes:

  • new api documentation generated by typedoc
  • IE support has been dropped but compilation target is still > 0.25%, not dead
  • use @babel/runtime-corejs3 as runtime dependency
  • use npm workspaces, nodejs builtin test tools, update build pipeline

Core:

  • prepare callback has been renamed to prepareChar. prepare now accepts the entire string. This can be useful if you need to handle pasting a value.
  • resolve method no longer returns a value
  • doParse and doFormat have been removed
  • Number mask:
    • signed option has been removed. Use min and max instead.
    • Now defaults are min=Number.MIN_SAFE_INTEGER and max=Number.MAX_SAFE_INTEGER
    • If the mask can only accept negative values, a minus sign is automatically added

Vue:

  • add types

Angular:

  • update to 16

v6.6.3

08 Jun 08:08
Compare
Choose a tag to compare
  • small bug fixes

v6.6.2

02 Jun 09:59
Compare
Choose a tag to compare

v6.6.1

27 Apr 08:45
Compare
Choose a tag to compare
  • improve resolving mask for dynamic + pattern masks (thanks to @Wedas)
  • React: fix types once again
  • Angular: add Unmask and Value types

v6.6.0

17 Apr 07:38
Compare
Choose a tag to compare
  • secured text entry available for the pattern mask via new displayChar option

v6.5.1

12 Apr 06:24
Compare
Choose a tag to compare
  • fix bugs

v6.5.0

05 Apr 14:11
Compare
Choose a tag to compare
  • New plugin for Solidjs. Thanks to the @i-Welch and @atk!
  • Angular: update to v15 (breaking) thanks to @kbrilla
  • React: fix types
  • Add new skipInvalid option
  • Fix handling small numbers with Number mask. thanks to @micDropper
  • Add new modes (append, remove) for eager option
  • fix bugs
  • up deps

v6.4.3

19 Sep 17:53
Compare
Choose a tag to compare
  • fix bugs

v6.4.2

09 Feb 10:34
Compare
Choose a tag to compare
  • React: now possible to pass ref to IMaskInput and get access to internal instance of Masked
  • React: fix types for IMaskInput #608
  • fix bugs around using eager with dynamic mask
  • update deps

v6.4.0

03 Feb 07:49
Compare
Choose a tag to compare
  • refactor cursor positioning for pattern mask (seems i understand now how it works)
  • add new overflow: 'shift' flag
  • fix bugs