Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
27a2e63
refactor: create a example of individually email validator
deandreamatias Jun 1, 2024
85f278f
feat: add invalid null and empty
deandreamatias Jun 1, 2024
1adb0f0
fix: invert logi
deandreamatias Jun 1, 2024
44e6fee
Start splitting up
martijn00 Jun 24, 2024
1b8f819
Add folders
martijn00 Jun 25, 2024
8dc4e6f
Add files
martijn00 Jun 25, 2024
861e0a4
Some more validators
martijn00 Jun 25, 2024
a1c7954
Improve base class
martijn00 Jun 25, 2024
797f4eb
Fixes
martijn00 Jun 25, 2024
a4e4a29
Fixes
martijn00 Jun 25, 2024
b867970
More
martijn00 Jun 25, 2024
366e3e0
Fixes
martijn00 Jun 25, 2024
5511f37
More
martijn00 Jun 26, 2024
6bec4e7
Fixes
martijn00 Jun 26, 2024
b83bda4
More
martijn00 Jun 26, 2024
79be114
More
martijn00 Jun 26, 2024
42e1db0
More
martijn00 Jun 26, 2024
878ef42
More
martijn00 Jun 26, 2024
b54330d
Ip
martijn00 Jun 27, 2024
a428c37
More
martijn00 Jun 27, 2024
3d2c837
More
martijn00 Jun 27, 2024
9ae9349
More
martijn00 Jun 27, 2024
0154995
More
martijn00 Jun 27, 2024
8be0494
More
martijn00 Jun 27, 2024
02f1989
Fixes
martijn00 Jun 27, 2024
ac1e254
Docs
martijn00 Jun 27, 2024
a75b591
Docs
martijn00 Jun 27, 2024
c1534cd
Add tests
martijn00 Jun 27, 2024
6038944
Null safety
martijn00 Jun 27, 2024
0b4c289
Tests
martijn00 Jun 27, 2024
a5866bb
Revert
martijn00 Jun 27, 2024
44abea3
Translations
martijn00 Jun 27, 2024
fa96e07
More
martijn00 Jun 27, 2024
37004c0
More
martijn00 Jun 27, 2024
b585c61
Fix
martijn00 Jun 27, 2024
95991b3
Doc
martijn00 Jun 28, 2024
c500bc7
Tests
martijn00 Jun 28, 2024
d165e67
Fixes
martijn00 Jul 1, 2024
8ba0c98
Fixes
martijn00 Jul 1, 2024
d4edb6f
Tests
martijn00 Jul 1, 2024
6c4df09
Fixes
martijn00 Jul 1, 2024
699485c
More tests
martijn00 Jul 1, 2024
a21c3fd
Tests
martijn00 Jul 1, 2024
323723a
Fixes
martijn00 Jul 1, 2024
21ad208
Fixes
martijn00 Jul 2, 2024
a20c86e
Fixes
martijn00 Jul 2, 2024
b169dc3
Fix
martijn00 Jul 2, 2024
e58e519
Fix
martijn00 Jul 3, 2024
6f0b080
Delete old tests
martijn00 Jul 3, 2024
62d6bb7
Fixes
martijn00 Jul 3, 2024
05d07ea
Tests
martijn00 Jul 3, 2024
45a5d5e
Structure
martijn00 Jul 3, 2024
7ddc82b
Fixes
martijn00 Jul 3, 2024
5f6a966
Fixes
martijn00 Jul 3, 2024
5345227
Fix
martijn00 Jul 3, 2024
ceaf2ba
Add mime
martijn00 Jul 3, 2024
acbb489
More test
martijn00 Jul 4, 2024
8f77883
Fixes
martijn00 Jul 4, 2024
84c0152
Fixes
martijn00 Jul 4, 2024
8a1af52
Fix
martijn00 Jul 4, 2024
665ee4d
Sort methods
martijn00 Jul 4, 2024
f4200f0
Some more
martijn00 Jul 4, 2024
c8929c0
Fixes
martijn00 Jul 4, 2024
7a32228
Revert
martijn00 Jul 4, 2024
a3fa6aa
Docs
martijn00 Jul 4, 2024
e2a1cdf
Docs
martijn00 Jul 4, 2024
3aec2ae
Docs
martijn00 Jul 4, 2024
239477d
Fixes
martijn00 Jul 5, 2024
304cafa
Docs
martijn00 Jul 5, 2024
b85ab59
Add more tests
martijn00 Jul 5, 2024
9cf707d
Fix
martijn00 Jul 7, 2024
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
280 changes: 156 additions & 124 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,219 +1,251 @@
## 10.1.0

* Re-land generated l10n files
* Add Bulgarian
* Add creditCardExpirationDate
* Add creditCardCVC
* Add colorCode
* Add phoneNumber
* Add uppercase
* Add lowercase
* Add file extension
* Add max file size
* Add notMatch
* Add range
* Add dateTime
* Add date range
* Add time
* Add is true
* Add is false
* Add special characters
* Add numeric characters
* Add lowercase characters
* Add uppercase characters
* Add password
* Add alphabetical
* Add uuid
* Add json
* Add latitude
* Add longitude
* Add base64
* Add path
* Add port number
* Add mac address
* Add startWith
* Add endWith
* Add contains
* Add between
* Add containsElement
* Add transform
* Add IBAN
* Add BIC
* Add skipWhen
* Add log
* Add aggregate
* Add unique
* Add ISBN
* Add singleLine
* Add defaultValue
# Changelog

## 11.0.0

- Split up validators into smaller pieces
- Use a BaseValidator for all validators
- Add optional check (default: true) for null value on every validator
- When using a Regex it is now possible to provide your own
- Re-land generated l10n files
- Add Bulgarian

### New validators

- Add creditCardExpirationDate
- Add creditCardCVC
- Add colorCode
- Add phoneNumber
- Add uppercase
- Add lowercase
- Add file extension
- Add max file size
- Add notMatch
- Add range
- Add dateTime
- Add date range
- Add time
- Add is true
- Add is false
- Add special characters
- Add numeric characters
- Add lowercase characters
- Add uppercase characters
- Add password
- Add alphabetical
- Add uuid
- Add json
- Add latitude
- Add longitude
- Add base64
- Add path
- Add port number
- Add mac address
- Add startWith
- Add endWith
- Add contains
- Add between
- Add containsElement
- Add transform
- Add IBAN
- Add BIC
- Add skipWhen
- Add log
- Add aggregate
- Add unique
- Add ISBN
- Add singleLine
- Add defaultValue
- Add datePast
- Add dateFuture
- Add SSN (Social Security Number (USA))
- Add fileName
- Add negative number
- Add positive number
- Add not zero number
- Add zip code
- Add MIME type
- Add timezone
- Add city
- Add country
- Add first name
- Add last name
- Add passport number
- Add state
- Add street
- Add prime number
- Add DUNS
- Add language code
- Add license plate
- Add VIN number

## 10.0.1
* Fix regression (include l10n files)

- Fix regression (include l10n files)

## 10.0.0

* Update intl to 0.19.0
* Update constraints to Dart 3.4
* Built with Flutter 3.22.0
* Improve CI
* Improve Dutch language
* Add Norwegian
- Update intl to 0.19.0
- Update constraints to Dart 3.4
- Built with Flutter 3.22.0
- Improve CI
- Improve Dutch language
- Add Norwegian

## 9.1.0

* Fix MN translation typo
* Fix remove full stop at end of error message for max validation
* Update intl to 0.18.1
* Improve readme
* Built with Flutter 3.13
- Fix MN translation typo
- Fix remove full stop at end of error message for max validation
- Update intl to 0.18.1
- Improve readme
- Built with Flutter 3.13

## 9.0.0

* Update constraints to Flutter 3.10
* Update intl to 0.18.0
* Update constraints to Dart 3.0
- Update constraints to Flutter 3.10
- Update intl to 0.18.0
- Update constraints to Dart 3.0

## 9.0.0-dev.2

* Update constraints to Dart 3.0
- Update constraints to Dart 3.0

## 9.0.0-dev.1

* Update constraints to Flutter 3.10
* Update intl to 0.18.0
- Update constraints to Flutter 3.10
- Update intl to 0.18.0

## 8.6.1

* Add missed translations for some languages
- Add missed translations for some languages

## 8.6.0

* Add missed translations for all languages
* Add support for more languages
* Swedish
- Add missed translations for all languages
- Add support for more languages
- Swedish

## 8.5.0

* New validators for minWordsCount & maxWordsCount
* Simplify arb files and correct intl_zh.arb
* Build with Flutter 3.7.5
* Add support for more languages
* Mongolian
* Nepali and burmese
* Albanian
* Vietnamese
- New validators for minWordsCount & maxWordsCount
- Simplify arb files and correct intl_zh.arb
- Build with Flutter 3.7.5
- Add support for more languages
- Mongolian
- Nepali and burmese
- Albanian
- Vietnamese

## 8.4.0

* Refactor l10n generator. Thanks [@ipcjs]()
* Add property to allow empty on equalLength validator. Thanks [@CircleCurve](https://github.com/CircleCurve)
* Add support for more languages
* Czech. Thanks [@edlman](https://github.com/flutter-form-builder-ecosystem/form_builder_validators/pull/3)
* Bosnian and Croatian. Thanks [@abratanovic](https://github.com/flutter-form-builder-ecosystem/form_builder_validators/pull/9)
* Malay. Thanks [@azmilazizi](https://github.com/flutter-form-builder-ecosystem/form_builder_validators/pull/13)
* Thai. Thanks [@narospol](https://github.com/flutter-form-builder-ecosystem/form_builder_validators/pull/19)
* Tamil. Thanks [@Purus](https://github.com/flutter-form-builder-ecosystem/form_builder_validators/pull/26)
* Greek. Thanks [@nrallakis](https://github.com/flutter-form-builder-ecosystem/form_builder_validators/pull/27)
- Refactor l10n generator. Thanks [@ipcjs]()
- Add property to allow empty on equalLength validator. Thanks [@CircleCurve](https://github.com/CircleCurve)
- Add support for more languages
- Czech. Thanks [@edlman](https://github.com/flutter-form-builder-ecosystem/form_builder_validators/pull/3)
- Bosnian and Croatian. Thanks [@abratanovic](https://github.com/flutter-form-builder-ecosystem/form_builder_validators/pull/9)
- Malay. Thanks [@azmilazizi](https://github.com/flutter-form-builder-ecosystem/form_builder_validators/pull/13)
- Thai. Thanks [@narospol](https://github.com/flutter-form-builder-ecosystem/form_builder_validators/pull/19)
- Tamil. Thanks [@Purus](https://github.com/flutter-form-builder-ecosystem/form_builder_validators/pull/26)
- Greek. Thanks [@nrallakis](https://github.com/flutter-form-builder-ecosystem/form_builder_validators/pull/27)

## 8.3.0

* Apply license BSD-3-clause
* Refactor readme
* Remove unused dependency
* Add web example
- Apply license BSD-3-clause
- Refactor readme
- Remove unused dependency
- Add web example

## 8.2.1

* Added Czech language support
- Added Czech language support

## 8.2.0

* Added equalLength validator
* Added turkish language support
* Moved repository
- Added equalLength validator
- Added turkish language support
- Moved repository

## 8.1.1

* Fixed issue where email validator trims string before validation
- Fixed issue where email validator trims string before validation

## 8.1.0

* Added Romanian (ro) language support
- Added Romanian (ro) language support

## 8.0.0

* **BREAKING CHANGE**: Avoid passing context to validator functions.
* Added Swahili (sw) language support
- **BREAKING CHANGE**: Avoid passing context to validator functions.
- Added Swahili (sw) language support

## 7.9.0

* Added Bangla (bn) language support
- Added Bangla (bn) language support

## 7.8.0

* Added Estonian (et) language support
* Improved and corrected Arabic translations
- Added Estonian (et) language support
- Improved and corrected Arabic translations

## 7.7.0

* Added Catalan (ca) language support
- Added Catalan (ca) language support

## 7.6.1

* Fixed duplicate `en` locale translations. Fixes #969
- Fixed duplicate `en` locale translations. Fixes #969

## 7.6.0

* Added Ukrainian (uk) language support
- Added Ukrainian (uk) language support

## 7.5.0

* Added Lao (lo) language support
* Added Dutch (nl) language support
- Added Lao (lo) language support
- Added Dutch (nl) language support

## 7.4.0

* Added Russian (ru) language support
- Added Russian (ru) language support

## 7.3.0

* Added support for Slovenian (sl)
* Added Chinese language support - both traditional (zh_Hant) and simplified (zh_Hans)
- Added support for Slovenian (sl)
- Added Chinese language support - both traditional (zh_Hant) and simplified (zh_Hans)

## 7.2.0

* Added language support for Indonesian (id)
- Added language support for Indonesian (id)

## 7.1.0

* Added language support for Korean (ko)
- Added language support for Korean (ko)

## 7.0.0

* New Package 🎉🎊 - Split from and no dependency on flutter_form_builder(https://pub.dev/packages/flutter_form_builder)
* Added Arabic and Persian/Farsi support
* Use `intl_utils` package for localization
* Minor type fixes
* Documentation and example improvements
- New Package 🎉🎊 - Split from and no dependency on flutter_form_builder(<https://pub.dev/packages/flutter_form_builder>)
- Added Arabic and Persian/Farsi support
- Use `intl_utils` package for localization
- Minor type fixes
- Documentation and example improvements

## 7.0.0-RC.1

* `maxLength` and `minLength` validators can now work with `Iterable` field values length
- `maxLength` and `minLength` validators can now work with `Iterable` field values length

## 7.0.0-RC.0

* Added Arabic and Persian/Farsi support
- Added Arabic and Persian/Farsi support

## 7.0.0-beta.0

* Use `intl_utils` package for localization
* Documentation and example improvements - added instructions for localization
* Minor type fixes
- Use `intl_utils` package for localization
- Documentation and example improvements - added instructions for localization
- Minor type fixes

## 7.0.0-alpha.2

* Improvements to package documentation and example
- Improvements to package documentation and example

## 7.0.0-alpha.1

* Split into own package from `flutter_form_builder`
- Split into own package from `flutter_form_builder`
Loading