Skip to content

Commit a72aad4

Browse files
Sacha0ararslan
authored andcommitted
Add NEWS.md entry for zero-arg Channel constructor dep (#18832). (#21932)
1 parent 73b8dcb commit a72aad4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

NEWS.md

+5
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,10 @@ Deprecated or removed
573573
``` `export FOO=1\;` ``` should replace ``` `export FOO=1;` ``` and
574574
``` `cd $dir '&&' $thingie` ``` should replace ``` `cd $dir && $thingie` ``` ([#19786]).
575575
576+
* Zero-argument `Channel` constructors (`Channel()`, `Channel{T}()`) have been deprecated
577+
in favor of equivalents accepting an explicit `Channel` size
578+
(`Channel(2)`, `Channel{T}(2)`) ([#18832]).
579+
576580
* The zero-argument constructor `MersenneTwister()` has been
577581
deprecated in favor of the explicit `MersenneTwister(0)` ([#16984]).
578582
@@ -637,6 +641,7 @@ Command-line option changes
637641
[#18660]: https://github.com/JuliaLang/julia/issues/18660
638642
[#18690]: https://github.com/JuliaLang/julia/issues/18690
639643
[#18777]: https://github.com/JuliaLang/julia/issues/18777
644+
[#18832]: https://github.com/JuliaLang/julia/issues/18832
640645
[#18839]: https://github.com/JuliaLang/julia/issues/18839
641646
[#18891]: https://github.com/JuliaLang/julia/issues/18891
642647
[#18931]: https://github.com/JuliaLang/julia/issues/18931

0 commit comments

Comments
 (0)