CHANGELOG.md in attributor-5.7 vs CHANGELOG.md in attributor-6.0

- old
+ new

@@ -1,6 +1,13 @@ # Attributor Changelog +## next + +## 6.0 (22/11/2021) +- removed `required_if` support and all of the necessary code. +- changed the semantics of the `required:` option in attributes, to really mean if the "key" is required to be passed in or not (i.e., check if the key is null, not if its value is null) +- Introduced a new option`null: true|false` to allow for the value of an attribute to be nullable or not when the attribute is passed in. + * The default behavior for an attribute nullability currently `null: false` (but it can be easily changed by overriding the `Attributor::Attribute.default_for_null` function to return `true`) ## 5.7 (1/7/2021) - added `custom_option` to Attributor::Attribute class, accepting a name and Attribute arguments that will be used to validate the option value(s) provided. ## 5.6 (11/02/2020)