Releases: tarantool/avro-schema
Releases · tarantool/avro-schema
3.1.0
Overview
This release introduces new API to check module version in code, as well as several infrastructure improvements.
New features
- Add versioning support (PR #147).
Infrastructure
3.0.6
Overview
It is bugfix release. The main resolved problem is about the 'long' schema
type. This release also speeds up validate() method.
Breaking changes
This release should not break existing code if it does not make the following
false assumptions:
- 'long' schema type should accept a string value (it is NOT so!).
- json serializer has
encode_use_tostringoption enabled by default (it
is NOT so!).
Bugfixes
- Fixed compatibility with tarantool-2.5.1, where
table.clear()should be
required explicitly (it is tarantool's bug, but anyway) (#135, PR #136). - Don't reconfigure default JSON serializer (PR #140).
- Don't accept a string value for a field of 'long' type in a schema (#133,
PR #134).
Performance
- Improved
validate()performance. It speeds up on ~6% on our benchmark
(PR #138).
Acknowledgements
All those bugfixes and improvements are made by Oleg Babin. Thank you, Oleg!
3.0.5
3.0.4
Bugfix release 3.0.3
- Wrong array validation (#117)
Bugfix release 3.0.2
- Treat nil as box.NULL when validate a union (#113).
Bugfix release 3.0.1
3.0.0 New flatten
changes:
- change nullable flatten/unflatten/xflatten #63
- scalar nullable types are encoded with null or value
- nullable record encoded with null or array of field values
- xflatten for nullable record is in alpha stage
get_names,get_typeschanged #58, #56- add nullable type support
- scalars are exported as
string* - nullable record is exported just as
record*string
- scalars are exported as
- api changes
- fixed field is exported as
fixed(instead of its name) - union is exported as
union_type,union_value - support
service_fields - add
get_*methods tocompiledobject
- fixed field is exported as
- add nullable type support
minor changes:
- give variables the same names in IR and in resulting Lua
- error opcode for runtime exceptions added
bugfixes:
- nullable field is not mandatory in flatten
- flatten for variable size types
2.3.2
- fix boolean field validation