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
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,26 @@ New language features
7
7
Language changes
8
8
----------------
9
9
10
+
* When a task forks a child, the parent task's task-local RNG (random number generator) is no longer affected. The seeding of child based on the parent task also takes a more disciplined approach to collision resistance, using a design based on the SplitMix and DotMix splittable RNG schemes ([#49110]).
11
+
* A new morespecific rule for methods resolves ambiguities containing Union{} in favor of
12
+
the method defined explicitly to handle the Union{} argument. This makes it possible to
13
+
define methods to explicitly handle Union{} without the ambiguities that commonly would
14
+
result previously. This also lets the runtime optimize certain method lookups in a way
15
+
that significantly improves load and inference times for heavily overloaded methods that
16
+
dispatch on Types (such as traits and constructors).
17
+
* The "h bar" `ℏ` (`\hslash` U+210F) character is now treated as equivalent to `ħ` (`\hbar` U+0127).
10
18
11
19
Compiler/Runtime improvements
12
20
-----------------------------
21
+
13
22
* The `@pure` macro is now deprecated. Use `Base.@assume_effects :foldable` instead ([#48682]).
23
+
* The mark phase of the Garbage Collector is now multi-threaded ([#48600]).
14
24
15
25
Command-line option changes
16
26
---------------------------
17
27
28
+
* New option `--gcthreads` to set how many threads will be used by the Garbage Collector ([#48600]).
29
+
The default is set to `N/2` where `N` is the amount of worker threads (`--threads`) used by Julia.
18
30
19
31
Multi-threading changes
20
32
-----------------------
@@ -27,6 +39,8 @@ Build system changes
27
39
New library functions
28
40
---------------------
29
41
*`tanpi` is now defined. It computes tan(πx) more accurately than `tan(pi*x)` ([#48575]).
42
+
*`fourthroot(x)` is now defined in `Base.Math` and can be used to compute the fourth root of `x`.
43
+
It can also be accessed using the unicode character `∜`, which can be typed by `\fourthroot<tab>` ([#48899]).
30
44
31
45
New library features
32
46
--------------------
@@ -40,6 +54,7 @@ Standard library changes
40
54
------------------------
41
55
42
56
*`startswith` now supports seekable `IO` streams ([#43055])
57
+
* printing integral `Rational`s will skip the denominator in `Rational`-typed IO context (e.g. in `Arrays`) ([#45396])
43
58
44
59
#### Package Manager
45
60
@@ -66,6 +81,8 @@ Standard library changes
66
81
`Factorization` ([#46874]).
67
82
* New functions `hermitianpart` and `hermitianpart!` for extracting the Hermitian
68
83
(real symmetric) part of a matrix ([#31836]).
84
+
* The `norm` of the adjoint or transpose of an `AbstractMatrix` now returns the norm of the
85
+
parent matrix by default, matching the current behaviour for `AbstractVector`s ([#49020]).
69
86
70
87
#### Printf
71
88
* Format specifiers now support dynamic width and precision, e.g. `%*s` and `%*.*g` ([#40105]).
@@ -90,6 +107,7 @@ Standard library changes
90
107
91
108
* The `@test_broken` macro (or `@test` with `broken=true`) now complains if the test expression returns a
92
109
non-boolean value in the same way as a non-broken test. ([#47804])
110
+
* When a call to `@test` fails or errors inside a function, a larger stacktrace is now printed such that the location of the test within a `@testset` can be retrieved ([#49451])
93
111
94
112
#### Dates
95
113
@@ -106,6 +124,7 @@ Standard library changes
106
124
#### InteractiveUtils
107
125
108
126
*`code_native` and `@code_native` now default to intel syntax instead of AT&T.
127
+
*`@time_imports` now shows the timing of any module `__init__()`s that are run ([#49529])
0 commit comments