From d6d916b35dca46e97f042acdba381788287a8b60 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Fri, 30 Nov 2018 18:45:20 +0100 Subject: [PATCH] News and compat annotation for #28761 (uuid5). --- NEWS.md | 1 + stdlib/UUIDs/src/UUIDs.jl | 3 +++ 2 files changed, 4 insertions(+) diff --git a/NEWS.md b/NEWS.md index 80a16426dcca9..4c6b00b62725d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -35,6 +35,7 @@ New library functions * `isnothing(::Any)` function, to check whether something is a `Nothing`, returns a `Bool` ([#29679]). * `getpid(::Process)` method ([#24064]). * `fieldtypes(T::Type)` which return the declared types of the field in type T ([#29600]). + * `uuid5` have been added to the `UUIDs` standard library ([#28761]). Standard library changes ------------------------ diff --git a/stdlib/UUIDs/src/UUIDs.jl b/stdlib/UUIDs/src/UUIDs.jl index 6a5e0adb79102..bd8abe032c505 100644 --- a/stdlib/UUIDs/src/UUIDs.jl +++ b/stdlib/UUIDs/src/UUIDs.jl @@ -96,6 +96,9 @@ end Generates a version 5 (namespace and domain-based) universally unique identifier (UUID), as specified by RFC 4122. +!!! compat "Julia 1.1" + This function requires at least Julia 1.1. + # Examples ```jldoctest julia> rng = MersenneTwister(1234);