Commit log

a808ecb zed 0.209.2

Cole Miller created

b69d0ab ai onboarding: Add dismiss button to the sign in banner (#40660)

Click to expand commit body
Release Notes:

- N/A

Danilo Leal created

eb33d30 Set the minimum log level to `info` for the remote server (#40543)

Click to expand commit body
`env_logger` defaults to only showing error-level logs, but we show
info-level logs and above for the main Zed process, so I think it makes
sense for the remote server to behave the same way.

Release Notes:

- N/A

Cole Miller created

caa5d62 Disallow rename/copy/delete on unshared files (#40540)

Click to expand commit body
Release Notes:

- Disallow rename/delete/copy on unshared files

Co-Authored-By: Cole <cole@zed.dev>

Conrad Irwin and Cole created

de7e0b4 windows: Unpin Gemini CLI (#40288)

Click to expand commit body
Updates #40212

v0.9.0 is now stable and contains the fix for the line endings bug, so
we can return to installing from the stable channel as usual. This also
bumps the minimum version on Windows to v0.9.0 so that anyone on v0.8.x
or v0.9.0-preview.4 will be upgraded automatically.

Release Notes:

- N/A

Cole Miller created

bebf4b0 Bump to 0.209.1 for @probably-neb

Zed Bot created

fe00b6c Revert deprecate code actions on format (#40409)

Click to expand commit body
Closes #40334

This reverts the change made in #39983, and includes a replacement
migration that will transform formatter settings values consisting of
only `code_action` format steps into the previously deprecated
`code_actions_on_format` in an attempt to restore the behavior to what
it was before the migration that deprecated `code_actions_on_format`.

This PR will result in a modified order in the `code_actions_on_format`
setting if it existed, however the decision was made to explicitly
ignore this for now, as this PR is primarily targeting users who have
already had the deprecation migration run, and no longer have the
`code_actions_on_format` key

Release Notes:

- Fixed an issue with a settings migration that deprecated the
`code_actions_on_format` setting. The `code_actions_on_format` setting
has been un-deprecated, and affected users will have the bad migration
rolled back with an updated migration

---------

Co-authored-by: Cole Miller <cole@zed.dev>
Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
Co-authored-by: HactarCE <6060305+HactarCE@users.noreply.github.com>

Ben Kunkle , Cole Miller , Mikayla Maki , and HactarCE created

70d1978 editor: Fix `SelectionsCollection::disjoint` not being ordered correctly (#40249)

Click to expand commit body
We've been seeing the occasional `cannot seek backwards` panic within
`SelectionsCollection` without means to reproduce.

I believe the cause is one of the callers of
`MutableSelectionsCollection::select` not passing a well formed
`Selection` where `start > end`, so this PR enforces the invariant in
`select` by swapping the fields and setting `reversed` as required as
the other mutator functions already do that as well.

We could also just assert this instead, but it callers usually won't
care about this so its the less user facing annoyance to just fix this
invariant up internally.

Fixes ZED-253
Fixes ZED-ZJ
Fixes ZED-23S
Fixes ZED-222
Fixes ZED-1ZV
Fixes ZED-1SN
Fixes ZED-1Z0
Fixes ZED-10E
Fixes ZED-1X0
Fixes ZED-12M
Fixes ZED-1GR
Fixes ZED-1VE
Fixes ZED-13X
Fixes ZED-1G4

Release Notes:

- Fixed occasional panics when querying selections

Lukas Wirth created

10c540b windows: Fix panic when quitting dialogs that do not have a cancel button (#40348)

Click to expand commit body
`TaskDialogIndirect` may return `IDCANCEL` when the user quits the
dialog via escape or alt+f4, so we need to account for that.

Fixes ZED-25H

Release Notes:

- Fixed panic when hitting escape in dialogs on windows

Lukas Wirth created

bb7de4e windows: Fix occasional `RefCell already mutably borrowed` panic (#40336)

Click to expand commit body
Release Notes:

- Fixed occasional `RefCell already mutably borrowed` panic in windows
event handling

Lukas Wirth created

87b9b9f languages: Fix go completion labels creating out of bounds highlight runs (#40355)

Click to expand commit body
Fixes ZED-26Q

Release Notes:

- N/A *or* Added/Fixed/Improved ...

Lukas Wirth created

e17609c editor: Fix invalid excerpt panic in `Editor::hover_links` (#40387)

Click to expand commit body
Fixes ZED-17N
Fixes ZED-26Z

Release Notes:

- N/A *or* Added/Fixed/Improved ...

Lukas Wirth created

353e936 Fix mkdir nushell flags (#40306)

Click to expand commit body
Closes #40269

Release Notes:

- N/A

Julia Ryan created

1d89ddb Revert "acp: Don't collapse tool calls by default" (#40395)

Click to expand commit body
Reverts zed-industries/zed#40164

Release Notes:

- N/A

Ben Brandt created

c8903a0 markdown_preview: Fix alt text causing mismatched highlighting runs (#40374)

Click to expand commit body
Fixes ZED-277

Release Notes:

- Fixed alt text in markdown preview creating inconsistent highlighting

Lukas Wirth created

ac002d0 Add winget release job (#40293)

Click to expand commit body
This will automatically open PRs against the winget package registry to
bump our version there when we do a release.

Release Notes:

- N/A

Julia Ryan created

66112d8 acp: Add nicer WSL warning for Codex (#40354)

Click to expand commit body
Moves the Codex warning into the thread so that we can render it nicer,
as well as provide an option to open the folder in WSL.

Release Notes:

- N/A

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>

Ben Brandt and Bennet Bo Fenner created

c3eaa75 settings_ui: Scale window size based on UI font size (#40257)

Click to expand commit body
Closes #ISSUE

Release Notes:

- N/A *or* Added/Fixed/Improved ...

Ben Kunkle created

2793dd7 Fix duplicate WSL entries (#40255)

Click to expand commit body
Release Notes:

- N/A

localcc created

10720d6 Improve musl libc detection (#40254)

Click to expand commit body
Release Notes:

- N/A

localcc created

2adb979 acp: Fix /logout for agents that support it (#40248)

Click to expand commit body
We were clearing the message editor too early. We only want to clear the
message editor if we are going to short circuit and return early before
submitting.
Otherwise, the agents that can handle this themselves won't have the
ability to do so.

Release Notes:

- acp: Fix /logout not working for some agents

Ben Brandt created

bec6cd9 acp: Allow updating default mode for Codex (#40238)

Click to expand commit body
Release Notes:

- acp: Save default mode for codex

Ben Brandt created

f6c0fa4 Avoid gap between titlebar and body on linux

Click to expand commit body
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-authored-by: John Tur <john-tur@outlook.com>

Conrad Irwin , Max Brunsfeld , and John Tur created

62da0dc Fix triggers for debugger thread and session lists not rendering (#40227)

Click to expand commit body
Release Notes:

- N/A

Cole Miller created

154405f Fix a couple of bugs in remote browser debugging implementation (#40225)

Click to expand commit body
Follow-up to #39248 

- Correctly forward ports over SSH, including the port from the debug
scenario's `url`
- Give the companion time to start up, instead of bailing if the first
connection attempt fails

Release Notes:

- Fixed not being able to launch a browser debugging session in an SSH
project.

Cole Miller created

b558313 v0.209.x preview

Mikayla Maki created

5c194f7 settings_ui: Last minute cleanup (#40217)

Click to expand commit body
Closes #ISSUE

Release Notes:

- N/A *or* Added/Fixed/Improved ...

---------

Co-authored-by: Mikayla <mikayla@zed.dev>

Ben Kunkle and Mikayla created

54df581 windows: Add some trace-level logging to help dig into missing FS update bugs (#40200)

Click to expand commit body
Related to https://github.com/zed-industries/zed/issues/38109

Release Notes:

- N/A

Cole Miller created

0d84651 Implement 3+ file switcher (#40214)

Click to expand commit body
Release Notes:

- N/A

Mikayla Maki created

06af052 windows: Temporarily use preview release of Gemini CLI (#40212)

Click to expand commit body
Workaround for disagreement about line endings that's fixed in the
v0.9.0 series

Release Notes:

- N/A

Cole Miller created

f1786b3 terminal: Simplify task_summary processing (#40201)

Click to expand commit body
Release Notes:

- N/A

Jakub Konka created

f348240 Don't probe for local workspaces pointing to WSL filesystem on startup (#40142)

Click to expand commit body
We automatically delete a local workspace if the folders comprising it
no longer exist.
If a local workspace points to folders in the WSL filesystem, checking
whether those folders exist will make us wait for the WSL VM and file
server to boot up. This can block Zed startup for many seconds.

Supported scenarios use remote workspaces, so delete these local
workspaces to ensure that we don't try to access their folders on the
startup path.

Release Notes:

- N/A

John Tur created

762fa9b vim: Decrease max vim count (#40059)

Click to expand commit body
Release Notes:

- Fixes bug were typing `9999999999999999999j` (19 9's) would go up
instead of down
- Max Vim count is now isize::MAX - 1

AidanV created

1bd34e0 zeta2 cli: Export retrieval stats data frame (#40145)

Click to expand commit body
Retrieval stats will now use polars to build a big data frame for
references with the cartesian product of LSP declarations and retrieved
declaration candidates (with all their score components) and rebuilds
the stats summary on top of it.

This data frame is written to a `.parquet` file, which we can load into
advanced analytics tools (such as Metabase), so we can explore our
scoring distributions and find ways to improve retrieval, and then train
the decision tree.

Release Notes:

- N/A

Agus Zubiaga created

ce696c1 Remove ping/unwrap from crash handler (#39870)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Julia Ryan <juliaryan3.14@gmail.com>

Conrad Irwin and Julia Ryan created

9d23527 util: Respect user-defined SHELL environment variable (#40181)

Click to expand commit body
Fix issue where Zed would unconditionally override user's custom shell
with system default from passwd entry.

Closes https://github.com/zed-industries/zed/issues/40171

Release Notes:

- Fix issue where Zed would unconditionally override user's custom shell
with system default from passwd entry.

---------

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>

Xiaobo Liu created

fc2b3b2 agent: Remove unused `HistoryStore` (#40187)

Click to expand commit body
Release Notes:

- N/A

Bennet Fenner created

8c7fb26 acp tools: Add button to copy all observed messages (#40076)

Click to expand commit body
Added a "Copy All Messages" button to the ACP logs toolbar that copies
all messages in the watched stream to the clipboard as structured JSON.

## Motivation

When troubleshooting ACP protocol implementations, it's helpful to
provide the entire message thread to an LLM for analysis. Previously, I
had to copy individual messages one at a time, which was tedious and
time-consuming. This feature allows copying the entire conversation
history in a single click.

Release Notes:

- Added: Copy All Messages button to ACP logs view

---------

Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
Co-authored-by: Agus Zubiaga <agus@zed.dev>

Yordis Prieto and Agus Zubiaga created

867b5df settings_ui: Only allow to reset a setting to default in the file in which it was customized (#40182)

Click to expand commit body
Plus some other tiny visual adjustments.

Release Notes:

- N/A

Danilo Leal created

c5bbd55 Add rust-analyzer support for musl linux (#40108)

Click to expand commit body
Release Notes:

- Added rust-analyzer support for musl remotes

localcc created

4a84b78 collab_ui: Make collaboration panel label responsive on resize (#40157)

Click to expand commit body
Closes #40156

Release Notes:

- Fixed collaboration panel label responsive on resize
<img width="350" height="829" alt="Screenshot 2025-10-14 at 2 52 58 pm"
src="https://github.com/user-attachments/assets/94e21f1b-83a2-44f0-9f15-44a85155fda9"
/>

Delvin created

fd63d43 Remove obsolete contents tool and add open to write profile (#40131)

Click to expand commit body
`contents` doesn't exist anymore.
`open` was only set for `ask` and not `write`.

Release Notes:

- N/A

Abdelhakim Qbaich created

ab70555 git_ui: Apply accented color to links in Blame tooltip (#40124)

Click to expand commit body
# Why

Follow up to:
* #39905

# How

Apply accented color to links in message content inside Blame tooltip,
to match appearance in Markdown Preview panel.

Release Notes:

- Improved appearance of links in message content inside Blame tooltip.

# Preview

### Before

<img width="1186" height="798" alt="Screenshot 2025-10-13 at 19 33 37"
src="https://github.com/user-attachments/assets/33ab4fb5-7910-4d28-9152-c692d6ddeaa6"
/>

### After

<img width="1186" height="798" alt="Screenshot 2025-10-13 at 19 33 10"
src="https://github.com/user-attachments/assets/38082c5c-50d6-4fb3-90ca-410accff9aad"
/>

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>

Bartosz Kaszubowski and Danilo Leal created

474eb8d git_ui: Layout/spacing tweaks for Blame tooltip (#40130)

Click to expand commit body
# Why

Spotted that spacing of different Blame tooltip elements are spaced
uneven, also the fact that message content disappears on scroll before
reaching border felt a bit odd.

# How

Layout/spacing tweaks for Blame tooltip.

Release Notes:

- Improved appearance of Git Blame tooltip.

# Preview

### Before

<img width="1034" height="702" alt="Screenshot 2025-10-13 at 20 01 07"
src="https://github.com/user-attachments/assets/0c2715d5-d8fa-41dc-b891-a320a74d6fb0"
/>

<img width="1006" height="410" alt="Screenshot 2025-10-13 at 20 06 15"
src="https://github.com/user-attachments/assets/8c16f6dc-58e5-46cc-83fb-dd71a63e7557"
/>


### After

<img width="1034" height="672" alt="Screenshot 2025-10-13 at 20 00 33"
src="https://github.com/user-attachments/assets/e22e0e42-676e-411a-8773-2e57cdaaab17"
/>

<img width="1006" height="370" alt="Screenshot 2025-10-13 at 20 06 55"
src="https://github.com/user-attachments/assets/761995a9-153a-4e5d-923b-e7fbd73dc475"
/>

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>

Bartosz Kaszubowski and Danilo Leal created

da5f25d acp: Hide completion menu when typing slash command argument (#40126)

Click to expand commit body
Release Notes:

- acp: Fix an issue where the completion menu would still be active
after confirming a slash command

Bennet Fenner created

83ba05e windows: Revert "windows: Fix ascent/descent calculations (#40103)" (#40175)

Click to expand commit body
This reverts commit f1db1f3a3c933d8b4d35d83f6bbc49fd46749519.

This seems to have affected the vertical positioning of text that
doesn't contain emojis in a way that was unintended.

Release Notes:

- N/A

Cole Miller created

da583e5 Revert "fs: Replace a bunch of uses of smol::fs with manual impls" (#40170)

Click to expand commit body
Reverts zed-industries/zed#39906

This PR should not have landed prior to Wednesday.

Piotr Osiewicz created

9ad6196 fs: Replace a bunch of uses of smol::fs with manual impls (#39906)

Click to expand commit body
smol::fs uses a separate threadpool, which is a bit yuck.

Release Notes:

- N/A

Piotr Osiewicz created

d4cc4f8 editor: Fix highlight and selection overlap causing flicker while selecting (#40168)

Click to expand commit body
Regressed in https://github.com/zed-industries/zed/pull/39857, only on
Nightly.

Release Notes:

- N/A

Smit Barmase created

c61429e acp: Pass through experimental capability for terminal output (#40165)

Click to expand commit body
Release Notes:

- N/A

Ben Brandt created