title | author | author_site | author_image | excerpt |
---|---|---|---|---|
Nushell 0.61 |
The Nu Authors |
Today, we're releasing version 0.61 of Nu. This release includes UI improvements, many bugfixes, improved glob support, and more. |
Nushell, or Nu for short, is a new shell that takes a modern, structured approach to your commandline. It works seamlessly with the data from your filesystem, operating system, and a growing number of file formats to make it easy to build powerful commandline pipelines.
Today, we're releasing version 0.61 of Nu. This release includes UI improvements, many bugfixes, improved glob support, and more.
Nu 0.61 is available as pre-built binaries or from crates.io. If you have Rust installed you can install it using cargo install nu
.
If you want all the built-in goodies, you can install cargo install nu --all-features
.
As part of this release, we also publish a set of optional plugins you can install and use with Nu. To install, use cargo install nu_plugin_<plugin name>
.
In 0.61, you can now use <ctrl+q>
to ask a question/query in Nushell. Currently, this will search through the commands and show you commands that mention the word you type.
Tab lets you move between the available commands.
You can use up/down to pick the example you'd like to use. Pressing enter will select the example and insert it into the input for you.
Completions now show you a description of the command you're completing, if it's available.
Just as we added 'config.nu' with 0.60, we're now adding a new additional startup file called 'env.nu'. The job of this file is to set up the environment that you'll run Nushell in. As a result, you're able to set up important environment variables like $env.NU_LIB_DIRS
before 'config.nu' begins to run, let you take full advantage of the new library directories you've configured.
input
can now suppress output (dev-msp)- Termux/Android target support for new engine (dscottboggs)
open
can now usefrom ...
named custom commands (neosam)- New
sort
command for easier sorting (jt) date to-record
for working with structured dates (jt)- New starts-with operator (fdncred)
- Can now create generic menus for repl interactions (elferherrera)
- New
glob
command for fancier globbing (fdncred) - Unary
not
support (jt) - Startup and pre-prompt setup should now be significantly faster (jt)
0b[...]
support for binary literals (merkrafter)
- Parser improvements by uasi, jt, rgwood
- Error improvements by jmoore34, jt, rgwood
- Documentation updates by hustcer, vishalsodani, fdncred, futile, kubouch, stormasm, Hofer-Julian, herlon214, rgwood, michel-slm
- General code cleanliness fixes by stormasm, bowlofeggs, rgwood, sholderbach, fdncred, herlon214, elferherrera, boyvanduuren, jt
- Multiple improvements to known external commands (filaretov, jt)
- Use recent miette (zkat)
- Improved logic to path expansion (strega-nil-ms)
ls
now outputs date in local time (fdncred)$in
should now work in more places (jt)each
now also pipes each item as input to the block (jt)- Add ability to opt-in to normal strings in
str replace
(fdncred) touch
now includes all common flags (rybertm)=~
and!~
now use regex (rgwood)describe
should now be more precise- completions now give priority to non-hidden folders (herlon214)
- plugins are now loaded for scripts and commands (jt)
input
now trims the newline (rgwood)- regex
find
now works with records (fdncred) - Fixes to
format
for non-basic datatypes (rgwood) - Added raw string support via backticks (jt)
- Switched to levenshtein distance sorting for completions (jt)
- Improvements to line editor state handling (sholderbach)
- Treat prompt indicators as commands (elferherrera)
- Added record, list, and table to signature types (kubouch)
- Improvements to default git completions (naufraghi)
- Prompts can now be simple strings (jt)
- Sets LAST_EXIT_CODE on parse errors (rgwood)
- Passed more metadata through filter commands (rrcwang)
last
now returns a simple value for single items (jt)- Fixed loops not terminating with ctrl-c (jt)
- Added bounded channels for backpressure (b333z)
- Added streaming support to
save
(b333z) - Support for passing binary data into run-external (b333z)
- Fix for alias imports (filaretov, jt)
- Fix for
ls
when file is a socket on macOS (fdncred) - Better tilde expansion (filaretov)
- Added keywords to help messages (kubouch)
- Removed is_private from
$nu.scope.commands
(kubouch) - Fix for
path join
on streams (jt) - Fixes to environment defaults (jt)
- Adding escapes to
to nuon
(jt) - Improvements to the
reject
command (jt) - Fix to the precedence parser (jt)
- Calling out through
cmd.exe
no longer uses AutoRun (LebsterFace)
The 0.61 release, despite slowing down a little to recoup from the 0.60 release, is one of our largest releases. We averaged over 7 PRs/day over the last three weeks, as many new people joined on and more took an interest in Nushell.
Areas of upcoming focus will be on improving dataframe support, adding IDE support, and exploring new ways of working with Nushell.