From 4eab0f603eb324630a43e6559f26a4b0d1b648c5 Mon Sep 17 00:00:00 2001 From: NotTheDr01ds <32344964+NotTheDr01ds@users.noreply.github.com> Date: Fri, 18 Apr 2025 15:56:45 -0400 Subject: [PATCH] Added TWiN 295 --- blog/2025-04-18-twin0295.md | 86 +++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 blog/2025-04-18-twin0295.md diff --git a/blog/2025-04-18-twin0295.md b/blog/2025-04-18-twin0295.md new file mode 100644 index 00000000000..770ca94a046 --- /dev/null +++ b/blog/2025-04-18-twin0295.md @@ -0,0 +1,86 @@ +--- +title: 'This week in Nushell #295' +author: The Nu Authors +author_site: https://nushell.sh +author_image: https://www.nushell.sh/blog/images/nu_logo.png +excerpt: 'Ultra-cool contributors edition' +--- + +# 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](https://github.com/nushell/plugin-examples). + +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`](https://github.com/nushell/nushell/pull/15583) + - [added `polars truncate` for rounding datetimes](https://github.com/nushell/nushell/pull/15582) + - [fixed casting as date to return `Date` type instead of `Datetime`](https://github.com/nushell/nushell/pull/15574) + - [expanded `polars col` to handle multiple columns and by types](https://github.com/nushell/nushell/pull/15570) + - [updated `polars lit` to handle nushell `Value::Duration` and `Value::Date types`](https://github.com/nushell/nushell/pull/15564) + - [updated `get-` datetime components commands to allow expressions as inputs](https://github.com/nushell/nushell/pull/15557) + - [extended `NuExpression::extract_exprs` to handle records](https://github.com/nushell/nushell/pull/15553) + - [added new command `polars over`](https://github.com/nushell/nushell/pull/15551) + - [added new command `polars convert-time-zone`](https://github.com/nushell/nushell/pull/15550) + - [added new command `polars replace-time-zone`](https://github.com/nushell/nushell/pull/15538) + +- fdncred [added `--raw-value` option to `debug` command](https://github.com/nushell/nushell/pull/15581) +- dependabot[bot] bumped dependencies: + - [data-encoding from 2.8.0 to 2.9.0](https://github.com/nushell/nushell/pull/15580) + - [rust-embed from 8.6.0 to 8.7.0](https://github.com/nushell/nushell/pull/15579) +- ayax79 fixed issues: + - [cannot find issue when performing collect on an eager dataframe](https://github.com/nushell/nushell/pull/15577) + - [output type of `polars schema`](https://github.com/nushell/nushell/pull/15572) +- blindFS made improvements to LSP and completion: + - [fixed a panic caused by completion with decl_id out of range](https://github.com/nushell/nushell/pull/15576) + - [refactored flat_map with mutable accumulator](https://github.com/nushell/nushell/pull/15567) + - [fixed quoted cell path completion](https://github.com/nushell/nushell/pull/15546) + - [included decl_id in suggestion_kind for later usage](https://github.com/nushell/nushell/pull/15536) +- 0x4D5352 made changes: + - [replaced `repeat().take()` with `repeat_n()`](https://github.com/nushell/nushell/pull/15575) + - [moved 'job' to the experimental category](https://github.com/nushell/nushell/pull/15568) +- jjflash95 [fixed #15440 where `default --empty` fails at empty streams](https://github.com/nushell/nushell/pull/15562) +- Mrfiregem [allowed spreading arguments of the `kill` command](https://github.com/nushell/nushell/pull/15558) +- cosineblast [made `config` commands add frozen jobs to the job table](https://github.com/nushell/nushell/pull/15556) +- cptpiepmatz [added `--plugins` flag to `nu-std/testing.nu`](https://github.com/nushell/nushell/pull/15552) +- zhiburt [fixed commit f25525b](https://github.com/nushell/nushell/pull/15500) +- whiter001 [created `nu_plugin_node_example.js`](https://github.com/nushell/nushell/pull/15482) + +## Plugin-Examples + +- cptpiepmatz [set up the repository](https://github.com/nushell/plugin-examples/pull/1) + +## Reedline + +- divanshu-go [fixed the accurate location of matches within suggestion values](https://github.com/nushell/reedline/pull/903) + +## Nu_Scripts + +- Cattle0Horse [added completion for docker subcommands](https://github.com/nushell/nu_scripts/pull/1085) +- BattyBest [fixed `$env.PATH` for direnv](https://github.com/nushell/nu_scripts/pull/1083) +- rukins [improved basic git functionality](https://github.com/nushell/nu_scripts/pull/1082) + +## Documentation + +- 132ikl [added a note about issue #15326](https://github.com/nushell/nushell.github.io/pull/1876) +- kkoang [updated pipelines.md](https://github.com/nushell/nushell.github.io/pull/1874) +- NotTheDr01ds made updates: + - [added TWiN #294](https://github.com/nushell/nushell.github.io/pull/1872) + - [updated the Config chapter for recent Nushell changes (e.g., user autoloads)](https://github.com/nushell/nushell.github.io/pull/1868)