Releases: bytecodealliance/wasm-tools
Releases · bytecodealliance/wasm-tools
v1.235.0
What's Changed
- Implement
ModuleArity
forFuncValidator
by @fitzgen in #2232 - Use the 2024 style edition in this repository by @alexcrichton in #2233
- Simplify arity implementation by @alexcrichton in #2236
- wasmparser: Fix arity for
if
'send
with noelse
andbr_table
by @fitzgen in #2237 - Release wasm-tools 1.235.0 by @github-actions in #2234
Full Changelog: v1.234.0...v1.235.0
v1.234.0
What's Changed
- CI: Fix install-rust action that we use in the playground workflow by @fitzgen in #2219
- fix spelling issue by @davidjsonn in #2221
- Ability to clear metadata fields by @vigoo in #2216
- Fix internal assertions renaming types using
with
by @alexcrichton in #2215 - Fix warnings on nightly Rust by @alexcrichton in #2223
- update
future.{write,read}
ABIs by @dicej in #2222 - minor docstring fixups by @davidjsonn in #2225
- chore: reexport LibraryInfo by @dpchamps in #2227
- partially revert
future.{read,write}
ABI changes by @dicej in #2229 - wasmparser(CM+GC): Fill in
Options::core_type
duringOptions::check_lift
by @fitzgen in #2230 - Release wasm-tools 1.234.0 by @github-actions in #2231
New Contributors
- @davidjsonn made their first contribution in #2221
- @vigoo made their first contribution in #2216
- @dpchamps made their first contribution in #2227
Full Changelog: v1.233.0...v1.234.0
v1.233.0
What's Changed
- Update spec tests suite to the latest by @alexcrichton in #2207
- Shuffle around where stability annotations are generated by @alexcrichton in #2200
- Add a CODEOWNERS file to this repository by @alexcrichton in #2212
- Fix parsing of identifiers in type contexts by @alexcrichton in #2195
- Turn on new WIT metadata format by default by @alexcrichton in #2201
- CM+GC: Define and validate GC lowerings for most component model types by @fitzgen in #2183
- Assert Resolve is valid after adding a package by @alexcrichton in #2196
- Fix build on latest nightly by @alexcrichton in #2214
- Ignore another error during WIT generation by @alexcrichton in #2213
- wasmparser(CM+GC): Add support for lowering variants, options, and results to GC types by @fitzgen in #2217
- Release wasm-tools 1.233.0 by @github-actions in #2218
Full Changelog: v1.232.0...v1.233.0
v1.232.0
What's Changed
- Revise MSRV policy for this repository by @alexcrichton in #2199
- Update the ABI of async imports/exports by @alexcrichton in #2198
- Support duplicate imports by default in
wasm-tools component new
by @alexcrichton in #2187 - Release wasm-tools 1.232.0 by @github-actions in #2209
Full Changelog: v1.231.0...v1.232.0
v1.231.0
What's Changed
- Support componentizing modules that have duplicate imports. by @erikrose in #2145
- reencoder: allow implementers to fail to reencode indices and such by @nagisa in #2179
- Add the GC canonical option by @fitzgen in #2182
- Add the "lime1" feature set for validation by @alexcrichton in #2186
- Fix expanding
task.return
types in text parsing by @alexcrichton in #2189 - Add ability to detect name clashes on includes in wit-smith by @jsturtevant in #2193
- Add stability attributes to the worlds in wit-smith by @jsturtevant in #2194
wasmparser
: OptimizeLocals::get
type query by @Robbepop in #2197- wasmparser OperatorsReader: remove unused
data_index_occurred
by @keithw in #2203 - wasmparser: avoid skipping locals to get OperatorsReader for a function body by @keithw in #2204
- Release wasm-tools 1.231.0 by @github-actions in #2206
Full Changelog: v1.230.0...v1.231.0
v1.230.0
What's Changed
- Roundtrip non-malformed test cases through wasmparser / wasmprinter by @keithw in #2148
- docs: remove consecutive duplicate words by @zeroprooff in #2151
- Fix typos in documentation and comments by @leopardracer in #2152
- Fix typos by @omahs in #2153
- Add a few doc comments around validation, and fix some typos. by @erikrose in #2154
- Fix typos: Correct "compnents" to "components" and "independenent" to "independent" by @leopardracer in #2158
- feat(wasm-encoder, wasmparser): replace
f32
/f64
withIeee32
/Ieee64
by @StackOverflowExcept1on in #2157 - Copy lint settings from Wasmtime by @alexcrichton in #2156
- Add support for
include
towit-smith
by @alexcrichton in #2161 - Align cancellation with upstream specification by @alexcrichton in #2162
- Fixed length list support by @cpetig in #1992
- wasmparser: Refactor canonical option validation and func type lowering by @fitzgen in #2163
- Add a feature flag for GC in the component model by @fitzgen in #2165
- wasmparser(CM+GC): Allow declaring a core function type when lowering by @fitzgen in #2166
- Improve time complexity of handling large WIT types by @alexcrichton in #2167
- Use a single type arena for all of
wasm-compose
by @alexcrichton in #2169 - wasmparser(CM+GC): Assert that we never define new core types inside
SubtypeArena
s by @fitzgen in #2168 - wasmparser(CM+GC): Assert that
SubtypeCx
s are always using the same typing context by @fitzgen in #2170 - wasm-smith: add support for
--exports
and--available-imports
option by @mobsceneZ in #2160 - wasmparser(CM+GC): Validate components' core function linking via type canonicalization by @fitzgen in #2172
- wasmparser(CM+GC): start doing subtyping checking when validating components' core function linking by @fitzgen in #2173
- dump: fix some missing section colors by @abrown in #2174
wasmparser
: Tidy up helpers for pushing lowered core types onto param/result lists by @fitzgen in #2175- Drop stability for external package includes by @jsturtevant in #2159
- Release wasm-tools 1.230.0 by @github-actions in #2171
New Contributors
- @zeroprooff made their first contribution in #2151
- @leopardracer made their first contribution in #2152
- @omahs made their first contribution in #2153
- @StackOverflowExcept1on made their first contribution in #2157
- @mobsceneZ made their first contribution in #2160
Full Changelog: v1.229.0...v1.230.0
v1.229.0
What's Changed
- refactor: wasmparser gate for error-context by @vados-cosmonic in #2120
- Stop passing around
&WasmFeatures
by @alexcrichton in #2121 - new Update README.md by @romashka-btc in #2124
- Fixed outdated 404 links by @polytur in #2127
- Improve text-format parsing of offset/align and update spec testsuite by @keithw in #2128
- wit-encoder: added new keywords async and error-context by @MendyBerger in #2129
- wast.rs: Validate, roundtrip and snapshot "unlinkable" modules by @keithw in #2131
- [test] Reclassify some tests between "invalid" and "malformed" by @keithw in #2130
- wast: detect an invalid type reference case by @keithw in #2132
- wast: ignore multiple start sections (already detected in wasmparser) by @keithw in #2133
- Fix
ReorderCustomSectionMutator
inwasm-mutate
by @alexcrichton in #2135 - add
subtask.cancel
intrinsic by @dicej in #2137 - Require
[..]l.l
is not present withl
by @alexcrichton in #2138 - Update spec test suite by @alexcrichton in #2139
- add
task.cancel
intrinsic by @dicej in #2140 - Throw out some wit-smith generated documents after #2138 by @alexcrichton in #2141
- Alternative fix for conflicting
name
and[method]name.name
by @alexcrichton in #2144 - Add a
serde
crate feature towasm-smith
by @alexcrichton in #2142 - Prevent over-deep type hierarchies in wasm-smith by @alexcrichton in #2143
- wasmparser: detect "malformed" cases in parser alone (without validator) by @keithw in #2134
- cli: for subcommands other than
parse
, don't guarantee successful parse by @keithw in #2147 - For
assert_invalid
, assert modules all parse by @alexcrichton in #2146 - Only allow one async context slot by @alexcrichton in #2150
- Release wasm-tools 1.229.0 by @github-actions in #2149
New Contributors
- @romashka-btc made their first contribution in #2124
- @polytur made their first contribution in #2127
Full Changelog: v1.228.0...v1.229.0
v1.228.0
What's Changed
- wasmparser: Increase
MAX_WASM_INSTANCE_TYPE_DECLS
to1_000_000
by @MangoPeachGrape in #2087 - Reduce dependencies of
wasm-metadata
by @alexcrichton in #2090 wasmparser
: add a hint to out-of-bounds type indices errors by @fitzgen in #2094- wit-component: Eagerly define all exported types by @alexcrichton in #2091
- Gate some async features behind separate feature gates by @alexcrichton in #2095
- Sync async gating with spec by @alexcrichton in #2097
- Add a
wast
subcommand to the CLI by @alexcrichton in #2096 - Add
wasm-module
towast
dependency by @alexcrichton in #2098 - Implement
context.{get,set}
intrinsics by @alexcrichton in #2100 - Add public interface for adding continuation types to
CoreTypeEncoder
by @pufferfish101007 in #2102 - Remove unneeded wast helper function by @alexcrichton in #2103
- threads: add
thread.spawn_indirect
by @abrown in #2042 - Improve support for memory64/shared-everything-threads in components by @alexcrichton in #2104
- Fix a component text format panic by @alexcrichton in #2107
- update async lift callback validation by @dicej in #2108
- wast.rs: add explicit --assert for test-folded/no-test-folded by @keithw in #2109
- Update the spec test suite by @alexcrichton in #2105
- chore: update broken link by @lipsyre in #2111
- Simplify parsing
--assert
by @alexcrichton in #2112 - Fix/improve validation of components with tags by @alexcrichton in #2114
- Refactor how liveness of imports is calculated by @alexcrichton in #2115
- Define component names subsection for core tag names by @keithw in #2118
- Update some async intrinsic signatures by @alexcrichton in #2116
- Release wasm-tools 1.228.0 by @github-actions in #2119
New Contributors
- @MangoPeachGrape made their first contribution in #2087
- @pufferfish101007 made their first contribution in #2102
- @lipsyre made their first contribution in #2111
Full Changelog: v1.227.1...v1.228.0
v1.227.1
What's Changed
- Disallow
realloc
option ontask.return
by @alexcrichton in #2086 - Enhance dummy async module generation by @alexcrichton in #2084
- Release wasm-tools 1.227.1 by @github-actions in #2085
Full Changelog: v1.227.0...v1.227.1
v1.227.0
What's Changed
- Make
ConstExpr
implementation a bit more concise by @samestep in #2059 - Refactor how
error-context
is modeled by @alexcrichton in #2060 - Gate future/stream/error-context types on async feature by @alexcrichton in #2061
- Refactor some wit-component internals related to async component model bits by @alexcrichton in #2062
- More refactoring/reshuffling of component async intrinsics by @alexcrichton in #2064
- Synchronize some component model intrinsics with the spec by @alexcrichton in #2065
- Implement waitable-sets by @alexcrichton in #2068
- Rename
task.yield
toyield
by @alexcrichton in #2066 - Refactor how
error-context.*
intrinsics are imported by @alexcrichton in #2067 - Promote an
assert!
to abail!
by @alexcrichton in #2071 - [wasm-metadata] change the print ordering by @yoshuawuyts in #2074
- Update validation of
{future,stream}.close-readable
by @alexcrichton in #2070 - Refactor/improve parsing of component canonical text format by @alexcrichton in #2069
- Fix the docstring for
wasmprinter::Config::print
by @samestep in #2077 - [wasm-metadata] print relationships by @yoshuawuyts in #2075
- Implement the WIT async keyword by @alexcrichton in #2073
- fix mismatch in stability attributes error in wit-parser by @jsturtevant in #2076
- [wasm-metadata] print summary table by @yoshuawuyts in #2079
- document missing
wit
modules by @yoshuawuyts in #2080 - Preserve the version metadata in wit merge by @jsturtevant in #2078
- [wasm-metadata] Parse dependency information by @duffney in #2082
- Release wasm-tools 1.227.0 by @github-actions in #2083
New Contributors
- @jsturtevant made their first contribution in #2076
- @duffney made their first contribution in #2082
Full Changelog: v1.226.0...v1.227.0