Skip to content

Releases: swiftwasm/carton

1.1.3

10 Dec 05:03
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.1.2...1.1.3

1.1.2

24 Jun 05:59
Compare
Choose a tag to compare

What's Changed

This release includes several bug fixes.

  • Fix regressions in the built-in HTTP server introduced in 1.0
  • Fix CLI test harness to work with the latest wasmtime

Pull Requests

Full Changelog: 1.1.1...1.1.2

1.1.1

21 Jun 02:27
Compare
Choose a tag to compare

What's Changed

This release adds support for 6.0 toolchain, regression fixes, and internal improvements.

  • Support SwiftWasm 6.0 toolchain
  • Default toolchain version is now based on builder Swift version
  • Skip hot-reloading if build fails
  • Fix carton bundle regression introduced in 1.0.4
  • Fix carton test regression introduced in 1.0.0
  • Experimental support for wasm32-unknown-wasip1-threads target in test harness

Pull Requests

Full Changelog: 1.1.0...1.1.1

1.1.0

06 Jun 11:39
Compare
Choose a tag to compare

What's Changed

This release adds support for 5.10.0 toolchain, CLI options, and internal improvements.

  • Update default toolchain version to 5.10.0
  • Add --bind to dev subcommand to specify serving address with relaxed default (0.0.0.0)
  • Add -Xwasm-opt to bundle subcommand to pass additional arguments to wasm-opt
  • Many internal refactorings and test improvements

Pull Requests

  • Cleanup unnecessary test utilities by @omochi in #468
  • Remove test utility ls by @omochi in #469
  • Add granular configuration for retrying wait time in test by @omochi in #470
  • Send stdout/stderr from WasmRunner to dev server without decoding as UTF-8 by @omochi in #471
  • Show stdout/stderr from Wasm in terminal by @omochi in #472
  • Combine the WebDriver setup process into WebDriverService and make it easier to reuse by @omochi in #474
  • Check the output of wasm in dev subcommand test by @omochi in #473
  • Add --bind to specify serving address with relaxed default (0.0.0.0) by @omochi in #475
  • Add -Xwasm-opt option to bundle subcommand by @kateinoigakukun in #478
  • Refactor utilities under Foundation.Process and CartonHelpers.Process and share implementations by @omochi in #477
  • Update default toolchain version to 5.10.0 by @kateinoigakukun in #476

Full Changelog: 1.0.4...1.1.0

1.0.4

22 May 05:54
Compare
Choose a tag to compare

What's Changed

This release includes several bug fixes and internal improvements:

  • Fix carton test --environment node to work with 6.0 and later toolchains
  • Stop writing files under ~/.carton/static to avoid pollution
  • Many internal refactorings and test improvements

Pull Requests

  • Follow-up fix for latest main XCTest by @kateinoigakukun in #430
  • Stop writing static files in ~/.carton/static by @kateinoigakukun in #431
  • Log ToolchainError with response contents by @omochi in #435
  • Make CartonFrontend dev's file-watching opt-in to easily use it as a standalone CLI by @omochi in #433
  • Generalize findSwiftExecutable into findExecutable by @omochi in #436
  • Fix an issue in the env-var option of CartonHelpers.Process by @omochi in #437
  • Stop creating .carton directories on CI by @omochi in #438
  • Remove unnecessary imports and lets of HashArchive.swift by @omochi in #439
  • Authenticate when using GitHub API to download toolchains by @omochi in #440
  • Correct the indentation of index.html by @omochi in #442
  • Rename and split Application.swift by @omochi in #443
  • Fix README of CartonPluginShared by @omochi in #445
  • Remove label checking from CI by @omochi in #448
  • Disable browser tests that freeze for now by @omochi in #449
  • Stop adding wrong Sendable conformance to ChannelHandlerContext by @omochi in #446
  • Stop using container on CI and install directly from the tarball by @omochi in #444
  • Re-organize the naming convention of module, type, product, and file to have consistent project structure by @omochi in #450
  • CIスクリプトのミスを修正しつつ、わかりやすいタイトルをつける by @omochi in #451
  • CIのSwiftバージョンを5.9.2に引き上げる by @omochi in #453
  • CIのLinux環境にSwift 5.10を追加する by @omochi in #454
  • Add macOS + Swift 5.10 CI job by @omochi in #455
  • Stop defining test utilities under XCTest by @omochi in #456
  • Bug fix on makeTemporaryFile by @omochi in #457
  • Move carton command implementation into CartonDriver module by @omochi in #459
  • Import upstream changes of TSC.Process by @omochi in #460
  • Stream command outputs while capturing them for testing by @omochi in #461
  • Suppress internal deprecation warnings of TSC.Process by @omochi in #462
  • Fix bugs in Process.checkRun of CartonDriver by @omochi in #463
  • Rename createWSHandler -> createWebSocketTextHandler by @omochi in #464
  • Fix dev server to serve entrypoint file by @kateinoigakukun in #465
  • Add unit test for dev server by @omochi in #466
  • Revert "Skips browser testing due to freezing" by @kateinoigakukun in #467

Full Changelog: 1.0.3...1.0.4

1.0.3

18 Apr 00:50
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.2...1.0.3

1.0.2

28 Mar 03:34
Compare
Choose a tag to compare

This release fixes several issues:

  • Restore MIME types in dev server to fix loading of CSS and image files.
  • Fixed browser test runner to work with large number of test suites with Chrome.
  • Fixed permission issue when running swift run carton bundle

Full Changelog: 1.0.1...1.0.2

1.0.1

10 Mar 09:25
Compare
Choose a tag to compare

This release fixes several issues in version 1.0.0:

  • carton bundle command didn't use proper reactor ABI, which caused a crash when running the output bundle.
  • carton bundle command didn't bundle resources from dependencies when applying wasm-opt optimizations.

Full Changelog: 1.0.0...1.0.1

1.0.0: SwiftPM Plugin Support

10 Mar 07:14
Compare
Choose a tag to compare

Breaking changes

carton CLI is now slimmed down to be a SwiftPM Plugin.
This means that you can now use carton by just declaring it as a dependency in your Package.swift file.

dependencies: [
    .package(url: "https://github.com/swiftwasm/carton", from: "1.0.0"),
],

Warning

  • carton supports only Swift 5.9.2 and later because earlier SwiftPM Plugin didn't work with cross-compilation
  • Please remove .build directory used with older carton

Each carton subcommand is now split into a separate SwiftPM plugin.

Old command New command
carton dev swift run carton dev
carton test swift run carton test
carton bundle swift run carton bundle

Also carton no longer supports the following features:

  • carton init command (use swift package init --type executable instead)
  • Homebrew and Docker installation methods

Additional changes

  • --no-content-hash option is added to carton bundle command. This option disables the use of content hash in the output file name.

See https://github.com/swiftwasm/carton/blob/main/CHANGELOG.md for more details

0.20.1

25 Jan 14:36
Compare
Choose a tag to compare

This release fixes a bug in carton test where it reports missing sock_accept syscall.

Full Changelog: 0.20.0...0.20.1