1# 2.2.0
2
3* Added `Variant` enum and `Guid::variant` method.
4* Added `Guid::from_random_bytes` constructor.
5* Added `Guid::is_zero` method.
6* Added `Guid::version` method.
7* Conversions of the `time_low` field to/from bytes now treat that field
8  as native endian rather than little endian.
9* Fix non-upper-case-globals linter warning.
10
11# 2.1.0
12
13* Bump MSRV to 1.68.
14* Add docstring for `Guid::from_str`.
15
16# 2.0.1
17
18* Fix typo in readme.
19
20# 2.0.0
21
22* Error messages from `guid!` and `aligned_guid!` have been improved by
23  marking the `parse_or_panic` method `track_caller`.
24* `AlignedGuid` has been removed.
25* `Guid` is now 4-byte aligned.
26* The fields of `Guid` are now private. It is no longer possible to
27  directly construct `Guid`; one of the constructors such as `guid!`,
28  `Guid::new`, or `Guid::from_bytes` must be used instead. New accessor
29  methods have been added for each of the internal fields.
30
31# 1.2.1
32
33* Copied the license files into each package so that the archives on
34  crates.io include them.
35
36# 1.2.0
37
38* Add `Guid::parse_or_panic` and `AlignedGuid::parse_or_panic`. These
39  have the same functionality as the corresponding `try_parse` methods,
40  except they will panic on failure. This is useful in `const` contexts
41  where the panic is used as a compilation error.
42* The `guid!` and `aligned_guid!` macros now force const evaluation of
43  the input. This was the intended behavior before, but it was not
44  implemented correctly. Any new compilation failures caused by this
45  change indicate a bug in the calling code.
46
47# 1.1.1
48
49* Change `Guid` back to `repr(C)` instead of `repr(C, align(1))`. Even
50  though the alignment of the struct is 1-byte either way, structs with
51  any alignment set are not allowed in packed structures so this was a
52  breaking change.
53
54# 1.1.0 (yanked)
55
56* Add `AlignedGuid`, which is identical to `Guid` except the struct is
57  8-byte aligned instead of 1-byte aligned.
58* The `Guid` and `AlignedGuid` types implement `From` for each other to
59  convert between them.
60* Add `aligned_guid!` macro, which is identical to the `guid!` macro
61  except it creates an `AlignedGuid` instead of a `Guid`.
62
63This release was yanked due to accidentally changing the repr of `Guid`.
64
65# 1.0.4
66
67* Relax version requirements for `bytemuck` and `serde`.
68* Enable `doc_auto_cfg` on docs.rs.
69
70# 1.0.3
71
72* Fix license links in README, take two.
73
74# 1.0.2
75
76* Fix license links in README.
77
78# 1.0.1
79
80* Allow the MIT license to be used in addition to Apache-2.0.
81
82# 1.0.0
83
84* Make `GuidFromStrError` into an enum with three variants to allow for
85  better error messages.
86
87# 0.7.0
88
89* Add a const `Guid::from_bytes` constructor.
90* Make `Guid::to_bytes` const.
91* Remove re-export of `bytemuck` dependency.
92* Make the `bytemuck` dependency optional with the new `bytemuck` feature.
93
94# 0.6.0
95
96* Add `Guid::to_ascii_hex_lower` method. This is a const function that
97  creates a `[u8; 36]` array containing the GUID in standard
98  `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx` format.
99* Add `serde` feature (disabled by default) that implements serde's
100  `Serialize` and `Deserialize` traits for the `Guid` type.
101* Remove unused `From<ParseIntError>` impl for `GuidFromStrError`.
102