Debian Codegraph @

third_party/rust/bytemuck_derive/changelog.md

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