Commit Graph
11686 Commits
Author SHA1 Message Date
Jack Wright e5b0804dec Lazy and expression support for polars rolling (#18730)
## Description
Implemented lazyframe and expression support for `polars rolling`. I
also made some minor changes to make typing more strict around taking
NuLazyGroupBy explicitly as output and inputs.


## User-facing changes (Release notes)
- `polars rolling` can now be used natively with lazy frames and be used
in expressions.
2026-07-26 04:28:41 -05:00
Piepmatz 3a299f3fce Update kitest (#18727) 2026-07-25 19:35:12 +02:00
Darren Schroeder 58a647346a fix ls ** when using dc-glob experimental option (#18724)
<!--
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 when using the dc-glob experimental-option where `ls
**` wouldn't work. Now it works the same as before.
<!--
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)
With the dc-glob experimental option enabled `ls **` now works again.
<!--
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.
-->
2026-07-25 08:48:04 -05:00
Daniel Castrillon 8c790f0034 Fix RHS pipeline input type checking (issue #18682) (#18723)
## Description

`parse_math_expression` passed the pipeline input type when parsing the
left-hand side, but parsed the right-hand side without it.

As a result, an incompatible expression such as `"x" + $in` inside a
command with typed pipeline input was accepted by the parser and only
failed at runtime, while the equivalent `$in + "x"` expression produced
a parse-time type error.

This change passes the same pipeline input type to the right-hand side
and adds a regression test alongside the existing `$in` type-checking
tests.

## User-facing changes (Release notes)

Nushell now reports incompatible right-hand-side uses of `$in` in typed
math expressions during parsing, matching the existing behavior for the
left-hand side.

## Additional notes

Fixes #18682

Local verification:

- `cargo fmt --all -- --check`
- focused RHS pipeline input regression
- closure input-type isolation regressions
- block RHS pipeline input regression
- complete type-checking test module: 55 passed
- `nu-parser` tests: 302 passed, 2 ignored
- strict Clippy with default features

Signed-off-by: Daniel Castrillon <daniel.ca.pe207@gmail.com>
2026-07-25 08:02:26 -05:00
b937b9397e docs: fix devdocs links in AGENTS.md (#18721)
`AGENTS.md` links `[rust_style.md](rust_style.md)`, `[FAQ.md](FAQ.md)`
and `[HOWTOS.md](HOWTOS.md)` as if they were at the repository root, but
all three live in `devdocs/`, so the links 404 on GitHub. Pointed them
at `devdocs/`.

`CLAUDE.md` is a symlink to `AGENTS.md`, so it's fixed by the same
change. Verified all three targets exist. Docs-only.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Zayan Khan <khanzayan200@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-25 07:27:44 -05:00
Piepmatz 18c3c69b5c Do not run CI on lower layers of stacked PRs (#18720) 2026-07-25 10:27:29 +02:00
Darren Schroeder 3f21256728 add more consistency with null types (#18709)
## Description

This PR fixes inconsistent handling of `null` group keys in `group-by`
([#18707](https://github.com/nushell/nushell/issues/18707)).

## User-facing changes (Release notes)

### Fixed inconsistent `group-by` handling of null keys

`group-by` no longer maps `null` to the empty string, and treats null
the same for list values, cell paths, and closures.

#### Before (inconsistent):

```nushell
# list: null became "" → 2 groups
[ a null ] | group-by | values | length
# => 2

# cell path: null dropped → 1 group
[ { x: a } { x: null } ] | group-by x | values | length
# => 1

# closure: null became "" → 2 groups
[ { x: a } { x: null } ] | group-by { get x } | values | length
# => 2

# null and "" collapsed into one group
[ a "" null ] | group-by | to nuon --raw
# => {a: [a], "": ["", null]}
```

#### After (consistent):

```nushell
# All three return 1 (null omitted from record output)
[ a null ] | group-by | values | length
# => 1

[ { x: a } { x: null } ] | group-by x | values | length
# => 1

[ { x: a } { x: null } ] | group-by { get x } | values | length
# => 1

# Use --to-table to keep null groups
[ a null ] | group-by --to-table
# ╭───┬───────┬───────╮
# │ # │ group │ items │
# ├───┼───────┼───────┤
# │ 0 │ a     │ [a]   │
# │ 1 │       │ [null]│  # group is null
# ╰───┴───────┴───────╯

[ { x: a } { x: null } ] | group-by x --to-table
# ╭───┬────┬─────────────────╮
# │ # │ x  │      items      │
# ├───┼────┼─────────────────┤
# │ 0 │ a  │ [[x]; [a]]      │
# │ 1 │    │ [[x]; [null]]   │  # x is null
# ╰───┴────┴─────────────────╯

# null and empty string stay separate
[ "" null ] | group-by --to-table | to nuon --raw
# => [[group, items]; ["", [""]], [null, [null]]]

# record output: only "" remains; null is omitted
[ a "" null ] | group-by | to nuon --raw
# => {a: [a], "": [""]}
```

#### Optional cell path (unchanged):

```nushell
# Missing optional column still skipped
[{foo: 123}, {foo: 234}, {bar: 345}] | group-by foo?
# only groups "123" and "234"

# Optional path with explicit null is also skipped
[{x: a}, {x: null}] | group-by x?
# only group "a"
```


## Additional notes
closes https://github.com/nushell/nushell/issues/18707
2026-07-24 14:58:28 -05:00
Darren Schroeder 7b6e1afe81 fix dc-glob ls ** and ls **/*/*/* among other things (#18704)
## Description

This PR fixes recursive glob semantics in the experimental **dc-glob**
backend (`--experimental-options=[dc-glob]`), addressing the behaviors
reported in #18600 and follow-up review gaps for prefixed trailing `**`
(`dir/**`), exclude/start-dir emission, and nested terminal `**` in
alternatives.

dc-glob is aligned with [rust-lang/glob
`Pattern`](https://docs.rs/glob/latest/glob/struct.Pattern.html) (the
same model `nu-glob` documents), while remaining a **superset** for
extras such as `{a,b}`, repeats, `--ignore-case`, excludes, and depth.

### Problems fixed

1. **Bare `**` expanded to nothing**  
Users often expected `**` to work like recursive listing. dc-glob
previously returned no paths because the recurse program could not match
a final path component (it only matched `(component/)*`) and the walker
never emitted the start directory.

2. **`**/*/*/*` behaved like `**/*`**  
Extra `/*` segments did not enforce a minimum depth. Root cause: an
empty `*` plus a too-permissive `Separator` instruction could “eat” path
segments without binding a real component (`*/*` incorrectly matched a
single-component path).

3. **`**/*` and the topmost directory**  
dc-glob already omitted the start directory for `**/*`. That matches
rust-lang/glob expansion and the issue OP’s expected table. This PR
**keeps** that behavior and locks it in with tests (legacy `nu-glob`
still includes the start dir for `**/*` — a known dual-backend
difference while the option is experimental).

4. **Prefixed trailing `**` (`foo/**`) never emitted `foo`**  
The walker only probed the empty relative path for trailing recursive
patterns, while `traversal_start_dir` advances into literal prefixes.
Combined with matcher `Separator`-at-EOF rules needed for #18600, path
`foo` did not complete-match `foo/**`. Fixed by omitting the separator
before a terminal recurse, a `ComponentBoundary` instruction so `foo/**`
matches `foo` but not `foobar`, and probing/emitting the real
traversal-start relative path (e.g. `foo`).

5. **Trailing-`**` start emit skipped excludes**  
The special start-dir emission path now applies the same exclude filters
(and directory-only rules) as normal complete-match emission.

6. **Nested terminal `**` in `{…}` / repeats**  
Compilation now uses the same node-index lookahead inside alternatives
and repeats, so `{**}` / `foo/{**}` get a terminal recurse gadget.
`trailing_recursive` is set only when every alternative choice is
trailing-recursive (so `{**,README.md}` does not force directory-only
expansion).

## User-facing changes (Release notes)

With `--experimental-options=[dc-glob]` (or the equivalent config):

- Bare `**` now expands to directories at any depth (including the
current directory), not an empty list. It does **not** list regular
files; use `**/*` for files and directories under the start path.
- Prefixed trailing patterns like `foo/**` include the prefix directory
itself and nested directories only (not files).
- Patterns like `**/*/*` and `**/*/*/*` again respect minimum depth
(extra `/*` segments are no longer ignored).
- `**/*` continues to list contents **under** the start directory and
does **not** include the start directory itself (differs from legacy
`nu-glob`, matches common `glob` crate behavior).


### Examples 

```nushell
# enable dc-glob for the session
$env.NU_EXPERIMENTAL_OPTIONS = [dc-glob]
# or: nu --experimental-options=[dc-glob]

mkdir 0/1/2/3
touch 0/1/2/3/file.txt
cd 0

glob '**'
# start dir + nested directories only (no file.txt)

glob '**/*'
# everything under start — not the start dir itself

glob '**/*/*'
# paths at least 2 components deep

glob '**/*/*/*'
# paths at least 3 components deep (e.g. 1/2/3 and 1/2/3/file.txt)

mkdir foo/bar
touch foo/sibling.txt
glob 'foo/**'
# foo and foo/bar only (not sibling.txt)
```

Matcher-level checks (debug flags require dc-glob):

```nushell
glob --dbg-matches '**/*/*' '1'       # false
glob --dbg-matches '**/*/*' '1/2'     # true
glob --dbg-matches '**/*/*/*' '1/2'   # false
glob --dbg-matches '**/*/*/*' '1/2/3' # true
glob --dbg-matches '**/foo' 'foo'     # true
glob --dbg-matches 'foo/**' 'foo'     # true
glob --dbg-matches 'foo/**' 'foo/bar' # true
glob --dbg-matches 'foo/**' 'foobar'  # false
glob --dbg-matches '*/*' '1'          # false
```
## Additional notes

closes https://github.com/nushell/nushell/issues/18600
2026-07-24 14:21:25 -05:00
Darren Schroeder 21b2b6d89e add comparison operators to semver like > <, == (#18706)
## Description

In this PR, I added comparison operators for the `semver` custom value
type.

After the semver custom value work in #18473, users could convert
versions, bump them, sort lists of them, and match them against ranges
with `in`, but direct comparisons failed:

```nushell
("2.0.1" | into semver) < ("1.9.9" | into semver)
# Error: The '<' operator does not work on values of type 'semver'.
```

## User-facing changes (Release notes)


`semver` values can now be compared with `==`, `!=`, `<`, `<=`, `>`, and
`>=`, using normal semantic version ordering:

```nushell
("2.0.1" | into semver) > ("1.9.9" | into semver)
# true

("2.0.1" | into semver) < ("1.9.9" | into semver)
# false

("1.2.3" | into semver) == ("1.2.3" | into semver)
# true

("1.0.0-alpha" | into semver) < ("1.0.0" | into semver)
# true
```

A version string on the right-hand side is also accepted when it is a
valid semver:

```nushell
("2.0.1" | into semver) > "1.9.9"
# true
```


## Additional notes
closes https://github.com/nushell/nushell/discussions/18705
2026-07-24 14:20:08 -05:00
Ronald van HeldenandRonald van Helden dfc8555561 Pass Stack to the IR debugger instruction callbacks (#18708)
The IR instruction-level `Debugger` callbacks (`enter_instruction` /
`leave_instruction`) receive `&EngineState`, the `IrBlock`, the
instruction
index, and the registers — but not the `Stack`. That leaves an external
debugger unable to read variable values directly; it has to reconstruct
them by
shadow-tracking `store-variable` / `push-positional` / `push-flag`
instructions, which misses closure parameters and values held only on
the stack.

The `Stack` is already in scope at the call site in `eval_ir_block_impl`
(`ctx.stack`), so this threads a read-only `&Stack` through
`enter_instruction`
and `leave_instruction` on both `Debugger` and `DebugContext` (and the
`WithDebug` forwarder). `WithoutDebug` still optimizes away; the only
in-tree
implementor, `Profiler`, ignores the new argument.

Discussed with @fdncred in #design-discussions. Context: I've built a
DAP-based
Nushell debugger for VS Code

([dreamcode.nu-dap-vscode](https://marketplace.visualstudio.com/items?itemName=dreamcode.nu-dap-vscode));
this lets it drop its shadow-tracking layer and read real locals.

# User-Facing Changes

None. Internal debugger API only; no behavioral change.

# Tests + Formatting

- 🟢 `cargo fmt --all -- --check`
- 🟢 `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used`
(verified on the touched crates)
- `cargo test --workspace` — no new tests; pure signature addition,
existing `Profiler` covers the callback path

# After Submitting

N/A

Co-authored-by: Ronald van Helden <ronald.van.helden@wortell.nl>
2026-07-24 10:06:36 -05:00
Santh 43c46b696e Fix panic and infinite loop in seq on overflow and zero increment (#18596)
# Description

`seq`'s integer path advanced its counter with an unchecked `self.count
+= self.step`, so a sequence reaching the top (or bottom) of the `i64`
range panicked with `attempt to add with overflow` in debug builds and
silently wrapped around in release builds:

```
> seq 9223372036854775807 9223372036854775807
# panics in debug, wraps in release
```

It also never rejected a zero increment: `seq 5 0 5` emitted `5`
forever, and `seq 1 0 5` silently produced an empty list. GNU `seq`
rejects a zero increment, and `seq` here now does too.

This PR:
- Rejects a zero increment up front with an error pointing at the
increment argument.
- Advances `IntSeq` with `checked_add`, so the final in-range value is
still emitted and the iterator terminates instead of panicking or
wrapping.

# User-Facing Changes

- `seq <first> 0 <last>` now errors (`increment cannot be 0`) instead of
looping forever or returning nothing.
- `seq` sequences that reach the `i64` boundary now terminate cleanly
instead of panicking or wrapping.

# Tests + Formatting

Added regression tests in `crates/nu-command/tests/commands/seq.rs` for
the zero-increment rejection (int and float) and for the max-value
sequence that previously panicked. `cargo fmt` clean, `cargo clippy`
clean.
2026-07-23 07:57:12 -05:00
Darren Schroeder 4eae5c0b46 add splashboard to .gitignore (#18701)
<!--
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
Add .splashboard.toml to .gitignore
<!--
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.
-->
2026-07-23 07:20:56 -05:00
pyz4 9627746ea5 fix: date floor/ceil rounding for durations >= 1day (#18696)
This PR fixes an error in #18640 where dates were being rounded to the
UTC boundary rather than the boundaries of the input timezone.

```
# Erroneous
> 2026-07-15T12:00:00-04:00 | date floor 1day
Tue, 14 Jul 2026 20:00:00 -0400

# Corrected
Tue, 15 Jul 2026 00:00:00 -0400
```

Tests were added to cover cases where timezones are both whole and
fractional hour offsets.
2026-07-23 12:18:05 +03:00
Darren Schroeder e3a7f6c4ca bump reedline dep to latest commit 7eb9bf2 (#18695)
<!--
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
Another reedline bump to get nushell on the latest reedline command.
Also bumped strum and thiserror to match.
<!--
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.
-->
2026-07-22 12:17:46 -05:00
Darren Schroeder d1ddd16bc0 disallow export main from modules with keyword names (#18619)
<!--
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 disallows `export main` in a module that is named to shadow an
keyword, which we shouldn't allow. This shows and error now.
<!--
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)
With this change it is not allowed to have `export main` in a module
that is named to shadow an keyword. This shows and error 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.
-->
2026-07-22 10:39:35 -05:00
Martin Kronberger 4fbad5b82e chore(reedline): bump reedline to latest commit 83c17a2 (#18694)
<!--
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.
-->

Includes https://github.com/nushell/reedline/pull/1128, which switches
the `Prompt` trait to `nu_ansi_term::Color` exclusively, and
https://github.com/nushell/reedline/pull/1112, which adds typed inherent
methods and a JSON filter to `SqliteBackedHistory`.

Despite https://github.com/nushell/reedline/pull/1128 being a breaking
change, nushell needs no source changes. `NushellPrompt` only ever used
the defaulted `get_*_color` methods, so the new return type has no
effect here.

## 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.
-->
2026-07-22 09:42:00 -05:00
Darren Schroeder 57f95997d3 agent.md updates (#18683)
<!--
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
Let's try to make AGENTS.md more useful.
<!--
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.
-->
2026-07-22 16:02:07 +02:00
Darren Schroeder c12a56e4e4 update fff-search to 0.10.1 and tokio to 1.53.1 (#18693) 2026-07-22 08:13:18 -05:00
Albert O'Shea 0486400fa2 perf: avoid cloning list values (#18636)
## Description

Store list `Value`s in `SharedCow<Vec<Value>>` so clones share their
backing allocation until mutation.

Use copy-on-write storage at list mutation sites and only materialize an
owned `Vec<Value>` when an operation genuinely consumes the list.
Preserve shared storage through `first`, `last`, empty-list
concatenation, and no-op flattening paths.

Add tests for shared cloning and copy-on-write behavior, plus Tango
benchmarks for cloning list values and loading them from the stack.

## User-facing changes (Release notes)

Large lists and tables are now much faster to read from, load from
variables, and capture in closures.

Accessing a small part of a large list, such as `$list.0`, no longer
copies the entire list each time the variable is loaded. In a
100,000-element test, 200 repeated reads improved from roughly 131 ms to
138 µs (~950x faster).

## Additional notes

Tango results from 100 paired samples against current unpatched main:

| Benchmark | Reference | Patched | Change |
|---|---:|---:|---:|
| `list_value_clone_100000` | 668.3 µs | 35.4 ns | -99.995%, ~18,900x
faster |
| `stack_list_get_var_100000` | 649.1 µs | 75.7 ns | -99.988%, ~8,600x
faster |

Local end-to-end results for 200 repeated `$list.0` reads:

| List size | Reference | Patched | Change |
|---:|---:|---:|---:|
| 1,000 | 1.41 ms | 149 µs | -89.4%, 9.4x faster |
| 10,000 | 12.13 ms | 140 µs | -98.8%, 86.8x faster |
| 100,000 | 131.19 ms | 138 µs | -99.89%, ~950x faster |

Perf is approximately constant as the list grows, removing the previous
O(list length) cost from each variable load.
2026-07-22 06:51:24 -05:00
dependabot[bot] 3e414b0279 build(deps): bump aws-config from 1.8.15 to 1.10.0 (#18689)
Bumps [aws-config](https://github.com/smithy-lang/smithy-rs) from 1.8.15
to 1.10.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/smithy-lang/smithy-rs/commits">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=aws-config&package-manager=cargo&previous-version=1.8.15&new-version=1.10.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-22 05:54:39 -05:00
dependabot[bot] 3ca49f9670 build(deps): bump actions/setup-python from 6 to 7 (#18688)
Bumps [actions/setup-python](https://github.com/actions/setup-python)
from 6 to 7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/setup-python/releases">actions/setup-python's
releases</a>.</em></p>
<blockquote>
<h2>v7.0.0</h2>
<h2>What's Changed</h2>
<h3>Enhancements</h3>
<ul>
<li>Migrate to ESM and upgrade dependencies by <a
href="https://github.com/priyagupta108"><code>@​priyagupta108</code></a>
in <a
href="https://redirect.github.com/actions/setup-python/pull/1330">actions/setup-python#1330</a></li>
<li>Pin SHA commits and update docs with latest versions by <a
href="https://github.com/HarithaVattikuti"><code>@​HarithaVattikuti</code></a>
in <a
href="https://redirect.github.com/actions/setup-python/pull/1338">actions/setup-python#1338</a></li>
<li>Remove the pip-install input by <a
href="https://github.com/gowridurgad"><code>@​gowridurgad</code></a> in
<a
href="https://redirect.github.com/actions/setup-python/pull/1336">actions/setup-python#1336</a></li>
</ul>
<h3>Bug Fix</h3>
<ul>
<li>Fix to Classify stderr warning messages as warnings instead of
errors in annotations by <a
href="https://github.com/lmvysakh"><code>@​lmvysakh</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/1335">actions/setup-python#1335</a></li>
<li>Validate and retry manifest fetch to prevent silent failures by <a
href="https://github.com/priyagupta108"><code>@​priyagupta108</code></a>
in <a
href="https://redirect.github.com/actions/setup-python/pull/1332">actions/setup-python#1332</a></li>
</ul>
<h3>Dependency Upgrade</h3>
<ul>
<li>Bump certifi from 2020.6.20 to 2024.7.4 in
/<strong>tests</strong>/data by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/1328">actions/setup-python#1328</a></li>
<li>Remove EOL Python versions and Bumps numpy text fixture by <a
href="https://github.com/priya-kinthali"><code>@​priya-kinthali</code></a>
in <a
href="https://redirect.github.com/actions/setup-python/pull/1333">actions/setup-python#1333</a></li>
<li>Upgrade <code>@​actions/cache</code> to 6.2.0 by <a
href="https://github.com/philip-gai"><code>@​philip-gai</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/1337">actions/setup-python#1337</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/lmvysakh"><code>@​lmvysakh</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/setup-python/pull/1335">actions/setup-python#1335</a></li>
<li><a
href="https://github.com/philip-gai"><code>@​philip-gai</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/setup-python/pull/1337">actions/setup-python#1337</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-python/compare/v6...v7.0.0">https://github.com/actions/setup-python/compare/v6...v7.0.0</a></p>
<h2>v6.3.0</h2>
<h2>What's Changed</h2>
<h3>Enhancement</h3>
<ul>
<li>Add RHEL support and include Linux distro in cache keys by <a
href="https://github.com/priyagupta108"><code>@​priyagupta108</code></a>
in <a
href="https://redirect.github.com/actions/setup-python/pull/1323">actions/setup-python#1323</a></li>
<li>Fix pip cache error handling on Windows by <a
href="https://github.com/priyagupta108"><code>@​priyagupta108</code></a>
in <a
href="https://redirect.github.com/actions/setup-python/pull/1040">actions/setup-python#1040</a></li>
</ul>
<h3>Dependency update</h3>
<ul>
<li>Upgrade minimatch from 3.1.2 to 3.1.5 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/1281">actions/setup-python#1281</a></li>
<li>Upgrade actions dependencies by <a
href="https://github.com/gowridurgad"><code>@​gowridurgad</code></a>
with <a href="https://github.com/Copilot"><code>@​Copilot</code></a> in
<a
href="https://redirect.github.com/actions/setup-python/pull/1303">actions/setup-python#1303</a></li>
<li>Upgrade <code>@​actions/cache</code> to 5.1.0, log cache write
denied by <a
href="https://github.com/jasongin"><code>@​jasongin</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/1324">actions/setup-python#1324</a></li>
<li>Upgrade dependency versions and test workflow configuration by <a
href="https://github.com/HarithaVattikuti"><code>@​HarithaVattikuti</code></a>
in <a
href="https://redirect.github.com/actions/setup-python/pull/1322">actions/setup-python#1322</a></li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Update advanced-usage.md by <a
href="https://github.com/Dunky-Z"><code>@​Dunky-Z</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/811">actions/setup-python#811</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/gowridurgad"><code>@​gowridurgad</code></a>
with <a href="https://github.com/Copilot"><code>@​Copilot</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/setup-python/pull/1303">actions/setup-python#1303</a></li>
<li><a href="https://github.com/jasongin"><code>@​jasongin</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/setup-python/pull/1324">actions/setup-python#1324</a></li>
<li><a href="https://github.com/Dunky-Z"><code>@​Dunky-Z</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/setup-python/pull/811">actions/setup-python#811</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-python/compare/v6.2.0...v6.3.0">https://github.com/actions/setup-python/compare/v6.2.0...v6.3.0</a></p>
<h2>v6.2.0</h2>
<h2>What's Changed</h2>
<h3>Dependency Upgrades</h3>
<ul>
<li>Upgrade dependencies to Node 24 compatible versions by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/setup-python/pull/1259">actions/setup-python#1259</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/setup-python/commit/5fda3b95a4ea91299a34e894583c3862153e4b97"><code>5fda3b9</code></a>
Pin SHA commits and update docs with latest versions (<a
href="https://redirect.github.com/actions/setup-python/issues/1338">#1338</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/4ab7e95f05e168b4356aebde89dd84f59c283d8e"><code>4ab7e95</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/setup-python/issues/1337">#1337</a>
from actions/philip-gai/bump-actions-cache-6-2-0</li>
<li><a
href="https://github.com/actions/setup-python/commit/0f3a009f475dbea83c0371cd85d099690fee8c5c"><code>0f3a009</code></a>
Remove the pip-install input (<a
href="https://redirect.github.com/actions/setup-python/issues/1336">#1336</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/f8cf4291c8b8e273ddd26e569454615c7315d932"><code>f8cf429</code></a>
Migrate to ESM and upgrade dependencies (<a
href="https://redirect.github.com/actions/setup-python/issues/1330">#1330</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/54baeea5b34417d10a7479663a23cca53ea209b5"><code>54baeea</code></a>
Validate and retry manifest fetch to prevent silent failures (<a
href="https://redirect.github.com/actions/setup-python/issues/1332">#1332</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/c7092773a316760f4ecfe498e4af668a4dafeac5"><code>c709277</code></a>
Annotation code fix (<a
href="https://redirect.github.com/actions/setup-python/issues/1335">#1335</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/6849080452e69b330395e8a6d23cf90f56d76a1a"><code>6849080</code></a>
remove EOL Python versions and Bumps numpy text fixture (<a
href="https://redirect.github.com/actions/setup-python/issues/1333">#1333</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/0903b469fbf4441aadfe4f4b249dc5b1fba3a73e"><code>0903b46</code></a>
Bump certifi from 2020.6.20 to 2024.7.4 in /<strong>tests</strong>/data
(<a
href="https://redirect.github.com/actions/setup-python/issues/1328">#1328</a>)</li>
<li>See full diff in <a
href="https://github.com/actions/setup-python/compare/v6...v7">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-python&package-manager=github_actions&previous-version=6&new-version=7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-22 10:06:39 +08:00
dependabot[bot] 266093feb0 build(deps): bump actions/labeler from 6 to 7 (#18687)
Bumps [actions/labeler](https://github.com/actions/labeler) from 6 to 7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/labeler/releases">actions/labeler's
releases</a>.</em></p>
<blockquote>
<h2>v7.0.0</h2>
<h2>What's Changed</h2>
<h3>Enhancements:</h3>
<ul>
<li>Migrate to ESM and update dependencies by <a
href="https://github.com/chiranjib-swain"><code>@​chiranjib-swain</code></a>
in <a
href="https://redirect.github.com/actions/labeler/pull/949">actions/labeler#949</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/labeler/compare/v6...v7.0.0">https://github.com/actions/labeler/compare/v6...v7.0.0</a></p>
<h2>v6.2.0</h2>
<h2>What's Changed</h2>
<h3>Bug Fix</h3>
<ul>
<li>Improve PR number validation and warning messages in input handling
by <a
href="https://github.com/chiranjib-swain"><code>@​chiranjib-swain</code></a>
in <a
href="https://redirect.github.com/actions/labeler/pull/939">actions/labeler#939</a></li>
</ul>
<h3>Dependency Updates</h3>
<ul>
<li>Bump js-yaml to 4.2.0, apply npm audit fix, and add undici override
by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>
in <a
href="https://redirect.github.com/actions/labeler/pull/943">actions/labeler#943</a></li>
<li>Bump <code>@​typescript-eslint/eslint-plugin</code> from 8.59.1 to
8.61.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/labeler/pull/942">actions/labeler#942</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/labeler/compare/v6.1.0...v6.2.0">https://github.com/actions/labeler/compare/v6.1.0...v6.2.0</a></p>
<h2>v6.1.0</h2>
<h2>Enhancements</h2>
<ul>
<li>Add changed-files-labels-limit and max-files-changed configuration
options to cap the number of labels added by <a
href="https://github.com/bluca"><code>@​bluca</code></a> in <a
href="https://redirect.github.com/actions/labeler/pull/923">actions/labeler#923</a></li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li>Improve Labeler Action documentation and permission error handling
by <a
href="https://github.com/chiranjib-swain"><code>@​chiranjib-swain</code></a>
in <a
href="https://redirect.github.com/actions/labeler/pull/897">actions/labeler#897</a></li>
<li>Preserve manually added labels during workflow runs and refine label
synchronization logic by <a
href="https://github.com/chiranjib-swain"><code>@​chiranjib-swain</code></a>
in <a
href="https://redirect.github.com/actions/labeler/pull/917">actions/labeler#917</a></li>
</ul>
<h2>Dependency Updates</h2>
<ul>
<li>Upgrade brace-expansion from 1.1.11 to 1.1.12 and document breaking
changes in v6 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/labeler/pull/877">actions/labeler#877</a></li>
<li>Upgrade minimatch from 10.0.1 to 10.2.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/labeler/pull/926">actions/labeler#926</a></li>
<li>Upgrade dependencies (<code>@​actions/core</code>,
<code>@​actions/github</code>, js-yaml, minimatch, <a
href="https://github.com/typescript-eslint"><code>@​typescript-eslint</code></a>)
by <a href="https://github.com/Copilot"><code>@​Copilot</code></a> in <a
href="https://redirect.github.com/actions/labeler/pull/934">actions/labeler#934</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/chiranjib-swain"><code>@​chiranjib-swain</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/labeler/pull/897">actions/labeler#897</a></li>
<li><a href="https://github.com/bluca"><code>@​bluca</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/labeler/pull/923">actions/labeler#923</a></li>
<li><a href="https://github.com/Copilot"><code>@​Copilot</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/labeler/pull/934">actions/labeler#934</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/labeler/compare/v6...v6.1.0">https://github.com/actions/labeler/compare/v6...v6.1.0</a></p>
<h2>v6.0.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Upgrade publish-action from 0.2.2 to 0.4.0 by <a
href="https://github.com/aparnajyothi-y"><code>@​aparnajyothi-y</code></a>
in <a
href="https://redirect.github.com/actions/labeler/pull/901">actions/labeler#901</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/aparnajyothi-y"><code>@​aparnajyothi-y</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/labeler/pull/901">actions/labeler#901</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/labeler/compare/v6.0.0...v6.0.1">https://github.com/actions/labeler/compare/v6.0.0...v6.0.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/labeler/commit/bf12e9b00b37c5c0ca2b87b79b2daf7891dbda13"><code>bf12e9b</code></a>
feat: migrate to ESM and update dependencies (<a
href="https://redirect.github.com/actions/labeler/issues/949">#949</a>)</li>
<li>See full diff in <a
href="https://github.com/actions/labeler/compare/v6...v7">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/labeler&package-manager=github_actions&previous-version=6&new-version=7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-22 10:06:16 +08:00
Martin Kronberger 8f6285a0dd chore(reedline): bump reedline to latest commit (#18685)
<!--
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.
-->
Bump nushell to latest reedline commit including:

[feat(core): split Extend into CoverLanding and
Span](https://github.com/nushell/reedline/commit/c5f8b26ca07e1298170c77eb0a3a15e2231a4e22)

Lays groundwork for upcoming helix mode, no current mode uses the
special case.

[fix(engine): floor word_end to char boundary in abbreviation
expansion](https://github.com/nushell/reedline/commit/46e8e13536defb63d12ce0d21c8f85aa4fdc53d6)

Fixes possible index out of bound panic in abbreviation expansion.
## 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.
-->
2026-07-21 18:26:23 -05:00
Darren Schroeder e2ab40b790 bump nushell to latest reedline commit a2c6e124 (#18681)
<!--
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 nushell to the latest reedline commit a2c6e124
<!--
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.
-->
2026-07-21 06:50:49 -05:00
Albert O'Shea 7e727acac7 refactor(idx): remove import/export, keep single live index (#18679)
## Description

The snapshot commands (`idx` `import`, `export`) maintained an
independent metadata model alongside FFF, creating two sources of truth.
It also promised persistence that could not preserve content search or
live index semantics.

`idx` is now centered on a single FFF `FilePicker` runtime. Removed
`import`/`export` subcommands and simplify queries, status, lifecycle,
and watch handling. Fuzzy listings now consume FFF results directly, and
commands consistently validate limits and search context.

## User-facing changes (Release notes)

Remove the `idx import` and `idx export` commands, which had very little
use case, as the search backend (FFF) is not designed for persistent
disk caching. `idx init` is now the one way to build the in-memory
index; watching remains enabled by default and can be disabled with
`--no-watch`.
2026-07-21 06:31:50 -05:00
Albert O'Shea edb7010cda fix(idx): keep watched imports live (#18674)
## Description

When `idx import` enabled filesystem watching, `idx` `files`, `dirs`,
`find`, and `status` continued reading restored snapshot rows while `idx
search` and `idx watch` used the live FFF picker. Newly created files
could therefore appear in content search and watch events while
remaining absent from listings and fuzzy find results.

Watched imports now use the normal waited live initialization path,
making one picker authoritative across every command. `idx import
--no-watch` continues to use restored snapshot rows and can query paths
after the original files are removed.

Snapshot rows are now loaded only with `--no-watch`. Their memory usage
is calculated as they are moved into the runtime.

## User-facing changes (Release notes)

Fixed watched `idx import` runtimes so filesystem changes appear
consistently in listings, find results, status, content search, and
watch events.

## Additional notes

`idx import --no-watch` is still available for static offline path
queries.
2026-07-20 09:40:07 -05:00
Albert O'Shea 0385840fc5 fix(idx): exclude tombstoned entries (#18673) 2026-07-20 09:22:09 -05:00
Darren Schroeder bcc69ebd4d update some dependencies (#18678)
<!--
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 updates some dependencies. Some had api changes, others were
just easy bumps, and yet others weren't able to be upgraded yet.

### Dependency Upgrades

| Dependency | From | To | Notes |
|---|---|---|---|
| `chardetng` | 0.1.17 | 1.0.0 | `new()` takes `Iso2022JpDetection` arg;
`guess_assess()` → `guess()` |
| `digest` | 0.10 | 0.11.3 | `Output<D>` no longer `LowerHex`; hash
types no longer implement `Write` |
| `lsp-server` | 0.8.0 | 0.10.0 | `Response` fields `result`/`error`
merged into `response_result: Result<...>` |
| `md-5` | 0.10 | 0.11.0 | Same `digest` v0.11 API changes as `sha2` |
| `multipart-rs` | 0.1.13 | 0.2.2 | `add()` takes `impl Read`;
`finish()` returns `io::Result` |
| `notify-debouncer-full` | 0.3 | 0.7.0 | `.watcher().watch()` →
`.watch()`; `.cache().add_root()` removed; `new_debouncer` takes closure
|
| `rmcp` | 1.7.0 | 2.2.0 | `Content` renamed to `ContentBlock` |
| `serde-saphyr` | 0.0.28 | 0.0.29 | Transitive `granit-parser`
`DocumentStart` gained a second field |
| `sha2` | 0.10 | 0.11.0 | `digest` v0.11 API — no more `Write` impl,
use `Update` trait |
| `syn` | 2.0.117 | 3.0.2 | No code changes needed |
| `trash` | =5.2.5 | =5.2.6 | No code changes needed |
| `v_htmlescape` | 0.15.8 | 0.17.0 | `escape()` → `escape_fmt()` |
| `win_uds` | =0.2.2 | =0.2.4 | No code changes needed |

## Not upgraded

| Dependency | Reason |
|---|---|
| `strum` 0.28.0 | Blocked by `reedline` and `ratatui-core` still on
0.27.x |
| `generic-array` 0.14.9 | Locked to 0.14.7 by `crypto-common` v0.1.7
(used by `digest` v0.10, kept for `object_store`) |
<!--
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.
-->
2026-07-20 09:00:04 -05:00
dependabot[bot] e5503725a2 build(deps): bump bstr from 1.12.1 to 1.13.0 (#18608)
Bumps [bstr](https://github.com/BurntSushi/bstr) from 1.12.1 to 1.13.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/BurntSushi/bstr/commit/63c6578f22bb8eda35a983e5c937d79c16b2a355"><code>63c6578</code></a>
1.13.0</li>
<li><a
href="https://github.com/BurntSushi/bstr/commit/9cc49deb88bafa45ed97665b29e0b399d988b5d4"><code>9cc49de</code></a>
api: add <code>to_bstring()</code>, <code>as_bstring()</code>, and
<code>as_bstring_mut()</code> methods to `B...</li>
<li><a
href="https://github.com/BurntSushi/bstr/commit/7105619a128c55d63a0239ca2808882b00e0a571"><code>7105619</code></a>
doc: fix typo &quot;Use <code>&amp;BStr</code> is useful because
...&quot;</li>
<li><a
href="https://github.com/BurntSushi/bstr/commit/cabbfe32c3c321671b8b983a39a860df5a2be4a1"><code>cabbfe3</code></a>
1.12.3</li>
<li><a
href="https://github.com/BurntSushi/bstr/commit/11d6fac4708068b08d0bfa1b0d3f8395bea87680"><code>11d6fac</code></a>
msrv: decrease to 1.65</li>
<li><a
href="https://github.com/BurntSushi/bstr/commit/c857a1c2b92353217adf83199845f8d6eb8ca0f6"><code>c857a1c</code></a>
1.12.2</li>
<li><a
href="https://github.com/BurntSushi/bstr/commit/e4c64980811234a14270feb552a645be19c2b5f6"><code>e4c6498</code></a>
doc: clarify the case where there is no valid UTF-8 prefix (<a
href="https://redirect.github.com/BurntSushi/bstr/issues/204">#204</a>)</li>
<li><a
href="https://github.com/BurntSushi/bstr/commit/8481908454c15daa215fb088d6d954caba956ced"><code>8481908</code></a>
doc: add alias to <code>fields</code> and <code>Fields</code></li>
<li><a
href="https://github.com/BurntSushi/bstr/commit/6f089f356f8ba7ec854ce8b3045bb01df412d41e"><code>6f089f3</code></a>
lint: add <code>set -u</code> to regex generation scripts</li>
<li><a
href="https://github.com/BurntSushi/bstr/commit/1396d35ffeade822d32c4433e559989bed3ba400"><code>1396d35</code></a>
docs: fix spelling mistake</li>
<li>Additional commits viewable in <a
href="https://github.com/BurntSushi/bstr/compare/1.12.1...1.13.0">compare
view</a></li>
</ul>
</details>
<br />

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-20 08:11:20 -05:00
dependabot[bot] d1f6698943 build(deps): bump aws-credential-types from 1.2.14 to 1.3.0 (#18612)
Bumps [aws-credential-types](https://github.com/smithy-lang/smithy-rs)
from 1.2.14 to 1.3.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/smithy-lang/smithy-rs/commits">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=aws-credential-types&package-manager=cargo&previous-version=1.2.14&new-version=1.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-20 07:43:23 -05:00
dependabot[bot] ef41d0cbb0 build(deps): bump regex from 1.12.3 to 1.13.0 (#18609)
Bumps [regex](https://github.com/rust-lang/regex) from 1.12.3 to 1.13.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/regex/blob/master/CHANGELOG.md">regex's
changelog</a>.</em></p>
<blockquote>
<h1>1.13.0 (2026-07-09)</h1>
<p>This release includes a new API, a <code>regex!</code> macro, for
lazy compilation of
a regex from a string literal. If you use regexes a lot, it's likely
you've
already written one exactly like it. The new macro can be used like
this:</p>
<pre lang="rust"><code>use regex::regex;
<p>fn is_match(line: &amp;str) -&gt; bool {<br />
// The regex will be compiled approximately once and reused
automatically.<br />
// This avoids the footgun of using <code>Regex::new</code> here, which
would<br />
// guarantee that it would be compiled every time this routine is
called.<br />
// This would likely make this routine much slower than it needs to
be.<br />
regex!(r&quot;bar|baz&quot;).is_match(line)<br />
}</p>
<p>let hay = &quot;<br />
path/to/foo:54:Blue Harvest<br />
path/to/bar:90:Something, Something, Something, Dark Side<br />
path/to/baz:3:It's a Trap!<br />
&quot;;</p>
<p>let matches = hay.lines().filter(|line| is_match(line)).count();<br
/>
assert_eq!(matches, 2);<br />
</code></pre></p>
<p>Improvements:</p>
<ul>
<li><a
href="https://redirect.github.com/rust-lang/regex/issues/709">#709</a>:
Add a new <code>regex!</code> macro for efficient and automatic reuse of
a compiled regex.</li>
</ul>
<h1>1.12.4 (2026-06-09)</h1>
<p>This release includes a performance optimization for compilation of
regexes
with very large character classes.</p>
<p>Improvements:</p>
<ul>
<li><a
href="https://redirect.github.com/rust-lang/regex/pull/1308">#1308</a>:
Avoid re-canonicalizing the entire interval set when pushing new class
ranges.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/regex/commit/926af2e68eca3ce089815790541cf50759ba2c59"><code>926af2e</code></a>
1.13.0</li>
<li><a
href="https://github.com/rust-lang/regex/commit/7d941a93561430cd259bb9ceb84cc66f33ae7be8"><code>7d941a9</code></a>
regex-automata-0.4.15</li>
<li><a
href="https://github.com/rust-lang/regex/commit/e358341229ebd5feb9a78d8cc85b459c3c7b6600"><code>e358341</code></a>
api: add <code>regex!</code> macro for lazy compilation</li>
<li><a
href="https://github.com/rust-lang/regex/commit/c42033379c8760105ef90287f319de73d1572242"><code>c420333</code></a>
automata: disable miri on a couple doc tests</li>
<li><a
href="https://github.com/rust-lang/regex/commit/b9d2cf724f89754ea879b6c223d2292c4d3e2dd3"><code>b9d2cf7</code></a>
github: add FUNDING link</li>
<li><a
href="https://github.com/rust-lang/regex/commit/0858006b1460ba781deda54b8d2b01b3f9f949f7"><code>0858006</code></a>
docs: add AI policy for contributors</li>
<li><a
href="https://github.com/rust-lang/regex/commit/468fc64ecd6493caaca40dbe8319c31c5c08a83d"><code>468fc64</code></a>
automata: reject dense DFA start states that are match states</li>
<li><a
href="https://github.com/rust-lang/regex/commit/7b96fdc9d5fe6a0cb4efe30e6689b050493fc1e1"><code>7b96fdc</code></a>
1.12.4</li>
<li><a
href="https://github.com/rust-lang/regex/commit/7b89cf0534aa58ab8a4a6672e14a59b53f08eb2c"><code>7b89cf0</code></a>
deps: update to regex-syntax 0.8.11</li>
<li><a
href="https://github.com/rust-lang/regex/commit/140167995737fa11dfe11b8af8b9aa143b790b4e"><code>1401679</code></a>
regex-syntax-0.8.11</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/regex/compare/1.12.3...1.13.0">compare
view</a></li>
</ul>
</details>
<br />

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-20 07:39:35 -05:00
dependabot[bot] ea1afc1467 build(deps): bump open from 5.3.4 to 5.4.0 (#18610)
Bumps [open](https://github.com/Byron/open-rs) from 5.3.4 to 5.4.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Byron/open-rs/releases">open's
releases</a>.</em></p>
<blockquote>
<h2>v5.4.0</h2>
<h3>New Features</h3>
<ul>
<li><code>cargo run</code> now shows the exact commands that were tried
when opening.
This is useful for debugging, mainly.</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>
<p>Align WSL PowerShell invocation with Windows
Pass the WSL open target to PowerShell through the OPEN_RS_TARGET
environment variable instead of embedding it in the command string and
escaping it as a single-quoted PowerShell value.</p>
<p>This matches the safer invocation already used by the native Windows
backend. Keeping the PowerShell program fixed ensures that paths and
URLs
are treated purely as data, even when they contain quotes, semicolons,
or
other PowerShell metacharacters. It also removes the need for custom
PowerShell quoting and avoids converting the target through
to_string_lossy() during command construction.</p>
<p>Add -NonInteractive for consistency with the Windows launcher and
update
the WSL tests to verify both the fixed command and the unchanged
environment-variable value.</p>
</li>
<li>
<p>prevent launcher option and shell injection
Opening an attacker-controlled dash-leading path could be interpreted as
launcher options. On Windows, cmd /c start also parsed embedded quotes
and
metacharacters as command language, while the legacy gnome-open fallback
could load a module even after a double-dash separator.</p>
<p>Add command-construction regressions for malicious option-shaped
paths and
Windows shell metacharacters. Use supported separators on macOS and KDE,
and
rewrite dash-leading relative paths for launchers without separator
support.
Keep Windows values out of shell syntax by passing the default target
through
the environment and invoking custom applications directly, with
explorer.exe
as a PowerShell-free fallback.</p>
<p>Exclude cmd-based opening by default, while providing an
explicit insecure Cargo feature for users who need compatibility it
and accept their unsafe handling of untrusted input.</p>
<p>Validated with default and all-feature cargo tests, clippy, and
cross-target
cargo check --tests for aarch64 Linux and Windows.</p>
</li>
</ul>
<h3>Commit Statistics</h3>
<ul>
<li>5 commits contributed to the release.</li>
<li>3 commits were understood as <a
href="https://www.conventionalcommits.org">conventional</a>.</li>
<li>1 unique issue was worked on: <a
href="https://redirect.github.com/Byron/open-rs/issues/124">#124</a></li>
</ul>
<h3>Commit Details</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Byron/open-rs/blob/main/changelog.md">open's
changelog</a>.</em></p>
<blockquote>
<h2>5.4.0 (2026-07-12)</h2>
<h3>New Features</h3>
<ul>
<li><!-- raw HTML omitted --> <code>cargo run</code> now shows the exact
commands that were tried when opening.
This is useful for debugging, mainly.</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>
<p><!-- raw HTML omitted --> Align WSL PowerShell invocation with
Windows
Pass the WSL open target to PowerShell through the OPEN_RS_TARGET
environment variable instead of embedding it in the command string and
escaping it as a single-quoted PowerShell value.</p>
<p>This matches the safer invocation already used by the native Windows
backend. Keeping the PowerShell program fixed ensures that paths and
URLs
are treated purely as data, even when they contain quotes, semicolons,
or
other PowerShell metacharacters. It also removes the need for custom
PowerShell quoting and avoids converting the target through
to_string_lossy() during command construction.</p>
<p>Add -NonInteractive for consistency with the Windows launcher and
update
the WSL tests to verify both the fixed command and the unchanged
environment-variable value.</p>
</li>
<li>
<p><!-- raw HTML omitted --> prevent launcher option and shell injection
Opening an attacker-controlled dash-leading path could be interpreted as
launcher options. On Windows, cmd /c start also parsed embedded quotes
and
metacharacters as command language, while the legacy gnome-open fallback
could load a module even after a double-dash separator.</p>
<p>Add command-construction regressions for malicious option-shaped
paths and
Windows shell metacharacters. Use supported separators on macOS and KDE,
and
rewrite dash-leading relative paths for launchers without separator
support.
Keep Windows values out of shell syntax by passing the default target
through
the environment and invoking custom applications directly, with
explorer.exe
as a PowerShell-free fallback.</p>
<p>Exclude cmd-based opening by default, while providing an
explicit insecure Cargo feature for users who need compatibility it
and accept their unsafe handling of untrusted input.</p>
<p>Validated with default and all-feature cargo tests, clippy, and
cross-target
cargo check --tests for aarch64 Linux and Windows.</p>
</li>
</ul>
<h3>Commit Statistics</h3>
<!-- raw HTML omitted -->
<ul>
<li>5 commits contributed to the release.</li>
<li>3 commits were understood as <a
href="https://www.conventionalcommits.org">conventional</a>.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Byron/open-rs/commit/b5c12bd9207a02272570252071d601a5dc44a3c6"><code>b5c12bd</code></a>
Release open v5.4.0</li>
<li><a
href="https://github.com/Byron/open-rs/commit/bdc33978cdbfa1defef31e23659af4ba4a8913b0"><code>bdc3397</code></a>
Merge pull request <a
href="https://redirect.github.com/Byron/open-rs/issues/126">#126</a>
from Byron/fix-wsl</li>
<li><a
href="https://github.com/Byron/open-rs/commit/7265cae8c19180c1022d8b1a7fbec815d0264909"><code>7265cae</code></a>
fix: Align WSL PowerShell invocation with Windows</li>
<li><a
href="https://github.com/Byron/open-rs/commit/407b05879efb2b33c4e51fa15d77b49fa748a241"><code>407b058</code></a>
Merge pull request <a
href="https://redirect.github.com/Byron/open-rs/issues/125">#125</a>
from Byron/open-with-dash-dash</li>
<li><a
href="https://github.com/Byron/open-rs/commit/fd29861355bfb981aecdb94d0915f4e41c2686ee"><code>fd29861</code></a>
fix: prevent launcher option and shell injection (<a
href="https://redirect.github.com/Byron/open-rs/issues/124">#124</a>)</li>
<li><a
href="https://github.com/Byron/open-rs/commit/7c19c0a1a810326b9a9e7542a0992d80adf0a365"><code>7c19c0a</code></a>
feat: <code>cargo run</code> now shows the exact commands that were
tried when opening.</li>
<li><a
href="https://github.com/Byron/open-rs/commit/cfb39d8c323bc147096ae00b1360cb6633ce4c35"><code>cfb39d8</code></a>
Release open v5.3.6</li>
<li><a
href="https://github.com/Byron/open-rs/commit/41c4cf09cab155460c29ac6a8b36ad6ec70b3d81"><code>41c4cf0</code></a>
Merge pull request <a
href="https://redirect.github.com/Byron/open-rs/issues/123">#123</a>
from Byron/avoid-wslview</li>
<li><a
href="https://github.com/Byron/open-rs/commit/44d1d41349fdfd23e5e74e3c0ac4c9aca2ed7282"><code>44d1d41</code></a>
fix: use PowerShell instead of wslview on WSL (<a
href="https://redirect.github.com/Byron/open-rs/issues/122">#122</a>)</li>
<li><a
href="https://github.com/Byron/open-rs/commit/b98fc01d0a9da985c892f8fdb14b618d036ab12d"><code>b98fc01</code></a>
Release open v5.3.5</li>
<li>Additional commits viewable in <a
href="https://github.com/Byron/open-rs/compare/v5.3.4...v5.4.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=open&package-manager=cargo&previous-version=5.3.4&new-version=5.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-20 07:15:36 -05:00
Miles Wirht e98bb37f8b Updates to use CompletionResult (#18671)
- This syncs against the changes made in reedlines
[changes](https://github.com/nushell/reedline/pull/1123).
- This consolidates signatures and makes the code more readable and
obvious.
- Also removes things like CompleterExt to pull more of this new tech
into the "core" of nu.
2026-07-20 06:13:41 -05:00
Tyarel8 c031874393 feat(config): new duration_max_unit option (#18650)
<!--
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.
-->
Basically, I don't like how when a duration goes over 7 days it starts
using weeks as a unit, so I added an option in the config to set the
maximum unit it will use for formatting. Default is `wk` so there is no
breaking change.

## User-facing changes (Release notes)
Added a new config option that will set the maximum unit used when
formatting `duration`s for display.
```nu
# -- doc_config.nu --

# duration_max_unit (string): Largest unit when displaying durations.
# Durations are decomposed from this unit downward. A smaller value excludes
# larger units from the output (e.g., "day" shows 365day instead of
# 52wk 1day for one year).
# Default: "wk"
$env.config.duration_max_unit = "wk"
```

## Additional notes
<!--
Optional.

Examples:
- fixes #123
- closes #456
- related #789

Anything else reviewers should know.
Remove this section if not needed.
-->
I have discovered that `µ` and `μ` are not the same, the former is the
micro symbol and the latter is the greek letter mu. Doing some grepping,
it seems both are used for microseconds in different places. In this pr
I have tried to use the micro symbol since that is probably the most
correct.
2026-07-19 19:05:54 -05:00
Darren Schroeder f11c5f84ed disallow keywords from being shadowed (#18662)
<!--
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 disallows keywords from being shadowed such as `def def [] {}`.
I'm calling this a breaking change because we had to change `toolkit
run` to `toolkit dev` because `run` is now a keyword.

<!--
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)
Trying to shadow a keyword will produce an error now.
```nushell
❯ def def [] {}
Error: nu::parser::name_is_keyword

  × Can't use parser keyword `def` as command name.
   ╭─[repl_entry #1:1:5]
 1 │ def def [] {}
   ·     ─┬─
   ·      ╰── 'def' is a parser keyword
   ╰────
  help: Parser keywords cannot be shadowed (including via module exports and `use *`). Choose a different command name so language
        constructs keep working.
```
<!--
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.
-->
2026-07-19 19:05:06 -05:00
Ahmet Faruk Ilhan 34d3301ac3 fix(parser): restore scopes before interpolation fallback (#18666)
## Description

Closes #18346.

Malformed bare-word interpolations are first attempted as full cell
paths. When
that speculative parse retained scopes for incomplete-input completion,
the
expected `Unclosed` error was cleared but the scopes remained. This
could keep
a redefined command out of the scope later merged into `EngineState`.

This captures the scope depth before the speculative parse and restores
that
depth only when its expected error is intentionally discarded before the
interpolation fallback.

## User-Facing Changes

Command definitions containing these bare-word interpolations now
persist
across REPL entries. Incomplete-input variable and command completion
behavior
is preserved.

## Tests + Formatting

- [x] Focused multi-entry REPL regression test
- [x] `cargo +1.95.0 test -p nu-parser` (298 passed, 2 ignored)
- [x] Targeted local-variable and incomplete-block completion tests
- [x] Unclosed interpolation REPL test
- [x] `cargo +1.95.0 fmt --all -- --check`
- [x] Targeted Clippy checks with warnings and `unwrap_used` denied

The broader `nu-cli` `completions::` group produced 151 passes, 23
failures,
and 2 ignored tests on Windows. All 23 failures depend on the
repository's
`test_a_symlink` fixture being checked out as a regular file because
`core.symlinks=false`; none involve incomplete-input or parser-scope
behavior.

## Additional Notes

No new dependencies or generated-file changes.

AI assistance was used during investigation and drafting. I manually
reviewed
and locally verified the code, tests, and explanation, understand the
change,
and take responsibility for it.
2026-07-19 19:03:49 -05:00
Piepmatz 4a61309a6d Update terminal tests (#18663)
<!--
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 updates some tests of #18661 to make them more compact and use
more of our testing infra.

## 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
2026-07-18 17:18:51 -05:00
Darren Schroeder 0c601f7fee Fix is-terminal OS detection and add is-redirected for pipeline destinations (#18661)
## Description
This PR updates/reverts the `is-terminal` command to it's original state
so it can detect ttys and we add a new command `is-redirected` to
determine redirection. We conflated these two commands and it was
confusing.

#### `is-terminal` (restored)

- Pure OS checks for `--stdin` / `--stdout` / `--stderr`.
- No flags defaults to `--stdout` (kept from #18443).
- Works inside `if (…)`, `let`, and mid-block again.
- Help text points users needing Nu pipeline awareness to
`is-redirected`.

#### `is-redirected` (new)

- `true` when the current custom command’s **return value** is not going
to the interactive display path.
- Stable for the whole command body (including `if (is-redirected)`).

## User-facing changes (Release notes)

Fixed `is-terminal` so it again reports whether process
stdin/stdout/stderr is a real terminal (like bash `test -t`), including
inside `if (is-terminal)`. This restores correct detection for scripts
such as `./script.nu | cat`.

Added `is-redirected` for custom commands to detect whether their return
value is piped, collected (`let`), written to a file, or
discarded—versus printed for display. Unlike checking process stdout,
this is stable for the whole command body and works inside `if
(is-redirected)`.

Example for pretty-vs-data commands:

```nushell
def mycmd [] {
  if (is-terminal --stdout) and not (is-redirected) {
    # human-friendly formatting
  } else {
    # structured data
  }
}

mycmd            # pretty on a TTY when not piped
mycmd | $in      # data
let x = (mycmd)  # data
```

Scripts that only care about process stdout still use:

```nushell
if (is-terminal --stdout) { "human" } else { "piped" }
```

`is-terminal` with no flags still defaults to checking stdout.

A few other examples of how `is-redirected` is only designed to work on
nushell destinations. These are all redirections with nushell
destinations aka `is-redirected = true`.
```nushell
• mycmd | $in / mycmd | where …
• let x = (mycmd)
• mycmd o> file
• mycmd | ignore
```

## Additional notes
closes https://github.com/nushell/nushell/issues/15368
2026-07-18 16:35:51 -05:00
BahexandTim 'Piepmatz' Hesse f852cac740 Update some tests to use the new test infra (#18651)
## Description

- Enabled `pretty_assertions`'s `unstable` feature to get
`assert_matches!` (the stdlib version is available in 1.96)
- Tried to keep most tests 1:1, though I made some significant changes
here and there.

## User-facing changes (Release notes)
N/A

---------

Co-authored-by: Tim 'Piepmatz' Hesse <git+github@cptpiepmatz.de>
2026-07-18 21:58:58 +03:00
Darren Schroeder 72b01f3e11 add idx watch command (#18639)
## Description
The `idx` command family already keeps an in-memory file index via
[fff-search](https://crates.io/crates/fff-search). After `idx init`, the
library can maintain that index with an optional background OS watcher
(`--no-watch` disables it). Users could not, however, **subscribe to
those filesystem changes as a Nushell pipeline** — they had to use the
separate, index-unaware `watch` command.

fff-search **0.10.0** adds a public watch-subscription API on
`SharedFilePicker` and I wanted to add `idx watch` so it can react to
index-relative changes with normal pipeline tooling (`where`, `each`,
`for`, etc.). So, I added a new command to the `idx` family.

```nushell
idx watch [pattern]
  --ignore <list>      # globs / path-prefixes to exclude
  --timeout <duration> # clean stream end after duration
  --max-events <int>   # clean stream end after N events
```

## User-facing changes (Release notes)
Added `idx watch` to stream filesystem change events from a live `idx`
index as tabular records (`kind`, `path`). Requires `idx init` with
watching enabled. Optional pattern, `--ignore`, `--timeout`, and
`--max-events` are supported for filtering and clean stream termination.
Events respect gitignore/index ignores and can be piped into normal
Nushell pipelines.

Also updated the `fff-search` dependency to 0.10.0 (enables the watch
subscription API).

Examples:

```nushell
idx init . --wait
idx watch
idx watch "**/*.rs" --ignore [target]
idx watch | where kind == "modified" | each {|e| print $"changed: ($e.path)"}
idx watch --max-events 1 --timeout 5sec
```
## Additional notes
- Related fff-search API docs:
  - https://docs.rs/fff-search/0.10.0/fff_search/watch/index.html
-
https://docs.rs/fff-search/0.10.0/fff_search/shared/struct.SharedFilePicker.html#method.watch
- Distinct from the existing `watch` command: that watches arbitrary
paths without an index; `idx watch` is scoped to the indexed tree and
uses fff’s subscription + ignore rules.
2026-07-18 07:49:14 -05:00
Darren Schroeder 95c5ff7c4d update nushell to latest reedline commit (#18655) 2026-07-17 19:28:31 -05:00
Bahex c88d1535e7 Replace built-in date floor/ceil commands with nu rewrites (#18640)
## Description

- Reverts #18620
- Adds `date floor` and `date ceil` rewritten in nu code under
`std-rfc/date`
- Fixes the issue addressed in #18635

The rewritten versions have these differences:
- `date ceil`'s output is not one nanosecond short of the boundary, as
that makes it rather different than most rounding operations, including
the `math round` command
- they work for dates before UNIX epoch
- they (currently) don't transparently work on lists/streams and require
using `each`.

It's trivial to make it work, just wrapping the command body in `each`
would do it (`each` works on scalar values in addition to lists/streams
as well).
But the current error reporting tools available to nu code is still a
little lacking and runtime type errors (due to stream type checking
being laxer than lists or just not having static type information) would
always expose part of the commands' internal source code. I want to
leave such improvements for after we have better error tools (which I
plan to add soon)

## User-facing changes (Release notes)
Added two new `std-rfc` commands, `date floor` and `date ceil` for
rounding datetime values down and up, respectively, to specified
duration boundaries.
```nushell
use std-rfc/date *

#  Round down to the nearest hour
2026-07-15T12:11:10-04:00 | date floor 1hr
# => Wed, 15 Jul 2026 12:00:00 -0400

1969-12-31T23:30:00+00:00 | date floor 1hr
# => Wed, 31 Dec 1969 23:00:00 +0000


#  Round date up to nearest hour
2026-07-15T12:11:10-04:00 | date ceil 1hr
# => Wed, 15 Jul 2026 13:00:00 -0400

1969-12-31T23:30:00+00:00 | date ceil 1hr
# => Thu, 1 Jan 1970 00:00:00 +0000
```
2026-07-17 20:20:15 +03:00
Andy Gayton a7e8b65449 fix(engine): preserve metadata and streams through early return (#18625)
## Description

Returning a value early with `return` didn't behave like putting the
same value on a command's last line. The metadata got dropped, and a
lazy stream was read into memory (#18552).

```nushell
def to-csv [] { if true { return ("a,b" | metadata set --content-type text/csv) } }

to-csv | metadata | get content_type?
# before:  nothing (the content type was dropped)
# after:   text/csv
```

### The cause

`return` passed its value back by raising an internal error,
`ShellError::Return`, that carried the value out of the command. Raising
the error forced any stream to collect into a list. Catching it again
where the command was called turned it back into a value with its
metadata set to none.

### The change

An early `return` now leaves the block through the same path as a value
in tail position, so streams and metadata survive. Concretely:

- The `ReturnEarly` IR instruction no longer raises
`ShellError::Return`; it hands back the register value directly.
- The result carries a new flag, `PipelineExecutionData::early_return`,
marking "this came from a `return`".
- Custom command and closure calls (via `eval_block_with_early_return`)
clear that flag, so it can't leak out of a nested call. The single
consumer that reads it is top-level file evaluation, which uses it to
skip running `main`.

`ShellError::Return` isn't raised anymore; the variant is kept but
`#[deprecated]`.

### Behavior preserved (with tests)

- `finally` still runs on the way out; `catch` still doesn't catch a
`return`.
- A top-level `return` in a script still stops `main` from running.
- A `return` inside a command/closure called at the top level does
**not** skip `main`; it's absorbed where the command was called.
- `return` inside `export-env` stays scoped to the env block instead of
aborting the caller.

### Caveat: `finally` collects

When a `finally` is present, the returned value is still collected (a
stream becomes a list). That's existing behavior, not a regression here;
a value on the last line of a `try`/`finally` has always collected the
same way. Metadata still comes through.

### Out of scope: control flow *after* `try`/`finally`

This PR does not change what runs after a `try`/`finally` that
early-returns. On both `main` and this branch, `try { return 5 } finally
{ ... }; <code>` still runs `<code>` (while returning `5`), and
`break`/`continue` skip a pending `finally`. Straightening that out is a
separate rework on top of this branch, tracked in
https://github.com/cablehead/nushell/pull/4 (WIP on my fork, still
coming together; feedback welcome).

## User-facing changes (Release notes)

Fixed an issue where returning a value early with `return` from a custom
command or closure dropped the value's metadata and read its streaming
output into memory. `return` now matches a value on the command's last
line: metadata is kept and streams stay lazy.

```nushell
def foo [] { return (1..3 | each { $in }) }

foo | describe
# before:  list<int>
# after:   list<int> (stream)
```

## Additional notes

Fixes #18552. Suggested label: `notes:fixes`.

- Adds one public field, `PipelineExecutionData::early_return`, relevant
to embedders and plugin authors.
- `ShellError::Return` is now `#[deprecated]` and no longer raised by
the engine; the variant is retained for one release for compatibility.
- Follow-up: https://github.com/cablehead/nushell/pull/5 (WIP on my
fork) reworks `finally` control flow (`return`/`break`/`continue`) on
top of this branch.
2026-07-17 20:12:06 +03:00
Miles Wirht 1ba3edbaae non-blocking completions (#18334)
<!--
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.
-->

- in this PR, I made completions non-blocking by default. this means
that for very expensive computations (git checkout for example),
inputting text is lag-free.
- it includes tests (including a trait to integrate easily into existing
ones)
- it works on a very simple always-on cache model. this means that
entries will always be returned instantly. when new results are
discovered, the completions are repainted.
- the worst case for the model is that no results are returned in the
first pass, but this is equivalent to the existing behavior without
blocking input.

## 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.
-->
- Drastically improves completion UX, and eliminates any resentment
towards completions as I had begun to develop, finding it better to just
memorize input to avoid a long terminal freeze.
## Additional notes
<!--
Optional.

Examples:
- fixes #123
- closes #456
- related #789

Anything else reviewers should know.
Remove this section if not needed.
-->


https://github.com/user-attachments/assets/f95ce7d8-765a-4190-a14a-cd7d0108febb

See relevant PR for reedline:
https://github.com/nushell/reedline/pull/1093
2026-07-17 06:33:53 -05:00
Darren Schroeder 8774a88a1f expand paths for --config-home parameter also ensure xdg is absolute (#18629)
<!--
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 is a follow up to the nu-config PR and fixes a bug where
`--config-home .` wasn't being expanded. We use the normal
`nu_path::expand_path_with()` for this so it should behave as expected.

<!--
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)
`--config-home .` will now be expanded as well as things like
`~/.config/home` without following symlinks so, it's absolute but not
the fully resolved symlink target. Also, we enforce that XDG_CONFIG_HOME
must be absolute as per the spec just as we did before this PR.
<!--
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 https://github.com/nushell/nushell/issues/18621

<!--
Optional.

Examples:
- fixes #123
- closes #456
- related #789

Anything else reviewers should know.
Remove this section if not needed.
-->
2026-07-17 06:24:33 -05:00
Darren SchroederandTim 'Piepmatz' Hesse eef1dddeba fix bug where ls with dc-glob would fail with literal * name files (#18632)
## Description
This PR is a bug fix for dc-glob when encountering files named with glob
syntax like `*`.

## User-facing changes (Release notes)
`ls` with dc-glob enabled no longer fails when encountering files named
literally with glob syntax like `*`.

## Additional notes
closes https://github.com/nushell/nushell/issues/18631

---------

Co-authored-by: Tim 'Piepmatz' Hesse <git+github@cptpiepmatz.de>
2026-07-17 13:07:18 +03:00
Darren Schroeder c1675b7521 fix par-each hang bug (#18628)
<!--
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
Issue identified by @Tyarel8 where `glob * | par-each {}` would hang.
Fixed by changing how threads are used.

<!--
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.
-->
2026-07-16 11:14:59 -05:00
pyz4 57e8209783 feat(date): add new commands date floor and date ceil (#18620) 2026-07-15 16:33:23 -05:00
Darren Schroeder b70fc60a8e update nushell to latest reedline commit (#18617) 2026-07-15 15:12:40 -05:00
Ted Lukin 8badc4f55b add lacy tool into the list of projects that support nushell (#18618) 2026-07-15 14:59:59 -05:00