Bump version to 0.10.0, update `CHANGELOG.md` (#244)

This commit is contained in:
Max Desiatov 2021-05-30 10:37:08 +01:00 committed by GitHub
parent b67fe181ef
commit ed06b25ab0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 48 additions and 33 deletions

View File

@ -1,3 +1,46 @@
# 0.10.0 (30 May 2020)
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](https://github.com/j-f1),
[@kateinoigakukun](https://github.com/kateinoigakukun), [@literalpie](https://github.com/literalpie),
[@thecb4](https://github.com/thecb4), and [@yonihemi](https://github.com/yonihemi) for their
contributions to this release!
**Closed issues:**
- `carton test` command unable to find gtk+3 using `--template tokamak` ([#241](https://github.com/swiftwasm/carton/issues/241))
- `carton` also requires zlib.h to compile from source ([#237](https://github.com/swiftwasm/carton/issues/237))
- `carton test --environment defaultBrowser` broken on GitHub Actions ([#200](https://github.com/swiftwasm/carton/issues/200))
- Add `--host` option to `carton dev` and `carton test` ([#193](https://github.com/swiftwasm/carton/issues/193))
- Replace hard-coded path delimiters ([#183](https://github.com/swiftwasm/carton/issues/183))
- Use libSwiftPM instead of custom model types ([#120](https://github.com/swiftwasm/carton/issues/120))
**Merged pull requests:**
- Update JSKit and Tokamak versions in templates ([#243](https://github.com/swiftwasm/carton/pull/243)) via [@MaxDesiatov](https://github.com/MaxDesiatov)
- Fix Ubuntu deps, clarify Linux support in `README.md` ([#242](https://github.com/swiftwasm/carton/pull/242)) via [@MaxDesiatov](https://github.com/MaxDesiatov)
- Add more browsers to `DestinationEnvironment` ([#228](https://github.com/swiftwasm/carton/pull/228)) via [@j-f1](https://github.com/j-f1)
- Fix `carton dev` crashing with SO sanitizer ([#239](https://github.com/swiftwasm/carton/pull/239)) via [@MaxDesiatov](https://github.com/MaxDesiatov)
- Avoid building in `release` mode when testing ([#240](https://github.com/swiftwasm/carton/pull/240)) via [@MaxDesiatov](https://github.com/MaxDesiatov)
- Update JS dependencies in `package-lock.json` ([#231](https://github.com/swiftwasm/carton/pull/231)) via [@MaxDesiatov](https://github.com/MaxDesiatov)
- Integrate stack sanitizer ([#230](https://github.com/swiftwasm/carton/pull/230)) via [@kateinoigakukun](https://github.com/kateinoigakukun)
- Add `carton init` with template test. Supports #99 ([#221](https://github.com/swiftwasm/carton/pull/221)) via [@thecb4](https://github.com/thecb4)
- Add host argument to `dev` and `test` commands ([#213](https://github.com/swiftwasm/carton/pull/213)) via [@literalpie](https://github.com/literalpie)
- Add tests for `sdk versions` and `sdk local` commands ([#218](https://github.com/swiftwasm/carton/pull/218)) via [@thecb4](https://github.com/thecb4)
- Add test for `carton sdk install` ([#217](https://github.com/swiftwasm/carton/pull/217)) via [@thecb4](https://github.com/thecb4)
- Use libSwiftPM instead of custom model types ([#194](https://github.com/swiftwasm/carton/pull/194)) via [@yonihemi](https://github.com/yonihemi)
- Add end-to-end tests for `carton test ` command ([#209](https://github.com/swiftwasm/carton/pull/209)) via [@thecb4](https://github.com/thecb4)
- Link to the org sponsorship page from `README.md` ([#210](https://github.com/swiftwasm/carton/pull/210)) via [@MaxDesiatov](https://github.com/MaxDesiatov)
- Update the "Roadmap" section in `README.md` ([#207](https://github.com/swiftwasm/carton/pull/207)) via [@MaxDesiatov](https://github.com/MaxDesiatov)
- Avoid running tests while building the Docker image ([#204](https://github.com/swiftwasm/carton/pull/204)) via [@MaxDesiatov](https://github.com/MaxDesiatov)
- Fix browser testing for Safari, update `tasks.json` ([#202](https://github.com/swiftwasm/carton/pull/202)) via [@MaxDesiatov](https://github.com/MaxDesiatov)
- Add `test` command test with no arguments ([#198](https://github.com/swiftwasm/carton/pull/198)) via [@thecb4](https://github.com/thecb4)
# 0.9.1 (19 December 2020)
This is a bugfix release that fixes parsing of `Package.swift` manifests that contain dependencies on system targets. It also adds support for Chrome and Safari stack traces. Many thanks to [@j-f1](https://github.com/j-f1) for the contribution!

View File

@ -12,4 +12,4 @@
// See the License for the specific language governing permissions and
// limitations under the License.
public let cartonVersion = "0.9.1"
public let cartonVersion = "0.10.0"

View File

@ -55,37 +55,9 @@ final class CartonTests: XCTestCase {
let data = pipe.fileHandleForReading.readDataToEndOfFile()
let output = String(data: data, encoding: .utf8)
XCTAssertEqual(output?.trimmingCharacters(in: .whitespacesAndNewlines), "0.9.1")
XCTAssertEqual(output?.trimmingCharacters(in: .whitespacesAndNewlines), cartonVersion)
}
// func testDev() throws {
// // This is an example of a functional test case.
// // Use XCTAssert and related functions to verify your tests produce the correct
// // results.
//
// // Some of the APIs that we use below are available in macOS 10.13 and above.
// guard #available(macOS 10.13, *) else {
// return
// }
//
// let fooBinary = productsDirectory.appendingPathComponent("carton")
//
// let process = Process()
// process.executableURL = fooBinary
//
// let pipe = Pipe()
// process.standardOutput = pipe
//
// process.arguments = ["dev"]
// try process.run()
// process.waitUntilExit()
//
// let data = pipe.fileHandleForReading.readDataToEndOfFile()
// let output = String(data: data, encoding: .utf8)
//
// XCTAssertEqual(output?.trimmingCharacters(in: .whitespacesAndNewlines), "0.9.1")
// }
final class TestOutputStream: OutputByteStream {
var bytes: [UInt8] = []
var currentOutput: String {

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "carton",
"version": "0.9.1",
"version": "0.10.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "0.9.1",
"version": "0.10.0",
"license": "Apache-2.0",
"devDependencies": {
"@wasmer/wasi": "^0.12.0",

View File

@ -1,6 +1,6 @@
{
"name": "carton",
"version": "0.9.1",
"version": "0.10.0",
"description": "📦 Watcher, bundler, and test runner for your SwiftWasm apps ",
"main": "index.js",
"scripts": {