Skip to content

Releases: charto/nbind

v0.3.4

29 Sep 14:14
Compare
Choose a tag to compare
  • Support passing JavaScript objects opaquely through C++.
  • Autogenerate TypeScript definitions.

v0.3.3

26 Sep 15:57
Compare
Choose a tag to compare
  • Support shared pointers.
  • Support passing unique pointers from C++ to JavaScript.
  • Use shared pointers for all JS-owned objects.
  • Implement light GC (undocumented) on Emscripten target.
  • Sort reflection output to make it deterministic.

v0.3.2

01 Sep 13:43
Compare
Choose a tag to compare

Breaking changes:

  • args, multifunction and multimethod are now reserved
    keywords in NBIND_CLASS sections (put them and the nbind.h
    include after your own code to avoid conflicts).
  • Improve upper case property name handling, getPROP
    now becomes PROP instead of pROP.

Other changes:

  • Allow renaming bound classes.
  • Support const and non-const pointers and references.
  • Support overloaded functions (requires renaming each overload).

v0.3.1

23 Aug 12:32
Compare
Choose a tag to compare
  • Support typed arrays and buffers.
  • Allow non-literal strings in NBIND_ERR macro.

v0.3.0

29 Jul 14:06
Compare
Choose a tag to compare

Breaking changes:

  • Usage in web browsers has been completely overhauled.
  • function is now a reserved keyword in NBIND_CLASS blocks.
  • New syntax for renaming bound methods (still undocumented feature).
    • Argument order was changed.
    • Name visible to JavaScript is now passed as a quoted string.

Other changes:

  • Reflection support, report type information from C++ method definitions to JavaScript.
  • Support for custom type conversion policies:
    • Enforce stricter type checking
    • Allow null pointers.
  • NBIND_GLOBAL block allows binding functions not belonging to any class.
  • 64-bit integer support.
  • Various bugfixes.

v0.2.1

07 Jun 11:10
Compare
Choose a tag to compare

Breaking changes:

  • Value object initializer bind is now a dynamic instead of a static method of the exports object returned by require('nbind')

Other changes:

  • Fix loading modules from browsers and add basic TypeScript definitions.
  • Add tool to copy compiled asm.js output to a target directory.
  • Avoid losing errors from asm.js init.
  • Fix overriding the toString method on Emscripten target.
  • Support passing pointers on Emscripten target.
  • Fix loading asm.js code without running "npm link nbind".
  • Rewrite documentation.

v0.2.0

27 May 14:49
Compare
Choose a tag to compare

Breaking changes:

  • Rename nbind/BindingShort.h to nbind/nbind.h
  • Rename module on JavaScript side from nbind.module to nbind.lib

Other changes:

  • Add full Emscripten support.
  • Support passing arrays as parameters and return values.
  • Eliminate compiler warnings in Visual Studio.
  • Always compile with -O3.
  • Improve tooling for easier setup.
  • Improve readme and add logo.

v0.1.2

02 May 08:11
Compare
Choose a tag to compare
  • Fix warning about v8::FunctionTemplate::Set().
  • Support TypeScript 1.8.

v0.1.1

29 Sep 12:05
Compare
Choose a tag to compare
  • Add partial Emscripten support.
  • Fix build issues on Windows.
  • Update to TypeScript 1.6.
  • Support const methods.

v0.1.0

31 Aug 00:44
Compare
Choose a tag to compare
  • Update NAN to version 2.
  • Rewrite documentation.