All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
<a name="0.2.4"></a>
0.2.4 (2017-11-24)
0.2.3 (2017-11-21)
0.2.2 (2017-11-20)
- build: update lerna configuration (51024e5)
- compiler: do not generate imports for external files (#82) (b1dd5b3)
Structs can be imported from other schema files.
@0xfc552bdafbb0b889;
using Bar = import "import-bar.capnp";
struct Foo {
baz @0 :Bar.Baz;
}
The message factory functions have been integrated into a revamped message constructor.
capnp.Message.fromArrayBuffer(buf); // 0.1.6
new capnp.Message(buf, false); // >=0.2.0
capnp.Message.fromPackedArrayBuffer(buf); // 0.1.6
new capnp.Message(buf); // >=0.2.0
capnp.Message.fromBuffer(buf); // 0.1.6
new capnp.Message(buf, false); // >=0.2.0
capnp.Message.fromPackedBuffer(buf); // 0.1.6
new capnp.Message(buf); // >=0.2.0
capnp.Message.fromSegmentBuffer(buf); // 0.1.6
new capnp.Message(buf, false, true); // >=0.2.0
Many other methods that were intended to be private are also no longer exposed on their classes, and private members have been moved to _capnp
properties on all Pointer types.
Don't touch anything inside _capnp
!