From 9ada3fc0551e1aadd99f82a8302e8957f7be1c71 Mon Sep 17 00:00:00 2001 From: Sacha Verweij Date: Sat, 13 May 2017 14:54:52 -0700 Subject: [PATCH] Add NEWS.md entry for dep of ambiguous Dates convert and colon methods (#19920). --- NEWS.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/NEWS.md b/NEWS.md index ada6ec21f38b0..db61de71d5d86 100644 --- a/NEWS.md +++ b/NEWS.md @@ -437,6 +437,14 @@ Deprecated or removed * `Dates.recur` has been deprecated in favor of `filter` ([#19288]) + * A number of ambiguous `convert` operations between `Number`s (especially `Real`s) + and `Date`, `DateTime`, and `Period` types have been deprecated in favor of + unambiguous `convert` and explicit constructor calls. Additionally, ambiguous colon + construction of `<:Period` ranges without step specification, for example + `Dates.Hour(1):Dates.Hour(2)`, has been deprecated in favor of such construction + including step specification, for example `Dates.Hour(1):Dates.Hour(1):Dates.Hour(2)` + ([#19920]). + * `cummin` and `cummax` have been deprecated in favor of `accumulate`. * `sumabs` and `sumabs2` have been deprecated in favor of `sum(abs, x)` and `sum(abs2, x)`, respectively. @@ -572,6 +580,7 @@ Deprecated or removed [#19901]: https://github.com/JuliaLang/julia/issues/19901 [#19903]: https://github.com/JuliaLang/julia/issues/19903 [#19919]: https://github.com/JuliaLang/julia/issues/19919 +[#19920]: https://github.com/JuliaLang/julia/issues/19920 [#19926]: https://github.com/JuliaLang/julia/issues/19926 [#19931]: https://github.com/JuliaLang/julia/issues/19931 [#19934]: https://github.com/JuliaLang/julia/issues/19934