Skip to content

Latest commit

 

History

History
127 lines (61 loc) · 4.28 KB

CHANGELOG.md

File metadata and controls

127 lines (61 loc) · 4.28 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.4.0 (2018-09-26)

Bug Fixes

Features

  • compiler: add support for capnpc v0.7.0 (#110) (22bd14d)

0.3.1 (2018-09-25)

Bug Fixes

  • serialization: fix parse crash on null pointer dereference in resize (#107) (3f8b307), closes #78

0.3.0 (2018-08-29)

Bug Fixes

  • build: avoid use of debug script for capnpc build step (#101) (f1d606a)
  • build: hoist js-examples to packages directory (#103) (8604fec)
  • compiler: change order of comment and tslint:disable (#94) (b37a342)
  • add debug as direct dependency of capnpc-ts (#105) (90643ce)
  • serialization: set instance variables before they may be referenced (#106) (21deff5)

Features

  • compiler: implement remaining serialization features (#98) (524b6bd)

0.2.4 (2017-11-24)

Bug Fixes

  • build: do not emit UMD modules (#87) (157d1d9)

    <a name="0.2.3"></a>
    

0.2.3 (2017-11-21)

Bug Fixes

  • compiler: relax compiler settings for capnpc-js (#84) (5e89626), closes #83

0.2.2 (2017-11-20)

Bug Fixes

  • build: update lerna configuration (51024e5)
  • compiler: do not generate imports for external files (#82) (b1dd5b3)

0.2.1

Structs can be imported from other schema files.

@0xfc552bdafbb0b889;

using Bar = import "import-bar.capnp";

struct Foo {
baz @0 :Bar.Baz;
}

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!