Skip to content

Commit 379ae49

Browse files
Sacha0tkelman
authored andcommitted
Add NEWS.md entry for delete!(::EnvHash, ::AbstractString, def) dep (#18012). (#21881)
1 parent 85a4783 commit 379ae49

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
@@ -455,6 +455,10 @@ Deprecated or removed
455455
456456
* `num` and `den` have been deprecated in favor of `numerator` and `denominator` respectively ([#19233]).
457457
458+
* `delete!(ENV::EnvHash, k::AbstractString, def)` has been deprecated in favor of
459+
`pop!(ENV, k, def)`. Be aware that `pop!` returns `k` or `def`, whereas `delete!`
460+
returns `ENV` or `def` ([#18012]).
461+
458462
* infix operator `$` has been deprecated in favor of infix `⊻` or function `xor()` ([#18977]).
459463
460464
* The single-argument form of `write` (`write(x)`, with implicit `STDOUT` output stream),
@@ -576,6 +580,7 @@ Command-line option changes
576580
[#17723]: https://github.com/JuliaLang/julia/issues/17723
577581
[#17758]: https://github.com/JuliaLang/julia/issues/17758
578582
[#17785]: https://github.com/JuliaLang/julia/issues/17785
583+
[#18012]: https://github.com/JuliaLang/julia/issues/18012
579584
[#18050]: https://github.com/JuliaLang/julia/issues/18050
580585
[#18159]: https://github.com/JuliaLang/julia/issues/18159
581586
[#18251]: https://github.com/JuliaLang/julia/issues/18251

0 commit comments

Comments
 (0)