Releases: Lemoncode/fonk
Releases · Lemoncode/fonk
v1.4.0-beta.3
- update array validator typings bac63e8
- add multiple user creation ts example 7996c1d
- add shopping cart ts example b8d2330
- remove submit click 33a7ea9
- remove debugger 861ab3d
- remove debugger f0dad26
- add debugger on button click bbec718
- add doc ready funciton 35c55e9
- remove duplicated htmls bd3479b
- update html 092c9e2
- remov alert on validate form 19836d2
- update helpers 0ef4695
- update index.html f8c5c0a
- fix example e561615
- add vanilla js multiple user creation 8ed6d17
- update example 327e73a
- implement vanilla shopping cart example d6d9f11
- update fonk version on examples 3d8ac23
v1.4.0-beta.2
- update beta version in examples a64002e
- remove async/await from lib 9dfd5f4
- Add typescript multiple user creation example 669992a
- add shopping cart typescript example a399ac8
- add multiple user creation example 4b260e3
- update shopping cart example 355dc00
- add validator in package.json cfeb33f
- update example linik de35924
- add react-final-form shopping cart example f57a204
- typo 28a3e49
- add multiple-user-creation-array-validator example 52ae0ce
- update shopping cart example f5f12bf
- update example 6ec5887
- add shopping cart formik example 9cd0b8d
v1.4.0-beta.1
- update package.json 26467e4
- fix form mapper abf5fed
- update typings 7100bf7
- add validation result mapper specs 0fda4d7
- implement reduceAsync helper 4d0cdae
- add mapper to validateForm 747de82
- add array validator validateField specs 318d24e
- implement array validator and add some unit tests 217fb4d
- update fonk version in examples 7b9ff74
v1.3.0
v1.1.0
Features:
- Add
updateValidationSchema
method to update validation schema after create form validation instance.
This method could be useful in some scenarios:- You want to translate your error messages on the fly.
- You have disabled fields and you want to add/remove validations when it's enabled/disabled.
- You get some rules from rest api, e.g: you have an IBAN account and you want to disabled for some countries and you request that list from server.
Minor changes:
- Update examples
- Remove unused FormValidationExtended
Fonk v1.0.0 🎉
Fonk is a pure javascript form validation library.
It allows you to define validations that apply to your form in a declarative way.
Features
- Framework Agnostic
- Plain vanilla js
- Typescript supported.
- Field, Record and Form validations
- Sync and Async validations supported.
- Built-in validators (required, pattern, min-length, max-length, email)
- Third party validators (microlibraries with specific validators)
- Custom sync and async validators.
- Custom error messages.
- i18n supported.
- Seamless integration with any Javascript UI library like React, VueJS, etc.
- Seamless integration with React Final Form
Learn more in Fonk Documentation
Future features
- Fire validations by DOM event type
- Integration with Formik
v0.4.2
v0.4.1
- Merge pull request #51 from Lemoncode/feature/expose-form-validation-class 58cfbb3
- Update typings 4feab49
- Add FormValidation class 2447945
- Add async-record-validator ts react-final-form example ae8fcf1
- Add async-record-validator with react-final-form js 4833fcc
- Add async-record-validation in vanilla js examples ecea5e4
- Update readme 156b1a2
v0.4.0
- Merge pull request #44 from Lemoncode/feature/#43-expose-validation-engine-as-public f72520c
- Add typings 383a431
- Expose FormValidationExtensions b695314
- Update README.md 3e5bfdb
- Update README.md ce766cd
- Update README.md 53bf389
- Update README.md 2ea539e
- Update README.md 723e4d4
- Update README.md 64b7c86
- Update README.md 2f5d1ff
- Add iban validator react-final-form ts example 3044bcb
- Add iban validator react-final-form js example 2bacf8f
- Add iban validator vanilla ts example 24f1cd0
- Merge branch 'master' of https://github.com/Lemoncode/fonk 087784a
- Add iban validator vanilla js example 58bf82f
- Update README.md ba2f795
v0.3.0
- Merge pull request #41 from Lemoncode/feature/#30-add-message-interpolation 77512d3
- Update format d967ddd
- Export function as public method bedd26f
- Use parseMessageWithCustomArgs in validators 32dedd6
- Implement parseMessageWithCustomArgs 2d8f099
- Add react-final-form validate-record js and ts examples 638d147
- Update readme links 65f39d3
- Add docs general validating-field examples a8dc86c
- Fix required js example bced86a
- Fix required examples 7ce5b06
- Fix doc api ts example ulrs ca29e49
- Use prismjs with setTimeout 882bf46
- Move prismjs to dependencies 876d3db
- Merge pull request #40 from Lemoncode/feature/#37-add-doc-examples cead7bb
- Add custom-validators vanilla ts example 6638324
- Add custom-validators vanilla js example fa6791f
- Rename to validate-field and validate-form the react-final-form examples b713249
- Update comment c5b7334
- Add docs api pattern ts example 6082bfe
- Add docs api min-length ts example 96526c9
- Add docs api max length ts example 05e491f
- Add docs api email ts example 31b1b61
- Add docs api max-length js example 4f5ac93
- Add docs api min-length js example 50c7c5d
- Add docs api pattern js example b389f39
- Add docs api email js example ff7bb54
- Add docs api required ts example e193ada
- Add docs api required js example ba9512a
- Add docs api record-validator ts example 341fae8
- Add docs api record-validation js example 653e7de
- Add docs api field-validator ts example 3c07e77
- Implement docs api field-validator js example 1b99626
- Add async validator react-final-form ts example ca7aa38
- Add Async validator react-final-form js example d5050c6
- Add async validator vanilla ts example e2379f0
- Fix async validator vanilla js example 257a4cc
- Add async validator example 460ce3f
- Add nested field with react-final-form ts example 81eda52
- Add nested field with react-final-form js 50a68ed
- Add nested field vanilla ts example 7f2e197
- Add nested field vanilla js example 6973e3d
- Add custom-error-message example with react-final-form 776f214
- Add custom-error-message vanilla js and ts example addc295
- Remove setErrorMessage 85eec89
- Implement ts example cb54e6e
- Implement validate field, record and form with react-final-form e15e9f6
- Add validate field, record and form ts example b49f2c9
- Implement validate field, record and form js example dd00a5e
- Add validateRecord typescript example 510e40f
- Add validate-record javascript example a7ff0f6
- Add validate-form ts example 9c0e5cf
- Add validate-form js example 07a5a6b
- Use prismjs in the js example d9cf4e1
- Add prismjs to highlight the code 4e0775b
- Added styles 5049f9e
- Refactor ts example with playground file eb875a1
- Update ts example a4078c2
- Add ts example 90eff4f
- Update js example 7ba4e4a
- add vanilla js example 73b3fb4
- Update README.md 8c8e8b8
- Update README.md 14d1733
- Merge pull request #39 from Lemoncode/newreadme 521a23b
- updated link 0a1a4d7
- new temporary readme d14b604
- 0.2.0 380da95