|
4 | 4 |
|
5 | 5 | ## Unreleased |
6 | 6 |
|
| 7 | +## 0.27.0 |
| 8 | + |
| 9 | +Released 2021-05-21. |
| 10 | + |
| 11 | +### Security Fixes |
| 12 | + |
| 13 | +* Fixed a security issue in Cranelift's x64 backend that could result in a heap |
| 14 | + sandbox escape due to an incorrect sign-extension: |
| 15 | + [#2913](https://github.com/bytecodealliance/wasmtime/issues/2913). |
| 16 | + |
7 | 17 | ### Added |
8 | 18 |
|
| 19 | +* Support for IBM z/Archiecture (`s390x`) machines in Cranelift and Wasmtime: |
| 20 | + [#2836](https://github.com/bytecodealliance/wasmtime/pull/2836), |
| 21 | + [#2837](https://github.com/bytecodealliance/wasmtime/pull/2837), |
| 22 | + [#2838](https://github.com/bytecodealliance/wasmtime/pull/2838), |
| 23 | + [#2843](https://github.com/bytecodealliance/wasmtime/pull/2843), |
| 24 | + [#2854](https://github.com/bytecodealliance/wasmtime/pull/2854), |
| 25 | + [#2870](https://github.com/bytecodealliance/wasmtime/pull/2870), |
| 26 | + [#2871](https://github.com/bytecodealliance/wasmtime/pull/2871), |
| 27 | + [#2872](https://github.com/bytecodealliance/wasmtime/pull/2872), |
| 28 | + [#2874](https://github.com/bytecodealliance/wasmtime/pull/2874). |
| 29 | + |
| 30 | +* Improved async support in wasi-common runtime: |
| 31 | + [#2832](https://github.com/bytecodealliance/wasmtime/pull/2832). |
| 32 | + |
9 | 33 | * Added `Store::with_limits`, `StoreLimits`, and `ResourceLimiter` to the |
10 | 34 | Wasmtime API to help with enforcing resource limits at runtime. The |
11 | 35 | `ResourceLimiter` trait can be implemented by custom resource limiters to |
12 | 36 | decide if linear memories or tables can be grown. |
13 | 37 |
|
| 38 | +* Added `allow-unknown-exports` option for the run command: |
| 39 | + [#2879](https://github.com/bytecodealliance/wasmtime/pull/2879). |
| 40 | + |
| 41 | +* Added API to notify that a `Store` has moved to a new thread: |
| 42 | + [#2822](https://github.com/bytecodealliance/wasmtime/pull/2822). |
| 43 | + |
| 44 | +* Documented guidance around using Wasmtime in multithreaded contexts: |
| 45 | + [#2812](https://github.com/bytecodealliance/wasmtime/pull/2812). |
| 46 | + In the future, the Wasmtime API will change to allow some of its core types |
| 47 | + to be Send/Sync; see the in-progress |
| 48 | + [#2897](https://github.com/bytecodealliance/wasmtime/pull/2897) for details. |
| 49 | + |
| 50 | +* Support calls from native code to multiple-return-value functions: |
| 51 | + [#2806](https://github.com/bytecodealliance/wasmtime/pull/2806). |
| 52 | + |
14 | 53 | ### Changed |
15 | 54 |
|
16 | 55 | * Breaking: `Memory::new` has been changed to return `Result` as creating a |
17 | 56 | host memory object is now a fallible operation when the initial size of |
18 | 57 | the memory exceeds the store limits. |
19 | 58 |
|
| 59 | +### Fixed |
| 60 | + |
| 61 | +* Many instruction selection improvements on x64 and aarch64: |
| 62 | + [#2819](https://github.com/bytecodealliance/wasmtime/pull/2819), |
| 63 | + [#2828](https://github.com/bytecodealliance/wasmtime/pull/2828), |
| 64 | + [#2823](https://github.com/bytecodealliance/wasmtime/pull/2823), |
| 65 | + [#2862](https://github.com/bytecodealliance/wasmtime/pull/2862), |
| 66 | + [#2886](https://github.com/bytecodealliance/wasmtime/pull/2886), |
| 67 | + [#2889](https://github.com/bytecodealliance/wasmtime/pull/2889), |
| 68 | + [#2905](https://github.com/bytecodealliance/wasmtime/pull/2905). |
| 69 | + |
| 70 | +* Improved performance of Wasmtime runtime substantially: |
| 71 | + [#2811](https://github.com/bytecodealliance/wasmtime/pull/2811), |
| 72 | + [#2818](https://github.com/bytecodealliance/wasmtime/pull/2818), |
| 73 | + [#2821](https://github.com/bytecodealliance/wasmtime/pull/2821), |
| 74 | + [#2847](https://github.com/bytecodealliance/wasmtime/pull/2847), |
| 75 | + [#2900](https://github.com/bytecodealliance/wasmtime/pull/2900). |
| 76 | + |
| 77 | +* Fixed WASI issue with file metadata on Windows: |
| 78 | + [#2884](https://github.com/bytecodealliance/wasmtime/pull/2884). |
| 79 | + |
| 80 | +* Fixed an issue with debug info and an underflowing (trapping) offset: |
| 81 | + [#2866](https://github.com/bytecodealliance/wasmtime/pull/2866). |
| 82 | + |
| 83 | +* Fixed an issue with unwind information in the old x86 backend: |
| 84 | + [#2845](https://github.com/bytecodealliance/wasmtime/pull/2845). |
| 85 | + |
| 86 | +* Fixed i32 spilling in x64 backend: |
| 87 | + [#2840](https://github.com/bytecodealliance/wasmtime/pull/2840). |
| 88 | + |
20 | 89 | ## 0.26.0 |
21 | 90 |
|
22 | 91 | Released 2021-04-05. |
|
0 commit comments