mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-13 09:57:51 +08:00
e2f08af91b
Also support ..= for closed-range slices, a la Rust. The old syntax is still supported, but deprecated. This fixes #669.
689 B
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. Usestr:from-codepoints
instead. -
The
ord
command is now deprecated. Usestr: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.