Commit Graph

109 Commits

Author SHA1 Message Date
Yuta Saito d3f1da61fa Bump version to 1.1.2, update CHANGELOG.md 2024-06-24 14:58:51 +09:00
Yuta Saito dca59f36ad Bump version to 1.1.1, update CHANGELOG.md 2024-06-21 02:26:02 +00:00
Yuta Saito 80169bc0c9
Remove the workaround for the linker issue in Swift 6.0 (#488) 2024-06-21 01:55:50 +09:00
Yuta Saito 0aa0cb7a24
Newline after command-line logging output (#487) 2024-06-14 02:18:22 +09:00
omochimetaru 79b686c73d
Apply runtime library workaround for snapshot toolchains on macOS (#484)
* patch mac snapshot

* comment

* set DYLD_LIBRARY_PATH if need

* reset stdin pgrp

* revert wip default toolchain

* fix test

* desudo

* avoid setting nil

* link RegexParser

* swift_StringProcessing

* preopen on wasmtime

* fix bug in test runner option

* apply patch also command mode

* cap hack version
2024-06-11 07:57:10 +09:00
omochimetaru 1dc1649262
Adaptive default toolchain version based on Swift version on builder (#481)
adaptive default toolchain with buidler of carton
2024-06-09 12:46:31 +00:00
Yuta Saito 5176c6abb4 Bump version to 1.1.0, update CHANGELOG.md 2024-06-06 11:37:16 +00:00
Yuta Saito 984a1ae2db
Update default toolchain version to 5.10.0 (#476)
* Check 5.10 RC toolchain

* Update the default toolchain version to stable wasm-5.10.0-RELEASE
2024-06-06 02:19:24 +09:00
omochimetaru 924e1713cd
Refactor utilities under Foundation.Process and CartonHelpers.Process and share implementations (#477)
* organizer process utilities

* resurrect ProcessResult.checkNonZeroExit

* import Foundation

* use SIGINT

* remove didExit and tweak bundle completion message
2024-06-04 12:39:08 +00:00
omochimetaru f7d0b5640f
Combine the WebDriver setup process into WebDriverService and make it easier to reuse (#474) 2024-05-28 10:12:51 +09:00
Yuta Saito 8f9be7d31e Bump version to 1.0.4, update CHANGELOG.md 2024-05-22 14:53:03 +09:00
omochimetaru 3ec3d2ce66
TSC.Processの実装内部のdeprecated警告を潰す (#462)
seal deprecated tsc api
2024-05-20 23:53:57 +09:00
omochimetaru 6f4c5302f8
Stream command outputs while capturing them for testing (#461)
* Stream and capture both from swift-run in testcase

* kick ci
2024-05-20 22:55:34 +09:00
omochimetaru 7613683095
Import upstream changes of `TSC.Process` (#460) 2024-05-20 18:27:46 +09:00
omochimetaru 848ae5aec4 fix process env 2024-05-18 04:38:06 +09:00
Yuta Saito 85fa55e4f9 Bump version to 1.0.3, update CHANGELOG.md 2024-04-18 00:50:11 +00:00
Yuta Saito 2467a0c908 Bump version to 1.0.2, update CHANGELOG.md 2024-03-28 12:33:04 +09:00
Yuta Saito b0a4ae7fad Bump version to 1.0.1, update CHANGELOG.md 2024-03-10 18:25:34 +09:00
Yuta Saito 1b50ba88c4 Default toolchain version bump to 5.9.2 2024-03-10 16:13:47 +09:00
Yuta Saito 9b8ba12741 Bump version to 1.0.0, update CHANGELOG.md 2024-03-09 14:37:30 +00:00
Yuta Saito c2c0a14161 swift-format 2024-02-26 18:48:01 +09:00
Yuta Saito 1b3911c547 Repair Linux build 2024-02-26 18:48:01 +09:00
Yuta Saito 2e62088305 Version 1.0.0: SwiftPM Plugin Support
See CHANGELOG.md
2024-02-26 18:48:01 +09:00
Yuta Saito 33ef59df6f Bump version to 0.20.1, update CHANGELOG.md 2024-01-25 14:35:53 +00:00
Yuta Saito a5e1d07ce2 Update default toolchain version to 5.9.1 2024-01-16 22:29:15 +09:00
Yuta Saito bf9fae77e4 Default back to wasm-5.8.0-RELEASE at this moment for docker image
Even with 5.8 being the default, users can still use 5.9 by specifying
the toolchain version in the .swift-version file.
2024-01-09 19:56:18 +09:00
STREGA f1d736efb1 Remove 5.9 code paths 2024-01-09 19:56:18 +09:00
STREGA 644a4c706a Target only 5.9 2024-01-09 19:56:18 +09:00
STREGA ef2d7fcce0 Always use SNAPSHOT 2024-01-09 19:56:18 +09:00
STREGA 811cd59ab5 Update DefaultToolchain.swift 2024-01-09 19:56:18 +09:00
STREGA 01d72e511f Use 5.9 on any macOS with 5.9 2024-01-09 19:56:18 +09:00
STREGA a3ffd95019 Add reverted code path for pre 5.9 2023-09-30 08:01:23 -04:00
STREGA b70d5d356c Add workaround for macOS 14 2023-09-30 07:01:07 -04:00
furby™ 504e2d91e3
Swift 5.9 support (#402) 2023-09-30 06:59:29 -04:00
Yuta Saito d2864bee74 Bump version to 0.19.0, update `CHANGELOG.md` 2023-05-08 12:39:36 +00:00
Yuta Saito a19e1ac541
Update default toolchain version to 5.8 channel snapshot (#398) 2023-05-08 21:00:19 +09:00
Yuta Saito b79fe9a260
Update SwiftPM branch to 5.8 and fix build errors (#395)
* Update SwiftPM branch to 5.8 and fix build errors

* Make swift-format 5.8 happy :)

* Make swift-format 5.8 happy for Tests

* Fix wrong formatting

* Resolve AbsolutePath(validating:) rename warnings

* Fix wrong formatting

* Resolve remaining deprecation warnings

* Fix Linux build failure
2023-05-04 18:40:16 +09:00
Yuta Saito f2a83a28bb Bump version to 0.18.0, update `CHANGELOG.md` 2023-04-03 12:01:20 +00:00
Yuta Saito 3a00a0d79b Bump version to 0.17.0, update `CHANGELOG.md` 2022-09-30 14:17:39 +00:00
Yuta Saito 2fe7118e51
Update default toolchain version to 5.7.1 (#383) 2022-09-29 23:31:48 +08:00
Yuta Saito 9c0abbf013 Bump version to 0.16.1, update `CHANGELOG.md` 2022-07-22 14:21:51 +00:00
Yuta Saito 29a9b587b2 Bump version to 0.16.0, update `CHANGELOG.md` 2022-06-15 23:03:41 +09:00
Yuta Saito 25da29b475 Bump version to 0.15.3, update `CHANGELOG.md` 2022-05-25 00:17:25 +09:00
Max Desiatov 8b44aa18b5 Bump version to 0.15.2, update `CHANGELOG.md` 2022-05-23 16:07:28 +01:00
Max Desiatov 4314a92adc Bump version to 0.15.1, update `CHANGELOG.md` 2022-05-23 10:47:13 +01:00
Max Desiatov b5680cbfb7
Fix symlinks not fully cleaned up in Node.js tests (#349)
`FileSystem.isDirectory` returns `false` when running it on broken symlinks, which breaks Node.js tests flow. We should be able to clean up all symlinks, even broken ones. Other we can't create new correct symlinks because broken symlinks already exist at those paths.
2022-05-23 10:37:12 +01:00
Max Desiatov 683e3e0759
Bump version to 0.15.0, update `CHANGELOG.md` (#348) 2022-05-20 15:27:53 +01:00
Max Desiatov 1ba7dd5d82
Use JSKit runtime from SwiftPM resources (#335)
* Use JSKit runtime from SwiftPM resources

* Fix Node.js test runner

* Remove unused webpack npm packages

* Update Swift version in `.swiftformat`

* Fix browser and Node.js CJS/ESM handling

* Fix one of the tests, add CI time limit

* Use Tokamak `update-jskit` branch to fix tests

* Use latest Vapor with `.mjs` content-type fix

* Use dynamic import to detect JSKit presence

* Fix missing `runtimeConstructor` reference

* Update `StaticArchive.swift`

* Reduce the diff

* Address PR feedback

* Fix Node.js <-> JSKit integration test

* Update SwiftPM dependencies

* Fix comment typo in `testNode.js`

* Reuse `__stack_sanitizer` across entrypoints
2022-05-20 13:12:45 +01:00
Max Desiatov 7392e1bb17
Serve all available resources with `dev`/`bundle` (#330)
Resolves https://github.com/swiftwasm/carton/issues/175.

I initially thought we should parse `Package.swift` manifests of the whole dependency tree to collect paths to resources from them, but now I'm not even sure that SwiftPM provides an API for this.

Much simpler solution is to serve with `dev` and copy with `bundle` all directories with `.resources` suffixes in the build directory. I think it's quite impossible to stumble upon unrelated directories with this approach, while it still resolves the issue as intended, in my opinion.
2022-05-11 08:10:07 +01:00
Max Desiatov d7c4ebe693 Bump version to 0.14.2, update `CHANGELOG.md` 2022-04-30 11:17:53 +01:00