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

This week in Nushell #291

Published Friday, March 21st, 2025

As you are well aware, 0.103 was released this week. You're probably too busy having fun with background jobs to read TWiN, but just in case ...

As is often the case in a release-week, many of this week's PRs were related to release activity. That doesn't mean there haven't been a few nice additions since then:

  • Thanks to @LoicRiegel for making some of the math commands a bit nicer. They used to complain when passed a range, but several additional math commands now play nice with ranges.
  • Thanks to @fdncred for making ps -l more functional on macOS. You can now retrieve the user ID and more!
  • @sholderbach and @132ikl made serialization even more consistent across various to commands. Thanks!

And since it's a relatively slow week in the repos, here are a few bonus links to some fun Discord discussions:

  • RGBCube showed off some cool code to linearize files in a directory (with an updated version linked below).
  • Cheer posted a module to manage a text todo file!
  • blindfs24 linked an absolutely ridonkulous Nushell config, leading to a thread with additional configs.
  • fs posted some cool calendar commands
  • Rose (a.k.a. 132ikl) and NotTheDr01ds collaborated on a display hook to capture the output of any Nushell command (see this GitHub issue for the (almost) latest version). Almost latest because then ...
  • Rose posted a method for setting metadata from metadata and then applied it to the last-output hook. (We'll try to get a versioned one up in Nu_scripts soon).
  • NotTheDr01ds added an example of how to run a command with a timeout using the new background jobs feature.

All repo updates for the week ...

Nushell

  • blindFS

    • fixed flatten of empty closures
    • fixed explore to not create extra layer for empty entries
    • fixed lsp verbose signature help response for less well supported editors
    • fixed lsp ansi strip on hover text
    • fixed completion for inline defined custom completions
    • fixed completion quoting for file_completion/directory_completion
  • IanManske

    • modified job output to not collect automatically
    • removed nu-glob's dependency on nu-protocol
    • ensured into string does not modify strings
  • 132ikl

    • added compile-time assertion for Value's size
    • added From<IoError> for LabeledError
    • disallowed DTD by default in from xml
    • unified closure serializing logic for to nuon, to msgpack, and to json
  • sgvictorino

    • enabled streaming in random binary/chars
    • preserved variable capture spans in blocks
  • sholderbach

    • fixed to nuon --serialize for closures
    • pinned reedline to 0.39.0 for release
    • closed find handle in ls windows unsafe code
  • ysthakur

    • bumped to 0.103.1 dev version
    • bumped version for 0.103.0 release
    • feature-gated job unfreeze behind "os"
  • dependabot[bot]

    • bumped uuid from 1.12.0 to 1.16.0
    • bumped indexmap from 2.7.0 to 2.8.0
    • bumped mockito from 1.6.1 to 1.7.0
    • bumped zip from 2.2.1 to 2.4.1
  • fdncred

    • added more columns to macos ps -l
    • removed mimalloc allocator
    • bumped uutils crates to 0.0.30
  • hustcer

    • added category to pwd and banner commands
    • updated toolkit.nu to add nu_plugin_polars plugin for build and install
  • LoicRiegel

    • allowed math commands to work with bounded ranges and produce lists

Integrations

  • blindFS

    • added lsp setup tips in nvim documentation
  • hustcer

    • added install tests for almalinux and openeuler
    • bumped to v0.103.0-r0

Nu_Scripts

  • dam4rus

    • fixed zellij layouts completions on MacOS
  • Yethal

    • added custom completions for aws-cli

Documentation

  • Kissaki

    • fixed 0.103.0 release notes help command reference
  • hustcer

    • refreshed Nu command docs for v0.103
  • yo-goto

    • corrected tip for changing completion prompt marker
  • NotTheDr01ds

    • added TWiN 290
  • ysthakur

    • published release notes for 0.103.0

Reedline

  • sholderbach
    • bumped version for 0.39.0 release
Edit this page on GitHub
Contributors: NotTheDr01ds