From 5ca43de52455c461d63b4699d37c9ce171367203 Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Fri, 25 Sep 2020 19:04:59 +0900 Subject: [PATCH 1/3] Bump 0.7.0 --- CHANGELOG.md | 3 +++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 74f98c8ab..e5f70784c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Unreleased + +# 0.7.0 (25 September 2020) + **Closed issues:** - `TypedArray` improvement? ([#52](https://github.com/swiftwasm/JavaScriptKit/issues/52)) diff --git a/package-lock.json b/package-lock.json index 44b3e1657..602a1427c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "javascript-kit-swift", - "version": "0.6.0", + "version": "0.7.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index e039b9150..9dcf6b924 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "javascript-kit-swift", - "version": "0.6.0", + "version": "0.7.0", "description": "A runtime library of JavaScriptKit which is Swift framework to interact with JavaScript through WebAssembly.", "main": "Runtime/lib/index.js", "files": [ From 68d5d372f794badc6b41be80e32c12171f9f25c7 Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Fri, 25 Sep 2020 19:10:22 +0900 Subject: [PATCH 2/3] Update CHANGELOG.md Co-authored-by: Max Desiatov --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5f70784c..53fa87dd3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ # 0.7.0 (25 September 2020) +This release adds multiple new types bridged from JavaScript, namely `JSError`, `JSDate`, `JSTimer` (which corresponds to `setTimeout`/`setInterval` calls and manages closure lifetime for you), `JSString` and `JSPromise`. We now also have [documentation published automatically](https://swiftwasm.github.io/JavaScriptKit/) for the main branch. + **Closed issues:** - `TypedArray` improvement? ([#52](https://github.com/swiftwasm/JavaScriptKit/issues/52)) From 3903347608e622923861308fda7f0ec6e7095700 Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Fri, 25 Sep 2020 22:12:40 +0900 Subject: [PATCH 3/3] Bump runtime version 0.7.0 --- Runtime/src/index.ts | 2 +- Sources/JavaScriptKit/Compatibility.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Runtime/src/index.ts b/Runtime/src/index.ts index a88d03845..8a099c7d7 100644 --- a/Runtime/src/index.ts +++ b/Runtime/src/index.ts @@ -118,7 +118,7 @@ class SwiftRuntimeHeap { export class SwiftRuntime { private instance: WebAssembly.Instance | null; private heap: SwiftRuntimeHeap; - private version: number = 611; + private version: number = 700; constructor() { this.instance = null; diff --git a/Sources/JavaScriptKit/Compatibility.swift b/Sources/JavaScriptKit/Compatibility.swift index 0abe8533b..979f5dd80 100644 --- a/Sources/JavaScriptKit/Compatibility.swift +++ b/Sources/JavaScriptKit/Compatibility.swift @@ -3,5 +3,5 @@ /// this and `SwiftRuntime.version` in `./Runtime/src/index.ts`. @_cdecl("swjs_library_version") func _library_version() -> Double { - return 611 + return 700 }