Skip to content

Releases: taiga-family/maskito

Release v1.2.0

03 Jul 10:08
Compare
Choose a tag to compare

1.2.0 (2023-07-03)

Features

  • kit: maskitoCaretGuard's function has the 2nd argument with current selection range
    (#358)
    (eedc4d6)

Bug Fixes

  • kit: maskitoCaretGuard incorrectly validates the left side of constraints
    (#356)
    (17ee90f)
  • kit: Number should skip min/max validation if value does not contain any digits
    (#359)
    (ed8221e)

Release v1.1.1

29 Jun 08:07
Compare
Choose a tag to compare

1.1.1 (2023-06-29)

Bug Fixes

  • core: don't ignore native attribute maxlength (#350)
    (8504f49)
  • kit: Number should ignore new typed decimal separator if it already exists in text field
    (#351)
    (4ccfdc8)

Release v1.1.0

23 Jun 12:39
Compare
Choose a tag to compare

1.1.0 (2023-06-23)

Features

  • kit: maskitoEventHandler accepts AddEventListenerOptions as the 3d optional argument
    (#346)
    (1d5866e)
  • kit: use capturing phase for focus/blur events in plugins
    (#347)
    (ef539e1)

Bug Fixes

  • kit: Date allows to replace the whole selection range with zero
    (#345)
    (98fd21d)

Release v1.0.0

21 Jun 09:08
Compare
Choose a tag to compare

1.0.0 (2023-06-21)

We are happy to introduce the first stable major release 🎉

⚠ BREAKING CHANGES


  • core: delete deprecated preprocessor & postprocessor from MaskitoOptions
    (#337)
    (0b6aad2)

Before:

const options: MaskitoOptions = {
    mask: /.../,
    preprocessor: maskitoPipe(
        preprocessor1,
        preprocessor2,
        preprocessor3,
    ),
    postprocessor: postprocessor1,
};

After:

const options: MaskitoOptions = {
    mask: /.../,
    preprocessors: [
        preprocessor1,
        preprocessor2,
        preprocessor3,
    ],
    postprocessors: [ postprocessor1 ],
};

  • kit: delete deprecated isNegativeAllowed parameter from Number mask
    (#338)
    (9fd3005)

Before:

import {maskitoNumberOptionsGenerator} from '@maskito/kit';
 
const options = maskitoNumberOptionsGenerator({
    isNegativeAllowed: false,
});

After:

import {maskitoNumberOptionsGenerator} from '@maskito/kit';
 
const options = maskitoNumberOptionsGenerator({
    min: 0,
});

Release v0.16.0

20 Jun 12:09
Compare
Choose a tag to compare

0.16.0 (2023-06-20)

Features

Bug Fixes

  • kit: Number fails to parse small number on blur (exponential notation problem)
    (#339)
    (7f83a7f)

Release v0.15.0

14 Jun 10:21
Compare
Choose a tag to compare

0.15.0 (2023-06-14)

Features

  • core: add new parameters preprocessors & postprocessors and deprecate preprocessor & postprocessor
    (#333)
    (0137775)

Bug Fixes

  • kit: maskitoParseNumber should return NaN for all strings with no digits
    (#331)
    (d1ebcec)
  • kit: Number incorrectly implements min/max behaviour (#334)
    (9876d88)

Release v0.14.0

09 Jun 07:30
Compare
Choose a tag to compare

0.14.0 (2023-06-09)

Features

  • angular: [maskitoElement] can accept asynchronous predicate
    (#316)
    (3d8949e)
  • kit: Number pads empty integer part with zero on blur (if decimal part exists)
    (#328)
    (bd01967)

Release v0.13.0

02 Jun 15:28
Compare
Choose a tag to compare

0.13.0 (2023-06-02)

Features

  • core: better layout-independent way to detect Undo and Redo
    (#320)
    (4c5a7f6)
  • vue: add dedicated Vue package (#321)
    (f6ffb24)

Release v0.12.1

25 May 07:02
Compare
Choose a tag to compare

0.12.1 (2023-05-25)

Bug Fixes

  • kit: DateTime validate min / max if date is complete (#314)
    (5783e76)
  • kit: Time & DateTime should accept time segment separator typed by user
    (#317)
    (3bcac7f)

Release v0.12.0

19 May 12:18
Compare
Choose a tag to compare

0.12.0 (2023-05-19)

Features

  • core: add plugins to MaskitoOptions (#305)
    (b512ae2)
  • core: expose MaskitoMask, MaskitoPreprocessor, MaskitoPostprocessor and MaskitoPlugin
    (70a0eda)
  • kit: new maskitoWithPlaceholder utility (#299)
    (21eb69c)