Skip to content

Releases: taiga-family/maskito

Release v1.4.0

27 Jul 09:26
Compare
Choose a tag to compare

1.4.0 (2023-07-27)

Features

  • kit: Date & DateRange support new modes yyyy, mm/yyyy, yyyy/mm
    (#384)
    (7886d50)
  • kit: Time supports new mode HH (#385)
    (3c7a3f6)

Release v1.3.0

24 Jul 11:48
Compare
Choose a tag to compare

1.3.0 (2023-07-24)

Features

  • kit: DateRange add configurable parameter rangeSeparator
    (#376)
    (d904842)

Bug Fixes

  • kit: Number has problems with run-time updates of postfix
    (#380)
    (8210896)

Release v1.2.2

19 Jul 10:15
Compare
Choose a tag to compare

1.2.2 (2023-07-19)

Bug Fixes

  • kit: maskitoCaretGuard should wait for mouseup before execution
    (#372)
    (8554fea)
  • kit: Number should remove repeated leading zeroes for integer part only on blur-event
    (#373)
    (7cf4938)

Release v1.2.1

11 Jul 10:56
Compare
Choose a tag to compare

1.2.1 (2023-07-11)

Bug Fixes

  • kit: Number with postfix should be compatible with decimalZeroPadding
    (#364)
    (501cf9c)
  • kit: Prefix/Postfix is incompatible if they end/start with the same character
    (#366)
    (06afbcb)

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)