Commit log

394f56d zed 0.211.6

Richard Feldman created

1422b67 Fix ACP extension root dir (#42131) (cherry-pick to stable) (#42132)

Click to expand commit body
Cherry-pick of #42131 to stable

----
Agents running in extensions need to have a root directory of the
extension's dir for installation and authentication, but *not* for the
conversation itself - otherwise the agent is running things like
terminal commands in the wrong dir.

Release Notes:

- Fixed Agent Server extensions having the current working directory of
the extension rather than the project

Co-authored-by: Richard Feldman <richard@zed.dev>

zed-zippy[bot] and Richard Feldman created

d846d45 Bump to 0.211.5 for @smitbarmase

Zed Bot created

f70f507 language: Fix completion menu no longer prioritizes relevant items for Typescript and Python (#42065)

Click to expand commit body
Closes #41672

Regressed in https://github.com/zed-industries/zed/pull/40242

Release Notes:

- Fixed issue where completion menu no longer prioritizes relevant items
for TypeScript and Python.

Smit Barmase created

e517719 AI: Fix Github Copilot edit predictions failing to start (#41934)

Click to expand commit body
Closes #41457 #41806 #41801

Copilot started using `node:sqlite` module which is an experimental
feature between node v22-v23 (stable in v24). The fix was passing in the
experimental flag when Zed starts the copilot LSP.

I tested this with v20.19.5 and v24.11.0. The fix got v20.19 working and
didn't affect v24.11 which was already working.

Release Notes:

- AI: Fix Github Copilot edit predictions failing to start

Anthony Eid created

74efd3a Run ACP login from same cwd as agent server (#42038)

Click to expand commit body
This makes it possible to do login via things like `cmd: "node", args:
["my-node-file.js", "login"]`

Also, that command will now use Zed's managed `node` instance.

Release Notes:

- ACP extensions can now run terminal login commands using relative
paths

Richard Feldman created

9f1a901 agent_ui: Fix how icons from external agents are displayed (#42034)

Click to expand commit body
Release Notes:

- N/A

Danilo Leal created

506f333 gpui: Add support for rendering SVG from external files (#42024)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>

Danilo Leal and Mikayla Maki created

214a0bc svg_preview: Update preview on every buffer edit (#41270)

Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/39104

This fixes an issue where the preview would not work for remote buffers
in the process.

Release Notes:

- Fixed an issue where the SVG preview would not work in remote
scenarios.
- The SVG preview will now rerender on every keypress instead of only on
saves.

Finn Evers created

d461acb Revert "Don't draft release notes"

Click to expand commit body
This reverts commit 62ece18dfedd5fae028c8ab10f751652b7f814e6.

Conrad Irwin created

7acefd5 Refresh zed.dev releases page after releases (#42060) (cherry-pick to stable) (#42064)

Click to expand commit body
Cherry-pick of #42060 to stable

----
Release Notes:

- N/A

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

zed-zippy[bot] and Conrad Irwin created

62ece18 Don't draft release notes

Conrad Irwin created

4475689 v0.211.x stable

Joseph T. Lyons created

5ea5b5e Fix integer underflow in autosave mode after delay in the settings (cherry-pick #41898) (#42013)

Click to expand commit body
Closes #41774 

Release Notes:

- settings_ui: Fixed an integer underflow panic when attempting to hit
the `-` sign on settings item that take delays in milliseconds

Co-authored-by: Ignasius <96295999+ignasius-j-s@users.noreply.github.com>

Ben Kunkle and Ignasius created

d93f528 Use our `node` runtime for ACP extensions (#41955)

Click to expand commit body
Release Notes:

- Now ACP extensions use Zed's managed Node.js runtime

---------

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>

Richard Feldman and Mikayla Maki created

4414019 Add ACP terminal-login via _meta field (#41954)

Click to expand commit body
As discussed with @benbrandt and @mikayla-maki:

* We now tell ACP clients we support the nonstandard `terminal-auth`
`_meta` field for terminal-based authentication
* In the future, we anticipate ACP itself supporting *some* form of
terminal-based authentication, but that hasn't been designed yet or gone
through the RFD process
* For now, this unblocks terminal-based auth

Release Notes:

- Added experimental terminal-based authentication to ACP support

Richard Feldman created

2e74679 project: Fetch latest lsp data in `deduplicate_range_based_lsp_requests`

Lukas Wirth created

a3f230f zed: Reduce number of rayon threads, spawn with bigger stacks (#41812)

Click to expand commit body
We already do this for the cli and remote server but forgot to do so for
the main binary

Release Notes:

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

Lukas Wirth created

ff0eef9 Fetch (just) enough refs in script/cherry-pick (#41949) (cherry-pick to preview) (#41951)

Click to expand commit body
Cherry-pick of #41949 to preview

----
Before this change we'd download all the tagged commits, but none of
their ancestors,
this was slow and made cherry-picking fail.

Release Notes:

- N/A

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

zed-zippy[bot] and Conrad Irwin created

712f75d Bump to 0.211.4 for @ConradIrwin

Zed Bot created

74031e2 More tweaks to CI pipeline (#41941)

Click to expand commit body
Closes #ISSUE

Release Notes:

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

Conrad Irwin created

8ea8582 lsp: Fix dynamic registration of document diagnostics (#41929) (cherry-pick to preview) (#41947)

Click to expand commit body
Cherry-pick of #41929 to preview

----
- lsp: Fix dynamic registration of diagnostic capabilities not taking
effect when an initial capability is not specified
Gist of the issue lies within use of .get_mut instead of .entry. If we
had not created any dynamic capability beforehand, we'd miss a
registration, essentially

- **Determine whether to update remote caps in a smarter manner**

Release Notes:

- Fixed document diagnostics with Ty language server.

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>

zed-zippy[bot] and Piotr Osiewicz created

7deac6c Improve compare_perf.yml, cherry_pick.yml (#41606) (cherry-pick) (#41946)

Click to expand commit body
Cherry-pick of #41606

----
Release Notes:

- N/A

---------

Co-authored-by: Nia Espera <nia@zed.dev>

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Co-authored-by: Nia Espera <nia@zed.dev>

zed-zippy[bot] , Conrad Irwin , and Nia Espera created

03a0f9b Shell out to real tar in extension builder (#41856) (cherry-pick) (#41945)

Click to expand commit body
Cherry-pick of #41856

----
We see `test_extension_store_with_test_extension` hang in untarring the
WASI SDK some times.

In lieu of trying to debug the problem, let's try shelling out for now
in the hope that the test becomes more reliable.

There's a bit of risk here because we're using async-tar for other
things (but probably not 300Mb tar files...)

Assisted-By: Zed AI

Closes #ISSUE

Release Notes:

- N/A

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

zed-zippy[bot] and Conrad Irwin created

c374532 settings_ui: Fix dropdowns after #41036 (#41920) (cherry-pick) (#41930)

Click to expand commit body
Cherry-pick of #41920

----
Closes #41533

Both of the issues in the release notes that are fixed in this PR, were
caused by incorrect usage of the `window.use_state` API.
The first issue was caused by calling `window.use_state` in a render
helper, resulting in the element ID used to share state being the same
across different pages, resulting in the state being re-used when it
should have been re-created. The fix for this was to move the
`window.state` (and rendering logic) into a `impl RenderOnce` component,
so that the IDs are resolved during the render, avoiding the state
conflicts.

The second issue is caused by using a `move` closure in the
`window.use_state` call, resulting in stale closure values when the
window state is re-used.

Release Notes:

- settings_ui: Fixed an issue where some dropdown menus would show
options from a different dropdown when clicked
- settings_ui: Fixed an issue where attempting to change a setting in a
dropdown back to it's original value after changing it would do nothing

Co-authored-by: Ben Kunkle <ben@zed.dev>

Conrad Irwin and Ben Kunkle created

a677ecc Bump to 0.211.3 for @ConradIrwin

Zed Bot created

59213b2 Fix merge conflict (#41853)

Click to expand commit body
Closes #ISSUE

Release Notes:

- N/A

Conrad Irwin created

2b901ad ci: Enable namespace caching for Linux workers (#41652)

Click to expand commit body
Release Notes:

- N/A

Piotr Osiewicz created

61dddc4 Re-use the existing bundle steps for nightly too (#41699)

Click to expand commit body
One of the reasons we didn't spot that we were missing the telemetry env
vars for the production builds was that nightly (which was working) had
its own set of build steps. This re-uses those and pushes the env vars
down from the workflow to the job.

It also fixes nightly releases to upload all-in-one go so that all
platforms update in sync.

Closes #41655

Release Notes:

- N/A

Conrad Irwin created

1428117 gh-workflow unit evals (#41637)

Click to expand commit body
Closes #ISSUE

Release Notes:

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

Ben Kunkle created

2f3c208 Fix branch diff hunk expansion (#41873)

Click to expand commit body
Closes #ISSUE

Release Notes:

- (preview only) Fixes a bug where hunks were not expanded when viewing
branch diff

Conrad Irwin created

f8979f1 Do not pull diagnostics when those are disabled (#41865)

Click to expand commit body
Based on 

[hang.log](https://github.com/user-attachments/files/23319081/hang.log)


Release Notes:

- N/A

Kirill Bulatov created

921be53 Remove incorrectly added test

Click to expand commit body
During cherry-picking of https://github.com/zed-industries/zed/pull/41859 , one test was incorrectly merged in.
This was only added in https://github.com/zed-industries/zed/pull/41342 which is not cherry-picked, hence the test will fail.

Kirill Bulatov created

af2d462 Fix racy inlay hints queries (#41816)

Click to expand commit body
Follow-up of https://github.com/zed-industries/zed/pull/40183

Release Notes:

- (Preview only) Fixed inlay hints duplicating when multiple editors are
open for the same buffer

---------

Co-authored-by: Lukas Wirth <lukas@zed.dev>

Kirill Bulatov and Lukas Wirth created

713903f Fix incorrect search ranges when rendering search matches in the outline panel (#41859)

Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/41792

Release Notes:

- Fixed outline panel panicking when rendering certain search matches

Kirill Bulatov created

f4c077b Remove unused import

Lukas Wirth created

48fdd88 file_finder: Fix highlighting panic in open path prompt (#41808)

Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/41249

Couldn't quite come up with a test case here but verified it works.

Release Notes:

- Fixed a panic in file finder when deleting characters

Lukas Wirth created

9349554 editor: Fix `refresh_linked_ranges` panics due to old snapshot use (#41657)

Click to expand commit body
Fixes ZED-29Z

Release Notes:

- Fixed panic in `refresh_linked_ranges`

Lukas Wirth created

311abd0 extension_host: Do not try auto installing suppressed extensions (#41551)

Click to expand commit body
Release Notes:

- Fixed an issue where Zed would try to install extensions specified
under `auto_install_extensions` which were moved into core.

Finn Evers created

c5e298b Revert "sum_tree: Replace rayon with futures (#41586)"

Click to expand commit body
This reverts commit f2ce06c7b00a79a4e2932ffbbbc880c1a3fb0a15.

Lukas Wirth created

ec813e9 Bump to 0.211.2 for @ConradIrwin

Zed Bot created

68063ea Fix telemetry in release builds (#41695)

Click to expand commit body
This was inadvertently broken in v0.211.1-pre when we rewrote the
release build

Release Notes:

- N/A

Conrad Irwin created

7dadd4a Delete old ci.yml (#41668)

Click to expand commit body
The new one is much better

Release Notes:

- N/A

Conrad Irwin created

4f8c378 Fix `release.yml` workflow (#41675)

Click to expand commit body
Closes #ISSUE

Release Notes:

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

Ben Kunkle created

6eb3cdb blerg

Conrad Irwin created

8677bb5 Skip release notes for a hot second

Conrad Irwin created

45accd9 Bump to 0.211.1 for @ConradIrwin

Zed Bot created

671c4eb Delete old ci.yml

Conrad Irwin created

011e3c1 gh-workflow release (#41502)

Click to expand commit body
Closes #ISSUE

Rewrite our release pipeline to be generated by `gh-workflow`

Release Notes:

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

Ben Kunkle created

3eb9d77 bundle: Restore local install on macOS (#41482)

Click to expand commit body
I just pulled and ran a local build via `script/bundle-mac -l -i` but
found that the resulting bundle wasn't installed as expected. (me:
"ToggleAllDocks!! Wait! Where is it?!") Looking into, it looks like the
`-l` flag was removed in #41392, leaving the `$local_only` var orphaned,
which then left the `-i/$local_install` flag unreachable. I suspect that
this was unintentional, so this PR re-adds the `-l/$local_only` flag to
`script/bundle-mac`.

I ran the build again and confirmed that local install seemed to work as
expected. (ie "ToggleAllDocks!! :tada:")

While here, I also removed the last reference to `$local_arch`, because
all other references to that were removed in #41392.

/cc @osiewicz 

Release Notes:

- N/A

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

claytonrcarter and Conrad Irwin created