Skip to content

Commit 8ce7d0f

Browse files
[NEWS.md] Add PR numbers and remove some 1.11 changes that accidentally came back. (#56722)
1 parent ea42112 commit 8ce7d0f

File tree

1 file changed

+6
-23
lines changed

1 file changed

+6
-23
lines changed

NEWS.md

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ Command-line option changes
5555
---------------------------
5656

5757
* The `-m/--module` flag can be passed to run the `main` function inside a package with a set of arguments.
58-
This `main` function should be declared using `@main` to indicate that it is an entry point.
58+
This `main` function should be declared using `@main` to indicate that it is an entry point. ([#52103])
5959
* Enabling or disabling color text in Julia can now be controlled with the
6060
[`NO_COLOR`](https://no-color.org/) or [`FORCE_COLOR`](https://force-color.org/) environment
6161
variables. These variables are also honored by Julia's build system ([#53742], [#56346]).
62-
* `--project=@temp` starts Julia with a temporary environment.
62+
* `--project=@temp` starts Julia with a temporary environment. ([#51149])
6363
* New `--trace-compile-timing` option to report how long each method reported by `--trace-compile` took
6464
to compile, in ms. ([#54662])
6565
* `--trace-compile` now prints recompiled methods in yellow or with a trailing comment if color is not supported ([#55763])
@@ -72,7 +72,7 @@ Multi-threading changes
7272
a `OncePerProcess{T}` type, which allows defining a function that should be run exactly once
7373
the first time it is called, and then always return the same result value of type `T`
7474
every subsequent time afterwards. There are also `OncePerThread{T}` and `OncePerTask{T}` types for
75-
similar usage with threads or tasks. ([#TBD])
75+
similar usage with threads or tasks. ([#55793])
7676

7777
Build system changes
7878
--------------------
@@ -86,32 +86,15 @@ New library functions
8686
* The new `isfull(c::Channel)` function can be used to check if `put!(c, some_value)` will block. ([#53159])
8787
* `waitany(tasks; throw=false)` and `waitall(tasks; failfast=false, throw=false)` which wait multiple tasks at once ([#53341]).
8888
* `uuid7()` creates an RFC 9652 compliant UUID with version 7 ([#54834]).
89-
* `insertdims(array; dims)` allows to insert singleton dimensions into an array which is the inverse operation to `dropdims`
89+
* `insertdims(array; dims)` allows to insert singleton dimensions into an array which is the inverse operation to `dropdims`. ([#45793])
9090
* The new `Fix` type is a generalization of `Fix1/Fix2` for fixing a single argument ([#54653]).
9191

9292
New library features
9393
--------------------
9494

95-
* `invmod(n, T)` where `T` is a native integer type now computes the modular inverse of `n` in the modular integer ring that `T` defines ([#52180]).
96-
* `invmod(n)` is an abbreviation for `invmod(n, typeof(n))` for native integer types ([#52180]).
97-
* `replace(string, pattern...)` now supports an optional `IO` argument to
98-
write the output to a stream rather than returning a string ([#48625]).
99-
* `sizehint!(s, n)` now supports an optional `shrink` argument to disable shrinking ([#51929]).
100-
* New function `Docs.hasdoc(module, symbol)` tells whether a name has a docstring ([#52139]).
101-
* New function `Docs.undocumented_names(module)` returns a module's undocumented public names ([#52413]).
102-
* Passing an `IOBuffer` as a stdout argument for `Process` spawn now works as
103-
expected, synchronized with `wait` or `success`, so a `Base.BufferStream` is
104-
no longer required there for correctness to avoid data races ([#52461]).
105-
* After a process exits, `closewrite` will no longer be automatically called on
106-
the stream passed to it. Call `wait` on the process instead to ensure the
107-
content is fully written, then call `closewrite` manually to avoid
108-
data-races. Or use the callback form of `open` to have all that handled
109-
automatically.
110-
* `@timed` now additionally returns the elapsed compilation and recompilation time ([#52889])
11195
* `escape_string` takes additional keyword arguments `ascii=true` (to escape all
11296
non-ASCII characters) and `fullhex=true` (to require full 4/8-digit hex numbers
113-
for u/U escapes, e.g. for C compatibility) [#55099]).
114-
* `filter` can now act on a `NamedTuple` ([#50795]).
97+
for u/U escapes, e.g. for C compatibility) ([#55099]).
11598
* `tempname` can now take a suffix string to allow the file name to include a suffix and include that suffix in
11699
the uniquing checking ([#53474])
117100
* `RegexMatch` objects can now be used to construct `NamedTuple`s and `Dict`s ([#50988])
@@ -133,7 +116,7 @@ Standard library changes
133116

134117
* A new standard library for applying syntax highlighting to Julia code, this
135118
uses `JuliaSyntax` and `StyledStrings` to implement a `highlight` function
136-
that creates an `AnnotatedString` with syntax highlighting applied.
119+
that creates an `AnnotatedString` with syntax highlighting applied. ([#51810])
137120

138121
#### Package Manager
139122

0 commit comments

Comments
 (0)