- If the
JULIA_NUM_THREADS
environment variable is set toauto
, then the number of threads will be set to the number of CPU threads ([#38952])
- Two argument methods
findmax(f, domain)
,argmax(f, domain)
and the correspondingmin
versions ([#27613]). isunordered(x)
returns true ifx
is value that is normally unordered, such asNaN
ormissing
.- New macro
Base.@invokelatest f(args...; kwargs...)
provides a convenient way to callBase.invokelatest(f, args...; kwargs...)
([#37971]) - New macro
Base.@invoke f(arg1::T1, arg2::T2; kwargs...)
provides an easier syntax to callinvoke(f, Tuple{T1,T2}; kwargs...)
([#38438])
count
andfindall
now accept anAbstractChar
argument to search for a character in a string ([#38675]).range
now supportsstart
as an optional keyword argument ([#38041]).islowercase
andisuppercase
are now compliant with the Unicode lower/uppercase categories ([#38574]).iseven
andisodd
functions now support non-Integer
numeric types ([#38976]).escape_string
can now receive a collection of characters in the keywordkeep
that are to be kept as they are. ([#38597]).getindex
can now be used onNamedTuple
s with multiple values ([#38878])
- The
Dates.periods
function can be used to get theVector
ofPeriod
s that comprise aCompoundPeriod
([#39169]).