Skip to content

Releases: tarantool/avro-schema

3.1.0

Choose a tag to compare

@DifferentialOrange DifferentialOrange released this 27 Mar 08:53

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

  • Use git+https:// for git repository in rockspec (PR #143).
  • Test with GitHub Actions (PR #142).
  • Publish rockspec with GitHub Actions (PR #149).
  • Fix rpm build for Fedora 33+ (#148).
  • Publish rpm and deb package with GitHub Actions (PR #149).

3.0.6

Choose a tag to compare

@Totktonada Totktonada released this 23 Sep 22:37

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_tostring option 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

Choose a tag to compare

@Totktonada Totktonada released this 26 Feb 23:49

Breaking changes

This release should not break existing code.

New features

No.

Bugfixes

  • Full support of hot reload (#34). The previous release (3.0.4) supports it
    only partially.

3.0.4

Choose a tag to compare

@Totktonada Totktonada released this 23 Oct 17:59

Breaking changes

This release should not break existing code.

New features

No.

Bugfixes

  • Support hot reload (#34).
  • Fix compilation of a large schema (#124).

Bugfix release 3.0.3

Choose a tag to compare

@olegrok olegrok released this 12 Nov 05:41
461f1ce
  • Wrong array validation (#117)

Bugfix release 3.0.2

Choose a tag to compare

@Totktonada Totktonada released this 14 Oct 03:47
  • Treat nil as box.NULL when validate a union (#113).

Bugfix release 3.0.1

Choose a tag to compare

@Khatskevich Khatskevich released this 28 Sep 08:40

Critical fixes:

  • temp_msgpack_gc/flatten race (#109)
  • stack restore for validate error handling (#11)
  • schema evolution for nullable fields (#76)

Fixes:

  • installation via luarocks (6fbd4d6)

Features:

Extra:

  • code refactoring
  • add comments to codebase
  • deleted unused register (ripv)
  • extend documentation

3.0.0 New flatten

Choose a tag to compare

@Khatskevich Khatskevich released this 08 May 15:08

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_types changed #58, #56
    • add nullable type support
      • scalars are exported as string*
      • nullable record is exported just as record* string
    • 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 to compiled object

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

Choose a tag to compare

@Khatskevich Khatskevich released this 04 May 18:08
  • fix boolean field validation

2.3.1

Choose a tag to compare

@Khatskevich Khatskevich released this 19 Apr 16:21
  • fix one of null/non-null type tables is not initialized #77
  • fix preserve_in_ast for record fields #78
  • fix collapse nullable scalar on export #74