Skip to content

v7.0.0

Compare
Choose a tag to compare
@uNmAnNeR uNmAnNeR released this 19 Jun 07:30
· 121 commits to master since this release

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