diff --git a/blog/2026-05-30-nushell_v0_113_1.md b/blog/2026-05-30-nushell_v0_113_1.md new file mode 100644 index 00000000000..d43c1599342 --- /dev/null +++ b/blog/2026-05-30-nushell_v0_113_1.md @@ -0,0 +1,103 @@ +--- +title: Nushell 0.113.1 +author: The Nu Authors +author_site: https://www.nushell.sh/blog +author_image: https://www.nushell.sh/blog/images/nu_logo.png +excerpt: Today, we're releasing version 0.113.1 of Nu. This patch release fixes issues introduced in 0.113.0, including YAML string quoting behavior, reliability problems across the `idx` command family, and a REPL regression in `commandline edit`. +--- + +# Nushell 0.113.1 + +Today, we're releasing version 0.113.1 of Nu. This patch release fixes issues introduced in 0.113.0, including YAML string quoting behavior, reliability problems across the `idx` command family, and a REPL regression in `commandline edit`. + +# Where to get it + +Nu 0.113.1 is available as [pre-built binaries](https://github.com/nushell/nushell/releases/tag/0.113.1) or from [crates.io](https://crates.io/crates/nu). If you have Rust installed you can install it using `cargo install nu`. + +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. + +# Table of contents + + + +# Changes + +## Other changes + +### More idiomatic YAML output with smarter string quoting + +The previous emitter always quoted string values, which produced valid YAML but was more conservative than necessary and less aligned with YAML 1.2 plain-scalar rules. + +This change makes output: + +- more readable +- closer to idiomatic YAML +- more spec-aligned for plain scalars +- still safe for roundtripping by quoting values that would otherwise be reinterpreted as non-strings + +```yaml title="Before" +value: 'off' +path: '/dev/stdout' +listen: '0.0.0.0:8444,0.0.0.0:8445 ssl' +name: 'kong' +kind: 'Deployment' +``` + +```yaml title="After" +value: 'off' +path: /dev/stdout +listen: 0.0.0.0:8444,0.0.0.0:8445 ssl +name: kong +kind: Deployment +``` + +```yaml title="Multiline strings now emit as" +string: |- + Hello + world +``` + +## Bug fixes + +### `idx` dependency update and command reliability improvements + +Update the `idx` fff-search dependency and fix bugs. + +- `idx init . --wait` now properly blocks +- `idx init` now has a `--follow-links` switch +- `idx status` reports accurate counts after indexing +- `idx import` fully restores snapshot for queries — The `idx import` command now properly restores snapshots to enable all query operations. Imported snapshots remain queryable even if the original project files have been deleted or moved. +- `idx files` works on imported snapshots +- `idx files` has a `query` parameter now for easy searching (renamed from `path` for consistency) +- `idx dirs` works on imported snapshots +- `idx dirs` has a `query` parameter now for easy searching +- `idx find` (fuzzy search) works on imported snapshots +- `idx search` (content search) works on imported snapshots +- changed output to nushell values for commands that return tables +- updated some help strings to be more helpful + +Files are ignored during indexing due to the use of the `ignore` crate. [These are the rules for ignore](https://docs.rs/ignore/latest/ignore/struct.WalkBuilder.html#ignore-rules). There's no way to override this in the current version. + +### Other fixes + +- Fixed a regression where `commandline edit` did not update the commandline in REPL on 0.113.0. `commandline edit` now correctly updates the visible prompt buffer again. ([#18301](https://github.com/nushell/nushell/pull/18301)) + +# Hall of fame + +Thanks to all the contributors below for helping us solve issues, improve documentation, refactor code, and more! :pray: + +| author | change | link | +| -------------------------------------- | -------------------------------------------------------------- | ------------------------------------------------------- | +| [@Bahex](https://github.com/Bahex) | Consolidate version and other metadata in top level Cargo.toml | [#18286](https://github.com/nushell/nushell/pull/18286) | +| [@hustcer](https://github.com/hustcer) | Fix nightly release workflow & upgrade Nu for workflows | [#18304](https://github.com/nushell/nushell/pull/18304) | + +# Full changelog + +| author | title | link | +| ---------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------- | +| [@Bahex](https://github.com/Bahex) | Consolidate version and other metadata in top level Cargo.toml | [#18286](https://github.com/nushell/nushell/pull/18286) | +| [@cptpiepmatz](https://github.com/cptpiepmatz) | Bump to 0.113.1 | [#18307](https://github.com/nushell/nushell/pull/18307) | +| [@fdncred](https://github.com/fdncred) | update to 0.8.4, add follow-symlinks, fix `idx` family bugs | [#18284](https://github.com/nushell/nushell/pull/18284) | +| [@fdncred](https://github.com/fdncred) | Refactor YAML handling to improve quoting logic and add support for multiline strings | [#18298](https://github.com/nushell/nushell/pull/18298) | +| [@fdncred](https://github.com/fdncred) | Update REPL loop to synchronize cursor position and buffer contents | [#18301](https://github.com/nushell/nushell/pull/18301) | +| [@hustcer](https://github.com/hustcer) | chore: Fix nightly release workflow & upgrade Nu for workflows | [#18304](https://github.com/nushell/nushell/pull/18304) |