diff --git a/CHANGELOG.md b/CHANGELOG.md index 74f98c8ab..53fa87dd3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Unreleased + +# 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)) 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 } 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": [