Changelog
0.7.0 (2021-08-19)
capnpc-js
is being retired in favor of compiling
directly to js from capnpc-ts
instead. This makes the one compiler
serve both purposes; js-only users who are annoyed by the extra d.ts
files may simply delete them. This was done to work around bugs in
source-map-support that prevent importing capnp.js files when a
capnp.ts file is also present.Changelog
0.6.0 (2021-08-19)
capnpc-js
is being retired in favor of compiling
directly to js from capnpc-ts
instead. This makes the one compiler
serve both purposes; js-only users who are annoyed by the extra d.ts
files may simply delete them. This was done to work around bugs in
source-map-support that prevent importing capnp.js files when a
capnp.ts file is also present.Changelog
0.3.0 (2018-08-29)
<a name="0.2.4"></a>
Changelog
0.2.0
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
!