uuid-rs/uuid (uuid)
### [`v1.6.1`](https://togithub.com/uuid-rs/uuid/releases/tag/1.6.1)
[Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.6.0...1.6.1)
##### What's Changed
- Fix uuid macro in consts by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/721](https://togithub.com/uuid-rs/uuid/pull/721)
**Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.6.0...1.6.1
### [`v1.6.0`](https://togithub.com/uuid-rs/uuid/releases/tag/1.6.0)
[Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.5.0...1.6.0)
##### What's Changed
- doc: fix links in v6 module by [@metalalive](https://togithub.com/metalalive) in [https://github.com/uuid-rs/uuid/pull/714](https://togithub.com/uuid-rs/uuid/pull/714)
- Stabilize UUIDv6-v8 support by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/718](https://togithub.com/uuid-rs/uuid/pull/718)
- Prepare for 1.6.0 release by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/719](https://togithub.com/uuid-rs/uuid/pull/719)
##### New Contributors
- [@metalalive](https://togithub.com/metalalive) made their first contribution in [https://github.com/uuid-rs/uuid/pull/714](https://togithub.com/uuid-rs/uuid/pull/714)
**Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.5.0...1.6.0
### [`v1.5.0`](https://togithub.com/uuid-rs/uuid/releases/tag/1.5.0)
[Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.4.1...1.5.0)
##### What's Changed
- Add impl From for String under the std feature flag by [@brahms116](https://togithub.com/brahms116) in [https://github.com/uuid-rs/uuid/pull/700](https://togithub.com/uuid-rs/uuid/pull/700)
- Remove dead link to templates by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/704](https://togithub.com/uuid-rs/uuid/pull/704)
- make ClockSequence wrap correctly by [@fef1312](https://togithub.com/fef1312) in [https://github.com/uuid-rs/uuid/pull/705](https://togithub.com/uuid-rs/uuid/pull/705)
- Track MSRV in Cargo.toml by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/706](https://togithub.com/uuid-rs/uuid/pull/706)
- Support converting between Uuid and vec by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/703](https://togithub.com/uuid-rs/uuid/pull/703)
- Replace MIPS with Miri and add clippy to CI by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/712](https://togithub.com/uuid-rs/uuid/pull/712)
- Added `bytemuck` support by [@John-Toohey](https://togithub.com/John-Toohey) in [https://github.com/uuid-rs/uuid/pull/711](https://togithub.com/uuid-rs/uuid/pull/711)
- Prepare for 1.5.0 release by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/713](https://togithub.com/uuid-rs/uuid/pull/713)
##### New Contributors
- [@brahms116](https://togithub.com/brahms116) made their first contribution in [https://github.com/uuid-rs/uuid/pull/700](https://togithub.com/uuid-rs/uuid/pull/700)
- [@fef1312](https://togithub.com/fef1312) made their first contribution in [https://github.com/uuid-rs/uuid/pull/705](https://togithub.com/uuid-rs/uuid/pull/705)
- [@John-Toohey](https://togithub.com/John-Toohey) made their first contribution in [https://github.com/uuid-rs/uuid/pull/711](https://togithub.com/uuid-rs/uuid/pull/711)
**Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.4.1...1.5.0
### [`v1.4.1`](https://togithub.com/uuid-rs/uuid/releases/tag/1.4.1)
[Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.4.0...1.4.1)
##### What's Changed
- Fix macro hygiene by [@teohhanhui](https://togithub.com/teohhanhui) in [https://github.com/uuid-rs/uuid/pull/694](https://togithub.com/uuid-rs/uuid/pull/694)
- Add #\[inline] for Uuid::from_bytes\[\_ref] and Uuid::{as,into}\_bytes by [@jrose-signal](https://togithub.com/jrose-signal) in [https://github.com/uuid-rs/uuid/pull/693](https://togithub.com/uuid-rs/uuid/pull/693)
- Print uuids in examples by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/697](https://togithub.com/uuid-rs/uuid/pull/697)
- Prepare for 1.4.1 release by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/698](https://togithub.com/uuid-rs/uuid/pull/698)
##### New Contributors
- [@teohhanhui](https://togithub.com/teohhanhui) made their first contribution in [https://github.com/uuid-rs/uuid/pull/694](https://togithub.com/uuid-rs/uuid/pull/694)
- [@jrose-signal](https://togithub.com/jrose-signal) made their first contribution in [https://github.com/uuid-rs/uuid/pull/693](https://togithub.com/uuid-rs/uuid/pull/693)
**Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.4.0...1.4.1
### [`v1.4.0`](https://togithub.com/uuid-rs/uuid/releases/tag/1.4.0)
[Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.3.4...1.4.0)
#### What's Changed
- Fixed wasm tests not running due to incorrect attribute target by [@kmusick](https://togithub.com/kmusick) in [https://github.com/uuid-rs/uuid/pull/688](https://togithub.com/uuid-rs/uuid/pull/688)
- Fixing issue with Cloudflare Workers and wasm32-unknown-unknown when using now() by [@kmusick](https://togithub.com/kmusick) in [https://github.com/uuid-rs/uuid/pull/690](https://togithub.com/uuid-rs/uuid/pull/690)
- Add `borsh` support by [@grovesNL](https://togithub.com/grovesNL) in [https://github.com/uuid-rs/uuid/pull/686](https://togithub.com/uuid-rs/uuid/pull/686)
- Fix some timestamp generation by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/691](https://togithub.com/uuid-rs/uuid/pull/691)
- Prepare for 1.4.0 release by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/692](https://togithub.com/uuid-rs/uuid/pull/692)
#### New Contributors
- [@kmusick](https://togithub.com/kmusick) made their first contribution in [https://github.com/uuid-rs/uuid/pull/688](https://togithub.com/uuid-rs/uuid/pull/688)
- [@grovesNL](https://togithub.com/grovesNL) made their first contribution in [https://github.com/uuid-rs/uuid/pull/686](https://togithub.com/uuid-rs/uuid/pull/686)
**Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.3.4...1.4.0
### [`v1.3.4`](https://togithub.com/uuid-rs/uuid/releases/tag/1.3.4)
[Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.3.3...1.3.4)
#### What's Changed
- Add `wasm32-wasi` support with tests by [@acfoltzer](https://togithub.com/acfoltzer) in [https://github.com/uuid-rs/uuid/pull/677](https://togithub.com/uuid-rs/uuid/pull/677)
- Fix up MSRV build in CI by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/679](https://togithub.com/uuid-rs/uuid/pull/679)
- fix: keep the order when filling random bytes by [@Hanaasagi](https://togithub.com/Hanaasagi) in [https://github.com/uuid-rs/uuid/pull/682](https://togithub.com/uuid-rs/uuid/pull/682)
- Prepare for 1.3.4 release by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/683](https://togithub.com/uuid-rs/uuid/pull/683)
#### New Contributors
- [@acfoltzer](https://togithub.com/acfoltzer) made their first contribution in [https://github.com/uuid-rs/uuid/pull/677](https://togithub.com/uuid-rs/uuid/pull/677)
- [@Hanaasagi](https://togithub.com/Hanaasagi) made their first contribution in [https://github.com/uuid-rs/uuid/pull/682](https://togithub.com/uuid-rs/uuid/pull/682)
**Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.3.3...1.3.4
### [`v1.3.3`](https://togithub.com/uuid-rs/uuid/releases/tag/1.3.3)
[Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.3.2...1.3.3)
#### What's Changed
- Use sha hash for checkout action and remove others by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/671](https://togithub.com/uuid-rs/uuid/pull/671)
- Hard deprecate Timestamp::to_unix_nanos by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/673](https://togithub.com/uuid-rs/uuid/pull/673)
- Prepare for 1.3.3 release by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/674](https://togithub.com/uuid-rs/uuid/pull/674)
**Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.3.2...1.3.3
### [`v1.3.2`](https://togithub.com/uuid-rs/uuid/releases/tag/1.3.2)
[Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.3.1...1.3.2)
#### What's Changed
- Create SECURITY.md by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/668](https://togithub.com/uuid-rs/uuid/pull/668)
- Faster as_u128 and to_u128\_le by [@pkoenig10](https://togithub.com/pkoenig10) in [https://github.com/uuid-rs/uuid/pull/669](https://togithub.com/uuid-rs/uuid/pull/669)
- prepare for 1.3.2 release by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/670](https://togithub.com/uuid-rs/uuid/pull/670)
#### New Contributors
- [@pkoenig10](https://togithub.com/pkoenig10) made their first contribution in [https://github.com/uuid-rs/uuid/pull/669](https://togithub.com/uuid-rs/uuid/pull/669)
**Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.3.1...1.3.2
### [`v1.3.1`](https://togithub.com/uuid-rs/uuid/releases/tag/1.3.1)
[Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.3.0...1.3.1)
#### What's Changed
- Update syn requirement from 1.0.80 to 2.0.5 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/uuid-rs/uuid/pull/663](https://togithub.com/uuid-rs/uuid/pull/663)
- Update windows-sys requirement from 0.45.0 to 0.48.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/uuid-rs/uuid/pull/665](https://togithub.com/uuid-rs/uuid/pull/665)
- remove some extra chars in a comment by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/666](https://togithub.com/uuid-rs/uuid/pull/666)
- Prepare for 1.3.1 release by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/667](https://togithub.com/uuid-rs/uuid/pull/667)
**Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.3.0...1.3.1
### [`v1.3.0`](https://togithub.com/uuid-rs/uuid/releases/tag/1.3.0)
[Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.2.2...1.3.0)
#### What's Changed
- Fix error message. by [@basbossink-ds](https://togithub.com/basbossink-ds) in [https://github.com/uuid-rs/uuid/pull/656](https://togithub.com/uuid-rs/uuid/pull/656)
- implement Arbitrary::size_hint by [@Ekleog](https://togithub.com/Ekleog) in [https://github.com/uuid-rs/uuid/pull/657](https://togithub.com/uuid-rs/uuid/pull/657)
- Always use hyphenated format regardless of flags by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/658](https://togithub.com/uuid-rs/uuid/pull/658)
- Update windows-sys requirement from 0.42.0 to 0.45.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/uuid-rs/uuid/pull/654](https://togithub.com/uuid-rs/uuid/pull/654)
- Prepare for 1.3.0 release by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/659](https://togithub.com/uuid-rs/uuid/pull/659)
#### New Contributors
- [@basbossink-ds](https://togithub.com/basbossink-ds) made their first contribution in [https://github.com/uuid-rs/uuid/pull/656](https://togithub.com/uuid-rs/uuid/pull/656)
- [@Ekleog](https://togithub.com/Ekleog) made their first contribution in [https://github.com/uuid-rs/uuid/pull/657](https://togithub.com/uuid-rs/uuid/pull/657)
**Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.2.2...1.3.0
### [`v1.2.2`](https://togithub.com/uuid-rs/uuid/releases/tag/1.2.2)
[Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.2.1...1.2.2)
#### What's Changed
- CI Cleanups by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/640](https://togithub.com/uuid-rs/uuid/pull/640)
- Remove extern crate alloc by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/645](https://togithub.com/uuid-rs/uuid/pull/645)
- Prepare for 1.2.2 release by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/646](https://togithub.com/uuid-rs/uuid/pull/646)
**Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.2.1...1.2.2
### [`v1.2.1`](https://togithub.com/uuid-rs/uuid/releases/tag/1.2.1)
[Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.2.0...1.2.1)
#### What's Changed
- Fix up lost re-export of v1 Timestamp by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/636](https://togithub.com/uuid-rs/uuid/pull/636)
- Prepare for 1.2.1 release by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/637](https://togithub.com/uuid-rs/uuid/pull/637)
**Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.2.0...1.2.1
### [`v1.2.0`](https://togithub.com/uuid-rs/uuid/releases/tag/1.2.0)
[Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.1.2...1.2.0)
#### What's Changed
- formatting changes by [@pintariching](https://togithub.com/pintariching) in [https://github.com/uuid-rs/uuid/pull/610](https://togithub.com/uuid-rs/uuid/pull/610)
- Remove outdated Travis CI reference by [@atouchet](https://togithub.com/atouchet) in [https://github.com/uuid-rs/uuid/pull/616](https://togithub.com/uuid-rs/uuid/pull/616)
- refactors Timestamp, Context and ClockSequence, and adds UUIDS v6, v7, v8 by [@rrichardson](https://togithub.com/rrichardson) in [https://github.com/uuid-rs/uuid/pull/611](https://togithub.com/uuid-rs/uuid/pull/611)
- migrate from winapi to windows_sys in examples by [@sn99](https://togithub.com/sn99) in [https://github.com/uuid-rs/uuid/pull/626](https://togithub.com/uuid-rs/uuid/pull/626)
- Update windows-sys requirement from 0.36.1 to 0.42.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/uuid-rs/uuid/pull/628](https://togithub.com/uuid-rs/uuid/pull/628)
- Some work on the new version features by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/625](https://togithub.com/uuid-rs/uuid/pull/625)
- Implement now in wasm by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/630](https://togithub.com/uuid-rs/uuid/pull/630)
- More work on docs by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/631](https://togithub.com/uuid-rs/uuid/pull/631)
- hide draft versions behind the unstable cfg by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/633](https://togithub.com/uuid-rs/uuid/pull/633)
- Prepare for 1.2.0 release by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/634](https://togithub.com/uuid-rs/uuid/pull/634)
#### New Contributors
- [@pintariching](https://togithub.com/pintariching) made their first contribution in [https://github.com/uuid-rs/uuid/pull/610](https://togithub.com/uuid-rs/uuid/pull/610)
- [@atouchet](https://togithub.com/atouchet) made their first contribution in [https://github.com/uuid-rs/uuid/pull/616](https://togithub.com/uuid-rs/uuid/pull/616)
- [@sn99](https://togithub.com/sn99) made their first contribution in [https://github.com/uuid-rs/uuid/pull/626](https://togithub.com/uuid-rs/uuid/pull/626)
**Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.1.2...1.2.0
### [`v1.1.2`](https://togithub.com/uuid-rs/uuid/releases/tag/1.1.2)
[Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.1.1...1.1.2)
#### What's Changed
- Fix some doc links by [@mbrobbel](https://togithub.com/mbrobbel) in [https://github.com/uuid-rs/uuid/pull/606](https://togithub.com/uuid-rs/uuid/pull/606)
- Prepare for 1.1.2 release by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/607](https://togithub.com/uuid-rs/uuid/pull/607)
#### New Contributors
- [@mbrobbel](https://togithub.com/mbrobbel) made their first contribution in [https://github.com/uuid-rs/uuid/pull/606](https://togithub.com/uuid-rs/uuid/pull/606)
**Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.1.1...1.1.2
### [`v1.1.1`](https://togithub.com/uuid-rs/uuid/releases/tag/1.1.1)
[Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.1.0...1.1.1)
#### What's Changed
- Fix documentation typo by [@nstinus](https://togithub.com/nstinus) in [https://github.com/uuid-rs/uuid/pull/603](https://togithub.com/uuid-rs/uuid/pull/603)
- Prepare for 1.1.1 release by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/604](https://togithub.com/uuid-rs/uuid/pull/604)
#### New Contributors
- [@nstinus](https://togithub.com/nstinus) made their first contribution in [https://github.com/uuid-rs/uuid/pull/603](https://togithub.com/uuid-rs/uuid/pull/603)
**Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.1.0...1.1.1
### [`v1.1.0`](https://togithub.com/uuid-rs/uuid/releases/tag/1.1.0)
[Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.0.0...1.1.0)
#### What's Changed
- note that the Error display impl is public API by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/597](https://togithub.com/uuid-rs/uuid/pull/597)
- Fixed documentation link by [@Razican](https://togithub.com/Razican) in [https://github.com/uuid-rs/uuid/pull/600](https://togithub.com/uuid-rs/uuid/pull/600)
- Add to_bytes_le method by [@dfaust](https://togithub.com/dfaust) in [https://github.com/uuid-rs/uuid/pull/599](https://togithub.com/uuid-rs/uuid/pull/599)
- Prepare for 1.1.0 release by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/602](https://togithub.com/uuid-rs/uuid/pull/602)
#### New Contributors
- [@Razican](https://togithub.com/Razican) made their first contribution in [https://github.com/uuid-rs/uuid/pull/600](https://togithub.com/uuid-rs/uuid/pull/600)
- [@dfaust](https://togithub.com/dfaust) made their first contribution in [https://github.com/uuid-rs/uuid/pull/599](https://togithub.com/uuid-rs/uuid/pull/599)
**Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.0.0...1.1.0
### [`v1.0.0`](https://togithub.com/uuid-rs/uuid/releases/tag/1.0.0)
[Compare Source](https://togithub.com/uuid-rs/uuid/compare/0.8.2...1.0.0)
This release includes a *huge* amount of work from a lot of contributors. These notes are duplicated from `1.0.0-alpha.1` since they're relevant for anybody moving from `0.8.2` to `1.0.0`.
### Changes since the last release
### Contributions since the last release
- [#510](https://togithub.com/uuid-rs/uuid/issues/510)
- [#482](https://togithub.com/uuid-rs/uuid/issues/482)
- [#511](https://togithub.com/uuid-rs/uuid/issues/511)
- [#507](https://togithub.com/uuid-rs/uuid/issues/507)
- [#518](https://togithub.com/uuid-rs/uuid/issues/518)
- [#519](https://togithub.com/uuid-rs/uuid/issues/519)
- [#512](https://togithub.com/uuid-rs/uuid/issues/512)
- [#520](https://togithub.com/uuid-rs/uuid/issues/520)
- [#521](https://togithub.com/uuid-rs/uuid/issues/521)
- [#525](https://togithub.com/uuid-rs/uuid/issues/525)
- [#526](https://togithub.com/uuid-rs/uuid/issues/526)
- [#527](https://togithub.com/uuid-rs/uuid/issues/527)
- [#528](https://togithub.com/uuid-rs/uuid/issues/528)
- [#535](https://togithub.com/uuid-rs/uuid/issues/535)
- [#536](https://togithub.com/uuid-rs/uuid/issues/536)
- [#539](https://togithub.com/uuid-rs/uuid/issues/539)
- [#538](https://togithub.com/uuid-rs/uuid/issues/538)
- [#540](https://togithub.com/uuid-rs/uuid/issues/540)
- [#541](https://togithub.com/uuid-rs/uuid/issues/541)
- [#542](https://togithub.com/uuid-rs/uuid/issues/542)
- [#544](https://togithub.com/uuid-rs/uuid/issues/544)
- [#545](https://togithub.com/uuid-rs/uuid/issues/545)
- [#546](https://togithub.com/uuid-rs/uuid/issues/546)
- [#543](https://togithub.com/uuid-rs/uuid/issues/543)
- [#547](https://togithub.com/uuid-rs/uuid/issues/547)
- [#548](https://togithub.com/uuid-rs/uuid/issues/548)
- [#549](https://togithub.com/uuid-rs/uuid/issues/549)
- [#550](https://togithub.com/uuid-rs/uuid/issues/550)
- [#552](https://togithub.com/uuid-rs/uuid/issues/552)
- [#554](https://togithub.com/uuid-rs/uuid/issues/554)
- [#558](https://togithub.com/uuid-rs/uuid/issues/558)
- [#560](https://togithub.com/uuid-rs/uuid/issues/560)
- [#562](https://togithub.com/uuid-rs/uuid/issues/562)
- [#563](https://togithub.com/uuid-rs/uuid/issues/563)
- [#564](https://togithub.com/uuid-rs/uuid/issues/564)
- [#565](https://togithub.com/uuid-rs/uuid/issues/565)
- [#566](https://togithub.com/uuid-rs/uuid/issues/566)
- [#579](https://togithub.com/uuid-rs/uuid/issues/579)
- [#584](https://togithub.com/uuid-rs/uuid/issues/584)
- [#587](https://togithub.com/uuid-rs/uuid/issues/587)
- [#595](https://togithub.com/uuid-rs/uuid/issues/595)
[@Gaelan](https://togithub.com/Gaelan) [@hecsalazarf](https://togithub.com/hecsalazarf) [@Expyron](https://togithub.com/Expyron) [@saiintbrisson](https://togithub.com/saiintbrisson) [@tshepang](https://togithub.com/tshepang) [@Tehnix](https://togithub.com/Tehnix) [@Takashiidobe](https://togithub.com/Takashiidobe) [@A248](https://togithub.com/A248) [@clehner](https://togithub.com/clehner)
With a special thanks to:
[@kinggoesgaming](https://togithub.com/kinggoesgaming) [@QnnOkabayashi](https://togithub.com/QnnOkabayashi) [@Nugine](https://togithub.com/Nugine)
### Highlights
Parsing and formatting methods are now much faster, and work in `const` too! On my i9 9900K Windows desktop, the difference looks something like this:
Case | `1.0.0-alpha.1` | `0.8.3`
\----------------------- | ------------------ | ------------------
parse_invalid_character | 40 ns/iter (+/- 0) | 39 ns/iter (+/- 1)
parse_invalid_group_len | 47 ns/iter (+/- 1) | 52 ns/iter (+/- 5)
parse_invalid_groups | 58 ns/iter (+/- 1) | 58 ns/iter (+/- 0)
parse_invalid_len | 57 ns/iter (+/- 2) | 6 ns/iter (+/- 0)
parse_nil | 16 ns/iter (+/- 0) | 50 ns/iter (+/- 4)
parse_nil_hyphenated | 17 ns/iter (+/- 0) | 59 ns/iter (+/- 2)
parse_random | 16 ns/iter (+/- 0) | 42 ns/iter (+/- 1)
parse_random_hyphenated | 18 ns/iter (+/- 0) | 51 ns/iter (+/- 2)
parse_urn | 18 ns/iter (+/- 0) | 51 ns/iter (+/- 1)
You can go one step further and look at the [`uuid-simd`](https://togithub.com/Nugine/uuid-simd) library for vectorized UUID parsing. It's *fast*!
You can create UUIDs at compile time using the `uuid!` macro:
```rust
#[macro_use]
extern crate uuid;
use uuid::Uuid;
const ID: Uuid = uuid!("67e55044-10b1-426f-9247-bb680e5fe0c8");
```
Enable the `macro-diagnostics` crate feature to get better diagnostics from `uuid!` using a procedural macro.
### Breaking changes
#### Relocation of `adapter::compact`
This module can now be found in `serde::compact`. It can be combined with `#[serde(with)]` to serialize a `Uuid` using a more compact representation. We originally moved to this representation directly, but discovered it comes with its own drawbacks that aren't suitable for all formats.
#### Infallible constructors
The following methods have been changed to accept a `&[u8; N]` instead of a `&[u8]`, making them infallible instead of returning a `Result`:
- `Uuid::from_fields`
- `Uuid::from_fields_le`
- `Uuid::new_v1`
- `Builder::from_fields`
- `Builder::from_fields_le`
#### Infallible `get_variant`
The `Uuid::get_variant` method now returns a `Variant` instead of an `Option`, because it's not actually possible for it to ever be `None`.
#### `Uuid::to_timestamp` is now `Uuid::get_timestamp`
The `Uuid::to_timestamp` method has been renamed to `Uuid::get_timestamp` to make it more consistent with `Uuid::get_version` and `Uuid::get_variant`.
#### Changes to formatting methods
The following methods that produce formatting adapters have been renamed:
- `Uuid::to_hyphenated` -> `Uuid::hyphenated`
- `Uuid::to_simple` -> `Uuid::simple`
- `Uuid::to_urn` -> `Uuid::urn`
The following types have been removed:
- `HyphenatedRef`
- `SimpleRef`
- `UrnRef`
The following methods have been changed to return a `&` instead of an `Ref`:
- `Uuid::to_hyphenated_ref` -> `Uuid::as_hyphenated`
- `Uuid::to_simple_ref` -> `Uuid::as_simple`
- `Uuid::to_urn_ref` -> `Uuid::as_urn`
#### `Builder` method consistency
The `Builder::build` method has been renamed to `Builder::into_uuid`, to complement the `::into_uuid` methods. It also gets an equivalent `Builder::as_uuid` method.
#### `Version` and `Variant` are non-exhaustive
The `#[non_exhaustive]` attribute has been added to `Version` and `Variant`. There are already active proposals for new UUID versions, so these are likely to continue evolving in the future.
#### Removed `winapi` support
The `Uuid::to_guid` and `Uuid::from_guid` methods have been removed. This was done for two reasons:
- We need to avoid unstable `winapi` types in the stable `uuid` public API.
- Whether or not GUID fields need to be flipped to convert into a UUID depends on the source of the GUID, so we can't really offer a single pair of methods to convert a GUID into a UUID.
There are some examples in the repository root that demonstrate how to convert GUIDs into UUIDs as a replacement.
#### Building with `--all-features`
Now that `uuid` includes unstable features, if you're building with `--all-features` (such as in package manager scenarios), you'll also need to pass `RUSTFLAGS="--cfg uuid_unstable"`, or you'll end up with compilation errors. If this strategy becomes problematic for users we can change unstable features to silently no-op instead of cause compilation failures if the corresponding cfg is not also supplied. Please reach out if that affects you!
### Stability commitment
With `uuid` `1.0` we'll try to stay on that version "forever". There won't be a `2.0` unless there's a very compelling need for it. That means you should feel safe depending on `Uuid` in the public API of your libraries if you want to.
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.8
->1.6
Release Notes
uuid-rs/uuid (uuid)
### [`v1.6.1`](https://togithub.com/uuid-rs/uuid/releases/tag/1.6.1) [Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.6.0...1.6.1) ##### What's Changed - Fix uuid macro in consts by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/721](https://togithub.com/uuid-rs/uuid/pull/721) **Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.6.0...1.6.1 ### [`v1.6.0`](https://togithub.com/uuid-rs/uuid/releases/tag/1.6.0) [Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.5.0...1.6.0) ##### What's Changed - doc: fix links in v6 module by [@metalalive](https://togithub.com/metalalive) in [https://github.com/uuid-rs/uuid/pull/714](https://togithub.com/uuid-rs/uuid/pull/714) - Stabilize UUIDv6-v8 support by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/718](https://togithub.com/uuid-rs/uuid/pull/718) - Prepare for 1.6.0 release by [@KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/719](https://togithub.com/uuid-rs/uuid/pull/719) ##### New Contributors - [@metalalive](https://togithub.com/metalalive) made their first contribution in [https://github.com/uuid-rs/uuid/pull/714](https://togithub.com/uuid-rs/uuid/pull/714) **Full Changelog**: https://github.com/uuid-rs/uuid/compare/1.5.0...1.6.0 ### [`v1.5.0`](https://togithub.com/uuid-rs/uuid/releases/tag/1.5.0) [Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.4.1...1.5.0) ##### What's Changed - Add impl FromConfiguration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.