Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 737 Bytes

MIGRATING.md

File metadata and controls

7 lines (4 loc) · 737 Bytes

Migration guide

From 1.x.x to 2.x.x

A breaking change had to happen on [email protected] in order to fix both #37 and #64. The reason is explained on this comment.

Basically, for createNumberMask, if the allowEmpty message is set to true, the empty value at version 2.x.x will be null instead of undefined (or empty string). If you never used createNumberMask's allowEmpty option, you should be fine to migrate, otherwise you'll need to test if there's anything broken.