All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added support for the Rabin fingerprint (#157)
- Strip more fields in PCF and fix panic (#164)
- Introduce custom Error enum to replace all existing errors (backward-incompatible) (#135)
- Swapped failure for thiserror (backward-incompatible) (#135)
- Update digest crate and digest::Digest trait to 0.9 (backward-incompatible with digest::Digest 0.8) (#133)
- Replace some manual from_str implementations with strum (#136)
- Handle logical types in canonical form schemas (#144)
- Move to specific error variants for errors (#146)
- Support to convert avro value to json value (#155)
- Implement deserialize for Uuid (#153)
- Deprecate ToAvro in favor of From for Value implementations (#137)
- Writer::into_inner() now calls flush() and returns a Result (backward-incompatible)
- Add utility for schema compatibility check
- Port benchmarks to criterion
- Fix bug in the reader buffer length
- Add support for logical types
- Make writer block size configurable via builder pattern
- Partial rust enum serialization/deserialization support
- Export de::Error and ser::Error as DeError and SerError
- Fix union resolution of default values
- Negative block lengths are not handled
- Allow Array(Int) to be converted to Bytes
- Fix enum type deserialization bug
- Variable-length encoding for big i64 numbers
- Schema fingerprint (md5, sha256) generation
- Snappy codec
- Encoding of i32/i64
- impl Send+Sync for Schema (backwards-incompatible)
- A maximum allocation size when decoding
- Support for Parsing Canonical Form
to_value
to serialize anything that implements Serialize into a Value- Full support for union types (non-backwards compatible)
- Encoding of empty containers (array/map)
- Implemented clippy suggestions
- Many performance improvements to both encoding and decoding
- New public method extend_from_slice for Writer
- serde_json benchmark for comparison
- bench_from_file function and a file from the goavro repository for comparison
- Some missing serialization fields for Schema::Record
- Encode/decode Union values with a leading zig-zag long
- Move from string as errors to custom fail types
- Avoid reading the first item over and over in Reader
from_avro_datum
to decode Avro-encoded bytes into aValue
- Documentation for
from_value
- Initial release