All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.2.4 (2024-09-20)
2.2.3 (2024-09-09)
2.2.2 (2024-08-23)
2.2.1 (2024-06-03)
- translation (49face9)
2.2.0 (2024-05-31)
- add support wildcard attribtes (6b48b10)
2.1.4 (2024-05-21)
2.1.3 (2024-05-21)
- add missing translations (35d702f)
- add missing translations (0dee8c8)
- prevent from read undefined (b107265)
2.1.2 (2024-05-16)
2.1.1 (2024-04-01)
2.1.0 (2024-03-31)
- 🍻 validate min/max of email username (b052352)
- ✨ make email validate more strict and add test (d12ce51)
2.0.3 (2024-03-28)
2.0.2 (2024-02-16)
- deps: bump actions/cache from 3 to 4 (5f902e6)
- deps: bump actions/stale from 8 to 9 (f6aa104)
- deps: bump github/codeql-action from 2 to 3 (b1d5e01)
- deps: bump pnpm/action-setup from 2 to 3 (6c5802e)
2.0.1 (2023-12-06)
- the types is interpreted as esm (58192fa)
2.0.0 (2023-12-05)
- 🎨 adjust the eslint config
- using unbuild and make support ems/cjs
1.4.5 (2023-12-05)
1.4.4 (2023-11-01)
- 🎨 format code (75c12c7)
- deps: bump actions/setup-node from 3 to 4 (ba4a431)
- deps: bump stefanzweifel/git-auto-commit-action from 4 to 5 (dc2c6a7)
1.4.3 (2023-10-04)
- 🐛 patch missing count of null (4dfe7ac)
1.4.2 (2023-10-04)
- 🚀 set the default value for parent and bump all outdated (c7d5e30)
- deps: bump get-func-name from 2.0.0 to 2.0.2 (36973ba)
- deps: bump postcss from 8.4.29 to 8.4.31 (b8b7626)
1.4.1 (2023-09-21)
- 🐛 assign the simpleobject to type (a147c3b)
1.4.0 (2023-09-21)
- ✨ added new defaultAttributeName to option (c4e4013)
1.3.0 (2023-09-20)
- ✨ added new option to accept none attribute of the message (cec017c)
- ✨ added nullable rule (9ee951a)
- 🎨 fix styling by (eslint) (9a5ff3a)
- 🎨 style commit self (8ec1525)
- 🍻 make test import from vite directly (24d4869)
- 🐛 correct index of message with nested array object (04383af)
- 🐛 correct test:watch (44464ea)
- 🐛 remove the private from functions (0833d7a)
- 🐛 remove unused packages (d4a55e7)
- 🐛 remove warn log (9195487)
- 🔥 completely remove prettier (1ae36cd)
- :penicl2: remove unused const properties (4d86528)
- 🚀 use antfu/eslint-config (3fc8d3d)
- deps: bump actions/checkout from 3 to 4 (90b04f3)
1.2.3 (2023-08-26)
1.2.2 (2023-05-23)
1.2.1 (2023-05-20)
- 🐛 remove (e) from catch block (58f755e)
- 📝 change all pnpm to yarn (d92c243)
- deps-dev: update vittest to latest (7eeeef4)
- deps: bump actions/stale from 7 to 8 (6777206)
1.2.0 (2023-01-17)
- ✨ add flush method to errors (3d7829d)
- ✨ added clear function (40a0707)
- ✨ change yarn to pnpm (fb2f1f4)
- 🍻 remove unused lang property from message class (12be796)
- 🐛 correct of tests (c066ff0)
- 🐛 fix test scripts (1ad7cad)
- 🔥 remove redundant functions (e7ac7f3)
- ✏️ change typo (d749a03)
- ✏️ correct github link (5175abd)
- deps: bump actions/checkout from 3.1.0 to 3.2.0 (6b9fc3e)
- deps: bump actions/checkout from 3.2.0 to 3.3.0 (a73624c)
- deps: bump actions/setup-node from 3.5.1 to 3.6.0 (bc269a4)
- deps: bump actions/stale from 6 to 7 (acad670)
- deps: bump json5 from 1.0.1 to 1.0.2 (3d49ca3)
1.1.5 (2022-11-21)
- 🧐 update readme according to the code change and update testsa (104ba86)
- change undefined to null (e7b162c)
- correct file name import (7299ec6)
- deps: bump actions/checkout from 3.0.2 to 3.1.0 (fbe97b5)
- deps: bump actions/setup-node from 3.4.1 to 3.5.0 (9dc4226)
- deps: bump actions/setup-node from 3.5.0 to 3.5.1 (87c3344)
- deps: bump actions/stale from 5 to 6 (4afdc03)
- enable printwith to 120 (d275015)
- export the errors class (6c47a69)
- inject more type (b21aeab)
- prevent the message is undefined (d898877)
- statically import three languages (cf1c311)
1.1.4 (2022-09-15)
- 🔥 remove change string length with numeric validator (28505da)
- 🔥 remove change string length with numeric validator (f5ee019)
- deps: bump actions/setup-node from 3.3.0 to 3.4.1 (a6ea5b2)
1.1.3 (2022-07-08)
- 🔥 change loop (e026c53)
- custom messaage * and test (ce1563e)
- remove redundant characters (d397f45)
- remove value (ad7532d)
1.1.2 (2022-07-07)
- 🔥 change file from kh to km (7c781a3)
- 🔥 fix falsy in rule and update test (c684be6)
- typing typo (4896923)
1.1.1 (2022-07-06)
- 🔥 detect the prototype polluting (9950186)
- 🔥 incomplete string escaping or encoding (d8cfb69)
- correct type of step on (3a5d87e)
- inefficient regular expression (4bdf2a1)
- using object create (887319d)
1.1.0 (2022-07-06)
- 🍻 added validate on numeric max and min (e3e27d1)
- 🔥 min and max value, also update readme (27a56e6)
- cast the type (3f6835e)
- deps: bump actions/setup-node from 3.2.0 to 3.3.0 (4b9def6)
- initial optimized (f61e73e)
- removed unusd import (43a7925)
1.0.5 (2022-05-27)
- change key code from km to kh (fc0e064)
1.0.4 (2022-04-30)
1.0.3 (2022-04-30)
- add ts-node (4def6dc)
- deps: bump actions/checkout from 2.4.0 to 3.0.2 (e64c8c7)
- deps: bump actions/setup-node from 2.5.1 to 3.1.1 (5192f4c)
- deps: bump actions/stale from 4 to 5 (2abf89a)
- deps: bump github/codeql-action from 1 to 2 (a2db7c1)
- deps: bump minimist from 1.2.5 to 1.2.6 (f8aaf29)
1.0.2 (2022-01-18)
- 🔥 fix linting (32013a0)
- change export and typing folder (d04186e)
- make export default of all lang file (d88200a)
1.0.1 (2022-01-02)
- 🍺 change targe build to es2019 (b9e6712)
1.0.0 (2022-01-01)
- From
const validator = new Validator({
input,
rules,
customMessage: {},
customAttributes: {},
locale: 'en',
confirmedReverse: true,
})
- to
const options = {
customMessage: {},
customAttributes: {},
locale: 'en',
confirmedReverse: true,
}
const validator = new Validator(input, rules, options)
- 🍺 add password rule (d9c597b)
- 🚀 add ton of translation file and tests (6e49c81)
- 🚀 re-write in typescript (cc74636)
- ⚡ add validated() method (a6b1bc3)
- add accept and after rules (ea58f10)
- add after_or_equal rule (62230a9)
- add alpha rule (aa6dc3e)
- add alpha_dash and alpha_num rule (51d453e)
- add uzbek translation (b168791)
- 🍺 add documentation for sometimes rule, and fix nested sometimes bug (ab98fae)
- 🍺 make readme is update and remove types BREAKING CHANGE: fix readme file (add193c)
- 🔥 remove console from test (9935be6)
- 🚀 BREAKING CHANGE: replace message that has dot to empty space (f6af033)
- 🎉 Make first email regex support UTF-8 and change regex algorithm (ff9dc87)
- fix main path of build directory (a2ea153)
- fix numeric related rules (dc492f7)
- some typos (1f63e62)