CHANGELOG.md in dry-schema-1.4.0 vs CHANGELOG.md in dry-schema-1.4.1
- old
+ new
@@ -1,5 +1,13 @@
+# 1.4.1 2019-10-08
+
+### Fixed
+
+- Child schemas no longer mutate processing steps of their parent classes (@skryukov)
+
+[Compare v1.4.0...v1.4.1](https://github.com/dry-rb/dry-schema/compare/v1.4.0...v1.4.1)
+
# 1.4.0 2019-10-08
### Added
- Support for passing multiple parent schemas. They are inherited from left to right (@ianwhite)
@@ -10,9 +18,20 @@
end
```
- Improved error messages about missing translations (@skryukov)
- [experimental] before/after callbacks for schema steps (@skryukov)
+
+ ```ruby
+ Dry::Schema.Params do
+ required(:name).value(:string)
+ optional(:age).value(:integer)
+
+ before(:value_coercer) do |result|
+ result.to_h.compact
+ end
+ end
+ ```
### Fixed
- Added/fixed support for custom optional types (@flash-gordon)