diff --git a/release-notes/CREDITS b/release-notes/CREDITS index 0e0648a..457fd84 100644 --- a/release-notes/CREDITS +++ b/release-notes/CREDITS @@ -120,3 +120,9 @@ Hal Hildebrand (Hellblazer@github) [4.1.0] * Contributed #46: Add support for Proposed type v7 (epoch-based time uuid) [4.1.0] + * Contributed fix fox #69: UUID version 7 implementation sorting incorrect? + [4.1.1] + +Dirk-Jan Rutten (excitement-engineer@github) + * Reported #69: UUID version 7 implementation sorting incorrect? + [4.1.1] diff --git a/release-notes/VERSION b/release-notes/VERSION index b43d3a7..4e1edef 100644 --- a/release-notes/VERSION +++ b/release-notes/VERSION @@ -4,11 +4,15 @@ Project: java-uuid-generator Releases ============================================================================ -Not yet released: + +4.1.1 (01-May-2023) #67: Ensure correct distinction between variant and version in documentation (requested by @mindloaf) (contributed by @mukham12) +#69: UUID version 7 implementation sorting incorrect? + (reported by Dirk-Jan R) + (fix contributed by Hal H) 4.1.0 (07-Jan-2023) diff --git a/src/main/java/com/fasterxml/uuid/Generators.java b/src/main/java/com/fasterxml/uuid/Generators.java index ddb8299..7b39399 100644 --- a/src/main/java/com/fasterxml/uuid/Generators.java +++ b/src/main/java/com/fasterxml/uuid/Generators.java @@ -120,7 +120,7 @@ public static NameBasedGenerator nameBasedGenerator(UUID namespace, MessageDiges /** * Factory method for constructing UUID generator that generates UUID using * version 7 (Unix Epoch time+random based). - */ + */ public static TimeBasedEpochGenerator timeBasedEpochGenerator() { return timeBasedEpochGenerator(null); @@ -128,8 +128,10 @@ public static TimeBasedEpochGenerator timeBasedEpochGenerator() /** * Factory method for constructing UUID generator that generates UUID using - * variant 7 (Unix Epoch time+random based). - */ + * version 7 (time+random based), using specified Ethernet address + * as the location part of UUID. + * No additional external synchronization is used. + */ public static TimeBasedEpochGenerator timeBasedEpochGenerator(Random random) { return new TimeBasedEpochGenerator(random); @@ -145,7 +147,7 @@ public static TimeBasedEpochGenerator timeBasedEpochGenerator(Random random) * instead access one of host's NIC addresses using * {@link EthernetAddress#fromInterface} which will use one of available * MAC (Ethernet) addresses available. - */ + */ public static TimeBasedGenerator timeBasedGenerator() { return timeBasedGenerator(null);