CHANGELOG.md in attributor-6.5 vs CHANGELOG.md in attributor-7.0
- old
+ new
@@ -1,8 +1,19 @@
# Attributor Changelog
## next
+## 7.0 (5/23/2023)
+- Support for loading "<digits>." strings in BigDecimal/Float types (These are formats supported by JS, Java ..)
+- Support for defining collections of types using a more terse DSL: T[]
+ - For example: Attributor::Integer[] is equivalent to Attributor::Collection.of(Attributor::Integer)
+ - It also caches these collection types when they are concrete (i.e., not constructable like Struct[], etc...)
+- Revamped the type and options inheritance (and :reference behavior) when defining attributes:
+ - The matrix of behavior is now fully defined, and all possible combinations of parameters are tested
+ - tightened up some error cases and messaging (i.e., cannot pass :reference unless there is a block, etc...)
+ - while technically this change is compatible, it might surface some errors in previous definitions that somehow
+ resolved things ambiguously (and now they will complain loudly). This is the reason for bumping the major version.
+
## 6.5 (1/19/2023)
- Fix JSON schema reporting for BigDecimal types to be a string, with a format=bigdecimal
## 6.4 (10/26/2022)
- Cache default values for a type, to speedup loading/coercing an object to it