(; a, b) = xcan now be used to destructure propertiesaandbofx. This syntax is equivalent toa = getproperty(x, :a)and similarly forb. ([#39285])
- If the
JULIA_NUM_THREADSenvironment 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 correspondingminversions ([#27613]). isunordered(x)returns true ifxis value that is normally unordered, such asNaNormissing.- 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])
- The optional keyword argument
contextofsprintcan now be set to a tuple of:key => valuepairs to specify multiple attributes. ([#39381])
countandfindallnow accept anAbstractCharargument to search for a character in a string ([#38675]).rangenow supports therange(start, stop)andrange(start, stop, length)methods ([#39228]).rangenow supportsstartas an optional keyword argument ([#38041]).islowercaseandisuppercaseare now compliant with the Unicode lower/uppercase categories ([#38574]).isevenandisoddfunctions now support non-Integernumeric types ([#38976]).escape_stringcan now receive a collection of characters in the keywordkeepthat are to be kept as they are. ([#38597]).getindexcan now be used onNamedTuples with multiple values ([#38878])keys(::RegexMatch)is now defined to return the capture's keys, by name if named, or by index if not ([#37299]).keys(::Generator)is now defined to return the iterator's keys ([#34678])RegexMatchnow iterate to give their captures. ([#34355]).
- Use Libblastrampoline to pick a BLAS and LAPACK at runtime. By default it forwards to OpenBLAS in the Julia distribution. The forwarding mechanism can be used by packages to replace the BLAS and LAPACK with user preferences. ([#39455])
- On aarch64, OpenBLAS now uses an ILP64 BLAS like all other 64-bit platforms. ([#39436])
- OpenBLAS is updated to 0.3.13. ([#39216])
- SuiteSparse is updated to 5.8.1. ([#39455])
- The
Dates.periodsfunction can be used to get theVectorofPeriods that comprise aCompoundPeriod([#39169]).
- Multiple successive semicolons in an array expresion were previously ignored (e.g.
[1 ;; 2] == [1 ; 2]). Multiple semicolons are being reserved for future syntax and may have different behavior in a future release.