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.
- Fixed compatibility with tarantool-2.5.1,
where
table.clear()should be required explicitly (it is tarantool's bug, but anyway) - Don't reconfigure default JSON serializer
- Don't accept a string value for a field of 'long' type in a schema
- Improved
validate()performance. (It speeds up on near 6% on our benchmark.)
- Allow default values for records, nullable records, unions (#99, 595fe703, 9d853a79)
- Comments to codebase
- Fix temp_msgpack_gc/flatten race
- Fix stack restore for
validateerror handling - Fix schema evolution for nullable fields
- Fix installation via luarocks
- Code refactoring
- Deleted unused register (ripv)
- Extend documentation
- Error opcode for runtime exceptions
- Change nullable flatten/unflatten/xflatten
- 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
- Give variables the same names in IR and in resulting Lua
- Fix nullable field is not mandatory in flatten
- Fix flatten for variable size types
- Fix boolean field validation
- Fix one of null/non-null type tables is not initialized
- Fix
preserve_in_astfor record fields - Fix collapse nullable scalar on export
- Improve benchmark script
- Fix nullable type reference export
- Fix nullable type name export
- Fix fingerprints for type references
- Make
preserve_in_astwork at any place of a schema
- Fix nullability for
fixedtype - Treat lack of value for union field as null for
validate - Make float validation rules stricter
- Fixed OSX support
- Support for UTF-8 Enum value
- Allow NIL values for nullable types
- Introduced model fingerprint
- Allow to preserve extra fields in AST and fingerprint