CHANGELOG.md in attributor-5.0.2 vs CHANGELOG.md in attributor-5.1.0

- old
+ new

@@ -1,12 +1,17 @@ # Attributor Changelog ## next +## 5.1 + +* Added `Polymorphic` type. See [polymorphics.rb](spec/support/polymorphics.rb) for example usage. + ## 5.0.2 * Introduce the `Dumpable` (empty) module as an interface to indicate that instances of types that include it -will respond to the `.dump` method, as a way to convert their internal substructure to primitive Ruby objects. * Currently the only two directly dumpable types are Collection and Hash (with the caveat that there are several others that derive from them..i.e., CSV, Model, etc...) +will respond to the `.dump` method, as a way to convert their internal substructure to primitive Ruby objects. + * Currently the only two directly dumpable types are Collection and Hash (with the caveat that there are several others that derive from them..i.e., CSV, Model, etc...) * The rest of types have `native_types` that are already Ruby primitive Objects. * Fixed Hash and Model requirements to treat nil values as missing keys (to be compatible with the `required: true` option on an attribute). ## 5.0.1