Skip to content

Latest commit

 

History

History
251 lines (170 loc) · 19.2 KB

CHANGELOG.md

File metadata and controls

251 lines (170 loc) · 19.2 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.13.3 (2024-04-05)

1.13.2 (2024-04-03)

1.13.1 (2024-04-03)

1.13.0 (2024-04-03)

Features

1.12.3 (2023-11-28)

1.12.2 (2023-11-28)

1.12.1 (2023-11-28)

1.12.0 (2023-11-28)

Features

  • add possibility to use functions for custom error message (025b42e)

1.11.9 (2023-10-14)

1.11.8 (2023-10-14)

1.11.7 (2023-10-14)

1.11.6 (2023-10-14)

1.11.5 (2023-10-14)

1.11.4 (2023-10-14)

1.11.3 (2023-09-30)

1.11.2 (2023-09-30)

1.11.1 (2023-09-30)

1.11.0 (2023-09-30)

Features

  • add CS and NL languages (bf88c1c)

1.10.0 (2022-08-20)

Features

1.9.0 (2022-08-17)

Features

1.8.0 (2022-08-11)

Features

1.7.0 (2022-08-09)

Features

  • change language on runtime (ee25529)

1.6.0 (2022-08-09)

Features

  • add support for textarea validation (76482eb)

Bug Fixes

  • use unknown instead of any (41baeb5)

1.5.0 (2022-08-09)

Features

  • add support for textarea validation (76482eb)

Bug Fixes

  • use unknown instead of any (41baeb5)

1.4.0 (2022-07-31)

Features

1.2.0 (2022-05-26)

Features

  • add lang for regex rule (c6e2183)

1.1.1 (2022-05-26)

1.1.0 (2022-05-25)

Features

1.0.0 (2022-04-07)

Features

Bug Fixes

  • nullable now is a virtual rule (1efa241)
  • emit errors on build (a29ff55)
  • fix nullable behavior (7a1d2a2)
  • fix readme (d7a84d3)
  • fix readme (631e147)
  • fix typos in the readme (c8ec46b)
  • ignore non-required and empty inputs (c75ed73)
  • remove throwErrorWhen helper function (7d9b7a6)
  • remove unused functions (d9ab937)
  • replace intro image (b6b6389)
  • undo code for non-required empty inputs (a56eb6d)
  • undo code for non-required empty inputs (60eb9c0)

0.2.0 (2022-03-13)

⚠ BREAKING CHANGES

  • By this commit, an HTMLElement should be passed to the validator instead of a string

Features

  • allow HTMLElement to be passed to the Validator (c89b844)
  • improve within to support array (3168b46)

Bug Fixes

  • fix conflicts (62ee440)
  • fix conflicts (d20892b)
  • fix email rule (61ec63a)
  • fix optional events (a34e2fe)
  • make Events fields optional (062f9d1)
  • revert rules for national code (dac6b55)
  • use HTMLElement interface insteadof HTMLInputElement (d6a23c2)

0.1.2 (2022-03-07)

Bug Fixes

0.1.1 (2022-03-05)

0.1.0 (2022-03-05)

⚠ BREAKING CHANGES

  • use data-rules instead of v-rules

Features

  • add accepted rule (165ad31)
  • add alpha-num-dash rule (e475ef5)
  • add alpha-num and num-dash rules (f3f1cb3)
  • add alpha rule (857b1a0)
  • add alpha rule (58fdb6b)
  • add createLang function to support ts in custom langs (f896802)
  • add createLang function to support ts in custom langs (11bacdb)
  • add digits rule (4421af3)
  • add endsWith rule (7fb1ecc)
  • add events support (5056dfc)
  • add gt rule (15b4ec6)
  • add gte rule (dd96349)
  • add integer alias for int (e630e8e)
  • add Lang type (f7bb99e)
  • add length rule (8384bb2)
  • add lt rule (6ce701a)
  • add lte rule (2b21cf6)
  • add maxlen & minlen & len alias (8da8ac5)
  • add required-if rule (without test) (7497e71)
  • add REQUIRED RuleError to between rule (284167d)
  • add startsWith rule (1300995)
  • add validate:failed event (8d08aba)
  • add within rule (b3eddaf)
  • add two min & max alias (830eef6)
  • pass form as first argument of events (cce6275)
  • pass status to validate:end hook (9f87f4c)
  • replace throwErrorWhen with when (a18be2c)
  • support async validation (b4ad388)
  • support defaultOption (26611e7)
  • support events with options (2579900)
  • support dependency in rules (db8e620)
  • support for optional language (f793c69)
  • support for optional language (f7d320e)
  • support multiple naming for rules (bcac47a)

Bug Fixes

  • throw error must stop validating (8e532f4)

  • add more check on between argument (6f501db)

  • add more tests for alpha-num-dash (6369897)

  • edit error message (92afda0)

  • edit incorrect texts (c21f2f3)

  • edit incorrect texts (b14b2e7)

  • fix max rule bug (76602ac)

  • fix error orders (caeb77a)

  • fix incorrect error texts (0389509)

  • fix lang function (918a1e8)

  • fix playground lang imports bug (952f7f7)

  • fix type check for langs (58864a6)

  • minor core improvement (c7455ea)

  • remove value hardcode (19ab1fa)

  • remove unused REQUIRED_IF error cause (a9f8ec9)

  • rename error-dev constants (64c1937)

  • rename Language.ts (94686a1)

  • rename Locale to Language (fbb1668)

  • rename regexes (90a876c)

  • rewrite gte to remove between dep (03602dc)

  • rewrite lte to remove between dep (436aae6)

  • show right rule name (dc3379c)

  • support args index (8ae632f)

  • support negative values for int (b187270)

  • use in instead of hasOwnProperty (8713e20)

  • rename v-rules to data-rules (8917fc0)