Changelog¶
0.8.1¶
- Fix the Reflection API in presence of large schemas, which
capnpcompiles using multiple segments and far pointers.
0.8.0¶
- Improve the
shortrepr()method and consequently the__repr__of capnpy structs: the goal is to make the output of shortrepr() fully compatible with the standardcapnp encodetool: this way it is possible to reconstruct the original binary message from a capnpy textual dump. - Fix a corner case when reading far pointers: this bug prevented capnpy to parse large schemas under some conditions.
- Add a new compilation option to control whether to include the Reflection data: see Compilation options.
- Improve support for
constinside capnproto schemas: it is now possible to declare struct and list constants.
0.7.0¶
- Add the Reflection API, which makes it possible to programmatically query information about a schema, for example what are the fields inside a struct.
0.6.3¶
- Fix the repr text fields when
textType=unicode.
0.6.1¶
- Improve
load()andload_all(). Try harder to distinguish between a clean close of the connection and an unclean one: now we raise EOFError only if we read an empty string at the very beginning of the message. - Fix constructors when using a
$Py.nullableon a group value.
0.6¶
- Add the new
text_typeoption (see Compilation options). It is now possible to choose whetherTextfields are represented as bytes or unicode.