CHANGELOG.md in avromatic-2.0.0 vs CHANGELOG.md in avromatic-2.0.1
- old
+ new
@@ -1,7 +1,12 @@
# avromatic changelog
-## v2.0.0 (unreleased)
+## v2.0.1
+- Allow generated model attribute accessors to be overridden. This was a regression in Avromatic 2.0.0.
+- Ensure that timestamp-millis are coerced when the number of microseconds is divisible by 1,000 but the
+ number of nanoseconds is not divisible by 1,000,000.
+
+## v2.0.0
- Remove [virtus](https://github.com/solnic/virtus) dependency resulting in a 3x performance improvement in model instantation and 1.4x - 2.0x performance improvement in Avro serialization and Avromatic code simplification.
- Raise `Avromatic::Model::CoercionError` when attribute values can't be coerced to the target type in model constructors and attribute setters. Previously coercion errors weren't detected until Avro serialization or an explicit call to `valid?`.
- Prevent model instances from being constructed with unknown attributes. Previously unknown attributes were ignored.
This can be disabled by setting `Avromatic.allow_unknown_attributes` to `true`.
WARNING: Setting `Avromatic.allow_unknown_attributes` to `true` will result in incorrect union member coercions