New
0.41.0
What's Changed
- BridgeJS: Fix namespace enum with
@JS(namespace:)attribute by @krodak in https://github.com/swiftwasm/JavaScriptKit/pull/562 - BridgeJS: Add intrinsic extensions for stack-based lifting and refactor Swift glue code generation to use them by @krodak in https://github.com/swiftwasm/JavaScriptKit/pull/554
- BridgeJS: Re-organize snapshot test structure by @kateinoigakukun in https://github.com/swiftwasm/JavaScriptKit/pull/561
- BridgeJS: Enforce throws(JSException) on @JS protocol methods by @krodak in https://github.com/swiftwasm/JavaScriptKit/pull/563
- Revert "BridgeJS: Enforce throws(JSException) on @JS protocol methods" by @kateinoigakukun in https://github.com/swiftwasm/JavaScriptKit/pull/565
- BridgeJS: Add JSObject and @JSClass struct support for arrays and struct by @krodak in https://github.com/swiftwasm/JavaScriptKit/pull/566
- TS2Swift: Skip type checks when translating TS -> Swift by @kateinoigakukun in https://github.com/swiftwasm/JavaScriptKit/pull/567
- BridgeJS: emit typed throws without extra space by @kateinoigakukun in https://github.com/swiftwasm/JavaScriptKit/pull/571
- BridgeJS: Support static @JSFunction imports by @kateinoigakukun in https://github.com/swiftwasm/JavaScriptKit/pull/568
- BridgeJS: T | null and T | undefined support by @kateinoigakukun in https://github.com/swiftwasm/JavaScriptKit/pull/569
- [NFC] BridgeJS: Avoid emitting empty skeletons by @kateinoigakukun in https://github.com/swiftwasm/JavaScriptKit/pull/574
- [NFC] BridgeJS: Omit trailing spaces on empty lines in generated JS code by @kateinoigakukun in https://github.com/swiftwasm/JavaScriptKit/pull/575
- BridgeJS: Perf-tune
SwiftToSkeletonby avoiding unnecessary Syntax node allocation by @kateinoigakukun in https://github.com/swiftwasm/JavaScriptKit/pull/577 - BridgeJS: Add JSValue parameter/return support by @kateinoigakukun in https://github.com/swiftwasm/JavaScriptKit/pull/570
- BridgeJS: Support all missing types as associated values in exported enums by @krodak in https://github.com/swiftwasm/JavaScriptKit/pull/579
- build-examples.sh: re-enable Embedded example package by @MaxDesiatov in https://github.com/swiftwasm/JavaScriptKit/pull/490
- BridgeJS: Import-side Array Support by @krodak in https://github.com/swiftwasm/JavaScriptKit/pull/573
- BridgeJS: Fix throws hint spacing by @kateinoigakukun in https://github.com/swiftwasm/JavaScriptKit/pull/584
- [NFC] BridgeJS: Split out OptionalSupportTests.swift by @kateinoigakukun in https://github.com/swiftwasm/JavaScriptKit/pull/583
- BridgeJS: Fix optional String return handling in generated JS glue code by @kateinoigakukun in https://github.com/swiftwasm/JavaScriptKit/pull/585
- BridgeJS: Add support for
[JSValue]by @kateinoigakukun in https://github.com/swiftwasm/JavaScriptKit/pull/580 - BridgeJS: Skip directories in generate input file processing by @krodak in https://github.com/swiftwasm/JavaScriptKit/pull/586
Full Changelog: https://github.com/swiftwasm/JavaScriptKit/compare/0.40.0...0.41.0