Changelog History
Page 1
-
v1.6.0 Changes
December 29, 2018 -
v1.5.2 Changes
October 19, 2018๐ Before dropping support of old V8 versions with deprecated API
-
v1.5.1 Changes
August 08, 2018๐ Bug fixes
-
v1.5.0 Changes
October 29, 2017Wrapped C++ class now can be bound to store objects in
std::shared_ptr
:class MyClass {}; v8pp::class_<MyClass, true> MyClass_binding(isolate); v8::Handle<v8::Object> v8_obj = v8pp::class_<MyClass, true>::create_object(isolate); std::shared_ptr<MyClass> obj = v8pp::class_<MyClass, true>::unwrap_object(isolate, v8_obj);
Added compile-time
type_id()
function instead of RTTI usage.๐ Fixed an issue #62
-
v1.4.1 Changes
July 28, 2017See #60: C++ objects referenced with reference_external are still deleted when class_::destroy() is called
-
v1.4.0 Changes
October 29, 2016Custom
type_info
andtype_id<T>
are used in C++ class binder implementation. This allows to not force standard RTTI usage, which is turned off on many projects and in default Node.js addon configuration. Many thanks to @Manu343726 and @foonathan for their idea in https://github.com/Manu343726/ctti library.A registery of bound classes is not stored in a V8 isolate by default from now. This is fine for typical use case, until we bind classes in multiple shared libraries (see #26). For the scenario with multiple shared libraries, define in all projects
# V8PP_ISOLATE_DATA_SLOT
with V8 slot number to store the classes registry there.๐ Fixed an issue with destroy of weak references to
v8::External
. They are used to store data withsizeof(data) > sizeof(void*)
, like lambda bindings (see #30). -
v1.3.1
October 09, 2016 -
v1.3.0 Changes
October 09, 2016Replaced static variables for class types identification by
std::type_index
in order to resolve an issue with the classes identification across different shared libraries.๐ Removal of those static variables also leads up to better concurrency support with multiple
V8
isolates (see #28) -
v1.2.1 Changes
October 05, 2016According to nodejs/node#6216 only primitive values and V8 templates are allowed to set in a v8::ObjectTemplate.