elvish/NEXT-RELEASE.md
Qi Xiao e2f08af91b Change slice syntax to use .. instead of :.
Also support ..= for closed-range slices, a la Rust.

The old syntax is still supported, but deprecated.

This fixes #669.
2020-08-15 22:52:50 +01:00

689 B

This is the draft release notes for 0.15.0, scheduled to be released on 2021-01-01.

Deprecated features

The following deprecated features trigger a warning whenever the code is parsed or compiled, even if it is not executed:

  • The chr command is now deprecated. Use str:from-codepoints instead.

  • The ord command is now deprecated. Use str:to-codepoints instead.

The following deprecated features trigger a warning when the code is evaluated:

  • Using : in slice indicies is deprecated. Use .. instead.

Notable new features

New features in the language:

  • Slice indicies can now use .. for left-closed, right-open ranges, and ..= for closed ranges.