Release Notes 0.8.x¶
Caution
v0.8.x are deprecated.
0.8.10 Index in forEach¶
Renamed
IJavetConsumertoIJavetUniConsumerAdded
IJavetUniIndexedConsumerandIJavetBiIndexedConsumerFixed a bug in
V8FunctionCallbackon varargsDeprecated
bindFunctions()andbindProperties()Added
@CheckReturnValueto warn ignored return value
0.8.9 Declarative Property Interception¶
Renamed
setFunction()tobindFunction()inIV8ValueObjectRenamed
setFunctions()tobindFunctions()inIV8ValueObjectAdded
disableInDebugMode()andenableInDebugMode()toJavetEngineGuardAdded
bind(),bindProperty()andbindProperties()inIV8ValueObjectAdded
@V8PropertyforIV8ValueObject.bindProperties()
0.8.8 Hotfix the Source Code¶
Re-organized doc.
Added
getJSFunctionType(),getSourceCode()andsetSourceCode()toIV8ValueFunction
0.8.7 Native Modules for Node.js¶
Supported native modules with rebuilt scripts
Fixed
NodeRuntime.await()to emit tasks
0.8.6 Event Loop for Node.js¶
Upgraded Linux build environment to Ubuntu 20.04 + GCC 9.3
Enhanced
NodeRuntime.await()to allow interaction from other threads
0.8.5 Error Codes¶
Universal object conversion is turned on for all API
Added
createV8ValueDouble(),createV8ValueString()andcreateV8ValueZonedDateTime()toV8RuntimeAdded
JavetErrorwith error codesRefactored
invoke(),call(),set(),has()to takeObjectinstead ofV8ValueRemoved a few exceptions
0.8.4 V8 v9.0¶
Added
gcBeforeEngineClosetoJavetEngineConfigAdded
JavetCallbackExceptionAdded
IV8Value#isNullOrUndefinedUpgraded Node.js to
v14.16.1(2021-04-06)Upgraded V8 to
v9.0.257(2021-02-24)
0.8.3 GC¶
Added
V8Runtime.lowMemoryNotification()andV8Runtime.idleNotificationDeadline()Added
V8Host.setMemoryUsageThresholdRatio(),V8Host.enableGCNotification(), andV8Host.disableGCNotification()Updated JavetEnginePool to be lock free
Added
autoSendGCNotificationtoJavetEngineConfigMoved
JavetCallbackContextmanagement fromV8ValueFunctionto V8Added
JavetPromiseRejectCallbackfor V8 mode
0.8.2 Conversion for Primitive¶
Enabled auto type conversion in primitive types
Fixed a memory leak issue during V8Runtime
resetContext(),resetIsolate(),close()
0.8.1 Declarative Function Interception¶
Enabled declarative function interception
Enabled custom object converter in function callback
Added
allowEvaltoJavetEngineConfigRefactored built-in module API for Node.js mode
0.8.0 First Time with Node.js¶
Supported Node.js
v14.16.0(2021-02-23)Added
V8ModuleandV8ScriptEnhanced
V8ValuePromiseAdded dynamic switch between Node.js and V8