You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dcd8b15
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20-3Lines changed: 20 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,23 +9,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
### Added
11
11
12
-
- Support for the custom memory page sizes proposal ([#22](https://github.com/explodingcamera/tinywasm/pull/22) by [@danielstuart14](https://github.com/danielstuart14))
12
+
- Support for the `custom_page_sizes` proposal ([#22](https://github.com/explodingcamera/tinywasm/pull/22) by [@danielstuart14](https://github.com/danielstuart14))
13
13
- Support for the `tail_call` proposal
14
14
- Support for the `memory64` proposal
15
-
- Support for the fixed-width `simd` proposal
15
+
- Support for the `simd` proposal
16
16
- Support for the `relaxed_simd` proposal
17
17
- Support for the `wide_arithmetic` proposal
18
18
- New `Engine` API (`tinywasm::Engine` and `engine::Config`) for runtime configuration
19
19
- Resumable function execution with fuel/time-budget APIs (`call_resumable`, `resume_with_fuel`, `resume_with_time_budget`, `ExecProgress`)
20
20
- Host-function fuel APIs: `FuncContext::charge_fuel` and `FuncContext::remaining_fuel`
21
21
-`engine::FuelPolicy` and `engine::Config::fuel_policy` for fuel accounting behavior
22
22
- New `canonicalize_nans` feature flag to enable canonicalizing NaN values in the `f32`, `f64`, and `v128` types
- raw memory data access: `MemoryRef::data`/`data_size`, `MemoryRefMut::data`/`data_mut`/`data_size`
23
30
24
31
### Changed
25
32
26
33
- Locals are now stored in the typed value stacks instead of a separate locals structure
27
34
- Structured control flow is fully lowered to jump-oriented internal instructions during parsing
28
-
- Stack and call-stack limits are configured via `engine::Config`
35
+
- Stack and call-stack limits can now be configured via `engine::Config`
36
+
- Module-internal by-index inspection APIs are now gated behind the `guest_debug` feature
29
37
30
38
### Breaking Changes
31
39
@@ -41,12 +49,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
41
49
- Cargo feature `logging` was renamed to `log`
42
50
- Increased MSRV to 1.90
43
51
-`Error::ParseError` was renamed to `Error::Parser`, and `Error::Twasm` was added
52
+
-`ModuleInstance` export lookup APIs were renamed:
53
+
-`exported_func_untyped` -> `func`
54
+
-`exported_func` -> `func_typed`
55
+
-`exported_memory` -> `memory`
56
+
-`exported_memory_mut` -> `memory_mut`
57
+
-`Imports::link_module` now takes a `ModuleInstance` instead of a raw module instance id
58
+
-`func_typed` now validates the exact wasm signature at lookup time and fails immediately on mismatches
44
59
45
60
### Fixed
46
61
47
62
- Fixed archive **no_std** support which was broken in the previous release, and added more tests to ensure it stays working
48
63
-`ModuleInstance::exported_memory` and `FuncContext::exported_memory` are now actually immutable ([#41](https://github.com/explodingcamera/tinywasm/pull/41))
49
64
- Check returns in untyped host functions ([#27](https://github.com/explodingcamera/tinywasm/pull/27)) (thanks [@WhaleKit](https://github.com/WhaleKit))
65
+
-`MemoryRefMut::copy_within(src, dst, len)` now follows its documented argument order
66
+
- Imported tables created with `Extern::table(ty, init)` now honor the provided init value
0 commit comments