Skip to content

Releases: swiftwasm/JavaScriptKit

0.20.1

11 Jul 07:40
Compare
Choose a tag to compare

Minor fixes for IDE build support

Full Changelog: 0.20.0...0.20.1

0.20.0

10 Jul 15:41
Compare
Choose a tag to compare

This release adds initial multi-threading support.

What's Changed

Full Changelog: 0.19.3...0.20.0

0.19.3

05 Jun 16:54
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @kuhl made their first contribution in #243

Full Changelog: 0.19.2...0.19.3

0.19.2

11 Apr 02:17
Compare
Choose a tag to compare

What's Changed

  • [CI] macos-14 by @ikesyo in #233
  • [CI] Drop macos-11 since that is deprecated and will be removed in Q2 2024 by @ikesyo in #234
  • Update swift-tools-version to reflect the supported Swift versions by @ikesyo in #235
  • [CI] Update actions and configure Dependabot by @ikesyo in #236
  • Fix Optional implementation for ConstructibleFromJSValue by @omochi in #238
  • Inherit JSFunction from JSClosure by @kateinoigakukun in #239
  • Fix object decode by @omochi in #241

New Contributors

Full Changelog: 0.19.1...0.19.2

0.19.1

06 Feb 10:17
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.19.0...0.19.1

0.19.0

16 Jan 12:57
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.18.0...0.19.0

0.18.0

13 Mar 14:16
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.17.0...0.18.0

0.17.0

03 Oct 17:46
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.16.0...0.17.0

0.16.0

22 Aug 11:55
Compare
Choose a tag to compare

This release contains significant performance improvements, API enhancements for JSPromise / JSBigInt / JSClosure, and documentation improvements.

Merged pull requests:

0.15.0

19 May 13:30
2d7bc96
Compare
Choose a tag to compare

This is a major release that adds new features and fixes issues. Specifically:

  • BigInt and BigInt-based JSTypedArray types are now supported. Now, when passing Int64 values from Swift, they will be mapped to BigInt values on the JavaScript side.
  • The constructor property on JSBridgedClass is now an Optional, which allows bridging JavaScript classes that aren't available in every browser or environment.
  • JavaScriptKit runtime files are now supplied as SwiftPM resources. This allows us to resolve a long-standing issue in carton that could lead to a version mismatch between JavaScriptKit dependency in Package.swift or Package.resolved and carton’s bundled JavaScriptKit runtime version.
  • The JSSymbol type has been added, enabling support for JavaScript Symbol values, including accessing Symbol-keyed properties on objects.

Source breaking changes

UInt64.jsValue and Int64.jsValue, which are a part of JavaScriptKit module, have been moved into JavaScriptBigIntSupport module since their implementation changed to require JS-BigInt-integration to avoid implicit casts from 64-bit integer to JS number type.

If you want to keep the behavior so far, please cast the 64-bit integer values to Double.

Merged pull requests: