Skip to content

Commit d13f3e9

Browse files
Sacha0tkelman
authored andcommitted
Add NEWS.md entry for dep of ambiguous Dates convert and colon methods (#19920). (#21861)
(cherry picked from commit 5b33b2b)
1 parent 22aec09 commit d13f3e9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

NEWS.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,14 @@ Deprecated or removed
422422
423423
* `Dates.recur` has been deprecated in favor of `filter` ([#19288])
424424
425+
* A number of ambiguous `convert` operations between `Number`s (especially `Real`s)
426+
and `Date`, `DateTime`, and `Period` types have been deprecated in favor of
427+
unambiguous `convert` and explicit constructor calls. Additionally, ambiguous colon
428+
construction of `<:Period` ranges without step specification, for example
429+
`Dates.Hour(1):Dates.Hour(2)`, has been deprecated in favor of such construction
430+
including step specification, for example `Dates.Hour(1):Dates.Hour(1):Dates.Hour(2)`
431+
([#19920]).
432+
425433
* `cummin` and `cummax` have been deprecated in favor of `accumulate`.
426434
427435
* `sumabs` and `sumabs2` have been deprecated in favor of `sum(abs, x)` and `sum(abs2, x)`, respectively.
@@ -589,6 +597,7 @@ Command-line option changes
589597
[#19901]: https://github.com/JuliaLang/julia/issues/19901
590598
[#19903]: https://github.com/JuliaLang/julia/issues/19903
591599
[#19919]: https://github.com/JuliaLang/julia/issues/19919
600+
[#19920]: https://github.com/JuliaLang/julia/issues/19920
592601
[#19925]: https://github.com/JuliaLang/julia/issues/19925
593602
[#19926]: https://github.com/JuliaLang/julia/issues/19926
594603
[#19931]: https://github.com/JuliaLang/julia/issues/19931

0 commit comments

Comments
 (0)