Repository navigation
Update cd.md to look better - #789
Merged
Merged
Conversation
Member
|
@cristicismas Thanks! |
elferherrera
pushed a commit
to elferherrera/nushell
that referenced
this pull request
Feb 7, 2022
kubouch
pushed a commit
that referenced
this pull request
Feb 7, 2022
bobhy
pushed a commit
to bobhy/nushell
that referenced
this pull request
Oct 22, 2023
* Simplify `make_docs.nu` * Move `commandCategories` into separate file * Rename variables in `make_docs.nu` * Refactor make_docs.nu * Finish `make_docs.nu` refactor * Replace `char nl` with `char newline` * Two blank lines between functions * Some reformatting * Update package.json
ayax79
pushed a commit
that referenced
this pull request
Apr 29, 2026
…#18140) <!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> This PR removes the requirement in `polars pivot` that `--on-cols` must be specified. Mirroring the behavior in Python polars.pivot (https://github.com/pola-rs/polars/blob/py-1.40.1/py-polars/src/polars/dataframe/frame.py#L9456-L9683), `polars pivot` now supplies default values for `--on-cols` by selecting unique values from the columns specified by `--on`. See examples below ```nu # Given a set of test scores, reshape so we have one row per student, with different subjects as columns, and their test_1 scores as values > { "name": ["Cady", "Cady", "Karen", "Karen"], "subject": ["maths", "physics", "maths", "physics"], "test_1": [98, 99, 61, 58], "test_2": [100, 100, 60, 60], } | polars into-df --as-columns | polars pivot --on subject --on-cols [maths physics] --index name --values test_1 | polars sort-by name maths physics | polars collect ╭───┬───────┬───────┬─────────╮ │ # │ name │ maths │ physics │ ├───┼───────┼───────┼─────────┤ │ 0 │ Cady │ 98 │ 99 │ │ 1 │ Karen │ 61 │ 58 │ ╰───┴───────┴───────┴─────────╯ # Given a set of test scores, reshape so we have one row per student, with different subjects as columns, and their test_1 scores as values, without specifying --on-cols > { "name": ["Cady", "Cady", "Karen", "Karen"], "subject": ["maths", "physics", "maths", "physics"], "test_1": [98, 99, 61, 58], "test_2": [100, 100, 60, 60], } | polars into-df --as-columns | polars pivot --on subject --index name --values test_1 | polars sort-by name maths physics | polars collect ╭───┬───────┬───────┬─────────╮ │ # │ name │ maths │ physics │ ├───┼───────┼───────┼─────────┤ │ 0 │ Cady │ 98 │ 99 │ │ 1 │ Karen │ 61 │ 58 │ ╰───┴───────┴───────┴─────────╯ ``` ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> Refactor `--on-cols` in `polars pivot` from required to optional parameter; supply default values based on unique values of `--on` columns ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
ayax79
added a commit
that referenced
this pull request
Apr 30, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description Removed .claude settings that was inadvertently committed. Added to .gitignore. ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. --> Co-authored-by: Jack Wright <[email protected]>
fdncred
added a commit
that referenced
this pull request
May 4, 2026
## Description This PR fixes #18080. After this PR if you type `kill -0` it'll now give an error similar to the one below. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) Allow `kill -0` to show an error instead of killing nushell. Disallow commands like `kill -9 pid` because syntax should be `kill -s 9 pid`. ```nushell ❯ kill -0 Error: nu::shell::incorrect_value × Incorrect value. ╭─[repl_entry #2:1:1] 1 │ kill -0 · ──┬─ ─┬ · │ ╰── negative pid shorthand is not supported; use `kill -s 0 <pid>` · ╰── encountered here ╰──── ``` <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
May 4, 2026
## Description This PR adds the `idx` command family for in-memory filesystem indexing and search. Built on [`fff-search`](https://docs.rs/fff-search/latest/fff_search/) (v0.7.0), which walks the path and stores file and directory metadata in memory arenas. The global runtime lives in a `static OnceLock<Mutex<Option<IdxRuntime>>>` so a single index is shared across all commands in a session. The implementation includes: - `idx init`, `idx status`, `idx files`, `idx dirs`, `idx find`, `idx search`, `idx export`, `idx import`, and `idx drop` commands - Runtime state management through a global singleton with status reporting and scan duration tracking - SQLite snapshot persistence for `idx export` and metadata-driven rehydration for `idx import` <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) Add the `idx` command family for in-memory filesystem indexing and search. ### Commands #### `idx init <path> [--wait]` Initializes the global idx runtime by scanning `<path>`. If the runtime is already initialized it is dropped and re-scanned. `--wait` blocks until the initial scan completes; omitting it returns immediately with a `scanning = true` status. ```nushell idx init . idx init ~/projects --wait ``` #### `idx status` Returns a record describing the current runtime: `initialized`, `base_path`, `watch`, `scanning`, `scan_duration_ms`, `files`, `dirs`, and arena memory usage fields. ```nushell idx status ``` #### `idx dirs` Returns all indexed directories as records with `relative_path` and `full_path` columns. ```nushell idx dirs idx dirs | where full_path =~ src ``` #### `idx files [<path>]` Returns all indexed files as records with `relative_path`, `full_path`, `file_name`, `directory`, `size`, and `modified` columns. If an optional `<path>` is provided it performs a direct lookup by relative or absolute path. ```nushell idx files idx files src/main.rs idx files /absolute/path/to/file.rs ``` #### `idx find <query> [--files] [--dirs] [--verbose] [--limit <n>]` Fuzzy-searches the index using [`fff-search` scoring](https://docs.rs/fff-search/latest/fff_search/). By default searches both files and directories. `--files` or `--dirs` narrows the search. `--verbose` adds a `score_details` column. `--limit` caps the result count (default 100). ```nushell idx find main idx find config --files --verbose idx find src --dirs --limit 10 ``` #### `idx search <pattern>... [--regex] [--fuzzy] [--limit <n>]` Searches the **contents** of indexed files. Plain text is the default. `--regex` enables regex matching. `--fuzzy` enables approximate line matching. Multiple patterns are searched with `multi_grep`. `--limit` caps matches (default 50). ```nushell idx search hello idx search --regex 'fn \w+' idx search TODO FIXME HACK ``` #### `idx export <filepath>` Persists the current runtime to a **SQLite** database at `<filepath>`. Returns a record with `stored`, `path`, `file_count`, `dir_count`, `base_path`, and `format`. ```nushell idx export ~/my-index.db ``` #### `idx import <filepath>` Imports a SQLite snapshot created by `idx export`. Performs true offline restoration by hydrating the index from stored file and directory rows in the database with no filesystem rescanning. Returns a record with `restored`, `source_path`, `base_path`, `watch`, `rehydration_mode`, `status`, `restored_files`, `restored_dirs`, and `format`. The `rehydration_mode` is `offline_from_snapshot_rows`, and the status fields (`scanning`, `scan_duration_ms`). ```nushell idx import ~/my-index.db ``` #### `idx drop` Drops the current runtime from memory. Returns `{dropped: bool, status: record}` where `status` is always the default (zeroed) status after the drop. ```nushell idx drop ``` <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
May 5, 2026
## Description
This PR adds dynamic builtin dispatch for the percent sigil so users can
write:
- %($cmd) arg1 arg2
- %$cmd arg1 arg2
Previously, percent dispatch only worked when the command name was
statically known at parse time. With this change, the builtin name can
come from a runtime expression while still preserving percent semantics:
resolve and run builtin commands only.
<!--
Explain what this PR does and why.
This section is intentionally flexible:
- Describe the problem
- Explain your approach
- Include technical details if relevant
Good examples:
- "In this PR, I fixed..."
- "In this PR, I added support for..."
- "This change improves X by..."
Write as much or as little as needed for reviewers to understand your
changes.
-->
## User-facing changes (Release notes)
Nushell now supports dynamic percent builtin dispatch with forms like
%($cmd) and %$cmd.
This preserves percent safety semantics while allowing runtime command
selection:
- only builtins are eligible targets
- non-builtin/custom/alias targets are rejected
- arguments are forwarded as parsed values (not string-evaluated like
shell eval)
This should work very similarly to dynamic dispatch of externals. The
same model was followed to implement it.
Here's a couple examples that are also tests.
### Built-ins resolve
```nushell
❯ let cmd = 'echo'; %$cmd 'hello'
hello
❯ %('echo') 'world'
world
❯ let cmd = 'echo'; %($cmd) 'hello'
hello
```
### Missing commands fail
```nushell
❯ let cmd = 'my_nonexistent_cmd'; %($cmd)
Error: nu::shell::command_not_found
× Command not found
╭─[repl_entry #7:1:33]
1 │ let cmd = 'my_nonexistent_cmd'; %($cmd)
· ───┬───
· ╰── command not found
╰────
```
### Custom commands aren't built-in commands so they fail too
```nushell
❯ def custom_cmd [] { 'nope' }; let cmd = 'custom_cmd'; %($cmd)
Error: nu:🐚:command_not_found
× Command not found
╭─[repl_entry #8:1:55]
1 │ def custom_cmd [] { 'nope' }; let cmd = 'custom_cmd'; %($cmd)
· ───┬───
· ╰── command not found
╰────
```
<!--
This section is used (mostly as-is) for https://www.nushell.sh/blog/
Describe how Nushell behavior changes from a user's perspective.
Do NOT describe internal Rust changes here.
Write in a release note style, for example:
- "Added support for..."
- "Fixed an issue where..."
- "Nushell now supports..."
- "Improved performance of..."
If your changes do NOT affect users (internal refactors, cleanup, etc.),
just write:
- "n/a"
- "nan"
- or similar
This tells us the change should not appear in the changelog.
Tips:
- Focus on observable behavior
- Include examples if helpful
- Keep it concise
You can:
- Write a short paragraph (will appear as a bullet point), OR
- Use headings (###) if your change needs more structure
Avoid writing things like:
- "In this PR, I refactored..."
- "This updates internal code..."
You may leave this blank until the PR is ready.
-->
## Additional notes
closes #18150
<!--
Optional.
Examples:
- fixes #123
- closes #456
- related #789
Anything else reviewers should know.
Remove this section if not needed.
-->
fdncred
added a commit
that referenced
this pull request
May 12, 2026
…separators (#18185) ## Description This PR adds a `--no-commas` flag to `to nuon` so that nuon can be even more succinct by not using commas. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) When you use the new `--no-commas` flag on `to nuon` you won't have to see commas. Since nuon doesn't require commas, this will make the output more succinct. Some may argue that it's harder to read, which may be true, but nuon doesn't care about that. ```nushell ❯ ls | to nuon --indent 2 --list-of-records | str length 3312 ❯ ls | to nuon --indent 2 --list-of-records --no-commas | str length 3169 ❯ ls | to nuon | str length 2260 ❯ ls | to nuon --no-commas | str length 2114 ``` Sometimes, every little bit helps. <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
May 13, 2026
…rity and update related logic (#18170) <!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description Fix `hide-env` not hiding variables after stack-level override `$env.AAAA = "aaaa"; $env.AAAA = ""; hide-env AAAA` failed to hide `AAAA`. After the empty-string assignment, `remove_env_var` would remove the stack entry and return `true` — but never mark the engine-state baseline as hidden, so `$env.AAAA` was still accessible. Add a `Stack::hide_env_var` method with full hiding semantics: removes the variable from the stack *and* marks the engine-state baseline as hidden in `env_hidden`. The existing `remove_env_var` is preserved for callers that only need to clean up a stack-level value (e.g. `FILE_PWD`). <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) Fixes the issue where `$env.AAAA = "aaaa"; $env.AAAA = ""; hide-env AAAA` failed to hide `AAAA`. After the empty-string assignment. <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes closes #18169 <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. --> --------- Co-authored-by: Bahex <[email protected]>
fdncred
pushed a commit
that referenced
this pull request
May 13, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> This PR adds the optional flag `--header-row` to `from xlsx` to specify which row should be read in as the column names . By default, the first non-empty row is read in as the header. Specify `--header null` for legacy behavior (no headers are read). See example: ```nu # first non-empty row open test.xlsx --raw | from xlsx # specify header row by index open test.xlsx --raw | from xlsx --header-row 1 # legacy behavior (no headers) open test.xlsx --raw | from xlsx --header-row null ``` ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> `from xlsx` now supports `--header-row` for specifying the index of the row from which to read column names. Default is the first non-empty row. Specify `--header-row null` for legacy behavior (i.e., no header). ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. --> fixes #16114
fdncred
added a commit
that referenced
this pull request
May 15, 2026
…18210) <!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR improves repl error handling when being redirected. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) Improve repl error handling when redirected like `nu > /dev/full` or `nu 2>/dev/full`. <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes closes #18208 closes #18209 <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
May 17, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR bumps the `idx` dependencies. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
May 19, 2026
…alysis (#18245) <!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR adds some parser benchmarks. See how to run them below. You should get an output similar this below. Hopefully my math is right. ```nushell Throughput summary (derived from benchmark timing, unit: micro): ╭────┬─────────────────────────────────────────┬───────┬───────┬─────────┬───────────┬────────────────┬────────────────╮ │ # │ benchmark │ chars │ bytes │ seconds │ time_unit │ chars_per_unit │ bytes_per_unit │ ├────┼─────────────────────────────────────────┼───────┼───────┼─────────┼───────────┼────────────────┼────────────────┤ │ 0 │ parser_lex_large_97332b_97098c │ 97098 │ 97332 │ 0.00 │ micro │ 246.38 │ 246.97 │ │ 1 │ parser_lex_medium_4315b_4315c │ 4315 │ 4315 │ 0.00 │ micro │ 169.22 │ 169.22 │ │ 2 │ parser_lex_small_82b_82c │ 82 │ 82 │ 0.00 │ micro │ 106.11 │ 106.11 │ │ 3 │ parser_lite_medium_4315b_4315c │ 4315 │ 4315 │ 0.00 │ micro │ 95.46 │ 95.46 │ │ 4 │ parser_lite_real_world_620b_620c │ 620 │ 620 │ 0.00 │ micro │ 38.51 │ 38.51 │ │ 5 │ parser_lite_small_82b_82c │ 82 │ 82 │ 0.00 │ micro │ 5.99 │ 5.99 │ │ 6 │ parser_parse_block_medium_4315b_4315c │ 4315 │ 4315 │ 0.00 │ micro │ 37.52 │ 37.52 │ │ 7 │ parser_parse_block_real_world_620b_620c │ 620 │ 620 │ 0.00 │ micro │ 24.31 │ 24.31 │ │ 8 │ parser_parse_block_small_82b_82c │ 82 │ 82 │ 0.00 │ micro │ 4.77 │ 4.77 │ │ 9 │ parser_parse_large_97332b_97098c │ 97098 │ 97332 │ 0.00 │ micro │ 97.10 │ 97.33 │ │ 10 │ parser_parse_medium_4315b_4315c │ 4315 │ 4315 │ 0.00 │ micro │ 44.62 │ 44.62 │ │ 11 │ parser_parse_small_82b_82c │ 82 │ 82 │ 0.00 │ micro │ 4.27 │ 4.27 │ ╰────┴─────────────────────────────────────────┴───────┴───────┴─────────┴───────────┴────────────────┴────────────────╯ Headline metric candidates (chars/micro): ╭───┬──────────────────────────────────┬────────────────╮ │ # │ benchmark │ chars_per_unit │ ├───┼──────────────────────────────────┼────────────────┤ │ 0 │ parser_lex_large_97332b_97098c │ 246.38 │ │ 1 │ parser_lex_medium_4315b_4315c │ 169.22 │ │ 2 │ parser_lex_small_82b_82c │ 106.11 │ │ 3 │ parser_parse_large_97332b_97098c │ 97.10 │ │ 4 │ parser_lite_medium_4315b_4315c │ 95.46 │ ╰───┴──────────────────────────────────┴────────────────╯ Benchmark logfile: target/parser-bench/benchmarks-parser__-20260519-125213.log parser_lex_small_82b_82c [ 758.0 ns ... 772.8 ns ... 829.7 ns ] stddev: 14.8 ns parser_lex_medium_4315b_4315c [ 25.2 us ... 25.5 us ... 26.1 us ] stddev: 248.3 ns parser_lex_large_97332b_97098c [ 389.0 us ... 394.1 us ... 410.0 us ] stddev: 4.7 us parser_lite_small_82b_82c [ 13.2 us ... 13.7 us ... 17.7 us ] stddev: 670.6 ns parser_lite_medium_4315b_4315c [ 45.0 us ... 45.2 us ... 46.0 us ] stddev: 183.7 ns parser_lite_real_world_620b_620c [ 15.9 us ... 16.1 us ... 18.1 us ] stddev: 374.2 ns parser_parse_block_small_82b_82c [ 16.7 us ... 17.2 us ... 19.0 us ] stddev: 402.0 ns parser_parse_block_medium_4315b_4315c [ 111.0 us ... 115.0 us ... 124.3 us ] stddev: 3.1 us parser_parse_block_real_world_620b_620c [ 25.0 us ... 25.5 us ... 26.6 us ] stddev: 411.2 ns parser_parse_small_82b_82c [ 18.7 us ... 19.2 us ... 20.8 us ] stddev: 508.7 ns parser_parse_medium_4315b_4315c [ 95.2 us ... 96.7 us ... 113.4 us ] stddev: 3.2 us parser_parse_large_97332b_97098c [ 1.0 ms ... 1.0 ms ... 1.0 ms ] stddev: 3.8 us Compiling nu-cmd-lang v0.112.3 (/Users/fdncred/src/nushell/crates/nu-cmd-lang) Compiling nu-test-support v0.112.3 (/Users/fdncred/src/nushell/crates/nu-test-support) Compiling nu v0.112.3 (/Users/fdncred/src/nushell) Finished `bench` profile [optimized] target(s) in 1m 12s Running benches/benchmarks.rs (target/release/deps/benchmarks-5a8a0256451b1c57) ``` <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) Run the new parser benchmarks like this: ```nushell nu scripts/parser-bench-run.nu ``` The `parser-bench-run.nu` script has these arguments. ```nushell --filter: string = "parser_*" # benchmark name glob filter (tango uses glob matching) --bench: string = "benchmarks" # bench target name --out-dir: path = "target/parser-bench" # directory where logs are written ``` Analyze the new parser benchmarks like this: ```nushell nu scripts/parser-bench-throughput.nu target/parser-bench/benchmarks-parser__-20260519-125213.log ``` The `parser-bench-throughput.nu` script has these arguments ```nushell log_file?: path # output file produced by parser-bench-0.112.2-run.nu --name-prefix: string = "parser_" # benchmark name glob filter --time-unit: string = "micro" # throughput time base: sec|milli|micro|nano ``` <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
May 20, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR fixes a problem with `to nuon --raw-strings` where if the string began with `#` the right number of `r#` wasn't created. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) Fix the raw string prefix and suffix in certain situations. ### Before ```nushell open -r foo.toml | to nuon --raw-strings r#'# example.toml name = "my-app" version = "1.0.0" '# ``` ### After ```nushell open -r foo.toml | to nuon --raw-strings r##'# example.toml name = "my-app" version = "1.0.0" '## ``` <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 1, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This fixes a bug where update with a nested column path and closure (for example rss_item.pubDate) could evaluate the closure against a projected list and write the same result back to every row. - Switched nested closure updates to a recursive per-cell traversal so closures run once per targeted leaf value. - Preserved existing behavior for index-first paths (for example update 0.a with a closure). <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) This fixes a bug where update with a nested column path and closure (for example rss_item.pubDate) could evaluate the closure against a projected list and write the same result back to every row. ### Before ```nushell { rss_item: [ [ pubDate]; [1773429600], [1774325700], [1775448000] ] } | update rss_item.pubDate { into datetime -f "%s" } | table -e ╭──────────┬──────────────────────────────╮ │ │ ╭─#─┬───────pubDate────────╮ │ │ rss_item │ │ 0 │ ╭───┬──────────────╮ │ │ │ │ │ │ │ 0 │ 2 months ago │ │ │ │ │ │ │ │ 1 │ 2 months ago │ │ │ │ │ │ │ │ 2 │ a month ago │ │ │ │ │ │ │ ╰───┴──────────────╯ │ │ │ │ │ 1 │ ╭───┬──────────────╮ │ │ │ │ │ │ │ 0 │ 2 months ago │ │ │ │ │ │ │ │ 1 │ 2 months ago │ │ │ │ │ │ │ │ 2 │ a month ago │ │ │ │ │ │ │ ╰───┴──────────────╯ │ │ │ │ │ 2 │ ╭───┬──────────────╮ │ │ │ │ │ │ │ 0 │ 2 months ago │ │ │ │ │ │ │ │ 1 │ 2 months ago │ │ │ │ │ │ │ │ 2 │ a month ago │ │ │ │ │ │ │ ╰───┴──────────────╯ │ │ │ │ ╰─#─┴───────pubDate────────╯ │ ╰──────────┴──────────────────────────────╯ ``` ### After ```nushell { rss_item: [ [ pubDate]; [1773429600], [1774325700], [1775448000] ] } | update rss_item.pubDate { into datetime -f "%s" } | table -e ╭──────────┬──────────────────────╮ │ │ ╭─#─┬───pubDate────╮ │ │ rss_item │ │ 0 │ 2 months ago │ │ │ │ │ 1 │ 2 months ago │ │ │ │ │ 2 │ a month ago │ │ │ │ ╰───┴──────────────╯ │ ╰──────────┴──────────────────────╯ ``` ### Before ```nushell { w: { x: [ { y: "1" } { y: "2" } ] } } | update w.x.y { into float } | to yaml w: x: - 'y': - 1.0 - 2.0 - 'y': - 1.0 - 2.0 ``` ### After ```nushell { w: { x: [ { y: "1" } { y: "2" } ] } } | update w.x.y { into float } | to yaml w: x: - 'y': 1.0 - 'y': 2.0 ``` ### Before ```nushell [{w: {x: [{y: "1"} {y: "2"}]}}] | update w.x.y { into float } | to yaml - w: x: - 'y': - 1.0 - 2.0 - 'y': - 1.0 - 2.0 ``` ### After ```nushell [{w: {x: [{y: "1"} {y: "2"}]}}] | update w.x.y { into float } | to yaml - w: x: - 'y': 1.0 - 'y': 2.0 ``` ### Before ```nushell [ [[a]; [1] [2]] ] | update a {into float} | to yaml - - a: - 1.0 - 2.0 - a: - 1.0 - 2.0 ``` ### After ```nushell [ [[a]; [1] [2]] ] | update a {into float} | to yaml - - a: 1.0 - a: 2.0 ``` <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes closes #15726 related #15789 <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
pushed a commit
that referenced
this pull request
Jun 1, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description Added rest parameters to `append`. It still requires the first argument as a foolproofing compile error, like `get`. If someone _really_ wants the "list wrapping" input behavior, they can `| append []` Also nuked one example, and the example list could use some more trimming to have shorter values, and fewer overall. Added one example for the rest values, mixing lists and atomic values, resulting in a net 0. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> `append` can now take multiple values to append as rest parameters ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
pushed a commit
that referenced
this pull request
Jun 1, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> Don't do that ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> `bytes index-of` doesn't panic on empty patterns anymore ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 1, 2026
…d test (#18260) <!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description Talking in discord, we discovered that nu-mcp was escaping nuon mutliple times in the output. This PR tries to address that. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) Reduce the amount of escaping that nu-mcp does by using raw-strings. ### Before ```json { "jsonrpc": "2.0", "id": 3, "result": { "content": [ { "type": "text", "text": "{cwd:/Users/fdncred/src/nushell,history_index:0,timestamp:2026-05-21T15:10:18.619935+00:00,output:\"\\\"[\n {\n \\\\\\\"name\\\\\\\": \\\\\\\"assets\\\\\\\",\n \\\\\\\"type\\\\\\\": \\\\\\\"dir\\\\\\\",\n \\\\\\\"size\\\\\\\": 160,\n \\\\\\\"modified\\\\\\\": \\\\\\\"2024-09-14T07:06:47.316979108-05:00\\\\\\\"\n },\n {\n \\\\\\\"name\\\\\\\": \\\\\\\"ast-grep\\\\\\\",\n \\\\\\\"type\\\\\\\": \\\\\\\"dir\\\\\\\",\n \\\\\\\"size\\\\\\\": 160,\n \\\\\\\"modified\\\\\\\": \\\\\\\"2026-01-07T06:22:12.488582817-06:00\\\\\\\"\n },\n {\n \\\\\\\"name\\\\\\\": \\\\\\\"benches\\\\\\\",\n \\\\\\\"type\\\\\\\": \\\\\\\"dir\\\\\\\",\n \\\\\\\"size\\\\\\\": 128,\n \\\\\\\"modified\\\\\\\": \\\\\\\"2026-05-21T08:31:29.486599444-05:00\\\\\\\"\n }\n]\\\"\"}" } ], "isError": false } } ``` ### After ```json { "jsonrpc": "2.0", "id": 3, "result": { "content": [ { "type": "text", "text": "{cwd:/Users/fdncred/src/nushell,history_index:0,timestamp:2026-05-21T15:20:18.004016+00:00,output:r#'[\n {\n \"name\": \"assets\",\n \"type\": \"dir\",\n \"size\": 160,\n \"modified\": \"2024-09-14T07:06:47.316979108-05:00\"\n },\n {\n \"name\": \"ast-grep\",\n \"type\": \"dir\",\n \"size\": 160,\n \"modified\": \"2026-01-07T06:22:12.488582817-06:00\"\n },\n {\n \"name\": \"benches\",\n \"type\": \"dir\",\n \"size\": 128,\n \"modified\": \"2026-05-21T08:31:29.486599444-05:00\"\n }\n]'#}" } ], "isError": false } } ``` <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
pushed a commit
that referenced
this pull request
Jun 1, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> This updates the `roxmltree` dependency from 0.20 to the latest 0.21, which includes some bug fixes: https://github.com/RazrFalcon/roxmltree/blob/v0.21.1/CHANGELOG.md This required adding a match arm for the newly introduced `roxmltree::Error` enum value [`EntityResolver`](https://docs.rs/roxmltree/latest/roxmltree/enum.Error.html#variant.EntityResolver). ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> N/A ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. --> I confirmed that `cargo test --workspace -- --exact --skip commands::network::http::helpful_dns_error_for_unknown_domain` and `cargo run -- -c "use toolkit.nu; toolkit test stdlib"` still pass.
fdncred
pushed a commit
that referenced
this pull request
Jun 1, 2026
This PR should close #18281 After applying this patch. ``` /content/nushell/target/release> [["A", "B"], ["1", "2"]] | get 0.-1 Error: nu::parser::error × Invalid literal ╭─[repl_entry #1:1:35] 1 │ [["A", "B"], ["1", "2"]] | get 0.-1 · ─┬ · ╰── negative index is not supported in cell path ╰──── ``` ``` /content/nushell/target/release> [1, 2, 3] | reject (-1) Error: nu:🐚:cant_convert × Can't convert to cell path. ╭─[repl_entry #5:1:20] 1 │ [1, 2, 3] | reject (-1) · ──┬─ · ╰── can't convert negative number to cell path ╰──── ``` <!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
pushed a commit
that referenced
this pull request
Jun 3, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> Follow-up to #17941 to make color lookups more complete. Notably, file and directory completions from `commandline complete -d` now include the same `LS_COLORS` values used by default. For example: ``` ~/Documents/Development/nushell> '%ls ' | commandline complete -d | first 5 ╭───┬────────────┬───────────────┬────────────────────────────┬───────────╮ │ # │ value │ span │ style │ kind │ ├───┼────────────┼───────────────┼────────────────────────────┼───────────┤ │ 0 │ AGENTS.md │ ╭───────┬───╮ │ ╭────┬──────────────╮ │ file │ │ │ │ │ start │ 4 │ │ │ fg │ xterm_khaki3 │ │ │ │ │ │ │ end │ 4 │ │ ╰────┴──────────────╯ │ │ │ │ │ ╰───────┴───╯ │ │ │ │ 1 │ assets/ │ ╭───────┬───╮ │ ╭────┬───────────────────╮ │ directory │ │ │ │ │ start │ 4 │ │ │ fg │ xterm_steelblue1b │ │ │ │ │ │ │ end │ 4 │ │ ╰────┴───────────────────╯ │ │ │ │ │ ╰───────┴───╯ │ │ │ │ 2 │ ast-grep/ │ ╭───────┬───╮ │ ╭────┬───────────────────╮ │ directory │ │ │ │ │ start │ 4 │ │ │ fg │ xterm_steelblue1b │ │ │ │ │ │ │ end │ 4 │ │ ╰────┴───────────────────╯ │ │ │ │ │ ╰───────┴───╯ │ │ │ │ 3 │ benches/ │ ╭───────┬───╮ │ ╭────┬───────────────────╮ │ directory │ │ │ │ │ start │ 4 │ │ │ fg │ xterm_steelblue1b │ │ │ │ │ │ │ end │ 4 │ │ ╰────┴───────────────────╯ │ │ │ │ │ ╰───────┴───╯ │ │ │ │ 4 │ Cargo.lock │ ╭───────┬───╮ │ ╭────┬──────────────╮ │ file │ │ │ │ │ start │ 4 │ │ │ fg │ xterm_grey46 │ │ │ │ │ │ │ end │ 4 │ │ ╰────┴──────────────╯ │ │ │ │ │ ╰───────┴───╯ │ │ │ ╰───┴────────────┴───────────────┴────────────────────────────┴───────────╯ ``` ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> Improve `LS_COLORS` support to `commandline complete --detailed`. ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. --> As my comment alludes to, it would be nice to have a single source of truth for all these color lookups between `nu-color-config` and the `ansi` commands. My attempts to write a macro that can be used by all three [à la X macros](https://danilafe.com/blog/chapel_x_macros/) were not very successful, but maybe there's a simpler way?
fdncred
added a commit
that referenced
this pull request
Jun 3, 2026
….toml (#18335) <!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR bumps the rust toolchain to 1.94.1 <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) N/A <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 4, 2026
## Description
This PR fixes 2 bugs in the `run` command.
1. It allows for a user to use `run` in non-caching mode by specifying
`run --full-reparse/-f`. This is good for situations like this `watch .
-g *.nu | where path ends-with test.nu | each -f { run -f test.nu }`
when a user is editing `test.nu` over and over again. However, one
should be careful because `test.nu` could be looked up from other viable
locations. It's better to use something like `./test.nu`. I actually ran
into this while testing.
2. It fixes a bug where the decl lookup wasn't correct so `nu -n` and
then `run toolkit.nu` would only work once when you should be able to
`run toolkit.nu` many times in the repl.
## User-facing changes (Release notes)
Bug fixes
- `watch . -g *.nu | where path ends-with test.nu | each -f { run -f
./test.nu }` now works.
- `nu -n` then `run toolkit.nu` then `run toolkit.nu` now works,
previously it didn't allow running it more than once due to a bug in
caching.
## Additional notes
<!--
Optional.
Examples:
- fixes #123
- closes #456
- related #789
Anything else reviewers should know.
Remove this section if not needed.
-->
fdncred
added a commit
that referenced
this pull request
Jun 6, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR fixes the `input/output` and an example for the `plugin list` command. <img width="3218" height="692" alt="Screenshot 2026-06-06 at 09-06-15" src="https://github.com/user-attachments/assets/ca5b5e4b-0b68-4c4d-93a7-37a29b82c153" /> <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes closes #18356 <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
cptpiepmatz
pushed a commit
that referenced
this pull request
Jun 8, 2026
…riment) (#18109) ## Description This PR aims to replace nu-glob and wax with Devyn's glob-experiment. I implemented this as an experimental feature named dc-glob (devyn cairns glob). It was a very tricky PR since every command that touches globs (just about) had to be updated. This globbing should stream well but I anticipate corner issues since it's so heavily used. The goal is to remove wax and nu-glob and standardize on something that works on all platforms. Time will tell if this is it. Here's a couple hyperfine benchmarks. ### Hyperfine with `glob **/*.rs` in the nushell repo ```nushell ❯ hyperfine --warmup 5 --runs 20 "./target/release/nu --experimental-options dc-glob=false -c 'glob **/*.rs | length'" "./target/release/nu --experimental-options dc-glob=true -c 'glob **/*.rs | length'" Benchmark 1: ./target/release/nu --experimental-options dc-glob=false -c 'glob **/*.rs | length' Time (mean ± σ): 660.7 ms ± 6.1 ms [User: 285.8 ms, System: 373.4 ms] Range (min … max): 653.0 ms … 682.0 ms 20 runs Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options. Benchmark 2: ./target/release/nu --experimental-options dc-glob=true -c 'glob **/*.rs | length' Time (mean ± σ): 507.4 ms ± 4.2 ms [User: 193.7 ms, System: 444.3 ms] Range (min … max): 499.9 ms … 515.6 ms 20 runs Summary ./target/release/nu --experimental-options dc-glob=true -c 'glob **/*.rs | length' ran 1.30 ± 0.02 times faster than ./target/release/nu --experimental-options dc-glob=false -c 'glob **/*.rs | length' ``` ### Hyperfine with `ls **/*.rs` in the nushell repo ```nushell ❯ hyperfine --warmup 5 --runs 20 "./target/release/nu --experimental-options dc-glob=false -c 'ls **/*.rs | length'" "./target/release/nu --experimental-options dc-glob=true -c 'ls **/*.rs | length'" Benchmark 1: ./target/release/nu --experimental-options dc-glob=false -c 'ls **/*.rs | length' Time (mean ± σ): 2.358 s ± 0.032 s [User: 0.612 s, System: 1.747 s] Range (min … max): 2.319 s … 2.459 s 20 runs Benchmark 2: ./target/release/nu --experimental-options dc-glob=true -c 'ls **/*.rs | length' Time (mean ± σ): 488.5 ms ± 15.7 ms [User: 170.2 ms, System: 461.4 ms] Range (min … max): 476.9 ms … 539.0 ms 20 runs Summary ./target/release/nu --experimental-options dc-glob=true -c 'ls **/*.rs | length' ran 4.83 ± 0.17 times faster than ./target/release/nu --experimental-options dc-glob=false -c 'ls **/*.rs | length' ``` ### Tango Benchmarks ```nushell ❯ cargo bench --bench benchmarks -- solo --filter '*recursive*' ls_recursive_legacy [ 35.6 ms ... 36.2 ms ... 36.9 ms ] stddev: 666.1 us ls_recursive_dc [ 13.7 ms ... 14.4 ms ... 14.9 ms ] stddev: 396.4 us glob_recursive_legacy_wax [ 15.6 ms ... 15.8 ms ... 16.1 ms ] stddev: 188.4 us glob_recursive_dc_glob [ 6.1 ms ... 6.8 ms ... 10.3 ms ] stddev: 1.0 ms ``` <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) There is a new experimental feature named dc-glob (named for devyn cairns glob). The goal is to remove our existing globbing crates and standardize on something that works on all platforms. Time will tell if this is it. It seems pretty fast. To enable it just launch nushell with `nu --experimental-options dc-glob=true` or set your environment variable _BEFORE_ nushell launches like `NU_EXPERIMENTAL_OPTIONS=all` or `NU_EXPERIMENTAL_OPTIONS=dc-glob=true` if you only want to try this one. <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes tracking #18101 <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. --> --------- Co-authored-by: Copilot <[email protected]>
fdncred
added a commit
that referenced
this pull request
Jun 8, 2026
## Description This PR add the ability to have a "before_context" and "after_context" in the `idx search` command by using the `--context/-c` parameter and a range. ## User-facing changes (Release notes) Add context to your `idx search` queries by using `--context/-c` and a nushell range. The range has to be in the form of negative_number..positive_number where negative_number is the before lines to show and the positive_number is the after lines to show in the `with_context` record key. <img width="2504" height="1007" alt="Screenshot 2026-06-08 at 10-15-31" src="https://github.com/user-attachments/assets/eb5d08f6-5028-4fe3-945c-825bd8898624" /> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 8, 2026
## Description This PR allows the `idx search --context` parameter to be one of `int` or `range`. When supplied by `int` it makes before and after context that number. ## User-facing changes (Release notes) This change allows `idx search --context` to be supplied as either an `int` or as a `range`. <img width="2426" height="1839" alt="Screenshot 2026-06-08 at 13-38-25" src="https://github.com/user-attachments/assets/96392630-7e6d-4a67-9ec0-4299097fa4d0" /> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 9, 2026
## Description
This PR fixes a bug where `def --wrapped cmd [...rest] {$rest.0 |
describe}` was always printing the type as `glob`. I'm not sure that's
too much of a problem but with this PR there should be only 3 returns
from `cmd` above; `string`, `glob`, `ShellError`. This is because
`--wrapped` is specifically intended to pass arguments to externals.
## User-facing changes (Release notes)
Fixed a regression where all custom commands with `--wrapped` where
numbers and strings passed to externals as `glob` now everything is
passed as `string` or `glob` or creates an error.
<!--
This section is used (mostly as-is) for https://www.nushell.sh/blog/
Describe how Nushell behavior changes from a user's perspective.
Do NOT describe internal Rust changes here.
Write in a release note style, for example:
- "Added support for..."
- "Fixed an issue where..."
- "Nushell now supports..."
- "Improved performance of..."
If your changes do NOT affect users (internal refactors, cleanup, etc.),
just write:
- "n/a"
- "nan"
- or similar
This tells us the change should not appear in the changelog.
Tips:
- Focus on observable behavior
- Include examples if helpful
- Keep it concise
You can:
- Write a short paragraph (will appear as a bullet point), OR
- Use headings (###) if your change needs more structure
Avoid writing things like:
- "In this PR, I refactored..."
- "This updates internal code..."
You may leave this blank until the PR is ready.
-->
## Additional notes
closes #18370
<!--
Optional.
Examples:
- fixes #123
- closes #456
- related #789
Anything else reviewers should know.
Remove this section if not needed.
-->
fdncred
added a commit
that referenced
this pull request
Jun 9, 2026
## Description This PR fixes a bug where the new experimental-option `dc-glob` wouldn't expand `~` properly in the `glob` command. Now it does. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) `glob` expands `~` as expected now. <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 9, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR fixes a bug reported by @Tyarel8 on Discord where `glob .cargo/bin/nu*` nor `%ls .cargo/bin/nu*` wouldn't work. dc-glob wasn't separating the pattern from the path. That's what this PR fixes. Thanks @Tyarel8 ! <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) Fixes a bug where `glob .cargo/bin/nu*` nor `%ls .cargo/bin/nu*` wouldn't work. <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 9, 2026
…changes (#18376) <!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR fixes a deficiency in dc-glob that I just found. There was no way to make it case-sensitive or case-insensitive. So, I added the `--ignore-case/-i` option when `dc-glob = true` so you can do things like `glob c* -i` and get all hits with `C*` and `c*`. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) Fix a breaking change that allows glob to still work in case-insensitive mode when using the `--ignore-case/-i` when using the dc-glob experimental-option. <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 10, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR fixes another bug reported by @Tyarel8 in Discord where dc-glob was emitting relative path candidates for absolute patterns. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) glob with dc-glob = true now emits absolute paths when absolute patterns are used. The simple example was doing `glob ~/.cargo/bin/nu*` from within `~/Downloads` and making sure the results start with `/Users/<username>/.cargo/bin/nu`. Previously they incorrectly started with `/Users/<username>/Downloads/nu*` which was completely wrong. Thanks @Tyarel8 ! <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 11, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR fixes another bug found by @Tyarel8 on Discord where globbing was preventing removing of folders. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) Fix a bug with dcglob fixing a problem with rm. <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 11, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR refactors parser.rs from one ~7800 line file to smaller parser_*.rs files to make it easier to consume and find things. There are no API changes. Same with the ~4400 line parse_keyword.rs file. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) N/A <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 11, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. --> - fixes #18315 sorry been busy this week so i was delayed getting this up @fdncred note that for internal calls such as `echo` the expansion 'bug' described in #18315 would still occur since the bang expression is parsed as a string which we've marked as a non-expansion condition. not sure if/how we want to get around that. also, running `cargo update -p reedline` isn't updating reedline to the latest commit -- any help there? --------- Co-authored-by: Darren Schroeder <[email protected]>
fdncred
added a commit
that referenced
this pull request
Jun 12, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR pins ratatui-widgets to 0.3.0 because 0.3.1 breaks compilation. This change prevents builders from having to use --locked. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
pushed a commit
that referenced
this pull request
Jun 13, 2026
## Description Removed the copy/paste command from stdlib that were deprecated in `0.111.0`. I think it makes sense to remove these sooner rather than later since it can be confusing that they have the exact same name as the ones in the "new" `native-clip` experimental option. ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> Removed the deprecated `use std/clip` `copy` and `paste` commands, they are now called `copy52` and `paste52` for the ones that use the terminal `OSC 52`, or you can use `clip copy` and `clip paste` from the experimental option `native-clip` that access the system clipboard directly. <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 13, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR fixes a bug in the `end-of-options` `--` functionality when used with `--wrapped`. Previously if `--` was used with a custom command with `--wrapped` the code didn't set `end_of_options = true` properly. So, other --flags=boo would still be passed as flags instead of passing them through. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) Fixed a bug with how `--` was handled with `--wrapped` custom commands. Now you can do things like this: ```nushell ❯ def --wrapped example [--my-flag: string ...rest] { let rest = $rest | skip 1 # skip the '--' delimiter $rest | each { {type: ($in | describe) value: $in} } | print print $"--my-flag='($my_flag)'" } ❯ example --my-flag="hi" -- true false 001 --my-flag="goodbye" ╭─#─┬──type──┬───────value───────╮ │ 0 │ string │ true │ │ 1 │ string │ false │ │ 2 │ string │ 001 │ │ 3 │ string │ --my-flag=goodbye │ ╰───┴────────┴───────────────────╯ --my-flag='hi' ``` <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes Closes #18399 <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 14, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR adds a random password generator called `random pass`. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) New command `random pass` generates random passwords. ```nushell ❯ 0..10 | each {random pass} ╭────┬──────────────╮ │ 0 │ o(3&BU2EkWv] │ │ 1 │ 3~5y9PpXKH-| │ │ 2 │ 7Wa6]`q-TR?- │ │ 3 │ r|F=5d:.-BZp │ │ 4 │ 7ZjM$xg?h^o3 │ │ 5 │ CMg.4-NKxy^e │ │ 6 │ b8&zy)ZhN}MV │ │ 7 │ }Hc#>GpyK%@6 │ │ 8 │ KvJOL4VoTgN] │ │ 9 │ 7HN!%1A0Vm-X │ │ 10 │ 4|`M&8x%wX@S │ ╰────┴──────────────╯ ``` `random pass` supports these flags. ```nushell -c, --chars <int>: Length of the generated password (default 12) -u, --no-uppercase: Exclude uppercase letters A-Z -l, --no-lowercase: Exclude lowercase letters a-z -n, --no-numbers: Exclude numbers 0-9 -s, --no-symbols: Exclude symbols like !@#$% --include-ambiguous: Include ambiguous characters O, 0, l, 1 --include-similar: Include similar characters i, l, 1 --require-each-type: Guarantee at least one char from each enabled character type ``` <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 20, 2026
…e pushdown filters (#18398) <!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR refactors the sqlite pushdown code for filters to make it easier to add other pushdown filters. Also added pushdown to `skip` and `uniq` commands. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) Refactor commands that use sqlite pushdown so that it's easier to add other pushdown filters. <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 22, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR enables the `is-terminal` command to detect redirection. The command without any flags defaults to `--stdout`. Scenario | Before PR | After PR -- | -- | -- is-terminal --stdout (in terminal) | true | true is-terminal --stdout \| cmd | true | false is-terminal --stdout o> file | true | false let x = (is-terminal --stdout) | true | false <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) The `is-terminal` command can detect redirection now. It now defaults to `--stdout`. Scenario | Current -- | -- is-terminal (in terminal)| true is-terminal \| cmd | false is-terminal o> file | false let x = (is-terminal) | false <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes closes #15368 <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 23, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description Respect the table mode passed in on the cli when running scripts. Before it would ignore table mode passed like this `nu -m "none" script.nu`. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) Respect the table mode when passed in on the cli when running script so you can do things like this. ```nushell ❯ '1..3 | each { { number: $in, comment: "hello" } }' | save script.nu ❯ nu -m "none" script.nu # number comment 0 1 hello 1 2 hello 2 3 hello ``` <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes closes #18445 <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 23, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR bumps quinn-proto so that we don't get vulnerability warnings. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
pushed a commit
that referenced
this pull request
Jun 23, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description <!-- This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> Add `nu-lsp` feature flag to the executable. This change allows the Nushell LSP functionality to be feature gated to help slim down binary size for CI use cases. --- Here are some size comparisons: <img width="535" height="136" alt="image" src="https://github.com/user-attachments/assets/422781de-8573-4301-a1ba-034f5739f663" /> * `nushell-pre.tar.gz` is the tarball for `cargo build --release --no-default-features` on latest main ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> Added support for feature gating LSP functionality. ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 23, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR bumps reedline to the latest commit 31a91c3 <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 24, 2026
…ogging (#18468) <!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR adds a new `--log-level` called `perf` that filters out everything except items that use the `perf!()` macro in the code. It's helpful to see only the perf and not clutter up the screen with other information. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) For those debugging startup performance, we added a new `--log-level` called `perf` that shows performance information. <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 24, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR bumps rusqlite to 0.40.1 and bumps reedline to the latest commit. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
pushed a commit
that referenced
this pull request
Jun 26, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> This improves loading items from stream inputs so that streaming is faster, more responsive, and doesn't block the UI. Some minor improvements were also made to handling of control characters so that they don't mess up rendering as much, hopefully. On startup, if the input is a stream, `input list` waits up to 250ms for the input to collect before rendering the UI; if the stream hasn't finished collecting by the first paint, it will display a live-updating count in the footer as the items stream in. Pressing End to jump to the final list of the item will pin the cursor at the end so that it will stay there as new items stream in; the cursor will stay pinned until no items remain or until the user moves the cursor manually. Additionally, I fixed a rendering bug where the header rows in table mode would not properly redraw if columns in the rest of the table expanded during scrolling. ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> - `input list` no longer blocks first paint until stream inputs are fully collected; now, it shows a live-updating count of currently collected items in the footer and allows the UI to be responsive as items stream in. - In table mode, header cells now properly expand as their respective columns expand when scrolling through the list. - Fixed an issue where certain control characters like tabs could throw off UI alignment during rendering. ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. --> Related: #17963
fdncred
added a commit
that referenced
this pull request
Jun 26, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR changes how "hits" are displayed by making them relative to the cwd in the hopes that it makes them more usable. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) We changed how "hits" are displayed by making them relative to the cwd in the hopes that it makes them more usable. It works this way for `idx find` and `idx search`. <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes closes #18475 <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 27, 2026
…ombinations) (#18467) ## Description This PR adds a few new commands `union`, `intersect`, `difference`, `combinations`, and `permutations` as built-in filter commands. These provide immutable, functional list operations. These commands and presented as a starting point. I'm sure there are edge cases where they do not work but we can continue to work on them as time passes. ## User-facing changes (Release notes) Added `union`, `intersect`, `difference`, `combinations`, and `permutations` as built-in filter commands. These provide immutable, functional list operations. ### Commands #### `union` Returns a deduplicated list of unique elements present in either the input list or the given list. ```nushell [1 2 3 4] | union [3 4 5 6] # ╭─┬───╮ # │0│ 1 │ # │1│ 2 │ # │2│ 3 │ # │3│ 4 │ # │4│ 5 │ # │5│ 6 │ # ╰─┴───╯ [{a:1} {a:2}] | union [{a:2} {a:3}] # ╭─┬───────╮ # │0│ a: 1 │ # │1│ a: 2 │ # │2│ a: 3 │ # ╰─┴───────╯ ``` #### `intersect` Returns a deduplicated list of unique elements present in both the input list and the given list. ```nushell [1 2 3 4] | intersect [3 4 5 6] # ╭─┬───╮ # │0│ 3 │ # │1│ 4 │ # ╰─┴───╯ [1 2 3] | intersect [4 5 6] # ╭──────────╮ # │ empty │ # ╰──────────╯ ``` #### `difference` Returns a deduplicated list of unique elements present in the input list but not in the given list. ```nushell [1 2 3 4] | difference [3 4 5 6] # ╭─┬───╮ # │0│ 1 │ # │1│ 2 │ # ╰─┴───╯ [{a:1} {a:2} {a:3}] | difference [{a:2} {a:4}] # ╭─┬───────╮ # │0│ a: 1 │ # │1│ a: 3 │ # ╰─┴───────╯ ``` #### `combinations` Generates all combinations of a given size k from the input list, streamed lazily via `ListStream`. If k > n, returns an empty list. ```nushell [1 2 3] | combinations 2 # ╭─┬──────────╮ # │0│ ╭─┬───╮ │ # │ │ │0│ 1 │ │ # │ │ │1│ 2 │ │ # │ │ ╰─┴───╯ │ # │1│ ╭─┬───╮ │ # │ │ │0│ 1 │ │ # │ │ │1│ 3 │ │ # │ │ ╰─┴───╯ │ # │2│ ╭─┬───╮ │ # │ │ │0│ 2 │ │ # │ │ │1│ 3 │ │ # │ │ ╰─┴───╯ │ # ╰─┴──────────╯ [1 2] | combinations 3 # ╭──────────╮ # │ empty │ # ╰──────────╯ ``` #### `permutations` Generates all permutations of the input list using Heap's algorithm, streamed lazily via `ListStream`. ```nushell [1 2 3] | permutations # ╭─┬──────────╮ # │0│ ╭─┬───╮ │ # │ │ │0│ 1 │ │ # │ │ │1│ 2 │ │ # │ │ │2│ 3 │ │ # │ │ ╰─┴───╯ │ # │1│ ╭─┬───╮ │ # │ │ │0│ 2 │ │ # │ │ │1│ 1 │ │ # │ │ │2│ 3 │ │ # │ │ ╰─┴───╯ │ # │2│ ╭─┬───╮ │ # │ │ │0│ 3 │ │ # │ │ │1│ 1 │ │ # │ │ │2│ 2 │ │ # │ │ ╰─┴───╯ │ # │3│ ╭─┬───╮ │ # │ │ │0│ 1 │ │ # │ │ │1│ 3 │ │ # │ │ │2│ 2 │ │ # │ │ ╰─┴───╯ │ # │4│ ╭─┬───╮ │ # │ │ │0│ 2 │ │ # │ │ │1│ 3 │ │ # │ │ │2│ 1 │ │ # │ │ ╰─┴───╯ │ # │5│ ╭─┬───╮ │ # │ │ │0│ 3 │ │ # │ │ │1│ 2 │ │ # │ │ │2│ 1 │ │ # │ │ ╰─┴───╯ │ # ╰─┴──────────╯ [1 2] | permutations # ╭─┬──────────╮ # │0│ ╭─┬───╮ │ # │ │ │0│ 1 │ │ # │ │ │1│ 2 │ │ # │ │ ╰─┴───╯ │ # │1│ ╭─┬───╮ │ # │ │ │0│ 2 │ │ # │ │ │1│ 1 │ │ # │ │ ╰─┴───╯ │ # ╰─┴──────────╯ ``` ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
pushed a commit
that referenced
this pull request
Jun 27, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> Adresses two issues. First, there was a bad test `no_search_term_duplicates` which despite its name merely checked whether search terms for all commands are not contained in the name of their own commands. ~~Which meant that for whatever reason redirecting people who want to use `sqrt` to `math sqrt` would violate tests. The test would make sense (before the second change in the PR) if it actually did what it's supposed to, but it didn't do even that, so I've opted to just remove it. Oh, also yes, I've added `sqrt` as `math sqrt` search term.~~ To avoid further confusion, I've renamed the test to `no_command_name_contains_search_terms` Second, help messages for search terms would only show the first command that satisfies. For example, try typing `root` into the shell. You will see this: ```sh ❯ root Error: nu::shell::external_command × External command failed ╭─[repl_entry #1:1:1] 1 │ root · ──┬─ · ╰── Command `root` not found ╰──── help: Did you mean `is-admin`? ``` And this is despite "math sqrt" also having "root" as its search terms. I've made it so all commands show up: ```sh Error: nu:🐚:external_command × External command failed ╭─[source:1:1] 1 │ root · ──┬─ · ╰── Command `root` not found ╰──── help: Did you mean `is-admin` or `math sqrt`? ``` ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> n/a really ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
pushed a commit
that referenced
this pull request
Jun 27, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> literally the title. ## User-facing changes (Release notes) <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> Added `math cbrt` (cube root) function. <!-- ## Additional notes Requires #18482 (well, not really, but will fail tests otherwise) Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jun 30, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description A bug was reported on Discord that disallowed the `--plugins` from working. The problem was, when using with a shebang this would happen `nu --plugins '/usr/share/nutext/nu_plugin_nutext' /path/to/rhino-pkg` and then nushell would puke because the cli parsing thinks `/path/to/rhino-pkg` is another plugin but it's named wrong, which is wrong of course. The fix is to allow only 1 item to be passed as a plugin instead of many. This is what is acceptible now. ```nushell nu --plugins /path/to/nu_plugin_one --plugins /path/to/nu_plugin_two # mutliple --plugins params nu --plugins '[/path/to/nu_plugin_one, /path/to/nu_plugin_two]' # comma separation nu --plugins '[/path/to/nu_plugin_one /path/to/nu_plugin_two]' # no comma separation nu --plugins '["/path/to plugin/nu_plugin_one", "/path/to plugin/nu_plugin_two"]' # quoted paths, with or without commas ``` ## User-facing changes (Release notes) The nushell cli parsing now supports the `--plugins` parameter in these variations ```nushell nu --plugins /path/to/nu_plugin_one --plugins /path/to/nu_plugin_two # mutliple --plugins params nu --plugins '[/path/to/nu_plugin_one, /path/to/nu_plugin_two]' # comma separation nu --plugins '[/path/to/nu_plugin_one /path/to/nu_plugin_two]' # no comma separation nu --plugins '["/path/to plugin/nu_plugin_one", "/path/to plugin/nu_plugin_two"]' # quoted paths, with or without commas ``` ## Additional notes <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
fdncred
added a commit
that referenced
this pull request
Jul 9, 2026
<!-- Thanks for contributing to Nushell! Before submitting, please read the contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md This template helps reviewers understand your changes and allows us to generate high-quality release notes. --> ## Description This PR allows more date commands to have an input_output of a list. <!-- Explain what this PR does and why. This section is intentionally flexible: - Describe the problem - Explain your approach - Include technical details if relevant Good examples: - "In this PR, I fixed..." - "In this PR, I added support for..." - "This change improves X by..." Write as much or as little as needed for reviewers to understand your changes. --> ## User-facing changes (Release notes) Allow more date commands to have a list as input_output. These are the commands that were updated: - date humanize - date from-human - date to-timezone - format date - into datetime <!-- This section is used (mostly as-is) for https://www.nushell.sh/blog/ Describe how Nushell behavior changes from a user's perspective. Do NOT describe internal Rust changes here. Write in a release note style, for example: - "Added support for..." - "Fixed an issue where..." - "Nushell now supports..." - "Improved performance of..." If your changes do NOT affect users (internal refactors, cleanup, etc.), just write: - "n/a" - "nan" - or similar This tells us the change should not appear in the changelog. Tips: - Focus on observable behavior - Include examples if helpful - Keep it concise You can: - Write a short paragraph (will appear as a bullet point), OR - Use headings (###) if your change needs more structure Avoid writing things like: - "In this PR, I refactored..." - "This updates internal code..." You may leave this blank until the PR is ready. --> ## Additional notes closes #18534 <!-- Optional. Examples: - fixes #123 - closes #456 - related #789 Anything else reviewers should know. Remove this section if not needed. -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.