diff --git a/README.md b/README.md index fba8cd7..69d7355 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ JUG is a set of Java classes for working with UUIDs: generating UUIDs using any of standard methods, outputting efficiently, sorting and so on. -It generates UUIDs according to the [UUID specification (RFC-4122)](https://tools.ietf.org/html/rfc4122) +It generates UUIDs according to the [UUID specification (RFC-9562)](https://tools.ietf.org/html/rfc9562) (see [Wikipedia UUID page](http://en.wikipedia.org/wiki/UUID) for more explanation) JUG was written by Tatu Saloranta () originally in 2002 and has been updated over the years. @@ -12,13 +12,13 @@ JUG is licensed under [Apache License 2.0](http://www.apache.org/licenses/LICENS ## Supported UUID versions (1, 3, 4, 5, 6, 7) -JUG supports both "classic" versions defined in RFC 4122]: +JUG supports both "classic" versions defined in [RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122): * `1`: time/location - based * `3` and `5`: name hash - based * `4`: random number - based -and newly (in 2022-2024) proposed (see [uuid6](https://uuid6.github.io/uuid6-ietf-draft/) and [RFC-4122 bis](https://datatracker.ietf.org/doc/draft-ietf-uuidrev-rfc4122bis/)) variants: +and newly (in 2022-) proposed (see [uuid6](https://uuid6.github.io/uuid6-ietf-draft/) and [RFC-9562](https://datatracker.ietf.org/doc/html/rfc9562) variants: * `6`: reordered variant of version `1` (with lexicographic ordering) * `7`: Unix-timestamp + random based variant (also with lexicographic ordering) diff --git a/release-notes/VERSION b/release-notes/VERSION index 6e24d51..63e0c96 100644 --- a/release-notes/VERSION +++ b/release-notes/VERSION @@ -4,6 +4,11 @@ Project: java-uuid-generator Releases ============================================================================ +(not yet released) + +#122: RFC-4122 Obsoleted by RFC-9562 (document change) + (pointed out by @akefirad) + 5.1.0 (02-Jun-2024) #99: New factory method to create TimeBasedEpochRandomGenerator diff --git a/src/main/java/com/fasterxml/uuid/UUIDType.java b/src/main/java/com/fasterxml/uuid/UUIDType.java index ee33b2f..1794b86 100644 --- a/src/main/java/com/fasterxml/uuid/UUIDType.java +++ b/src/main/java/com/fasterxml/uuid/UUIDType.java @@ -2,7 +2,7 @@ /** * Enumeration of different flavors of UUIDs: 5 specified by specs - * (RFC-4122) + * (RFC-9562) * and one * virtual entry ("UNKNOWN") to represent invalid one that consists of * all zero bites diff --git a/src/main/java/com/fasterxml/uuid/impl/UUIDUtil.java b/src/main/java/com/fasterxml/uuid/impl/UUIDUtil.java index b2d5291..e66041f 100644 --- a/src/main/java/com/fasterxml/uuid/impl/UUIDUtil.java +++ b/src/main/java/com/fasterxml/uuid/impl/UUIDUtil.java @@ -46,7 +46,7 @@ public UUIDUtil() { } /** * Accessor for so-call "Nil UUID" (see - * RFC 4122/4.1.7; + * RFC 9562, #5.9; * one that is all zeroes. * * @since 4.1 @@ -59,7 +59,7 @@ public static UUID nilUUID() { /** * Accessor for so-call "Max UUID" (see - * UUID 6 draft; + * RFC-9562, #5.10); * one that is all one bits * * @since 4.1 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy