|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -## [v3.6.0](https://github.com/axlon/laravel-postal-code-validation/tree/v3.6.0) (2024-03-12) |
| 3 | +All notable changes to this project will be documented in this file. |
4 | 4 |
|
5 | | -- Add support for Laravel 11 |
6 | | - |
7 | | -## [v3.5.0](https://github.com/axlon/laravel-postal-code-validation/tree/v3.5.0) (2024-01-24) |
8 | | - |
9 | | -- Update Dutch validation pattern |
10 | | -- Update Bahraini validation pattern |
11 | | - |
12 | | -## [v3.4.0](https://github.com/axlon/laravel-postal-code-validation/tree/v3.4.0) (2023-02-15) |
13 | | -- Add support for Laravel 10 |
14 | | - |
15 | | -## [v3.3.0](https://github.com/axlon/laravel-postal-code-validation/tree/v3.3.0) (2022-02-08) |
16 | | -- Add support for Laravel 9 |
17 | | - |
18 | | -## [v3.2.1](https://github.com/axlon/laravel-postal-code-validation/tree/v3.2.1) (2020-12-15) |
19 | | -- Update Cambodia validation pattern |
20 | | - |
21 | | -## [v3.2.0](https://github.com/axlon/laravel-postal-code-validation/tree/v3.2.0) (2020-11-27) |
22 | | -- Added support for PHP 8 |
23 | | -- Fixed validation passing prematurely if `postal_code_for` or `postal_code_with` only referenced fields in an array |
24 | | - |
25 | | -## [v3.1.3](https://github.com/axlon/laravel-postal-code-validation/tree/v3.1.3) (2020-11-07) |
26 | | -- Fixed validation getting bypassed on `postal_code_for` and `postal_code_with` when only some referenced fields were present |
27 | | - |
28 | | -## [v3.1.2](https://github.com/axlon/laravel-postal-code-validation/tree/v3.1.2) (2020-10-25) |
29 | | -- Fixed postal_code_for rule failing when none of the referenced fields were present |
30 | | -- Deprecated the postal_code_for rule |
31 | | -- Added postal_code_with rule, which is a drop-in replacement for postal_code_for |
32 | | -- Added deprecation warnings for upcoming 4.0 release |
33 | | - |
34 | | -## [v3.1.1](https://github.com/axlon/laravel-postal-code-validation/tree/v3.1.1) (2020-09-30) |
35 | | -- Fixed error when validation receives null ([#23](https://github.com/axlon/laravel-postal-code-validation/issues/23)) |
36 | | - |
37 | | -## [v3.1.0](https://github.com/axlon/laravel-postal-code-validation/tree/v3.1.0) (2020-09-09) |
38 | | -- Added support for Laravel 8 ([#21](https://github.com/axlon/laravel-postal-code-validation/pull/21)) |
39 | | - |
40 | | -## [v3.0.0](https://github.com/axlon/laravel-postal-code-validation/tree/v3.0.0) (2020-08-31) |
41 | | -- Dropped support for PHP 7.1 (**breaking change**) |
42 | | -- Dropped support for Laravel 5.1 - 5.4 (**breaking change**) |
43 | | -- Added support for manually overriding validation patterns |
44 | | -- Added exceptions when no arguments are passed to the validation rules (**breaking change**) |
45 | | -- Added PostalCodes facade |
46 | | -- Renamed `Axlon\PostalCodeValidation\Validator` to `Axlon\PostalCodeValidation\PostalCodeValidator` and changed its methods (**breaking change**) |
47 | | - |
48 | | -## [v2.1.1](https://github.com/axlon/laravel-postal-code-validation/tree/v2.1.1) (2020-08-16) |
49 | | -- Update Taiwan validation pattern |
50 | | - |
51 | | -## [v2.1.0](https://github.com/axlon/laravel-postal-code-validation/tree/v2.1.0) (2020-03-04) |
52 | | -- Added support for Laravel 7 |
53 | | - |
54 | | -## [v2.0.2](https://github.com/axlon/laravel-postal-code-validation/tree/v2.0.2) (2020-03-03) |
55 | | -- Fixed validation of countries with complex patterns |
56 | | -[#13](https://github.com/axlon/laravel-postal-code-validation/issues/13) |
57 | | -- Fixed rules not being loaded if the validator was resolved before the service provider was called |
58 | | -- Fixed format generator (dev-only) |
59 | | - |
60 | | -## [v2.0.1](https://github.com/axlon/laravel-postal-code-validation/tree/v2.0.1) (2019-09-07) |
61 | | -- Added support for Laravel 6 |
62 | | - |
63 | | -## [v2.0.0](https://github.com/axlon/laravel-postal-code-validation/tree/v2.0.0) (2019-07-06) |
64 | | -- Updated `postal_code` rule, which longer accepts references to request parameters as arguments (**breaking change**) |
65 | | -- Updated fluent API methods (**breaking change**) |
66 | | -- Removed `:formats` error message placeholder (**breaking change**) |
67 | | -- Replaced the validation engine with an internal engine based on Google's Address Data Service |
68 | | -(**potentially breaking change**) |
69 | | -- Added `postal_code_for` rule, which accepts references to request parameters as arguments |
70 | | -- Added `:examples` error message placeholder |
71 | | -- Added support for referencing request parameters inside an array (for example `addresses.*.country`) |
72 | | -- Added support for referencing request variables while using a custom validator class |
73 | | - |
74 | | -## [v1.4.1](https://github.com/axlon/laravel-postal-code-validation/tree/v1.4.1) (2019-04-27) |
75 | | -- Fixed replacer being empty if empty input was passed |
76 | | - |
77 | | -## [v1.4.0](https://github.com/axlon/laravel-postal-code-validation/tree/v1.4.0) (2019-04-13) |
78 | | -- Added error message replacer for `:countries` and `:formats` placeholders |
79 | | - |
80 | | -## [v1.3.1](https://github.com/axlon/laravel-postal-code-validation/tree/v1.3.1) (2019-04-04) |
81 | | -- Lowered PHP requirement from 7.1.3 to 7.1.0 |
82 | | -- Removed exception thrown when an invalid country is passed, instead validation now fails |
83 | | - |
84 | | -## [v1.3.0](https://github.com/axlon/laravel-postal-code-validation/tree/v1.3.0) (2019-02-27) |
85 | | -- Added Laravel 5.8 support |
86 | | -- Removed Laravel 5.0 support |
87 | | -- Increased minimum required PHP version from 7.0.0 to 7.1.3 |
88 | | - |
89 | | -## [v1.2.1](https://github.com/axlon/laravel-postal-code-validation/tree/v1.2.1) (2019-02-11) |
90 | | -- Fixed an error when null was passed to the validator |
91 | | -- Added doc blocks |
92 | | -- Added Scrutinizer and StyleCI integration |
93 | | - |
94 | | -## [v1.2.0](https://github.com/axlon/laravel-postal-code-validation/tree/v1.2.0) (2018-12-29) |
95 | | -- Other fields in the request can now be used as country code to check against |
96 | | -- Removed useless files from dist |
97 | | - |
98 | | -## [v1.1.1](https://github.com/axlon/laravel-postal-code-validation/tree/v1.1.1) (2018-12-27) |
99 | | -- Fixed PHPUnit issues on older versions of Laravel |
100 | | - |
101 | | -## [v1.1.0](https://github.com/axlon/laravel-postal-code-validation/tree/v1.1.0) (2018-12-27) |
102 | | -- Country codes are no longer case sensitive |
103 | | -- Documentation improvements |
104 | | -- Minor code improvements |
105 | | - |
106 | | -## [v1.0.0](https://github.com/axlon/laravel-postal-code-validation/tree/v1.0.0) (2018-12-07) |
107 | | -- Initial release |
| 5 | +## 4.0.0 |
0 commit comments