From 26b469cc05eff12bdc4dbcdff79d7baa1234abc2 Mon Sep 17 00:00:00 2001 From: max143672 Date: Thu, 16 Nov 2023 10:09:41 +0400 Subject: [PATCH] Update CHANGELOG with new TryFromJsValue trait fix The updated CHANGELOG reflects the recent bug fix in wasm-bindgen. It used to force auto-derivation of the TryFrom trait for any struct, but now it will respect the use of custom TryFrom implementations by adopting the new TryFromJsValue trait instead. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62f8afabe599..0b2d000e67d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ * The DWARF section is now correctly modified instead of leaving it in a broken state. [#3483](https://github.com/rustwasm/wasm-bindgen/pull/3483) +* Custom TryFrom Trait Implementation: Fixed an issue where #[wasm_bindgen] automatically derived the TryFrom trait for any struct, preventing custom TryFrom implementations. The wasm-bindgen derive macro has been updated to utilize the new TryFromJsValue trait. [#3709](https://github.com/rustwasm/wasm-bindgen/pull/3709) + ## [0.2.88](https://github.com/rustwasm/wasm-bindgen/compare/0.2.87...0.2.88)