|
| 1 | +--- |
| 2 | +title: Nushell 0.113.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.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`. |
| 7 | +--- |
| 8 | + |
| 9 | +# Nushell 0.113.1 |
| 10 | + |
| 11 | +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`. |
| 12 | + |
| 13 | +# Where to get it |
| 14 | + |
| 15 | +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`. |
| 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 | +<ReleaseToc/> |
| 22 | + |
| 23 | +# Changes <JumpToc/> |
| 24 | + |
| 25 | +## Other changes <JumpToc/> |
| 26 | + |
| 27 | +### More idiomatic YAML output with smarter string quoting <JumpToc/> <PrBy :pr="18298" user="fdncred" /> |
| 28 | + |
| 29 | +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. |
| 30 | + |
| 31 | +This change makes output: |
| 32 | + |
| 33 | +- more readable |
| 34 | +- closer to idiomatic YAML |
| 35 | +- more spec-aligned for plain scalars |
| 36 | +- still safe for roundtripping by quoting values that would otherwise be reinterpreted as non-strings |
| 37 | + |
| 38 | +```yaml title="Before" |
| 39 | +value: 'off' |
| 40 | +path: '/dev/stdout' |
| 41 | +listen: '0.0.0.0:8444,0.0.0.0:8445 ssl' |
| 42 | +name: 'kong' |
| 43 | +kind: 'Deployment' |
| 44 | +``` |
| 45 | +
|
| 46 | +```yaml title="After" |
| 47 | +value: 'off' |
| 48 | +path: /dev/stdout |
| 49 | +listen: 0.0.0.0:8444,0.0.0.0:8445 ssl |
| 50 | +name: kong |
| 51 | +kind: Deployment |
| 52 | +``` |
| 53 | +
|
| 54 | +```yaml title="Multiline strings now emit as" |
| 55 | +string: |- |
| 56 | + Hello |
| 57 | + world |
| 58 | +``` |
| 59 | +
|
| 60 | +## Bug fixes <JumpToc/> |
| 61 | +
|
| 62 | +### `idx` dependency update and command reliability improvements <JumpToc/> <PrBy :pr="18284" user="fdncred" /> |
| 63 | + |
| 64 | +Update the `idx` fff-search dependency and fix bugs. |
| 65 | + |
| 66 | +- `idx init . --wait` now properly blocks |
| 67 | +- `idx init` now has a `--follow-links` switch |
| 68 | +- `idx status` reports accurate counts after indexing |
| 69 | +- `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. |
| 70 | +- `idx files` works on imported snapshots |
| 71 | +- `idx files` has a `query` parameter now for easy searching (renamed from `path` for consistency) |
| 72 | +- `idx dirs` works on imported snapshots |
| 73 | +- `idx dirs` has a `query` parameter now for easy searching |
| 74 | +- `idx find` (fuzzy search) works on imported snapshots |
| 75 | +- `idx search` (content search) works on imported snapshots |
| 76 | +- changed output to nushell values for commands that return tables |
| 77 | +- updated some help strings to be more helpful |
| 78 | + |
| 79 | +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. |
| 80 | + |
| 81 | +### Other fixes <JumpToc/> |
| 82 | + |
| 83 | +- 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)) |
| 84 | + |
| 85 | +# Hall of fame <JumpToc/> |
| 86 | + |
| 87 | +Thanks to all the contributors below for helping us solve issues, improve documentation, refactor code, and more! :pray: |
| 88 | + |
| 89 | +| author | change | link | |
| 90 | +| -------------------------------------- | -------------------------------------------------------------- | ------------------------------------------------------- | |
| 91 | +| [@Bahex](https://github.com/Bahex) | Consolidate version and other metadata in top level Cargo.toml | [#18286](https://github.com/nushell/nushell/pull/18286) | |
| 92 | +| [@hustcer](https://github.com/hustcer) | Fix nightly release workflow & upgrade Nu for workflows | [#18304](https://github.com/nushell/nushell/pull/18304) | |
| 93 | + |
| 94 | +# Full changelog <JumpToc/> |
| 95 | + |
| 96 | +| author | title | link | |
| 97 | +| ---------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------- | |
| 98 | +| [@Bahex](https://github.com/Bahex) | Consolidate version and other metadata in top level Cargo.toml | [#18286](https://github.com/nushell/nushell/pull/18286) | |
| 99 | +| [@cptpiepmatz](https://github.com/cptpiepmatz) | Bump to 0.113.1 | [#18307](https://github.com/nushell/nushell/pull/18307) | |
| 100 | +| [@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) | |
| 101 | +| [@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) | |
| 102 | +| [@fdncred](https://github.com/fdncred) | Update REPL loop to synchronize cursor position and buffer contents | [#18301](https://github.com/nushell/nushell/pull/18301) | |
| 103 | +| [@hustcer](https://github.com/hustcer) | chore: Fix nightly release workflow & upgrade Nu for workflows | [#18304](https://github.com/nushell/nushell/pull/18304) | |
0 commit comments