Releases: swiftwasm/WasmKit
0.1.5
0.1.4
What's Changed
- WAT: Fix lexing of block comments by @kateinoigakukun in #165
- Minimal SIMD types support by @kateinoigakukun in #166
- Docs: runtime -> store doc update by @iainsmith in #167
- WasmParser: Fix result type index parsing to use 33-bit signed leb128 by @kateinoigakukun in #169
- WasmParser/WAT: Add support for the tail-call proposal by @kateinoigakukun in #170
- Add execution support for the tail-call proposal by @kateinoigakukun in #171
- Add entrypoint for WASI reactor initialization by @kateinoigakukun in #173
- CLI: Use
.captureForPassthrough
forRun
command arguments by @kateinoigakukun in #175 - CMake: Support building the WAT module by @kateinoigakukun in #176
- CI: Update Windows toolchain to Swift 6.0.3 by @kateinoigakukun in #177
New Contributors
- @iainsmith made their first contribution in #167
Full Changelog: 0.1.3...0.1.4
0.1.3
What's Changed
- Fuzzing: Integrate ClusterFuzzLite by @kateinoigakukun in #151
- Fuzzing: Update FuzzTranslator to instantiate modules explicitly by @kateinoigakukun in #152
- WasmParser: Specialize more hot paths by @kateinoigakukun in #153
- Remove unused
InstructionTracingVisitor
by @kateinoigakukun in #157 - Translator: Fix stack depth check in checkBeforePop by @kateinoigakukun in #158
- Sync recent Package.swift changes with the 6.1 manifest by @kateinoigakukun in #159
- CI: Update Swift SDK for Wasm to 2024-10-15-a by @kateinoigakukun in #160
- WASI: Implement
path_open
with proper symlink resolution by @kateinoigakukun in #161 - WasmParser: Auto-gen instruction decoder by @kateinoigakukun in #162
- WIT: Add
@since
,@unstable
, and@deprecated
attr support by @kateinoigakukun in #163
Full Changelog: 0.1.2...0.1.3
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