|
| 1 | +--- |
| 2 | +title: Nushell 0.106.1 |
| 3 | +author: The Nu Authors |
| 4 | +author_site: https://www.nushell.sh/blog |
| 5 | +author_image: https://www.nushell.sh/blog/images/nu_logo.png |
| 6 | +excerpt: Today, we're releasing version 0.106.1 of Nu. This patch release fixes a regression with bare string interpolation from 0.106.0, the const version of `get`, and several build-related issues. |
| 7 | +--- |
| 8 | + |
| 9 | +# Nushell 0.106.1 |
| 10 | + |
| 11 | +Today, we're releasing version 0.106.1 of Nu. This patch release fixes a regression with bare string interpolation from 0.106.0, the const version of `get`, and several build-related issues. |
| 12 | + |
| 13 | +# Where to get it |
| 14 | + |
| 15 | +Nu 0.106.1 is available as [pre-built binaries](https://github.com/nushell/nushell/releases/tag/0.106.1) or from [crates.io](https://crates.io/crates/nu). If you have Rust installed you can install it using `cargo install nu`. |
| 16 | + |
| 17 | +As part of this release, we also publish a set of optional [plugins](https://www.nushell.sh/book/plugins.html) you can install and use with Nushell. |
| 18 | + |
| 19 | +# Table of contents |
| 20 | + |
| 21 | +- [_Changes_](#changes-toc) |
| 22 | + - [_Bug fixes and other changes_](#bug-fixes-and-other-changes-toc) |
| 23 | + - [_Fixed regression in the bare string interpolation_](#fixed-regression-in-the-bare-string-interpolation-toc) |
| 24 | + - [_Fixed flag handling of `get` in the const version_](#fixed-flag-handling-of-get-in-the-const-version-toc) |
| 25 | + - [_Fix for builds on NetBSD and FreeBSD_](#fix-for-builds-on-netbsd-and-freebsd-toc) |
| 26 | + - [_Fixed warnings for plugin builds_](#fixed-warnings-for-plugin-builds-toc) |
| 27 | +- [_Full changelog_](#full-changelog-toc) |
| 28 | + |
| 29 | +# Changes [[toc](#table-of-contents)] |
| 30 | + |
| 31 | +## Bug fixes and other changes [[toc](#table-of-contents)] |
| 32 | + |
| 33 | +### Fixed regression in the bare string interpolation [[toc](#table-of-contents)] |
| 34 | + |
| 35 | +While fixing another parser bug in 0.106.0 we accidentally introduced a [regression which restricted certain forms of direct string interpolation using parenthesized expressions with bare words](https://www.nushell.sh/blog/2025-07-23-nushell_0_106_0.html#regression-bare-word-interpolation-on-both-sides-does-not-work-toc). |
| 36 | +Thanks to [#16235] by [@Bahex] the following form of string interpolation again works without issue: |
| 37 | + |
| 38 | +```nushell |
| 39 | +let x = 123 |
| 40 | +($x)/foo/($x) |
| 41 | +# => 123/foo/123 |
| 42 | +``` |
| 43 | + |
| 44 | +### Fixed flag handling of `get` in the const version [[toc](#table-of-contents)] |
| 45 | + |
| 46 | +The recent change to [`get` to rename `--ignore-errors` to `--optional`](https://www.nushell.sh/blog/2025-07-23-nushell_0_106_0.html#ignore-errors-i-renamed-to-optional-o-toc) was incorrectly handled if the command was used in a `const` context. This has been fixed with this release thanks to [#16268] by [@Bahex]. |
| 47 | + |
| 48 | +### Fix for builds on NetBSD and FreeBSD [[toc](#table-of-contents)] |
| 49 | + |
| 50 | +BSD builds failed due to more restrictive Rust compiler warnings triggered in our BSD platform code. This has been fixed in [#16266] and [#16275] by [@0323pin] and [@sholderbach] |
| 51 | + |
| 52 | +### Fixed warnings for plugin builds [[toc](#table-of-contents)] |
| 53 | + |
| 54 | +When building plugins with our Rust `nu-plugin-core 0.106.0` crate you may have encountered compiler warnings. This has been addressed by [@cptpiepmatz] in [#16279] |
| 55 | + |
| 56 | +# Full changelog [[toc](#table-of-contents)] |
| 57 | + |
| 58 | +| author | title | link | |
| 59 | +| ------------- | ----------------------------------------------------------------- | -------- | |
| 60 | +| [Bahex] | fix bare interpolation regression | [#16235] | |
| 61 | +| [Bahex] | fix(get): run_const uses `--optional` flag | [#16268] | |
| 62 | +| [0323pin] | Fix #16261 | [#16266] | |
| 63 | +| [sholderbach] | Port `unsafe_op_in_unsafe_fn` fix to FreeBSD | [#16275] | |
| 64 | +| [cptpiepmatz] | Don't import `IoError` on `nu-plugin-core` without `local-socket` | [#16279] | |
| 65 | + |
| 66 | +[@0323pin]: https://github.com/0323pin |
| 67 | +[@Bahex]: https://github.com/Bahex |
| 68 | +[@cptpiepmatz]: https://github.com/cptpiepmatz |
| 69 | +[@sholderbach]: https://github.com/sholderbach |
| 70 | +[#16235]: https://github.com/nushell/nushell/pulls/16235 |
| 71 | +[#16266]: https://github.com/nushell/nushell/pulls/16266 |
| 72 | +[#16268]: https://github.com/nushell/nushell/pulls/16268 |
| 73 | +[#16275]: https://github.com/nushell/nushell/pulls/16275 |
| 74 | +[#16279]: https://github.com/nushell/nushell/pulls/16279 |
0 commit comments