Skip to content

Releases: charto/nbind

v0.3.15

02 Mar 13:10
Compare
Choose a tag to compare
  • Fix internal compiler error in VS2017.
  • Add basic Android support.
  • Allow resetting references to JS callbacks.

v0.3.13

21 Jul 05:50
Compare
Choose a tag to compare
  • Add NBIND_ALIAS macro to support enum classes.

v0.3.12

29 May 17:08
Compare
Choose a tag to compare
  • Fix loading multiple addons with identical class and method names.
  • Move @types/node to devDependencies
  • Fix some methods disappearing on Emscripten target.

v0.3.11

03 May 15:27
Compare
Choose a tag to compare
  • Avoid growing heap when passing objects by value.
  • Support const references to std::strings.

v0.3.10

23 Apr 05:21
Compare
Choose a tag to compare
  • Fix constructors taking no arguments.
  • Update development environment.

v0.3.9

21 Jan 11:10
Compare
Choose a tag to compare
  • Support std::function callbacks.
  • Fix passing cbFunction by const reference.
  • Add NBIND_DUPLICATE_POINTERS flag.
  • Update Emscripten detection.

v0.3.8

27 Dec 18:42
Compare
Choose a tag to compare
  • Fix compiling C source files.
  • Detect unbound types at run-time to avoid crash on Node.js target.

v0.3.7

20 Dec 19:50
Compare
Choose a tag to compare
  • Add noconflict.h to avoid macro naming conflicts.
  • Fix ndts issue when no functions outside classes have bindings.
  • Handle exceptions thrown in JavaScript callbacks.

v0.3.6

12 Dec 18:40
Compare
Choose a tag to compare
  • Avoid conflict with "check" macro in AssertMacros.h.
  • Fix passing objects without a toJS method by value on Emscripten target.

v0.3.5

26 Oct 11:18
Compare
Choose a tag to compare

Breaking changes:

  • inherit is now a reserved keyword in NBIND_CLASS sections.

Other changes:

  • Support (multiple) inheritance.
  • Fix issue with loading multiple addons that use nbind.
  • Fix issue with binding non-copyable classes.
  • Allow renaming bound properties.