summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry <mail@henrygressmann.de>2026-07-15 20:52:43 +0200
committerHenry <mail@henrygressmann.de>2026-07-15 20:52:43 +0200
commit1d754813f178fc92afffe43e3ab638ddfc03cb66 (patch)
tree480703da2a959d721efb89b0b06be7b8bca4430f
parent50545457d9d7439ca8ab6e3f0f88b04d208cd818 (diff)
docs: update changelog
Signed-off-by: Henry <mail@henrygressmann.de>
-rw-r--r--CHANGELOG.md10
-rw-r--r--crates/types/src/archive.rs2
2 files changed, 10 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d35f070..0b65ccc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,7 +9,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
-- `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.
+- Fixed table addressing for 64-bit tables.
+- Added `validation` option to `ParserConfig` to enable/disable wasmparser validation.
+
+### Breaking Changes
+
+- `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.
+- Removed the parser's `optimize_remove_nop` option and accessors.
+- Changed public `Instruction` variants and the `.twasm` format. Existing archives must be regenerated.
+- `TableType` limits now use `u64`. Use `TableType::new` or `TableType::new64` instead of struct literals.
## [0.9.1] - 2026-06-29
diff --git a/crates/types/src/archive.rs b/crates/types/src/archive.rs
index 5a6f94b..48dc53f 100644
--- a/crates/types/src/archive.rs
+++ b/crates/types/src/archive.rs
@@ -7,7 +7,7 @@ use crate::Module;
#[rustfmt::skip]
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];
const TWASM_MAGIC_PREFIX: &[u8; 4] = b"TWAS";
-const TWASM_VERSION: &[u8; 2] = b"03";
+const TWASM_VERSION: &[u8; 2] = b"04";
fn validate_magic(wasm: &[u8]) -> Result<usize, TwasmError> {
if wasm.len() < TWASM_MAGIC.len() || &wasm[..TWASM_MAGIC_PREFIX.len()] != TWASM_MAGIC_PREFIX {