Skip to content

Commit b640341

Browse files
committed
Update release notes, prepare for 4.1.1 release
1 parent b32e3e7 commit b640341

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

release-notes/CREDITS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,9 @@ Hal Hildebrand (Hellblazer@github)
120120
[4.1.0]
121121
* Contributed #46: Add support for Proposed type v7 (epoch-based time uuid)
122122
[4.1.0]
123+
* Contributed fix fox #69: UUID version 7 implementation sorting incorrect?
124+
[4.1.1]
125+
126+
Dirk-Jan Rutten (excitement-engineer@github)
127+
* Reported #69: UUID version 7 implementation sorting incorrect?
128+
[4.1.1]

release-notes/VERSION

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@ Project: java-uuid-generator
44
Releases
55
============================================================================
66

7-
Not yet released:
7+
8+
4.1.1 (01-May-2023)
89

910
#67: Ensure correct distinction between variant and version in documentation
1011
(requested by @mindloaf)
1112
(contributed by @mukham12)
13+
#69: UUID version 7 implementation sorting incorrect?
14+
(reported by Dirk-Jan R)
15+
(fix contributed by Hal H)
1216

1317
4.1.0 (07-Jan-2023)
1418

src/main/java/com/fasterxml/uuid/Generators.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,18 @@ public static NameBasedGenerator nameBasedGenerator(UUID namespace, MessageDiges
120120
/**
121121
* Factory method for constructing UUID generator that generates UUID using
122122
* version 7 (Unix Epoch time+random based).
123-
*/
123+
*/
124124
public static TimeBasedEpochGenerator timeBasedEpochGenerator()
125125
{
126126
return timeBasedEpochGenerator(null);
127127
}
128128

129129
/**
130130
* Factory method for constructing UUID generator that generates UUID using
131-
* variant 7 (Unix Epoch time+random based).
132-
*/
131+
* version 7 (time+random based), using specified Ethernet address
132+
* as the location part of UUID.
133+
* No additional external synchronization is used.
134+
*/
133135
public static TimeBasedEpochGenerator timeBasedEpochGenerator(Random random)
134136
{
135137
return new TimeBasedEpochGenerator(random);
@@ -145,7 +147,7 @@ public static TimeBasedEpochGenerator timeBasedEpochGenerator(Random random)
145147
* instead access one of host's NIC addresses using
146148
* {@link EthernetAddress#fromInterface} which will use one of available
147149
* MAC (Ethernet) addresses available.
148-
*/
150+
*/
149151
public static TimeBasedGenerator timeBasedGenerator()
150152
{
151153
return timeBasedGenerator(null);

0 commit comments

Comments
 (0)