Releases: swiftwasm/carton
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
0.13.0
This is a small feature release with a few bugfixes. Namely, new -Xswiftc
option was added for forwarding flags to underlying swiftc
invocations. Also, new --debug-info
flag allows keeping debug information even for release builds. Additionally, we've fixed a crash with executableTarget
declarations in Package.swift
manifests, and switched to SwiftPM 5.6 API in preparation for the imminent SwiftWasm 5.6 release.
This version of carton
now ships with JavaScriptKit 0.13.0 runtime.
WARNING: this release of carton
is not compatible with latest Tokamak or SwiftWasm 5.6 snapshots or releases yet. You should stay with carton
0.12.2 for now if you're building apps and libraries with Tokamak. A future release of carton
will resolve this incompatibility.
Thanks to @kateinoigakukun and @yonihemi for contributions, and to @pedrovgs for additional testing and bug reports.
Closed issues:
- Detecting completion of Wasm module instantiation (#290)
- Add support for Swift 5.6 package description format (#285)
- Add support for
-Xswiftc
arguments (#277)
Merged pull requests:
- Bump JavaScriptKit dependency to 0.13.0 (#306) via @MaxDesiatov
- Don't strip custom sections when using
--debug-info
(#304) via @kateinoigakukun - Update dependencies (#298) via @MaxDesiatov
- Add macOS 12 and Xcode 13.3 to CI matrix (#303) via @MaxDesiatov
- Add
--debug-info
flag to carton bundle (#301) via @kateinoigakukun - Use libSwiftPM 5.6 to parse manifests (#302) via @yonihemi
- Add
-Xswiftc
option for each build commands (#300) via @kateinoigakukun - Update dependencies (#297) via @MaxDesiatov
- Fix crash for packages with
executableTarget
(#296) via @yonihemi
0.12.2
This release features a massive refactor by @MaxDesiatov to use Swift 5.5's async/await
and actors, reducing its size, improving readability and removing Combine/OpenCombine dependency, as well as CI and Linux installation improvements.
JavaScriptKit and Tokamak versions in templates were bumped to 0.12.0 and 0.9.1 respectively.
Merged pull requests:
- Update dependencies (#293) via @MaxDesiatov
- Update dependencies (#289) via @MaxDesiatov
- Add libsqlite3-dev dependency (#288) via @SwiftCoderJoe
- Upgrade binaryen version to 105 (#286) via @fjtrujy
- Use
async/await
and actors instead of Combine (#283) via @MaxDesiatov - Update dependencies (#284) via @MaxDesiatov
- Statically link with
SwiftPMDataModel
library (#275) via @yonihemi - Build
main
Docker images on every push tomain
branch (#272) via @MaxDesiatov - Update dependencies (#282) via @MaxDesiatov
- Update dependencies (#279) via @MaxDesiatov
- Update dependencies (#273) via @MaxDesiatov
- Fix Wasmer installation issues in
Dockerfile
(#276) via @MaxDesiatov
0.12.1
This is a bugfix release that fixes linking issues with ICU that some users could've experienced with carton dev
and carton bundle
. Many thanks to @Sefford for reporting this and providing detailed issue description!
Closed issues:
- Carton 0.12.0 with SwiftWasm 5.5.0 fails with linker command (#268)
Merged pull requests:
- Bump SwiftWasm to 5.5 in
Dockerfile
, bump AHC (#269) via @MaxDesiatov - Add ICU linker flags to all build invocation (#270) via @MaxDesiatov
- Update dependencies (#261) via @MaxDesiatov
0.12.0
This release bumps the default version of SwiftWasm distribution to 5.5.0. For projects that don't specify their preferred version of SwiftWasm in .swift-version
, carton
will now download SwiftWasm 5.5.0.
Since SwiftWasm 5.5.0 now provides distributions for Apple Silicon, carton
will download such distributions by default on compatible hardware. Run carton
under Rosetta if you prefer to use x86_64 builds of SwiftWasm on macOS.
JavaScriptKit and Tokamak versions in templates were bumped to 0.11.1 and 0.9.0 respectively.
Additionally, a bug with demangling of stack traces was fixed. Thanks to @Feuermurmel for the contribution!
Closed issues:
- Download Apple Silicon builds for releases that have them available (#262)
- Stack trace demangling (#248)
- Docker tag for 0.10.0? (#246)
Merged pull requests:
- Use SwiftWasm 5.5.0, bump version to 0.12.0 (#266) via @MaxDesiatov
- Update JavaScriptKit to v0.11.1 (#265) via @yonihemi
- Update dependencies, add support for SwiftWasm 5.5 (#263) via @MaxDesiatov
- Fix environment detection from User-Agent header (#249) via @Feuermurmel
- Update dependencies (#260) via @MaxDesiatov
- Disable
--enable-test-discovery
for old versions (#257) via @MaxDesiatov
0.11.1
This is a bugfix release that fixes an issue with dynamic linking to libSwiftPMDataModel.so
in Ubuntu images for Docker.
0.11.0
This release bumps the default version of SwiftWasm distribution to 5.4.0. For projects that don't specify their preferred version of SwiftWasm in .swift-version
, starting with this version carton
will download SwiftWasm 5.4.0.
No other major changes are included in this release.
Merged pull requests:
- Bump version to 0.11.0, update dependencies (#251) via @MaxDesiatov
- Update link in
README.md
(#252) via @MaxDesiatov - Update dependencies (#247) via @MaxDesiatov
0.10.0
This is a bugfix release that resolves issues with incorrect or missing diagnostic output, improves our end-to-end test coverage, and updates dependencies and carton init
templates.
Additionally, we improved support for demangling stack traces in different browsers, and added a stack overflow sanitizer that's enabled by default for debug builds.
Many thanks (in alphabetical order) to @j-f1, @kateinoigakukun, @literalpie, @thecb4, and @yonihemi for their contributions to this release!
Closed issues:
carton test
command unable to find gtk+3 using--template tokamak
(#241)carton
also requires zlib.h to compile from source (#237)carton test --environment defaultBrowser
broken on GitHub Actions (#200)- Add
--host
option tocarton dev
andcarton test
(#193) - Replace hard-coded path delimiters (#183)
- Use libSwiftPM instead of custom model types (#120)
Merged pull requests:
- Update JSKit and Tokamak versions in templates (#243) via @MaxDesiatov
- Fix Ubuntu deps, clarify Linux support in
README.md
(#242) via @MaxDesiatov - Add more browsers to
DestinationEnvironment
(#228) via @j-f1 - Fix
carton dev
crashing with SO sanitizer (#239) via @MaxDesiatov - Avoid building in
release
mode when testing (#240) via @MaxDesiatov - Update JS dependencies in
package-lock.json
(#231) via @MaxDesiatov - Integrate stack sanitizer (#230) via @kateinoigakukun
- Add
carton init
with template test. Supports #99 (#221) via @thecb4 - Add host argument to
dev
andtest
commands (#213) via @literalpie - Add tests for
sdk versions
andsdk local
commands (#218) via @thecb4 - Add test for
carton sdk install
(#217) via @thecb4 - Use libSwiftPM instead of custom model types (#194) via @yonihemi
- Add end-to-end tests for
carton test
command (#209) via @thecb4 - Link to the org sponsorship page from
README.md
(#210) via @MaxDesiatov - Update the "Roadmap" section in
README.md
(#207) via @MaxDesiatov - Avoid running tests while building the Docker image (#204) via @MaxDesiatov
- Fix browser testing for Safari, update
tasks.json
(#202) via @MaxDesiatov - Add
test
command test with no arguments (#198) via @thecb4