Skip to content

Commit

Permalink
News and compat annotation for #28761 (uuid5).
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Dec 4, 2018
1 parent c91b6da commit 1262da5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` has been added to the `UUIDs` standard library ([#28761]).

Standard library changes
------------------------
Expand Down
3 changes: 3 additions & 0 deletions stdlib/UUIDs/src/UUIDs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1262da5

Please sign in to comment.