Release v1.0.0
1.0.0 (2023-06-21)
We are happy to introduce the first stable major release π
β BREAKING CHANGES
Before:
const options: MaskitoOptions = {
mask: /.../,
preprocessor: maskitoPipe(
preprocessor1,
preprocessor2,
preprocessor3,
),
postprocessor: postprocessor1,
};
After:
const options: MaskitoOptions = {
mask: /.../,
preprocessors: [
preprocessor1,
preprocessor2,
preprocessor3,
],
postprocessors: [ postprocessor1 ],
};
Before:
import {maskitoNumberOptionsGenerator} from '@maskito/kit';
const options = maskitoNumberOptionsGenerator({
isNegativeAllowed: false,
});
After:
import {maskitoNumberOptionsGenerator} from '@maskito/kit';
const options = maskitoNumberOptionsGenerator({
min: 0,
});