-
Structs with all isbits and isbitsunion fields are now stored inline in arrays ([#32448]).
-
import
now allows quoted symbols, e.g.import Base.:+
([#33158]).
-
Calling
show
orrepr
on anundef
/UndefInitializer()
array initializer now shows valid Julia code ([#33211]). -
Calling
show
orrepr
on a 0-dimensionalAbstractArray
now shows valid code for creating an equivalent 0-dimensional array, instead of only showing the contained value. ([#33206])
- Windows build installer has switched to Inno Setup. Installer command line parameters have thus changed. For example, to extract the installer to a specific directory, the command line parameter is now
/DIR=x:\dirname
. Usejulia-installer.exe /?
to list all new command line parameters.
- The
splitpath
function now accepts anyAbstractString
whereas previously it only accepted paths of typeString
([#33012]). - The
tempname
function now takes an optionalparent::AbstractString
argument to give it a directory in which to attempt to produce a temporary path name ([#33090]). - The
tempname
function now takes acleanup::Bool
keyword argument defaulting totrue
, which causes the process to try to ensure that any file or directory at the path returned bytempname
is deleted upon process exit ([#33090]). - The
readdir
function now takes ajoin::Bool
keyword argument defaulting tofalse
, which when set causesreaddir
to join its directory argument with each listed name ([#33113]). - The new
only(x)
function returns the one-and-only element of a collectionx
, and throws anArgumentError
ifx
contains zero or multiple elements. ([#33129])
-
The methods of
mktemp
andmktempdir
which take a function body to pass temporary paths to no longer throw errors if the path is already deleted when the function body returns ([#33091]). -
div
now accepts a rounding mode as the third argument, consistent with the corresponding argument torem
. Support for rounding division, by passing one of the RoundNearest modes to this function, was added. For future compatibility, library authors should now extend this function, rather than extending the two-argumentfld
/cld
/div
directly. ([#33040]) -
Verbose
display
ofChar
(text/plain
output) now shows the codepoint value in standard-conforming"U+XXXX"
format ([#33291]).
-
qr
andqr!
functions supportblocksize
keyword argument ([#33053]). -
dot
now admits a 3-argument methoddot(x, A, y)
to compute generalized dot productsdot(x, A*y)
, but without computing and storing the intermediate resultA*y
([#32739]). -
ldlt
and non-pivotedlu
now throw a newZeroPivotException
type ([#33372]).
-
AbstractRNG
s now behave like scalars when used in broadcasting ([#33213]). -
Products involving sparse arrays now allow more general sparse
eltype
s, such asStaticArrays
([#33205]) -
The performance of
rand(::Tuple)
is improved in some cases ([#32208]). As a consequence, the stream of generated values produced for a given seed has changed.