From d8215fb95a1125c92e98bfb6399321a8d1ca5f59 Mon Sep 17 00:00:00 2001 From: Lokathor Date: Tue, 29 Mar 2022 23:10:43 -0600 Subject: [PATCH] Update changelog.md (#96) * Update changelog.md * Update changelog.md * Use the `5` instead of an `s`, because we're l33t --- changelog.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/changelog.md b/changelog.md index 2e59322..f526f61 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,19 @@ # `bytemuck` changelog +## 1.9.0 + +* [fu5ha](https://github.com/fu5ha) added the `NoUninit`, `AnyBitPattern`, and + `CheckedBitPattern` traits. This allows for a more fine-grained level of + detail in what casting operations are allowed for a type. Types that already + implement `Zeroable` and `Pod` will have a blanket impl for these new traits. + This is a "preview" of the direction that the crate will probably go in the + eventual 2.0 version. We're still waiting on [Project Safe + Transmute](https://github.com/rust-lang/project-safe-transmute) for an actual + 2.0 version of the crate, but until then please enjoy this preview. +* Also Fusha added better support for `union` types in the derive macros. I + still don't know how any of the proc-macro stuff works at all, so please + direct questions to her. + ## 1.8.0 * `try_pod_read_unaligned` and `pod_read_unaligned` let you go from `&[u8]` to