Releases: swiftwasm/JavaScriptKit
Releases · swiftwasm/JavaScriptKit
0.7.0
This release adds multiple new types bridged from JavaScript, namely JSError, JSDate, JSTimer (which corresponds to setTimeout/setInterval calls and manages closure lifetime for you), JSString and JSPromise. We now also have documentation published automatically for the main branch.
Closed issues:
TypedArrayimprovement? (#52)
Merged pull requests:
- Add a generic
JSPromiseimplementation (#62) via @MaxDesiatov - Remove payload2 from value bridging interface (#64) via @kateinoigakukun
- Update Node.js dependencies (#65) via @MaxDesiatov
- Implement
JSStringto reduce bridging overhead (#63) via @kateinoigakukun - Add
JSBridgedTypeandJSBridgedClass(#26) via @j-f1 - Make
JSValueconform toExpressibleByNilLiteral(#59) via @j-f1 - Remove
JavaScriptTypedArrayKind(#58) via @j-f1 - Add doc comments for public APIs (Part 2) (#57) via @kateinoigakukun
- Add doc comments for public APIs (Part 1) (#55) via @kateinoigakukun
- Cleanup invalid test target (#53) via @kateinoigakukun
- Remove deprecated Ref suffix (#51) via @j-f1
- Rename
reftojsObjecton JSDate for consistency with JSError (#50) via @MaxDesiatov - Generate and publish documentation with
swift-doc(#49) via @MaxDesiatov - Add
JSTimerimplementation with tests (#46) via @MaxDesiatov - Add
JSError.stack, addErrorconformance (#48) via @MaxDesiatov - Add
JSDateimplementation with tests (#45) via @MaxDesiatov - Add
JSErrorwith tests, add JSObject.description (#47) via @MaxDesiatov
0.6.0
This release adds JSTypedArray generic type, renames JSObjectRef to JSObject, and makes JSClosure memory management more explicit.
Closed issues:
- Support for JS Arrays “holes”, including the test suite (#39)
- BigInt Support (#29)
- Separate namespaces for methods and properties? (#27)
Merged pull requests:
- Add a helper method to copy an array of numbers to a JS TypedArray (#31) via @j-f1
- Resolve small issues (#44) via @kateinoigakukun
- Bump bl from 3.0.0 to 3.0.1 in /IntegrationTests (#42) via @dependabot[bot]
- Bump bl from 3.0.0 to 3.0.1 in /Example (#43) via @dependabot[bot]
- Support Holes in Array (#41) via @kateinoigakukun
- Refine public API (#40) via @kateinoigakukun
- Fix invalid array termination for null and undefined (#38) via @kateinoigakukun
- Add a test helper function (#36) via @j-f1
- Enable Xcode 12 with fresh SwiftWasm 5.3 snapshot (#35) via @MaxDesiatov
- Add void-returning overload to
JSClosure.init(#34) via @MaxDesiatov - Change
JSClosure.releasetodeinit(#33) via @MaxDesiatov - Clean up the
JSObjectRefAPI (#28) via @j-f1 - Remove unused
Testsdirectory (#32) via @MaxDesiatov
0.1.0
Update package.json