Releases: KxSystems/protobufkdb
Releases · KxSystems/protobufkdb
v1.0.1
Initial Stable Release
Promotion of 1.0.0-rc.2 to 1.0.0
Second release candidate for version 1.0.0
Protobufkdb enhancements:
- Message representation
Previously protobufkdb represented a proto message in kdb as a mixed lists of field values in field positional order. This is for performance reasons and to more closely tie in with how protobuf serializes messages.
However, some users may prefer messages to use a dictionary from symbol field names to a mixed list of field values, more similar to how JSON is represented. In this case each field is be looked up by its name so the positional order is no longer required.
Both styles are now supported by separate APIs. - Type mapping updates
Protostring
fields are mapped to kdb+ char lists
Protobytes
fields are mapped to kdb+ as byte lists
Proto map-keystring
fields are mapped to kdb+ symbols - Bugfixes
Messages where are fields have the same type can be serialized
Dynamic import errors are cleared correctly
Initial release candidate for version 1.0.0
Protobuf/Google Protocol Buffers is a flexible data interchange mechanism for serializing/deserializing structured data wherever programs or services have to store or exchange data via interfaces while maintaining a high degree of language interoperability. The binary encoded format used to represent the data is considerable more efficient, both in terms of raw processing speed and compact data size, than other encodings such as JSON or XML.
What"s New:
- Serialization and parsing functions for converting between kdb+ objects and proto-serialized binary
- Automatic mapping of all scalar protobuf field types along with repeated, map and oneof field specifiers
- Support for kdb+ temporal types via protobuf field options
- Type checking that kdb+ object is compatible with the message schema during serialization
- Ability to dynamically import .proto message schema definitions at runtime