Nushell
Get Nu!
Getting Started
  • The Nushell Book
  • Command Reference
  • Cookbook
  • Language Reference Guide
  • Contributing Guide
Blog
  • English
  • 中文
  • Deutsch
  • Français
  • Español
  • 日本語
  • Português do Brasil
  • Русский язык
  • 한국어
GitHub
Get Nu!
Getting Started
  • The Nushell Book
  • Command Reference
  • Cookbook
  • Language Reference Guide
  • Contributing Guide
Blog
  • English
  • 中文
  • Deutsch
  • Français
  • Español
  • 日本語
  • Português do Brasil
  • Русский язык
  • 한국어
GitHub

Nushell 0.112.2

Today, we're releasing version 0.112.2 of Nu. This release adds fixes for regressions in script argument quoting and input list, improving handling for quoted strings, special characters, fuzzy selection, and multi-select navigation.

Where to get it

Nu 0.112.2 is available as pre-built binaries or from crates.io. If you have Rust installed you can install it using cargo install nu.

As part of this release, we also publish a set of optional plugins you can install and use with Nushell.

Table of contents

Changes [toc]

Bug fixes [toc]

Fixed regressions in quoting for string arguments in Nu script calls [toc]

PR #18030 by @fdncred

This release fixes incorrect quoting behavior when passing string arguments to Nu scripts. Quoted strings, including those with spaces and escape sequences, are now handled consistently.

Using these test scripts:

test.nu
def --wrapped main [...args: string] {
  print $args
  print ($args.1 | str substring 0..0)
}
test2.nu
def main [...args: string] {
    print ...($args)
}

Quoted arguments now behave correctly:

> nu test2.nu a b "c\nd"
a
b
c
d
> nu test.nu arg1 "arg 2"
╭───┬───────╮
│ 0 │ arg1  │
│ 1 │ arg 2 │
╰───┴───────╯
a
> nu --no-config-file test2.nu a b "c\nd"
a
b
c
d
> nu --no-config-file test.nu arg1 "arg 2"
╭───┬───────╮
│ 0 │ arg1  │
│ 1 │ arg 2 │
╰───┴───────╯

Fixed regressions for input list [toc]

PR #18039 by @fdncred

This release fixes several regressions introduced in the previous release affecting input list behavior:

  • Restored correct Tab and Backtab handling when using --fuzzy.
  • Aligned behavior across --fuzzy, --multi, and combined --fuzzy --multi.
  • Fixed cursor movement issues when --multi is enabled.
  • Resolved Backtab wrap-around behavior.
  • Corrected arrow key cursor navigation.
  • Fixed an issue where --fuzzy did not search all items when input is streamed.

Other fixes

  • When nu is run from a script, empty strings and strings containing [, {, or } in the arguments are properly quoted. (#18027)

Full changelog [toc]

authortitlelink
@Juhan280fix: properly quote special characters in script arguments#18027
@cptpiepmatzPost release bump to 0.112.2#18017
@cptpiepmatzbump rustls-webpki#18053
@fdncredFix quoting regression in argument handling for evaluate_file; add tests#18030
@fdncredfix input list regressions with keystrokes and fuzzy#18039
Edit this page on GitHub
Contributors: Piepmatz