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)
- Add arabic langauge (b13ff76)
1.12.3 (2023-11-28)
1.12.2 (2023-11-28)
1.12.1 (2023-11-28)
1.12.0 (2023-11-28)
- 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)
- add CS and NL languages (bf88c1c)
1.10.0 (2022-08-20)
- add nl language (18746ee)
1.9.0 (2022-08-17)
- add cs lang (f171b46)
1.8.0 (2022-08-11)
- Add new locales. (c60add0)
1.7.0 (2022-08-09)
- change language on runtime (ee25529)
1.6.0 (2022-08-09)
- add support for textarea validation (76482eb)
- use
unknown
instead ofany
(41baeb5)
1.5.0 (2022-08-09)
- add support for textarea validation (76482eb)
- use
unknown
instead ofany
(41baeb5)
1.4.0 (2022-07-31)
- add support for validate per field (3f508ff)
- before release refactor (7a9ef8a)
- fix events trigger order (c5536ab)
- refactor project (7bad2f5)
- rename function (a65c223)
- update renovate configs (618a80b)
- update version (38ba534)
- use name
container
for parent element (570d6ff)
1.2.0 (2022-05-26)
- add lang for regex rule (c6e2183)
1.1.1 (2022-05-26)
1.1.0 (2022-05-25)
- add support for
regex
rule (0390a52) - add UnoCSS to playground (44769b9)
- add validator test (c56495f)
- enahnce x-rules feature (8a40071)
- improve
regex-rule
rule (68f2990)
1.0.0 (2022-04-07)
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)
- By this commit, an
HTMLElement
should be passed to the validator instead of a string
- 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 insteadofHTMLInputElement
(d6a23c2)
0.1.2 (2022-03-07)
- fix package entry (a882e39)
0.1.1 (2022-03-05)
- use
data-rules
instead ofv-rules
- add
accepted
rule (165ad31) - add
alpha-num-dash
rule (e475ef5) - add
alpha-num
andnum-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 tobetween
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
withwhen
(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)
-
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 removebetween
dep (03602dc) -
rewrite
lte
to removebetween
dep (436aae6) -
show right rule name (dc3379c)
-
support args index (8ae632f)
-
support negative values for int (b187270)
-
use
in
instead ofhasOwnProperty
(8713e20) -
rename
v-rules
todata-rules
(8917fc0)