CHANGELOG.md in attributor-3.0.1 vs CHANGELOG.md in attributor-4.0.0
- old
+ new
@@ -1,9 +1,16 @@
# Attributor Changelog
## next
+## 4.0.0 next
+
+* Changed the expectation of the value for an `:example` option of an attribute:
+ * Before, passing an array of values would indicate that those were a few possible examples for it.
+ * Now, any value (except the already existing special regexp or a proc) for an example will need to be of a native type (or coercible to it). This means that an attribute of type `Collection` can take an array example (and be taken as the whole thing)
+ * If anybody wants to provide multiple examples for an attribute they can write a proc, and make it return the different ones.
+
## 3.0.1
* Fixed bug with example Hashes where `[]` with a key not in the hash would throw a `NoMethodError`.
* Fixed bug in `Hash#get` for Hashes without predefined keys. It would throw an error if given a key not present in the hash's contents.