hanami-validations 1.3.9 → 2.0.0.alpha1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1f7b53f0322c8691f0b9a90d589ac6761a04af957b5f3549571617105399131
4
- data.tar.gz: 8fb7a92a0552db6db2ddf5c883385e99c89dce54948611396791da341a9b402d
3
+ metadata.gz: c94b88f4b0a39d33e6ce6d5a27e9c843afc611b3a5d76ac48799c05648c73ed1
4
+ data.tar.gz: 93a768f5a5c977ada49f6f400bade010ebe87be3072ab7b1fdec6e36afe0f00a
5
5
  SHA512:
6
- metadata.gz: b6e82c5299d26c4937f87f253991f0007e730f7f243ca6a69ee43df8d85dda6f399a56dad3e3a9a95265ecbe58e42533747672d93c142985a18b76010c2eee83
7
- data.tar.gz: b2e3f208d4649541ed63290d6da7c7f1dfbe1e4ab7f3e6d4d975ed3374d8b350c23fc8fe97d0a31aee85d7ef42c094f88c8297c22ea7a104ca6ff17c08009e48
6
+ metadata.gz: 01bae680528b53b9564393aaa923f6e66f91d9ccda370e6297c6c458b0fbc127c83a39a1ba61d110bb7c698e28cb95e8ce8bb0f7f174bc151a384bb7b3bdb3d5
7
+ data.tar.gz: 15c2f866bae8f77acca611e4a70aefc6da227fc33aa556e14beff08e2725880e094a6de7fa9a5cbcff22fa8fce80f282f4623627cb206119821ebdab41e5fc6a
data/CHANGELOG.md CHANGED
@@ -1,25 +1,23 @@
1
1
  # Hanami::Validations
2
2
  Validations mixin for Ruby objects
3
3
 
4
- ## v1.3.9 - 2022-07-21
5
- ### Fixed
6
- - [Sean Collins] Depend on `dry-container` `<= 0.9`
7
-
8
- ## v1.3.8 - 2021-10-14
9
- ### Fixed
10
- - [Luca Guidi] Ensure `.validations` to not raise `NoMethodError: undefined method 'size' for nil:NilClass`. Due to a breaking change in transitive dependency (`dry-configurable` `0.13.x`).
11
-
12
- ## v1.3.7 - 2021-01-06
13
- ### Fixed
14
- - [Panagiotis Matsinopoulos] Ensure `predicate` and `predicates` to work together
15
-
16
- ## v1.3.6 - 2020-01-08
4
+ ## v2.0.0.alpha1 - 2019-07-26
17
5
  ### Added
18
- - [Luca Guidi] Official support for Ruby: MRI 2.7
6
+ - [Luca Guidi] Introduced `Hanami::Validator`
7
+ - [Luca Guidi] Added support to validate JSON data
8
+ - [Luca Guidi] Added rules
9
+ - [Luca Guidi] Allow to inherit validations from superclasses (e.g. `ApplicationValidator < Hanami::Validator` => `SignupValidator < ApplicationValidator`)
10
+ - [Luca Guidi] Allow to error messages to receive arbitrary information as a `Hash` (e.g. `error_code: 123`), which will be interpolated in the final error message.
11
+ - [Luca Guidi] Added support for validator external dependencies
19
12
 
20
- ## v1.3.5 - 2019-07-26
21
- ### Fixed
22
- - [ippachi] Ensure I18n doesn't crash when used for inline predicates
13
+ ### Changed
14
+ - [Luca Guidi] Drop support for Ruby: MRI 2.3, JRuby 9.1.
15
+ - [Luca Guidi] New validation syntax
16
+ - [Luca Guidi] Removed custom predicates (`Hanami::Validations.predicate`)
17
+ - [Luca Guidi] Removed global custom predicates (`Hanami::Validations::Predicates`)
18
+ - [Luca Guidi] Removed messages path setting (`Hanami::Validations.messages_path=`)
19
+ - [Luca Guidi] Removed messages namespace setting (`Hanami::Validations.namespace`)
20
+ - [Luca Guidi] Removed messages engine setting (`Hanami::Validations.messages`)
23
21
 
24
22
  ## v1.3.4 - 2019-07-26
25
23
  ### Fixed