Skip to content

Releases: swiftwasm/JavaScriptKit

0.49.0

27 Mar 09:10
7e242b0

Choose a tag to compare

What's Changed

  • BridgeJS: Re-land extension method support (reverted in #703) by @krodak in #706
  • BridgeJS: support imports of JS Promise as async Swift by @MaxDesiatov in #707

Full Changelog: 0.48.0...0.49.0

0.48.0

24 Mar 08:38
c36a742

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.47.1...0.48.0

0.47.1

11 Mar 17:39
1f54ba6

Choose a tag to compare

What's Changed

  • BridgeJS: Use shared decodeString for JSTypedClosure error path by @kateinoigakukun in #696
  • BridgeJS: Fix protocol existential lowering in Swift-to-JS direction by @krodak in #697
  • BridgeJS: Support protocol types in closure parameters and returns by @krodak in #699

Full Changelog: 0.47.0...0.47.1

0.47.0

10 Mar 19:32
ba66ff1

Choose a tag to compare

What's Changed

  • fix use-after-free in BridgeJS by @diederich in #690
  • BridgeJS: fix codegen for async + throws exported methods by @diederich in #691
  • [BridgeJS] Pass String parameters unretained as (address, length) by @sliemeobn in #688
  • BridgeJS: Include properties and release() in declare global class stubs by @krodak in #693

New Contributors

Full Changelog: 0.46.5...0.47.0

0.46.5

03 Mar 08:38
5529520

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.46.4...0.46.5

0.46.4

27 Feb 18:03
1750eff

Choose a tag to compare

What's Changed

  • Allow Swift projects that use JavaScriptKit to compile on Windows by @cuberoot in #673
  • BridgeJS: Simplify Stack ABI for Optional by @kateinoigakukun in #674
  • BridgeJS: Remove inline array lifting/lowering codegen by @kateinoigakukun in #675
  • [NFC] BridgeJS: Cover more Array cases in runtime tests by @kateinoigakukun in #678
  • [NFC] BridgeJS: Move out default argument tests into a separate suite by @kateinoigakukun in #679
  • [NFC] BridgeJS: Move all Optional tests into OptionalSupportTests by @kateinoigakukun in #680
  • BridgeJS: Unify JSUndefinedOr and Optional intrinsic methods by @kateinoigakukun in #681
  • BridgeJS: Fix property codegen using unqualified type name for namespace-nested classes by @krodak in #682
  • BridgeJS: Remove _BridgedSwiftDictionaryStackType protocol by @kateinoigakukun in #684
  • BridgeJS: Include namespace prefix in ABI names for namespace-nested classes and structs by @krodak in #683

New Contributors

Full Changelog: 0.46.3...0.46.4

0.46.3

23 Feb 09:01
aa9aa77

Choose a tag to compare

What's Changed

  • BridgeJS: Fix stack ordering for optional arrays and dictionaries by @krodak in #671

Full Changelog: 0.46.2...0.46.3

0.46.1

20 Feb 09:36
bf69cdb

Choose a tag to compare

What's Changed

Full Changelog: 0.46.0...0.46.1

0.46.0

19 Feb 11:23
cf89c5f

Choose a tag to compare

What's Changed

  • BridgeJS: Fix @JSClass on public/package access level struct by @kateinoigakukun in #640
  • PlayBridgeJS: Surface BridgeJS diagnostics inside editors by @kateinoigakukun in #641
  • BridgeJS: Use indirect _exports lookup in wrap functions by @krodak in #642
  • PackageToJS: Replace @ts-ignore with @ts-expect-error in templates by @krodak in #643
  • Runtime: Enforce prettier formatting, simplify find-global.ts by @krodak in #644
  • BridgeJS: Add runtime tests for @JS class to JSObject conversion by @kateinoigakukun in #646
  • PackageToJS: Rebuild bridge-js.js when BridgeJSLink is changed by @kateinoigakukun in #647
  • BridgeJS: Fix SwiftHeapObject finalization registry leaks and double release by @kateinoigakukun in #648
  • Add AI coding agent config files to gitignore by @krodak in #649
  • Runtime: Fix lint issues in compiled output by @krodak in #650
  • BridgeJS: Improve ts2swift diagnostics on invalid definitions by @kateinoigakukun in #651
  • TS2Swift: treat callable exported consts as functions by @kateinoigakukun in #652
  • TS2Swift: emit static properties as static members by @kateinoigakukun in #653
  • TS2Swift: emit enums for string literal unions by @kateinoigakukun in #654
  • NFC: BridgeJS: Remove dead cleanup infrastructure by @krodak in #655
  • [NFC] BridgeJS: Work around extern inlining by adding an extra non-inlined layer of indirection by @kateinoigakukun in #659
  • TS2Swift: warn on skipped exports by @kateinoigakukun in #660
  • NFC: BridgeJS: Refactor JSGlueGen with compositional optional handling and helper consolidation by @krodak in #656

Full Changelog: 0.45.0...0.46.0

0.45.0

16 Feb 13:20
79bda2e

Choose a tag to compare

What's Changed

  • NFC: BridgeJS: Reduce retained object cleanup warning noise in BridgeJS glue by @krodak in #633
  • [NFC] BridgeJS: Rename Stack ABI operation methods by @kateinoigakukun in #634
  • BridgeJS: Take ownership of source Uint8Array id in swift_js_init_memory by @kateinoigakukun in #635
  • TS2Swift: Make it easier to use ts2swift directly by @kateinoigakukun in #637
  • BridgeJS: Fix double-release of JSObject when passing a JSObject? JS->Swift by @kateinoigakukun in #636
  • BridgeJS: Include pluginGeneratedSources in build plugin input files by @krodak in #638
  • BridgeJS: Skip writing output files when content is unchanged by @krodak in #639

Full Changelog: 0.44.1...0.45.0