Skip to content

Commit 1d75481

Browse files
docs: update changelog
Signed-off-by: Henry <mail@henrygressmann.de>
1 parent 5054545 commit 1d75481

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Changed
1111

12-
- `instantiate` / `start` / `start_func` no longer fall back to `_start` if the module has no start section. This is technically a breaking change, but it is more consistent with the WebAssembly spec and prevents accidental execution of `_start` in wasi modules that don't have a start section. Call the `_start` function explicitly if you want to run it.
12+
- Fixed table addressing for 64-bit tables.
13+
- Added `validation` option to `ParserConfig` to enable/disable wasmparser validation.
14+
15+
### Breaking Changes
16+
17+
- `instantiate` / `start` / `start_func` no longer fall back to `_start` if the module has no start section. Call the `_start` function explicitly if you want to run it.
18+
- Removed the parser's `optimize_remove_nop` option and accessors.
19+
- Changed public `Instruction` variants and the `.twasm` format. Existing archives must be regenerated.
20+
- `TableType` limits now use `u64`. Use `TableType::new` or `TableType::new64` instead of struct literals.
1321

1422
## [0.9.1] - 2026-06-29
1523

‎crates/types/src/archive.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use crate::Module;
77
#[rustfmt::skip]
88
const TWASM_MAGIC: [u8; 16] = [ TWASM_MAGIC_PREFIX[0], TWASM_MAGIC_PREFIX[1], TWASM_MAGIC_PREFIX[2], TWASM_MAGIC_PREFIX[3], TWASM_VERSION[0], TWASM_VERSION[1], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
99
const TWASM_MAGIC_PREFIX: &[u8; 4] = b"TWAS";
10-
const TWASM_VERSION: &[u8; 2] = b"03";
10+
const TWASM_VERSION: &[u8; 2] = b"04";
1111

1212
fn validate_magic(wasm: &[u8]) -> Result<usize, TwasmError> {
1313
if wasm.len() < TWASM_MAGIC.len() || &wasm[..TWASM_MAGIC_PREFIX.len()] != TWASM_MAGIC_PREFIX {

0 commit comments

Comments
 (0)