1
2## `bytemuck_derive` changelog
3
4## 1.7.1
5
6* Adds the `bytemuck` attribute to the `NoUninit` derive, allowing it to be used when re-exported.
7
8## 1.7.0
9
10* Allow generics in `derive(ByteEq, ByteHash)` https://github.com/Lokathor/bytemuck/pull/219
11
12## 1.6.0
13
14* This allows `CheckedBitPattern` to be derived for enums with fields.
15  The repr must be one of the following:
16  * `#[repr(C)]`
17  * `#[repr(C, int)]`
18  * `#[repr(int)]`
19  * `#[repr(transparent)]`
20
21## 1.5.0
22
23* The `Zeroable` derive now allows custom bounds. See the rustdoc for an explanation.
24
25## 1.4.1
26
27* Move the `syn` dependency to use version 2.
28  This should not affect the public API in any way.
29
30## 1.4.0
31
32* `ByteEq` and `ByteHash` derives will make `Eq` and `Hash` impls that treat the
33  value as a `&[u8]` during equality checks and hashing. This provides a large
34  codegen improvement for some types.
35* Derives of `repr(int)` enums should now accept byte literal values as the
36  discriminant.
37
38## 1.3.0
39
40* Allow `repr(transparent)` to be used generically in `derive(Pod)`.
41
42## 1.2.1
43
44* Fixed a regression of the `align(N)` attribute that occurred during otherwise
45  routine cleanup.
46
47## 1.2.0
48
49* Apparently our minimum required version of `syn` went up without anyone
50  noticing for a while. Because of a bump in our `syn` requirements, we're also
51  issuing this minor version bump in the `bytemuck_derive` crate. Because it's
52  possible to *reduce* the minimum required version of a dep in only a patch
53  release, I'm going to ratchet the required version of `syn` all the way up to
54  "current" (1.0.99). If absolutely necessary we could probably reduce the
55  minimum `syn` version again in a patch release for 1.2, but I don't want to
56  play this dance too much so I'd rather make each jump as big as can possibly
57  be. [Issue 122](https://github.com/Lokathor/bytemuck/issues/122). **Note:**
58  While the core `bytemuck` crate continues to keep building on rustc-1.34.0,
59  the `bytemuck_derive` crate is considered an opt-in bonus feature (which
60  doesn't do anything you couldn't trivially do yourself) and so it does not
61  support a specific MSRV.
62
63## 1.1.1
64
65* Adjusted the license files to use full files rather than symlinks.
66  [PR](https://github.com/Lokathor/bytemuck/pull/118)
67  The license is unchanged, just no more symlinks.
68
69## 1.1.0
70
71* Updated to work with `bytemuck-1.9.0`
72
73## 1.0.1
74
75* [yanchith](https://github.com/yanchith) fixed the derive checks code to make clippy more happy.
76[PR 45](https://github.com/Lokathor/bytemuck/pull/45)
77
78## 1.0.0
79
80* Initial stable release.
81