|
2 | 2 |
|
3 | 3 | ## 18.0.0 |
4 | 4 |
|
5 | | -Unreleased. |
| 5 | +Released 2024-02-20. |
6 | 6 |
|
7 | 7 | ### Added |
8 | 8 |
|
| 9 | +* The `wasmtime-c-api-impl` crate is now published on crates.io. |
| 10 | + [#7837](https://github.com/bytecodealliance/wasmtime/pull/7837) |
| 11 | + |
| 12 | +* A new `EngineWeak` type enables holding a weak pointer to an engine with the |
| 13 | + ability to dynamically and fallibly upgrade it to an `Engine`. |
| 14 | + [#7797](https://github.com/bytecodealliance/wasmtime/pull/7797) |
| 15 | + |
| 16 | +* The WebAssembly tail calls proposal can now be enabled through the C API. |
| 17 | + [#7811](https://github.com/bytecodealliance/wasmtime/pull/7811) |
| 18 | + |
| 19 | +* The import and export types of a `Component` can now be inspected at runtime. |
| 20 | + [#7804](https://github.com/bytecodealliance/wasmtime/pull/7804) |
| 21 | + |
| 22 | +* New APIs/types have been added to support a faster version of looking up |
| 23 | + module exports without using string lookups with `Module::get_export_index`. |
| 24 | + [#7828](https://github.com/bytecodealliance/wasmtime/pull/7828) |
| 25 | + |
9 | 26 | ### Changed |
10 | 27 |
|
| 28 | +* Owned resources represented with `ResourceAny` can now be passed as arguments |
| 29 | + to functions that require a `borrow<T>` parameter. |
| 30 | + [#7783](https://github.com/bytecodealliance/wasmtime/pull/7783) |
| 31 | + |
| 32 | +* Generated structures from `wasmtime::component::bindgen!` for exported |
| 33 | + interfaces are now all renamed to `Guest` to avoid conflicting with WIT names. |
| 34 | + [#7794](https://github.com/bytecodealliance/wasmtime/pull/7794) |
| 35 | + |
| 36 | +* Guest profiler output will now automatically demangle symbols. |
| 37 | + [#7809](https://github.com/bytecodealliance/wasmtime/pull/7809) |
| 38 | + |
| 39 | +* The `wasmtime` crate now has a `runtime` Cargo feature which, if disabled, |
| 40 | + enables building Wasmtime with only the ability to compile WebAssembly |
| 41 | + modules. This enables compiling Wasmtime's compilation infrastructure, for |
| 42 | + example, to WebAssembly itself. |
| 43 | + [#7766](https://github.com/bytecodealliance/wasmtime/pull/7766) |
| 44 | + |
| 45 | +* Support for the old `wasi-common` crate and the original implementation of |
| 46 | + "WASIp1" aka "preview1" is being deprecated in the `wasmtime-wasi` crate. |
| 47 | + Users should migrate to the `wasmtime_wasi::preview2` implementation, which |
| 48 | + supports both WASIp1 and WASIp2, as in the next release the |
| 49 | + `wasi-common`-based reexports of `wasmtime-wasi` will be deleted. |
| 50 | + [#7881](https://github.com/bytecodealliance/wasmtime/pull/7881) |
| 51 | + |
11 | 52 | -------------------------------------------------------------------------------- |
12 | 53 |
|
13 | 54 | ## 17.0.0 |
|
0 commit comments