protobluff-0.5.0
This release adds support for oneofs. protobluff now implements all features of the Protocol Buffers specification version 2 (known as "proto2"), except groups and generic services which are both deprecated. However, there may be a GRPC-based service implementation in form of a plugin in the future.
This is the last release before bumping the version to 1.0.0. proto3 support is basically possible (and not that complicated to implement), and may also be something that is added in the future. The libtool version has been updated to 4.0.0, due to the renaming of some descriptor-related functions.
Runtime:
- Fixed occurrence handling of non-repeated fields in message and cursor
- Added regression tests for occurrence handling
- Added support and tests for oneofs
- Moved descriptor iterators from util into core (won't affect core size)
- Changed field descriptor accessors for clarity ("nested", "enum", "oneof")
- Renamed enum descriptor value into enum value descriptor (consistency)
Generator:
- Added support for oneofs
- Removed banners for empty sections in generated source
- Removed from field constructors (may be introduced with "Any" in proto3)
- Refactored generator for better readability