summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorEric Cook <illua@users.sourceforge.net>2025-04-15 10:29:21 -0400
committerEric Cook <illua@users.sourceforge.net>2025-04-15 10:29:21 -0400
commit86cc28004d1360210c70a05ce7b6b6bcf486886f (patch)
treef3726fde679c9b5157b0467222dae04b17426fdc /NEWS
parente19cfe7caca143e66bd57acef43f3e64f7992d7b (diff)
downloadzsh-86cc28004d1360210c70a05ce7b6b6bcf486886f.tar.gz
zsh-86cc28004d1360210c70a05ce7b6b6bcf486886f.zip
53485: NEWS: update for version 5.10
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS37
1 files changed, 28 insertions, 9 deletions
diff --git a/NEWS b/NEWS
index e039a652b..5bb9682db 100644
--- a/NEWS
+++ b/NEWS
@@ -7,12 +7,28 @@ Note also the list of incompatibilities in the README file.
Changes since 5.9
-----------------
+Support for named references and namespaces has been added, similar to
+those features in ksh but with some notable differences. The `nameref`
+builtin and some ksh-equivalent namespace names are available by loading
+the zsh/ksh93 module. See the documentation of that module for more.
+
+The parameter expansion flag ! was added for the referred-to name of a
+named reference.
+
+The parameter ZSH_EXEPATH expands to the full path of the current zsh
+process, reliably on Linux, Mac, {Net,Free,Dragonfly}BSD and falls
+back to argv[0] elsewhere.
+
+The default keymap is now emacs. Users of the vi keymaps please check
+README to see if you are affected.
+
In region_highlight and zle_highlight, italic and faint can be
specified as font attributes for terminals that support them.
-Highlighting groups can be referenced in region_highlight and
-zle_highlight for common attribute combinations and a layer can be
-specified to indicate precedence where highlighted regions overlap.
+Highlighting groups can be referenced in region_highlight,
+zle_highlight, WATCHFMT and completion explanation strings for
+common attribute combinations and a layer can be specified to
+indicate precedence where highlighted regions overlap.
Highlighting groups are also supported in the prompt via a new %H
prompt escape.
@@ -24,13 +40,8 @@ consistent and better aligned with the POSIX-2017 specification of
`set -e`. For details on what exactly changed, see the list of
incompatibilities in the README file.
-Support for named references and namespaces has been added, similar to
-those features in ksh but with some notable differences. The `nameref`
-builtin and some ksh-equivalent namespace names are available by loading
-the zsh/ksh93 module. See the documentation of that module for more.
-
Non-forking command substitutions with ${ ... } and ${| ... } are now
-available, and the latter extended with ${|param| ... } to return the
+available, and the latter extended with ${{param} ... } to return the
result via assignment to the named param rather than always via $REPLY.
The shell now uses monotonic time instead of wall time for most
@@ -45,6 +56,14 @@ be used to specify the array of arguments to parse instead of $@.
The zparseopts builtin also learnt a -G option which enables GNU-style
argument parsing ('--opt=arg', etc.).
+The module zsh/pcre has been updated to use the pcre2 library.
+
+The new zsh/random module defines an SRANDOM parameter, zrand_float()
+and zrand_int() math functions.
+
+The shell keyword time now works on builtins, assignments, and
+current-shell actions.
+
Changes since 5.8.1
-------------------