Unreleased Version 10.0.0
Notable changes
- Updated to Node-API version 10. Headers and the
.deffiles are vendored unmodified fromnode-api-headers1.9.0 (155 symbols); 9 symbols were missing in 8.0.0. - New
NodeApi::NodeApiCMake target that applies the right link mechanism for each platform: import library forNODE.EXEwith a delay-load hook on Windows (MSVC and MinGW),-Ufor each Node-API symbol on macOS, nothing on ELF platforms. - The project can be consumed with
FetchContent,add_subdirectoryandfind_package(NodeApi)(exported targets and package config files). - The stub source is generated from the
.deffile. Static and shared stub libraries are optional and abort with a message when called, instead of returningnapi_okwith uninitialised results. - New tests that load the addons in Node.js, including the
-Bsymboliccase. - New build matrix: Linux x64/arm64 (glibc and musl), macOS universal, Windows x64/x86/arm64 (MSVC) and x64 (MinGW).
Breaking changes
- Headers moved from the repository root to
include/;node_api.cremoved. - The
node_apitarget andlibnode_api.aare replaced byNodeApi::NodeApiand, for the static stub,NodeApi::stub/libnode_api_stub.a(NodeApi::legacyis an alias of it).
2021-03-27 Version 8.0.0, @NickNaso
Notable changes
- Updated to Node-API version 8.
Commits
- [
09510f9b81] - Update Node-API to version 8. (NickNaso)
2021-01-29 Version 7.0.0, @NickNaso
Notable changes
- Updated to Node-API version 7.
- Added github action to build the library stub.
- Updated all documentation for the project.
Commits
- [
e27403db95] - Fixed doc. (NickNaso) - [
446216d350] - Fixed typo. (NickNaso) - [
edaf24e20c] - Updated the doc. (NickNaso) - [
9df8a871bf] - Fixed build for macOS. (NickNaso) - [
2d710fa2e7] - Fixed build for unix systems. (NickNaso) - [
31b172d9f7] - Added action to build the library. (NickNaso) - [
8121b5c812] - Updated Node-API to version 7. (NickNaso)