@@ -451,6 +451,11 @@ Library improvements
451451 `map(uppercase ∘ hex, 250:255)` is now equivalent to
452452 `map(x -> uppercase(hex(x)), 250:255)` ([#17155]).
453453
454+ * `enumerate` now supports the two-argument form `enumerate(::IndexStyle, iterable)`.
455+ This form allows specification of the returned indices' style. For example,
456+ `enumerate(IndexLinear, iterable)` yields linear indices and
457+ `enumerate(IndexCartesian, iterable)` yields cartesian indices ([#16378]).
458+
454459Compiler/Runtime improvements
455460-----------------------------
456461
@@ -548,6 +553,11 @@ Deprecated or removed
548553 For example, `isnumber("123")` should now be expressed `all(isnumber, "123")`
549554 ([#20342]).
550555
556+ * A few names related to indexing traits have been changed: `LinearIndexing` and
557+ `linearindexing` have been deprecated in favor of `IndexStyle`. `LinearFast` has
558+ been deprecated in favor of `IndexLinear`, and `LinearSlow` has been deprecated in
559+ favor of `IndexCartesian` ([#16378]).
560+
551561 * The two-argument forms of `map` (`map!(f, A)`) and `asyncmap!` (`asyncmap!(f, A)`)
552562 have been deprecated in anticipation of future semantic changes ([#19721]).
553563
@@ -637,6 +647,7 @@ Command-line option changes
637647[#12563]: https://github.com/JuliaLang/julia/issues/12563
638648[#15850]: https://github.com/JuliaLang/julia/issues/15850
639649[#16213]: https://github.com/JuliaLang/julia/issues/16213
650+ [#16378]: https://github.com/JuliaLang/julia/issues/16378
640651[#16937]: https://github.com/JuliaLang/julia/issues/16937
641652[#16961]: https://github.com/JuliaLang/julia/issues/16961
642653[#16984]: https://github.com/JuliaLang/julia/issues/16984
0 commit comments