respect-validation/CHANGELOG.md

100 lines
3.6 KiB
Markdown
Raw Normal View History

2015-10-07 07:56:23 +02:00
# Changes in Respect\Validation 1.0
All notable changes of the Respect\Validation releases are documented in this file.
2016-04-24 03:11:23 +02:00
## 1.1.0 - 2016-04-24
### Added
- Create "Fibonacci" rule (#637)
- Create "IdentityCard" rule (#632)
- Create "Image" rule (#621)
- Create "LanguageCode" rule (#597)
- Create "Pesel" rule (#616)
- Create "PhpLabel" rule (#652)
### Changed
- Allow the define brands for credit card validation (#661)
- Define names for the child of Not rule (#641)
- Ensure namespace separator on appended prefixes (#666)
- Length gets length of integers (#643)
- Set template for the only rule in the chain (#663)
- Throw an exception when age is not an integer (#667)
- Use "{less/greater} than or equal to" phrasing (#604)
2015-10-07 14:23:49 +02:00
## 1.0.0 - 2015-10-24
2015-10-07 07:56:23 +02:00
### Added
- Add "alpha-3" and "numeric" formats for "CountryCode" rule (#530)
2015-10-07 17:03:05 +02:00
- Add support for PHP 7 (#426)
2015-10-21 06:02:31 +02:00
- Create "BoolVal" rule (#583)
2015-10-16 21:46:08 +02:00
- Create "Bsn" rule (#450)
2015-10-07 07:56:23 +02:00
- Create "CallableType" rule (#397)
2015-10-17 22:08:25 +02:00
- Create "Countable" rule (#566)
2015-10-18 16:02:48 +02:00
- Create "CurrencyCode" rule (#567)
2015-10-07 07:56:23 +02:00
- Create "Extension" rule (#360)
- Create "Factor" rule (#405)
- Create "Finite" rule (#397)
2015-10-17 20:17:07 +02:00
- Create "FloatType" rule (#565)
2015-10-13 18:27:49 +02:00
- Create "Identical" rule (#442)
2015-10-23 03:45:56 +02:00
- Create "Imei" rule (#590)
2015-10-07 07:56:23 +02:00
- Create "Infinite" rule (#397)
2015-10-17 04:43:01 +02:00
- Create "IntType" rule (#451)
2015-10-17 21:55:00 +02:00
- Create "Iterable" rule (#570)
2015-10-05 21:20:04 +02:00
- Create "KeyNested" rule (#429)
2015-10-07 07:56:23 +02:00
- Create "KeySet" rule (#374)
2015-10-08 18:54:42 +02:00
- Create "KeyValue" rule (#441)
2015-10-07 07:56:23 +02:00
- Create "Mimetype" rule (#361)
2015-10-14 06:02:53 +02:00
- Create "NotBlank" rule (#443)
2015-10-15 15:31:45 +02:00
- Create "NotOptional" rule (#448)
2015-10-07 07:56:23 +02:00
- Create "Optional" rule (#423)
- Create "ResourceType" rule (#397)
2015-10-07 17:35:25 +02:00
- Create "ScalarVal" rule (#397)
2015-10-07 07:56:23 +02:00
- Create "Size" rule (#359)
- Create "SubdivisionCode" rule for 252 countries (#411)
- Create "VideoUrl" rule (#410)
- Create method `getMessages()` for nested exceptions (#406)
### Changed
- Add country code to the message of "PostalCode" exception rule (#413)
- Make "ArrayVal" validate only if the input can be used as an array (#574)
2015-10-14 08:24:30 +02:00
- Make "Between" rule inclusive (#445)
- Make "Max" rule inclusive (#445)
- Make "Min" rule inclusive (#445)
2015-10-07 07:56:23 +02:00
- New generic top-level domains (#368)
2015-10-07 17:55:42 +02:00
- On `AbstractRelated` (`Attribute`, `Call` and `Key`) define names for child rules (#365)
2015-10-07 07:56:23 +02:00
- On exceptions, convert `Array` to string (#387)
- On exceptions, convert `Exception` to string (#399)
- On exceptions, convert `Traversable` to string (#399)
- On exceptions, convert resources to string (#399)
- On exceptions, do not display parent message then rule has only one child (#407)
- On exceptions, improve `Object` conversion to string (#399)
- On exceptions, improve conversion of all values by using JSON (#399)
- On exceptions, nested messages are displayed in a Markdown list (#588)
- Rename exception class "AbstractGroupedException" to "GroupedValidationException" (#591)
- Rename exception class "AbstractNestedException" to "NestedValidationException" (#591)
2015-10-07 17:55:42 +02:00
- Rename rule "Arr" to "ArrayVal"
2015-10-07 17:03:05 +02:00
- Rename rule "Bool" to "BoolType" (#426)
- Rename rule "False" to "FalseVal" (#426)
- Rename rule "Float" to "FloatVal" (#426)
- Rename rule "Int" to "IntVal" (#426)
2015-10-07 17:55:42 +02:00
- Rename rule "NullValue" to "NullType"
- Rename rule "Object" to "ObjectType"
2015-10-07 17:03:05 +02:00
- Rename rule "String" to "StringType" (#426)
- Rename rule "True" to "TrueVal" (#426)
2015-10-07 16:38:24 +02:00
- Use `filter_var()` on "TrueVal" and "FalseVal" rules (#409)
2015-10-07 07:56:23 +02:00
### Removed
2015-10-19 15:48:15 +02:00
- Drop support for PHP 5.3 (#466)
- Remove `addOr()` shortcut (#444)
- Remove `NestedValidationExceptionInterface` interface (#591)
2015-10-19 15:48:15 +02:00
- Remove `not()` shortcut (#444)
2015-10-23 12:46:12 +02:00
- Remove `ValidationExceptionInterface` interface (#591)
2015-10-19 15:48:15 +02:00
- Remove identical checking from "Equals" rule (#442)
2015-10-07 07:56:23 +02:00
- Removed Deprecated Rules (#277)
- Validation rules do not accept an empty string by default (#422)