1.5 KiB
Notable new features
-
The
os
module has gained the following new commands:mkdir-all
,symlink
andrename
. -
A new
render-styledown
command. -
A new
str:repeat
command. -
A new
md
module, currently containing a single functionmd:show
for rendering Markdown in the terminal.
Notable bugfixes
- The string comparison commands
<s
,<=s
,==s
,>s
and>=s
(but not!=s
) now accept any number of arguments, as they are documented to do.
Deprecations
- The implicit cd feature is now deprecated. Use
cd
or location mode instead.
Breaking changes
-
Support for the legacy
~/.elvish
directory has been removed. -
The commands
!=
,!=s
andnot-eq
now only accepts two arguments (#1767). -
The commands
edit:kill-left-alnum-word
andedit:kill-right-alnum-word
have been renamed toedit:kill-alnum-word-left
andedit:kill-alnum-word-right
, to be consistent with the documentation and the names of other similar commands.If you need to write code that supports both names, use
has-key
to detect which name is available:fn kill-alnum-word-left { if (has-key edit: kill-alnum-word-left~) { edit:kill-alnum-word-left } else { edit:kill-left-alnum-word } }
-
Using
else
withoutcatch
in thetry
special command is no longer supported. The commandtry { a } else { b } finally { c }
is equivalent to justtry { a; b } finally { c }
.