Skip to content

Releases: PassiveLogic/JavaScriptKit

0.50.2-pl.1

21 Apr 10:59
f562fcb

Choose a tag to compare

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 - follows exposeToGlobal pattern
  • Retain leak fix - balances passRetained on 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",
),