From dc4ed504ed50baa91a16871fbaf4bc5e48c7d4e9 Mon Sep 17 00:00:00 2001 From: daxpedda Date: Sat, 11 Jan 2025 21:29:45 +0100 Subject: [PATCH] Add changelog entry --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f144ab366c6..e12bd4560de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,10 @@ * Add bindings to `Date.to_locale_time_string_with_options`. [#4384](https://github.com/rustwasm/wasm-bindgen/pull/4384) +* `#[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.