Skip to content

Zserio v2.0.0

Choose a tag to compare

@mikir mikir released this 15 Jun 12:46
· 1965 commits to master since this release

The goal of this main release is to publish stabilized schema language which contains the following new features:

New generated service interface is completely independent on used communication library and it is up to the application to implement the corresponding service backend.

There are available three sample service backend implementations:

New generated pubsub interface is completely independent on used communication library and it is up to the application to implement the corresponding pubsub backend.

There are available three sample pubsub backend implementations:

Please note that this release does not contain old C++98 generator anymore. The last version supporting old C++98 generator is the zserio v1.4.0.

The release contains a lot of fixes and improvements as well.

Fixes

#87 - Name clashing in generated code
#142 - Parameter used as an offset doesn't work
#159 - Bit fields or arrays using 64-bit length don't work in Java
#162 - Ambiguous instantiate error in case of circular imports
#167 - Generated C++ code introduces resource leak in case of SQLite DB opening failure
#171 - Zserio Java generated code clashes with java standard types
#176 - Documentation emitter crashes in case of invalid see tag
#180 - Fix multiline string literals in grammar
#181 - C++ generator crashes if package name begins with underscore
#182 - String concatenation generates uncompilable C++ code
#183 - Fix string literals in SQL constraints and pubsub
#189 - BitStreamWriter.writeBitBuffer fails when internal buffer is used
#190 - Generated code contains reset method for optional fields when -wihoutWriterCode is specified
#207 - C++ - Unaligned cache fill
#208 - Change the last byte implementation in the bit buffer
#210 - Buggy BitStreamWriter constructor from BitBuffer
#211 - BitStreamWriter should not reset whole given buffer
#216 - Wrong constraint checking for optional fields in C++
#218 - Disable functions in offsets

New Features

#129 - Add bitmasks into zserio language
#169 - Redesign generated service interface
#170 - Add pubsub support into zserio language
#200 - Cross language portability for array size

Improvements

#46 - Optimize AnyHolder inplace creation
#153 - Improve static analysis of Java code
#154 - Improve static analysis of C++ code
#155 - Improve static analysis of Python code
#172 - Remove generated annotation from Java generated code
#174 - Consider to restrict implicit arrays
#179 - Change default behaviour of SQL constraint for fields
#184 - Remove '@' character pre-processing in SQL constraints
#187 - Add keyword 'topic' to the pubsub types
#204 - Cross language portability for auto arrays
#205 - Cross language portability for unions
#206 - Cross language portability for strings
#212 - Cross language portability for bit buffer
#217 - Disable dynamic string concatenation