diff --git a/CHANGELOG.md b/CHANGELOG.md index 95b8f96cbfa..4922da3ba32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ * Add a `copy_to_uninit()` method to all `TypedArray`s. It takes `&mut [MaybeUninit]` and returns `&mut [T]`. [#4340](https://github.com/rustwasm/wasm-bindgen/pull/4340) +* `#[wasm_bindgen]` now correctly applies `#[cfg(...)]`s in `struct`s. + [#4351](https://github.com/rustwasm/wasm-bindgen/pull/4351) + ### Changed * Optional parameters are now typed as `T | undefined | null` to reflect the actual JS behavior.