Skip to content

Commit b221e65

Browse files
Sacha0tkelman
authored andcommitted
Add NEWS.md entry for dep of negate kwarg from Dates adjuster API (#20213). (#21855)
1 parent d6a15c6 commit b221e65

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

NEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,11 @@ Deprecated or removed
471471
* `produce`, `consume` and iteration over a Task object have been deprecated in favor of
472472
using Channels for inter-task communication ([#19841]).
473473
474+
* The `negate` keyword has been deprecated from all functions in the `Dates` adjuster
475+
API (`adjust`, `tonext`, `toprev`, `Date`, `Time`, and `DateTime`). Instead use
476+
predicate function negation via the `!` operator
477+
(see [Library Improvements](#library-improvements)) ([#20213]).
478+
474479
* `@test_approx_eq x y` has been deprecated in favor of `@test isapprox(x,y)` or `@test x ≈ y` ([#4615]).
475480
476481
* `Matrix()` and `Matrix{T}()` have been deprecated in favor of the explicit forms
@@ -632,6 +637,7 @@ Command-line option changes
632637
[#20047]: https://github.com/JuliaLang/julia/issues/20047
633638
[#20079]: https://github.com/JuliaLang/julia/issues/20079
634639
[#20164]: https://github.com/JuliaLang/julia/issues/20164
640+
[#20213]: https://github.com/JuliaLang/julia/issues/20213
635641
[#20228]: https://github.com/JuliaLang/julia/issues/20228
636642
[#20248]: https://github.com/JuliaLang/julia/issues/20248
637643
[#20249]: https://github.com/JuliaLang/julia/issues/20249

0 commit comments

Comments
 (0)