From 21d0cbe3ae21d7b3dac4c070ff5a8aaba0fae393 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) (cherry picked from commit 3c81a1820c3ac998773cedb96907a7343013f43a) --- NEWS.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NEWS.md b/NEWS.md index 73a2106eb8a60..31d8159a7455b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -441,6 +441,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]). @@ -596,6 +602,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