Skip to content

Commit

Permalink
Update release notes, prepare for 4.1.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed May 1, 2023
1 parent b32e3e7 commit b640341
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
6 changes: 6 additions & 0 deletions release-notes/CREDITS
Original file line number Diff line number Diff line change
Expand Up @@ -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]
6 changes: 5 additions & 1 deletion release-notes/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
10 changes: 6 additions & 4 deletions src/main/java/com/fasterxml/uuid/Generators.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,18 @@ 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);
}

/**
* 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);
Expand All @@ -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);
Expand Down

0 comments on commit b640341

Please sign in to comment.