v7.0.0
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 toprepareChar
.prepare
now accepts the entire string. This can be useful if you need to handle pasting a value.resolve
method no longer returns a valuedoParse
anddoFormat
have been removed- Number mask:
signed
option has been removed. Usemin
andmax
instead.- Now defaults are
min=Number.MIN_SAFE_INTEGER
andmax=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