From 3c81a1820c3ac998773cedb96907a7343013f43a Mon Sep 17 00:00:00 2001 From: Sacha Verweij Date: Sun, 14 May 2017 09:53:29 -0700 Subject: [PATCH] Add NEWS.md entry for dep of character predicate methods over strings (#20342). (#21850) --- NEWS.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NEWS.md b/NEWS.md index ca430d2f1fc36..fe465173d7988 100644 --- a/NEWS.md +++ b/NEWS.md @@ -478,6 +478,12 @@ Deprecated or removed * Vectorized functions have been deprecated in favor of dot syntax ([#17302], [#17265], [#18558], [#19711], [#19712], [#19791], [#19802], [#19931], [#20543], [#20228]). + * All methods of character predicates (`isalnum`, `isalpha`, `iscntrl`, `isdigit`, + `isnumber`, `isgraph`, `islower`, `isprint`, `ispunct`, `isspace`, `isupper`, + `isxdigit`) that accept `AbstractStrings` have been deprecated in favor of `all`. + For example, `isnumber("123")` should now be expressed `all(isnumber, "123")` + ([#20342]). + * The two-argument forms of `map` (`map!(f, A)`) and `asyncmap!` (`asyncmap!(f, A)`) have been deprecated in anticipation of future semantic changes ([#19721]). @@ -633,6 +639,7 @@ Command-line option changes [#20327]: https://github.com/JuliaLang/julia/issues/20327 [#20328]: https://github.com/JuliaLang/julia/issues/20328 [#20330]: https://github.com/JuliaLang/julia/issues/20330 +[#20342]: https://github.com/JuliaLang/julia/issues/20342 [#20345]: https://github.com/JuliaLang/julia/issues/20345 [#20403]: https://github.com/JuliaLang/julia/issues/20403 [#20404]: https://github.com/JuliaLang/julia/issues/20404