|
| 1 | +--- |
| 2 | +title: 'This week in Nushell #295' |
| 3 | +author: The Nu Authors |
| 4 | +author_site: https://nushell.sh |
| 5 | +author_image: https://www.nushell.sh/blog/images/nu_logo.png |
| 6 | +excerpt: 'Ultra-cool contributors edition' |
| 7 | +--- |
| 8 | + |
| 9 | +# This Week in Nushell #295 |
| 10 | + |
| 11 | +Published 2025-04-18 |
| 12 | + |
| 13 | +## Highlights and Special Thanks |
| 14 | + |
| 15 | +- It's really, really cool when someone sees a Discord discussion and submits a PR within a few hours to improve things, especially |
| 16 | + when it's a (relatively) new contributor. Many thanks to the ultra-cool @Mrfiregem for making `kill ...$in` work! |
| 17 | + |
| 18 | +- Wow! An even dozen PRs for Polars this week, with 10 of these coming from @pyz4! New commands include `polars truncate`, |
| 19 | + `polars over`, `polars convert-time-zone`, and `polars replace-time-zone`. A dozen thanks! |
| 20 | + |
| 21 | +- @whiter001 created a new, Nu (newNu?) plugin example ... written in JavaScript?! Nice work! |
| 22 | + |
| 23 | +- On a related note, the next time you go looking for plugin examples, keep in mind that they've moved out the main repo. |
| 24 | + They weren't paying rent, they were eating our groceries, and they forgot to feed the goldfish. But if you really must know, |
| 25 | + here's their [new address](https://github.com/nushell/plugin-examples). |
| 26 | + |
| 27 | +Read below for more great contributions, and thanks to the wonderful contributors! |
| 28 | + |
| 29 | +## Nushell |
| 30 | + |
| 31 | +- pyz4 made several contributions to the `polars` integration: |
| 32 | + |
| 33 | + - [loosened constraints on accepted expressions in `polars group-by`](https://github.com/nushell/nushell/pull/15583) |
| 34 | + - [added `polars truncate` for rounding datetimes](https://github.com/nushell/nushell/pull/15582) |
| 35 | + - [fixed casting as date to return `Date` type instead of `Datetime<ns>`](https://github.com/nushell/nushell/pull/15574) |
| 36 | + - [expanded `polars col` to handle multiple columns and by types](https://github.com/nushell/nushell/pull/15570) |
| 37 | + - [updated `polars lit` to handle nushell `Value::Duration` and `Value::Date types`](https://github.com/nushell/nushell/pull/15564) |
| 38 | + - [updated `get-` datetime components commands to allow expressions as inputs](https://github.com/nushell/nushell/pull/15557) |
| 39 | + - [extended `NuExpression::extract_exprs` to handle records](https://github.com/nushell/nushell/pull/15553) |
| 40 | + - [added new command `polars over`](https://github.com/nushell/nushell/pull/15551) |
| 41 | + - [added new command `polars convert-time-zone`](https://github.com/nushell/nushell/pull/15550) |
| 42 | + - [added new command `polars replace-time-zone`](https://github.com/nushell/nushell/pull/15538) |
| 43 | + |
| 44 | +- fdncred [added `--raw-value` option to `debug` command](https://github.com/nushell/nushell/pull/15581) |
| 45 | +- dependabot[bot] bumped dependencies: |
| 46 | + - [data-encoding from 2.8.0 to 2.9.0](https://github.com/nushell/nushell/pull/15580) |
| 47 | + - [rust-embed from 8.6.0 to 8.7.0](https://github.com/nushell/nushell/pull/15579) |
| 48 | +- ayax79 fixed issues: |
| 49 | + - [cannot find issue when performing collect on an eager dataframe](https://github.com/nushell/nushell/pull/15577) |
| 50 | + - [output type of `polars schema`](https://github.com/nushell/nushell/pull/15572) |
| 51 | +- blindFS made improvements to LSP and completion: |
| 52 | + - [fixed a panic caused by completion with decl_id out of range](https://github.com/nushell/nushell/pull/15576) |
| 53 | + - [refactored flat_map with mutable accumulator](https://github.com/nushell/nushell/pull/15567) |
| 54 | + - [fixed quoted cell path completion](https://github.com/nushell/nushell/pull/15546) |
| 55 | + - [included decl_id in suggestion_kind for later usage](https://github.com/nushell/nushell/pull/15536) |
| 56 | +- 0x4D5352 made changes: |
| 57 | + - [replaced `repeat().take()` with `repeat_n()`](https://github.com/nushell/nushell/pull/15575) |
| 58 | + - [moved 'job' to the experimental category](https://github.com/nushell/nushell/pull/15568) |
| 59 | +- jjflash95 [fixed #15440 where `default --empty` fails at empty streams](https://github.com/nushell/nushell/pull/15562) |
| 60 | +- Mrfiregem [allowed spreading arguments of the `kill` command](https://github.com/nushell/nushell/pull/15558) |
| 61 | +- cosineblast [made `config` commands add frozen jobs to the job table](https://github.com/nushell/nushell/pull/15556) |
| 62 | +- cptpiepmatz [added `--plugins` flag to `nu-std/testing.nu`](https://github.com/nushell/nushell/pull/15552) |
| 63 | +- zhiburt [fixed commit f25525b](https://github.com/nushell/nushell/pull/15500) |
| 64 | +- whiter001 [created `nu_plugin_node_example.js`](https://github.com/nushell/nushell/pull/15482) |
| 65 | + |
| 66 | +## Plugin-Examples |
| 67 | + |
| 68 | +- cptpiepmatz [set up the repository](https://github.com/nushell/plugin-examples/pull/1) |
| 69 | + |
| 70 | +## Reedline |
| 71 | + |
| 72 | +- divanshu-go [fixed the accurate location of matches within suggestion values](https://github.com/nushell/reedline/pull/903) |
| 73 | + |
| 74 | +## Nu_Scripts |
| 75 | + |
| 76 | +- Cattle0Horse [added completion for docker subcommands](https://github.com/nushell/nu_scripts/pull/1085) |
| 77 | +- BattyBest [fixed `$env.PATH` for direnv](https://github.com/nushell/nu_scripts/pull/1083) |
| 78 | +- rukins [improved basic git functionality](https://github.com/nushell/nu_scripts/pull/1082) |
| 79 | + |
| 80 | +## Documentation |
| 81 | + |
| 82 | +- 132ikl [added a note about issue #15326](https://github.com/nushell/nushell.github.io/pull/1876) |
| 83 | +- kkoang [updated pipelines.md](https://github.com/nushell/nushell.github.io/pull/1874) |
| 84 | +- NotTheDr01ds made updates: |
| 85 | + - [added TWiN #294](https://github.com/nushell/nushell.github.io/pull/1872) |
| 86 | + - [updated the Config chapter for recent Nushell changes (e.g., user autoloads)](https://github.com/nushell/nushell.github.io/pull/1868) |
0 commit comments