Repository navigation
Releases: PassiveLogic/JavaScriptKit
Releases · PassiveLogic/JavaScriptKit
Release list
0.60.0-pl.1
Based on upstream JavaScriptKit 0.60.0 with PassiveLogic additions:
JavaScriptEventLoop.yieldInterval- opt-in time limit for one drain of the job queue, so long-running async work yields to the JavaScript event loop (#26, upstream: swiftwasm#821)
Usage in Package.swift:
.package(
url: "https://github.com/PassiveLogic/JavaScriptKit",
exact: "0.60.0-pl.1",
),If another dependency requires swiftwasm/JavaScriptKit by version range, pin the revision instead, because a version range never matches a pre-release tag:
.package(
url: "https://github.com/PassiveLogic/JavaScriptKit",
revision: "b8369d9d8417fa55d64e513c74f5f031a6bd4ec3",
),0.50.2-pl.1
Based on upstream JavaScriptKit 0.50.2 with PassiveLogic additions:
- Pointer identity mode (
identityMode: "pointer") - opt-in WeakRef-based cache ensuring same Swift heap pointer returns same JS object (===equality) - Configuration via
bridge-js.config.json- followsexposeToGlobalpattern - Retain leak fix - balances
passRetainedon identity cache hits - Identity mode benchmarks - roundtrip, pool, churn, memory profiling scenarios
- IQR outlier removal - improved benchmark statistics for all benchmarks
Usage in Package.swift:
.package(
url: "https://github.com/PassiveLogic/JavaScriptKit",
exact: "0.50.2-pl.1",
),