Release 4.1.0
SemVer minor release to pull changes since the last release. The main motivations for the release are:
- Added the wraps for
napi_add_env_cleanup_hook
andnapi_remove_env_cleanup_hook
. - Added Napi::Maybe class to handle pending exception when cpp exception disabled.
Napi::Reference
updated the default value to reflect the most possible values when there are any errors occurred onnapi_reference_unref
.- Added the check for nullpointer on
Napi::String
initialization. - Added first set of tests for
Napi::Symbol
. - Updated test suite to avoid parallel running.
- Updated example for context sensitivity.