Skip to content

Commit d19cd5e

Browse files
Sacha0tkelman
authored andcommitted
Add NEWS.md entry for delete!(::EnvHash, ::AbstractString, def) dep (#18012). (#21881)
(cherry picked from commit 379ae49)
1 parent 3b4a1a3 commit d19cd5e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

NEWS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,10 @@ Deprecated or removed
418418
419419
* `num` and `den` have been deprecated in favor of `numerator` and `denominator` respectively ([#19233]).
420420
421+
* `delete!(ENV::EnvHash, k::AbstractString, def)` has been deprecated in favor of
422+
`pop!(ENV, k, def)`. Be aware that `pop!` returns `k` or `def`, whereas `delete!`
423+
returns `ENV` or `def` ([#18012]).
424+
421425
* infix operator `$` has been deprecated in favor of infix `⊻` or function `xor()` ([#18977]).
422426
423427
* The single-argument form of `write` (`write(x)`, with implicit `STDOUT` output stream),
@@ -539,6 +543,7 @@ Command-line option changes
539543
[#17723]: https://github.com/JuliaLang/julia/issues/17723
540544
[#17758]: https://github.com/JuliaLang/julia/issues/17758
541545
[#17785]: https://github.com/JuliaLang/julia/issues/17785
546+
[#18012]: https://github.com/JuliaLang/julia/issues/18012
542547
[#18050]: https://github.com/JuliaLang/julia/issues/18050
543548
[#18159]: https://github.com/JuliaLang/julia/issues/18159
544549
[#18251]: https://github.com/JuliaLang/julia/issues/18251

0 commit comments

Comments
 (0)