Skip to content

Releases: taiga-family/maskito

Release 3.2.1

26 Dec 08:50
Compare
Choose a tag to compare

🐞 Bug Fixes

  • kit: Number should ignore [decimalSeparator] value if [precision]=0 (#1908) (19effe2)
  • kit: Number + postfix (with leading space) adds unnecessary spaces on paste value with trailing spaces (#1865) (c37b1d6)
  • kit: DateRange should accept single character date segment paste even if date and range separators are equal (#1796) (be6a4c3)

Release 3.2.0

30 Oct 07:53
Compare
Choose a tag to compare

🚀 Features

Release 3.1.2

22 Oct 09:51
Compare
Choose a tag to compare

🐞 Bug Fixes

  • kit: Time & DateTime has conflicts between step & AM/PM features (#1791) (805f70b)
  • kit: Number incorrectly shift caret for 1st time insertion into textfield with initial value (#1792) (0049d91)

Release 3.1.1

17 Oct 13:01
Compare
Choose a tag to compare

🐞 Bug Fixes

  • kit: Number fails to prevent user insertion of extra spaces on invalid positions (#1789) (a40445c)
  • kit: DateTime fails to process value without any separators (paste from clipboard) (#1779) (1733422)

Release 3.1.0

09 Oct 13:05
Compare
Choose a tag to compare

🚀 Features

🐞 Bug Fixes

  • core: overwriteMode: replace has incorrect behavior on attempt to insert invalid characters (#1772) (5aeb074)

Release 3.0.3

25 Sep 13:22
Compare
Choose a tag to compare

🐞 Bug Fixes

  • angular: race condition when [maskitoOptions] are changed before long element predicate is resolved (#1696) (9f9bad3)
  • kit: Time has invalid segment separator for MM: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

20 Sep 10:48
Compare
Choose a tag to compare

3.0.2 (2024-09-20)

🐞 Bug Fixes

  • core: Time with [step] has unexpected cursor jump to the next segment on ArrowUp/ArrowDown
    (#1478)
    (59a5927)
  • core: fix scroll for masked narrow textfields (#1645)
    (c6d2828)

Release v3.0.1

19 Aug 08:47
Compare
Choose a tag to compare

3.0.1 (2024-08-19)

🐞 Bug Fixes

  • kit: maskitoStringifyTime was adding 0 on the wrong side
    (#1401)
    (b28ee12)
  • kit: Placeholder should support partial programmatic removal of placeholder's characters
    (#1441)
    (146a557)
  • kit: Time incorrectly validates value if timeSegmentMaxValues includes single digit
    (#1402)
    (26670f4)

Release v3.0.0

18 Jul 09:33
dc6a2c9
Compare
Choose a tag to compare

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

Release v2.5.0

24 Jun 07:59
44c8f17
Compare
Choose a tag to compare

2.5.0 (2024-06-24)

Features

  • kit: new maskitoParseTime and maskitoStringifyTime utils
    (#1302)
    (d0f9b13)

Bug Fixes

  • core: correct handling of browser autofill/suggestion in Firefox
    (#1326)
    (a049207)
  • kit: Date, DateRange, DateTime supports multi-character date segments separator
    (#1306)
    (cdf2fae)
  • kit: move caret after attempt to erase fixed character in a mask with Placeholder
    (#1307)
    (87ae431)