Releases: swiftwasm/WasmKit
Releases · swiftwasm/WasmKit
0.1.2
This release includes a small code size reduction and basic backtrace support.
0.1.1 | 0.1.2 | |
---|---|---|
Code size | 1.8M | 1.6M (-123kB) |
What's Changed
- WasmParser: Fix offset calculation for
ExpressionParser
by @kateinoigakukun in #148 - WasmParser: Reduce code size by @kateinoigakukun in #149
- Add backtrace support by @kateinoigakukun in #150
Full Changelog: 0.1.1...0.1.2
0.1.1
What's Changed
- CMake: Enable WMO for Release builds by @kateinoigakukun in #146
Full Changelog: 0.1.0...0.1.1
0.1.0
Significant performance improvement
We have re-designed the VM architecture and it resulted in significant performance improvement. See the design note for more details
Engine
API (a.k.a multi Store
support)
In this release, we deprecate Runtime
-based APIs and introduced Engine
API. The new API matches Wasm C API terminology, and allows per-instantiation imports
configuration.
let engine = Engine()
let store = Store(engine: engine)
let instance = try module.instantiate(
store: store,
imports: [
"printer": [
"print_i32": Function(store: store, parameters: [.i32]) { _, args in
print(args[0])
return []
}
]
]
)
let printAdd = instance.exports[function: "print_add"]!
try printAdd([.i32(42), .i32(3)])
Fuzz-tested code base
We setup fuzz testing infrastructure by LLVM libFuzzer and differential testing technique, and revealed several mis-compilation issues.
New Contributors
Full Changelog: 0.0.8...0.1.0
0.0.8
What's Changed
- Run spectest and WASI integration tests as a part of XCTest suite by @kateinoigakukun in #107
- Update spectest part1 by @kateinoigakukun in #108
- Update spectest Part 2 by @kateinoigakukun in #109
- Add fuzz testing infrastructure and fix first-round crashes by @kateinoigakukun in #110
- Internalize less-used public types by @kateinoigakukun in #111
- Add iOS, tvOS, watchOS, visionOS support
- Setup benchmark suite
Full Changelog: 0.0.7...0.0.8
0.0.7
What's Changed
- WITOverlayGenerator: Support Embedded target build by @kateinoigakukun in #103
- Introduce WAT library by @kateinoigakukun in #106
- Port a part of SystemExtras and WASI to Windows by @kateinoigakukun in #104
Full Changelog: 0.0.6...0.0.7
0.0.6
What's Changed
- Remove unused types and functions by @kateinoigakukun in #97
- Fix value stack overflow by @kateinoigakukun in #98
- Initial Windows Support by @kateinoigakukun in #100
- Stop using Swift container at job-level by @kateinoigakukun in #102
- Fix CMake export by @kabiroberai in #101
Full Changelog: 0.0.5...0.0.6
0.0.5
What's Changed
- Drop Foundation dependency by @kateinoigakukun in #92
- Exclude CMakeLists.txt from the SwiftPM build by @kateinoigakukun in #93
- Lower deployment target to macOS 10.13 by @kabiroberai in #91
- Add parser support for the threads proposal by @kateinoigakukun in #95
- Checkout test suite repositories without git-submodules by @kateinoigakukun in #96
Full Changelog: 0.0.4...0.0.5
0.0.4
What's Changed
- Performance improvements
- Now WasmKit translates Wasm instructions into internal instruction sequence
- Support CMake build
Pull Requests
- Documentation and reduce number of public APIs by @kateinoigakukun in #75
- Add simple translation step to internal ISeq by @kateinoigakukun in #76
- Cleanup WasmParser module by @kateinoigakukun in #77
- Generalize WASI to other Wasm engines by @kabiroberai in #79
- [WIP] Add minimal CMake support by @kabiroberai in #82
- Support building CLI via CMake by @kabiroberai in #83
- Add RandomBufferGenerator protocol for WASI random_get by @kateinoigakukun in #85
- Add
WallClock
andMonotonicClock
protocols by @kateinoigakukun in #86 - Bump github.com/apple/swift-system from 1.1.1 to 1.2.1 by @dependabot in #89
- Build with CMake on CI by @kateinoigakukun in #87
- Bump github.com/apple/swift-format from 508.0.1 to 510.1.0 by @dependabot in #90
New Contributors
- @kabiroberai made their first contribution in #79
- @dependabot made their first contribution in #89
Full Changelog: 0.0.3...0.0.4
0.0.3
Use local dependencies in Swift CI
0.0.2
Merge pull request #70 from swiftwasm/yt/stack-opt Optimize VM Engine (Part 1)