Releases: charto/nbind
Releases · charto/nbind
v0.3.4
v0.3.3
v0.3.2
Breaking changes:
args
,multifunction
andmultimethod
are now reserved
keywords inNBIND_CLASS
sections (put them and thenbind.h
include after your own code to avoid conflicts).- Improve upper case property name handling,
getPROP
now becomesPROP
instead ofpROP
.
Other changes:
- Allow renaming bound classes.
- Support const and non-const pointers and references.
- Support overloaded functions (requires renaming each overload).
v0.3.1
v0.3.0
Breaking changes:
- Usage in web browsers has been completely overhauled.
function
is now a reserved keyword inNBIND_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
Breaking changes:
- Value object initializer
bind
is now a dynamic instead of a static method of the exports object returned byrequire('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
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.