# avromatic changelog ## v0.15.1 - Add `Avromatic.use_cacheable_schema_registration` option to control the lookup of existing schema ids by fingerprint. ## v0.15.0 - Add patch to `AvroTurf::SchemaRegistry` to lookup existing schema ids using `GET /subjects/:subject/fingerprints/:fingerprint` from `#register`. This endpoint is supported in the avro-schema-registry. - Add patch to the `FakeSchemaRegistryServer` from `AvroTurf` to support the fingerprint endpoint. ## v0.14.0 - Add `Avromatic::Messaging` and `Avromatic::IO::DatumReader` classes to optimize the decoding of Avro unions to Avromatic models. ## v0.13.0 - Add interfaces to deserialize as a hash of attributes instead of a model. ## v0.12.0 - Clear the schema store, if it supports it, prior to code reloading in Rails applications. This allows schema changes to be picked up during code reloading. ## v0.11.2 - Fix for models containing optional array and map fields. ## v0.11.1 - Another fix for Rails initialization and reloading. Do not clear the nested models registry the first time that the `to_prepare` hook is called. ## v0.11.0 - Replace `Avromatic.on_initialize` proc with `Avromatic.eager_load_models` array. The models listed by this configuration are added to the registry at the end of `.configure` and prior to code reloading in Rails applications. This is a compatibility breaking change. ## v0.10.0 - Add `Avromatic.on_initialize` proc that is called at the end of `.configure` and on code reloading in Rails applications. ## v0.9.0 - Experimental: Add support for more than one non-null type in a union. - Allow nested models to be referenced and reused. - Fix the serialization of nested complex types. - Add support for recursive models. - Allow required array and map fields to be empty. Only nil values for required array and map fields are now considered invalid. - Validate nested models. This includes models embedded within other complex types (array, map, and union). - Truncate values for timestamps to the precision supported by the logical type. ## v0.8.0 - Add support for logical types. Currently this requires using the `avro-salsify-fork` gem for logical types support with Ruby. ## v0.7.1 - Raise a more descriptive error when attempting to generate a model for a non-record Avro type. ## v0.7.0 - Add RSpec `FakeSchemaRegistryServer` test helper. ## v0.6.2 - Remove dependency on `Hash#transform_values` from `ActiveSupport` v4.2. ## v0.6.1 - Fix serialization of array and map types that contain nested models. ## v0.6.0 - Require `avro_turf` v0.7.0 or later. ## v0.5.0 - Rename `Avromatic::Model::Decoder` to `MessageDecoder`. - Rename `.deserialize` on generated models to `.avro_message_decode`. - Add `#avro_raw_key`, `#avro_raw_value` and `.avro_raw_decode` methods to generated models to support encoding and decoding without a schema registry. ## v0.4.0 - Allow the specification of a custom type, including conversion to/from Avro, for named types. ## v0.3.0 - Remove dependency on the `private_attr` gem. ## v0.2.0 - Allow a module level schema registry to be configured. ## v0.1.2 - Do not build an `AvroTurf::Messaging` object for each model class. ## v0.1.1 - Fix Railtie. ## v0.1.0 - Initial release