Releases: taiga-family/maskito
Releases · taiga-family/maskito
Release 3.2.0
Release 3.1.2
Release 3.1.1
Release 3.1.0
Release 3.0.3
🐞 Bug Fixes
- angular: race condition when
[maskitoOptions]
are changed before long element predicate is resolved (#1696) (9f9bad3) - kit:
Time
has invalid segment separator forMM:SS.MSS
mode (#1687) (93972be) - core: incorrect behavior of
overwriteMode = replace
if selection contains several characters (#1685) (67c3c10) - react: race condition when
options
are changed before long element predicate is resolved (#1651) (f2932ce)
Release v3.0.2
Release v3.0.1
3.0.1 (2024-08-19)
🐞 Bug Fixes
Release v3.0.0
3.0.0 (2024-07-18)
⚠ BREAKING CHANGES
-
phone: remove built-in
RemoveOnBlur
/AddOnFocus
plugins from@maskito/phone
(#1352)
Learn more: https://maskito.dev/addons/phone#focus-blur -
angular: bump minimum required Angular version (15+ => 16+) (#1328)
-
angular: delete deprecated
MaskitoModule
&MaskitoCVA
(#1391)Previous behavior:
import {Component} from '@angular/core'; import {MaskitoModule} from '@maskito/angular'; import type {MaskitoOptions} from '@maskito/core'; @Component({ standalone: true, selector: 'app', imports: [MaskitoModule], template: ` <input [maskito]="options" /> {{ 'abc123def' | maskito: options }} `, }) export class App { public readonly options: MaskitoOptions = { mask: /^\d+$/, }; }
⬇️
New behavior:
import {Component} from '@angular/core'; import {MaskitoDirective, MaskitoPipe} from '@maskito/angular'; import type {MaskitoOptions} from '@maskito/core'; @Component({ standalone: true, selector: 'app', imports: [MaskitoDirective, MaskitoPipe], // <--- standalone entities template: ` <input [maskito]="options" /> {{ 'abc123def' | maskito: options }} `, }) export class App { public readonly options: MaskitoOptions = { mask: /^\d+$/, }; }
Features
- core: new built-in
maskitoChangeEventPlugin
(#1338)
Learn more: https://maskito.dev/core-concepts/plugins#change-event