Releases: swiftwasm/carton
0.17.0
What's Changed
- Update SwiftPM dependencies by @kateinoigakukun in #371
- Update SwiftPM dependencies by @kateinoigakukun in #372
- Update SwiftPM dependencies by @kateinoigakukun in #373
- Update SwiftPM dependencies by @kateinoigakukun in #374
- Ignore force_try swift-lint rule where in defer. by @noppefoxwolf in #379
- Use @main attributes by @noppefoxwolf in #378
- Add 5.7 host toolchain matrix by @kateinoigakukun in #380
- Update SwiftPM library version to 5.7 by @kateinoigakukun in #381
- Update default toolchain version to 5.7.1 by @kateinoigakukun in #383
New Contributors
- @noppefoxwolf made their first contribution in #379
Full Changelog: 0.16.1...0.17.0
0.16.1
What's Changed
- Update SwiftPM dependencies by @MaxDesiatov in #366
- Update SwiftPM dependencies by @MaxDesiatov in #368
- Exit non-zero status when test fail on browser by @kateinoigakukun in #370
Full Changelog: 0.16.0...0.16.1
0.16.0
This release adds several enhancements in carton test
, and allows you to customize optimization strategy.
One of the notable enhancement is --headless
option added in carton test
, which runs tests using W3C WebDriver protocol
What's Changed
- Clean up integration tests and fixtures by @kateinoigakukun in #355
- Fix linter error in
Builder.swift
by @MaxDesiatov in #356 - Update SwiftPM dependencies by @MaxDesiatov in #357
- Add --bundle-path option to
carton test
by @kateinoigakukun in #358 - Use
--static-swift-stdlib
for easier distribution on Linux by @MaxDesiatov in #343 - Add option to disable wasm optimizations by @ephemer in #359
- Update SwiftPM dependencies by @MaxDesiatov in #360
- Headless test runner by @kateinoigakukun in #362
- Update SwiftPM dependencies by @MaxDesiatov in #363
- Revert "Use
--static-swift-stdlib
for easier distribution on Linux" by @MaxDesiatov in #365
New Contributors
Full Changelog: 0.15.3...0.16.0
0.15.3
This release fixes an issue when carton test
wouldn't be finished after large number of test suites, and improved HTML 5 compatibility.
Merged pull requests:
- Stop limiting WS frame size to 16kb for large number of test suites (#353) via @kateinoigakukun
- Use standards mode in default index page (#351) via @carson-katri
0.15.2
This release fixes an issue when JS entrypoints weren't unpacked during carton test --environment node
runs.
Merged pull requests:
- Add missing check for Node.js entrypoint (#350) via @MaxDesiatov
0.15.1
This release fixes an issue when temporary symlinks weren't cleaned up after running carton test --environment node
.
Merged pull requests:
- Fix symlinks not fully cleaned up in Node.js tests (#349) via @MaxDesiatov
0.15.0
This release of carton
includes enhancements and bugfixes. Namely:
- Compatibility with JavaScriptKit 0.15.0 and later. The long-standing incompatibility between different versions of
carton
and JavaScriptKit is resolved now. All version combinations ofcarton
and JavaScriptKit higher than 0.15 should be compatible with each other. This is achieved by supplying JavaScriptKit runtime via SwiftPM resources, instead of embedding within.js
entrypoints as we did previously. If you relied on the previous behavior, please open an issue describing your use case. carton test
can now run your test suite with Node.js when that is installed. Run it ascarton test --environment node
to enable this.- SwiftPM resources from sub-dependencies of your package are now available on the web server with
carton dev
and bundled withcarton bundle
. Resources from each target are still isolated in subdirectories named with\(packageName)_\(targetName).resources
format, which is hardcoded by SwiftPM. Resources from the main target you're building are still available at the root path, also accessible viaBundle.main.path(forResource:ofType:)
function when you import Foundation (mind the binary size overhead when relying on Foundation). Incorrect paths accessed viaBundle.module
are a known issue, which we track as swiftwasm/swift#4573.
Many thanks to @AntonioCandinho, @j-f1, and @kateinoigakukun for contributions!
Closed issues:
- Re-read supplied
index.html
on updates (#341) carton dev
stops rebuilding/reloading after error (#339)- Avoid applying
I64ImportTransformer
when JS BigInt support is enabled (#326) swjs_create_typed_array
error oncarton test
(#322)- Host JSKit entrypoint assets on GH Pages CDN (#317)
Merged pull requests:
- Fix watcher breakage on failed builds (#347) via @MaxDesiatov
- Re-read custom
index.html
on updates (#342) via @MaxDesiatov - Use JSKit runtime from SwiftPM resources (#335) via @MaxDesiatov
- Fix JavaScriptBigIntSupport compatibility issue (#338) via @kateinoigakukun
- Embed static.zip in Swift code instead of downloading from remote (#334) via @kateinoigakukun
- Clarify
--environment
option forcarton test
inREADME.md
(#333) via @MaxDesiatov - Add
carton
/SwiftWasm/JSKit compat matrix toREADME.md
(#332) via @MaxDesiatov - Add support for running tests using NodeJS (#328) via @AntonioCandinho
- Serve all available resources with
dev
/bundle
(#330) via @MaxDesiatov - Update to v2 of Contributor Covenant in shared GitHub repo (#329) via @j-f1
- Fix 5.6 template: use
executableTarget
(#325) via @MaxDesiatov - Update SwiftPM dependencies (#324) via @MaxDesiatov
0.14.2
This is a bugfix release resolving an issue with JavaScript entrypoint code.
Many thanks to @fjtrujy for the contribution!
Closed issues:
- Apply
clock_res_get
patch in all entrypoints (#321)
Merged pull requests:
- Update SwiftPM dependencies (#319) via @MaxDesiatov
- Override
clock_res_get
function fromwasmer/wasi-js
to fix memory issue (#323) via @fjtrujy
0.14.1
This is a bugfix release that resolves an issue with carton test
introduced in 0.14.0. Many thanks to @SDGGiesbrecht for reporting, and to @kateinoigakukun for fixing it!
Closed issues:
- “carton test” fails to run as of 0.14.0 (#313)
Merged pull requests:
- Fix "No export
_start
found in the module" error incarton test
(#314) via @kateinoigakukun
0.14.0
This release uses SwiftWasm 5.6.0 as the default toolchain. Additionally, issue with rebuilding projects when watching for file changes with carton dev
has been fixed. Also, please refer to release details for carton
0.13.0 for more information on new recently introduced command-line flags.
Many thanks to @kateinoigakukun for contributions!
Closed issues:
- Watcher doesn't see my changes (#295)
Merged pull requests:
- Several fixes for 5.6 toolchain (#310) via @kateinoigakukun
- Update SwiftPM dependencies (#309) via @MaxDesiatov
- Describe
--debug-info
and-Xswiftc
inREADME.md
(#308) via @MaxDesiatov - Fix watcher blocked by Vapor
run()
(#307) via @kateinoigakukun