Skip to main content

Migrate to current ZenTS

Use current contracts and tests rather than retaining old semantics. Validate in Editor, then regenerate/export target Players.

Previous usageCurrent approach
QuickJS plugins/settingsRemove; import official V8 SDK, or use HostJs on supported hosts
Binaries in package/GitSDK in Library; generated Editor plugins/meta in Assets
Dynamic register_methodBinding-time Alias attributes/AOT XML; frozen names
make_generic_method(closure, ...)inflate(closed declaring type, key, ...types) or GTAP
out placeholdersRemove inputs; destructure results
ref reassignment in result tupleNo such result; follow direct-storage/in-place rules
Automatic bigint for long/ulongDefault number, explicit BigInt
Bytes binary stringsCopied Uint8Array
Runtime XML registration/reloadAOT session/build configuration only
Arbitrary HostJs source executionPrecompiled module factories and source variants

From ZLua​

Keep CLR binding, candidate, view, configuration, and AOT concepts. Adapt this, null/undefined, out arrays, explicit BigInt, JS collections, and Promise behavior. Lua integers, binary strings, longjmp, and __gc are not JS engine interfaces. Opaque cannot cross await; unsubscribe events explicitly.

Regression​

Remove retired APIs and stale expectations, verify SDK identity, then check aliases/config conflicts, declarations, overloads, numeric limits, GC, exceptions, Reset, and generics on target. See migration contracts.