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 #295

Published 2025-04-18

Highlights and Special Thanks

  • It's really, really cool when someone sees a Discord discussion and submits a PR within a few hours to improve things, especially when it's a (relatively) new contributor. Many thanks to the ultra-cool @Mrfiregem for making kill ...$in work!

  • Wow! An even dozen PRs for Polars this week, with 10 of these coming from @pyz4! New commands include polars truncate, polars over, polars convert-time-zone, and polars replace-time-zone. A dozen thanks!

  • @whiter001 created a new, Nu (newNu?) plugin example ... written in JavaScript?! Nice work!

  • On a related note, the next time you go looking for plugin examples, keep in mind that they've moved out the main repo. They weren't paying rent, they were eating our groceries, and they forgot to feed the goldfish. But if you really must know, here's their new address.

Read below for more great contributions, and thanks to the wonderful contributors!

Nushell

  • pyz4 made several contributions to the polars integration:

    • loosened constraints on accepted expressions in polars group-by
    • added polars truncate for rounding datetimes
    • fixed casting as date to return Date type instead of Datetime<ns>
    • expanded polars col to handle multiple columns and by types
    • updated polars lit to handle nushell Value::Duration and Value::Date types
    • updated get- datetime components commands to allow expressions as inputs
    • extended NuExpression::extract_exprs to handle records
    • added new command polars over
    • added new command polars convert-time-zone
    • added new command polars replace-time-zone
  • fdncred added --raw-value option to debug command

  • dependabot[bot] bumped dependencies:

    • data-encoding from 2.8.0 to 2.9.0
    • rust-embed from 8.6.0 to 8.7.0
  • ayax79 fixed issues:

    • cannot find issue when performing collect on an eager dataframe
    • output type of polars schema
  • blindFS made improvements to LSP and completion:

    • fixed a panic caused by completion with decl_id out of range
    • refactored flat_map with mutable accumulator
    • fixed quoted cell path completion
    • included decl_id in suggestion_kind for later usage
  • 0x4D5352 made changes:

    • replaced repeat().take() with repeat_n()
    • moved 'job' to the experimental category
  • jjflash95 fixed #15440 where default --empty fails at empty streams

  • Mrfiregem allowed spreading arguments of the kill command

  • cosineblast made config commands add frozen jobs to the job table

  • cptpiepmatz added --plugins flag to nu-std/testing.nu

  • zhiburt fixed commit f25525b

  • whiter001 created nu_plugin_node_example.js

Plugin-Examples

  • cptpiepmatz set up the repository

Reedline

  • divanshu-go fixed the accurate location of matches within suggestion values

Nu_Scripts

  • Cattle0Horse added completion for docker subcommands
  • BattyBest fixed $env.PATH for direnv
  • rukins improved basic git functionality

Documentation

  • 132ikl added a note about issue #15326
  • kkoang updated pipelines.md
  • NotTheDr01ds made updates:
    • added TWiN #294
    • updated the Config chapter for recent Nushell changes (e.g., user autoloads)
Edit this page on GitHub
Contributors: NotTheDr01ds