Release Notes 0.8.x¶
Caution
v0.8.x are deprecated.
0.8.10 Index in forEach¶
Renamed
IJavetConsumer
toIJavetUniConsumer
Added
IJavetUniIndexedConsumer
andIJavetBiIndexedConsumer
Fixed a bug in
V8FunctionCallback
on varargsDeprecated
bindFunctions()
andbindProperties()
Added
@CheckReturnValue
to warn ignored return value
0.8.9 Declarative Property Interception¶
Renamed
setFunction()
tobindFunction()
inIV8ValueObject
Renamed
setFunctions()
tobindFunctions()
inIV8ValueObject
Added
disableInDebugMode()
andenableInDebugMode()
toJavetEngineGuard
Added
bind()
,bindProperty()
andbindProperties()
inIV8ValueObject
Added
@V8Property
forIV8ValueObject.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()
toV8Runtime
Added
JavetError
with error codesRefactored
invoke()
,call()
,set()
,has()
to takeObject
instead ofV8Value
Removed a few exceptions
0.8.4 V8 v9.0¶
Added
gcBeforeEngineClose
toJavetEngineConfig
Added
JavetCallbackException
Added
IV8Value#isNullOrUndefined
Upgraded 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
autoSendGCNotification
toJavetEngineConfig
Moved
JavetCallbackContext
management fromV8ValueFunction
to V8Added
JavetPromiseRejectCallback
for 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
allowEval
toJavetEngineConfig
Refactored 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
V8Module
andV8Script
Enhanced
V8ValuePromise
Added dynamic switch between Node.js and V8