You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,9 @@ New language features
13
13
* The library name passed to `ccall` or `@ccall` can now be an expression involving
14
14
global variables and function calls. The expression will be evaluated the first
15
15
time the `ccall` executes ([#36458]).
16
+
*`ꜛ` (U+A71B), `ꜜ` (U+A71C) and `ꜝ` (U+A71D) can now also be used as operator
17
+
suffixes. They can be tab-completed from `\^uparrow`, `\^downarrow` and `\^!` in the REPL
18
+
([#37542]).
16
19
* The syntax `import A as B` (plus `import A: x as y`, etc.) can now be used to
17
20
rename imported modules and identifiers ([#1255]).
18
21
@@ -60,8 +63,9 @@ Build system changes
60
63
61
64
Library functions
62
65
-----------------
63
-
* The `Base.Grisu` code has been officially removed (float printing was switched to the ryu algorithm code in 1.4)
64
66
67
+
* The `Base.download` function has been deprecated (silently, by default) in favor of the new `Downloads.download` standard library function ([#37340]).
68
+
* The `Base.Grisu` code has been officially removed (float printing was switched to the ryu algorithm code in 1.4)
65
69
66
70
New library functions
67
71
---------------------
@@ -73,14 +77,17 @@ New library functions
73
77
for writing `(f(args...) for args in zip(iterators...))`, i.e. a lazy `map` ([#34352]).
74
78
* New function `sincospi` for simultaneously computing `sinpi(x)` and `cospi(x)` more
75
79
efficiently ([#35816]).
80
+
* New function `addenv` for adding environment mappings into a `Cmd` object, returning the new `Cmd` object.
76
81
77
82
New library features
78
83
--------------------
79
84
80
85
* The `redirect_*` functions can now be called on `IOContext` objects.
86
+
* New constructor `NamedTuple(iterator)` that constructs a named tuple from a key-value pair iterator.
81
87
82
88
Standard library changes
83
89
------------------------
90
+
84
91
* The `nextprod` function now accepts tuples and other array types for its first argument ([#35791]).
85
92
* The `reverse(A; dims)` function for multidimensional `A` can now reverse multiple dimensions at once
86
93
by passing a tuple for `dims`, and defaults to reversing all dimensions; there is also a multidimensional
@@ -99,8 +106,16 @@ Standard library changes
99
106
*`RegexMatch` objects can now be probed for whether a named capture group exists within it through `haskey()` ([#36717]).
100
107
* For consistency `haskey(r::RegexMatch, i::Integer)` has also been added and returns if the capture group for `i` exists ([#37300]).
101
108
* A new standard library `TOML` has been added for parsing and printing [TOML files](https://toml.io) ([#37034]).
109
+
* A new standard library `Downloads` has been added, which replaces the old `Base.download` function with `Downloads.download`, providing cross-platform, multi-protocol, in-process download functionality implemented with [libcurl](https://curl.haxx.se/libcurl/) ([#37340]).
110
+
* The `Pkg.BinaryPlatforms` module has been moved into `Base` as `Base.BinaryPlatforms` and heavily reworked.
111
+
Applications that want to be compatible with the old API should continue to import `Pkg.BinaryPlatforms`,
112
+
however new users should use `Base.BinaryPlatforms` directly. ([#37320])
113
+
* The `Pkg.Artifacts` module has been imported as a separate standard library. It is still available as
114
+
`Pkg.Artifacts`, however starting from Julia v1.6+, packages may import simply `Artifacts` without importing
115
+
all of `Pkg` alongside. ([#37320])
102
116
103
117
#### LinearAlgebra
118
+
104
119
* New method `LinearAlgebra.issuccess(::CholeskyPivoted)` for checking whether pivoted Cholesky factorization was successful ([#36002]).
105
120
*`UniformScaling` can now be indexed into using ranges to return dense matrices and vectors ([#24359]).
106
121
* New function `LinearAlgebra.BLAS.get_num_threads()` for getting the number of BLAS threads. ([#36360])
@@ -151,6 +166,8 @@ Standard library changes
151
166
152
167
#### Dates
153
168
*`Quarter` period is defined ([#35519]).
169
+
* Zero-valued `FixedPeriod`s and `OtherPeriod`s now compare equal, e.g.,
170
+
`Year(0) == Day(0)`. The behavior of non-zero `Period`s is not changed. ([#37486])
0 commit comments