|
| 1 | +--- |
| 2 | +title: 'This week in Nushell #291' |
| 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: "As you are well aware, 0.103 was released this week, and you're probably too busy having fun with background jobs to read TWiN. But just in case ..." |
| 7 | +--- |
| 8 | + |
| 9 | +# This week in Nushell #291 |
| 10 | + |
| 11 | +Published Friday, March 21st, 2025 |
| 12 | + |
| 13 | +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 ... |
| 14 | + |
| 15 | +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 |
| 16 | +nice additions since then: |
| 17 | + |
| 18 | +- Thanks to @LoicRiegel for making some of the `math` commands a bit nicer. They used to complain when passed |
| 19 | + a range, but several additional `math` commands now play nice with ranges. |
| 20 | +- Thanks to @fdncred for making `ps -l` more functional on macOS. You can now retrieve the user ID and more! |
| 21 | +- @sholderbach and @132ikl made serialization even more consistent across various `to` commands. Thanks! |
| 22 | + |
| 23 | +And since it's a relatively slow week in the repos, here are a few bonus links to some fun Discord discussions: |
| 24 | + |
| 25 | +- RGBCube showed off some [cool code to linearize files in a directory](https://discord.com/channels/601130461678272522/615253963645911060/1350527148821315738) (with an updated version |
| 26 | + linked below). |
| 27 | +- Cheer posted [a module to manage a text todo file!](https://discord.com/channels/601130461678272522/615253963645911060/1351058866800037969) |
| 28 | +- blindfs24 linked an [absolutely ridonkulous Nushell config](https://discord.com/channels/601130461678272522/615253963645911060/1349919681103925338), leading to a [thread with additional configs](https://discord.com/channels/601130461678272522/1349919681103925338). |
| 29 | +- fs posted some [cool calendar commands](https://discord.com/channels/601130461678272522/615253963645911060/1350653519132098632) |
| 30 | +- Rose (a.k.a. 132ikl) and NotTheDr01ds collaborated on a [display hook to capture the output of any Nushell command](https://discord.com/channels/601130461678272522/615253963645911060/1350721741588135936) |
| 31 | + (see [this GitHub issue](https://github.com/nushell/nushell/issues/2731#issuecomment-2740322964) for the (almost) latest version). Almost latest because then ... |
| 32 | +- Rose posted a method for [setting metadata from `metadata`](https://discord.com/channels/601130461678272522/615253963645911060/1352495741288972432) and then applied it to the last-output hook. (We'll try to get a versioned one up |
| 33 | + in Nu_scripts soon). |
| 34 | +- NotTheDr01ds added [an example of how to run a command with a timeout](https://discord.com/channels/601130461678272522/601130461678272524/1351309481509916743) using the new background jobs feature. |
| 35 | + |
| 36 | +All repo updates for the week ... |
| 37 | + |
| 38 | +## Nushell |
| 39 | + |
| 40 | +- **blindFS** |
| 41 | + |
| 42 | + - [fixed flatten of empty closures](https://github.com/nushell/nushell/pull/15374) |
| 43 | + - [fixed explore to not create extra layer for empty entries](https://github.com/nushell/nushell/pull/15367) |
| 44 | + - [fixed lsp verbose signature help response for less well supported editors](https://github.com/nushell/nushell/pull/15353) |
| 45 | + - [fixed lsp ansi strip on hover text](https://github.com/nushell/nushell/pull/15331) |
| 46 | + - [fixed completion for inline defined custom completions](https://github.com/nushell/nushell/pull/15318) |
| 47 | + - [fixed completion quoting for file_completion/directory_completion](https://github.com/nushell/nushell/pull/15299) |
| 48 | + |
| 49 | +- **IanManske** |
| 50 | + |
| 51 | + - [modified job output to not collect automatically](https://github.com/nushell/nushell/pull/15365) |
| 52 | + - [removed nu-glob's dependency on nu-protocol](https://github.com/nushell/nushell/pull/15349) |
| 53 | + - [ensured `into string` does not modify strings](https://github.com/nushell/nushell/pull/15320) |
| 54 | + |
| 55 | +- **132ikl** |
| 56 | + |
| 57 | + - [added compile-time assertion for `Value`'s size](https://github.com/nushell/nushell/pull/15362) |
| 58 | + - [added `From<IoError>` for `LabeledError`](https://github.com/nushell/nushell/pull/15327) |
| 59 | + - [disallowed DTD by default in `from xml`](https://github.com/nushell/nushell/pull/15325) |
| 60 | + - [unified closure serializing logic for `to nuon`, `to msgpack`, and `to json`](https://github.com/nushell/nushell/pull/15285) |
| 61 | + |
| 62 | +- **sgvictorino** |
| 63 | + |
| 64 | + - [enabled streaming in `random binary`/`chars`](https://github.com/nushell/nushell/pull/15361) |
| 65 | + - [preserved variable capture spans in blocks](https://github.com/nushell/nushell/pull/15334) |
| 66 | + |
| 67 | +- **sholderbach** |
| 68 | + |
| 69 | + - [fixed `to nuon --serialize` for closures](https://github.com/nushell/nushell/pull/15357) |
| 70 | + - [pinned reedline to `0.39.0` for release](https://github.com/nushell/nushell/pull/15338) |
| 71 | + - [closed find handle in `ls` windows unsafe code](https://github.com/nushell/nushell/pull/15314) |
| 72 | + |
| 73 | +- **ysthakur** |
| 74 | + |
| 75 | + - [bumped to 0.103.1 dev version](https://github.com/nushell/nushell/pull/15347) |
| 76 | + - [bumped version for 0.103.0 release](https://github.com/nushell/nushell/pull/15340) |
| 77 | + - [feature-gated `job unfreeze` behind "os"](https://github.com/nushell/nushell/pull/15339) |
| 78 | + |
| 79 | +- **dependabot[bot]** |
| 80 | + |
| 81 | + - [bumped uuid from 1.12.0 to 1.16.0](https://github.com/nushell/nushell/pull/15346) |
| 82 | + - [bumped indexmap from 2.7.0 to 2.8.0](https://github.com/nushell/nushell/pull/15345) |
| 83 | + - [bumped mockito from 1.6.1 to 1.7.0](https://github.com/nushell/nushell/pull/15343) |
| 84 | + - [bumped zip from 2.2.1 to 2.4.1](https://github.com/nushell/nushell/pull/15335) |
| 85 | + |
| 86 | +- **fdncred** |
| 87 | + |
| 88 | + - [added more columns to macos `ps -l`](https://github.com/nushell/nushell/pull/15341) |
| 89 | + - [removed mimalloc allocator](https://github.com/nushell/nushell/pull/15317) |
| 90 | + - [bumped uutils crates to 0.0.30](https://github.com/nushell/nushell/pull/15316) |
| 91 | + |
| 92 | +- **hustcer** |
| 93 | + |
| 94 | + - [added category to `pwd` and `banner` commands](https://github.com/nushell/nushell/pull/15330) |
| 95 | + - [updated toolkit.nu to add nu_plugin_polars plugin for build and install](https://github.com/nushell/nushell/pull/15324) |
| 96 | + |
| 97 | +- **LoicRiegel** |
| 98 | + - [allowed math commands to work with bounded ranges and produce lists](https://github.com/nushell/nushell/pull/15319) |
| 99 | + |
| 100 | +## Integrations |
| 101 | + |
| 102 | +- **blindFS** |
| 103 | + |
| 104 | + - [added lsp setup tips in nvim documentation](https://github.com/nushell/integrations/pull/40) |
| 105 | + |
| 106 | +- **hustcer** |
| 107 | + - [added install tests for almalinux and openeuler](https://github.com/nushell/integrations/pull/38) |
| 108 | + - [bumped to v0.103.0-r0](https://github.com/nushell/integrations/pull/37) |
| 109 | + |
| 110 | +## Nu_Scripts |
| 111 | + |
| 112 | +- **dam4rus** |
| 113 | + |
| 114 | + - [fixed zellij layouts completions on MacOS](https://github.com/nushell/nu_scripts/pull/1074) |
| 115 | + |
| 116 | +- **Yethal** |
| 117 | + - [added custom completions for aws-cli](https://github.com/nushell/nu_scripts/pull/1073) |
| 118 | + |
| 119 | +## Documentation |
| 120 | + |
| 121 | +- **Kissaki** |
| 122 | + |
| 123 | + - [fixed 0.103.0 release notes help command reference](https://github.com/nushell/nushell.github.io/pull/1837) |
| 124 | + |
| 125 | +- **hustcer** |
| 126 | + |
| 127 | + - [refreshed Nu command docs for v0.103](https://github.com/nushell/nushell.github.io/pull/1835) |
| 128 | + |
| 129 | +- **yo-goto** |
| 130 | + |
| 131 | + - [corrected tip for changing completion prompt marker](https://github.com/nushell/nushell.github.io/pull/1834) |
| 132 | + |
| 133 | +- **NotTheDr01ds** |
| 134 | + |
| 135 | + - [added TWiN 290](https://github.com/nushell/nushell.github.io/pull/1833) |
| 136 | + |
| 137 | +- **ysthakur** |
| 138 | + - [published release notes for `0.103.0`](https://github.com/nushell/nushell.github.io/pull/1783) |
| 139 | + |
| 140 | +## Reedline |
| 141 | + |
| 142 | +- **sholderbach** |
| 143 | + - [bumped version for `0.39.0` release](https://github.com/nushell/reedline/pull/889) |
0 commit comments