1617972
Bump to 0.214.7 for @kubkon
Zed Bot created
1617972
Bump to 0.214.7 for @kubkon
Zed Bot created
0c0b288
Revert bump to 0.214.8 and 0.214.7 for @kubkon (#43789)
Jakub Konka created
96aa927
Bump to 0.214.8 for @kubkon
Zed Bot created
6565f37
buffer_diff: Fix git gutter incorrectly showing for ignored files (#43776) (cherry-pick to stable) (#43777)
Cherry-pick of #43776 to stable ---- Closes #43734 Closes #43698 Release Notes: - Fixed git gutter incorrectly showing up for ignored files. Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
zed-zippy[bot] and Jakub Konka created
36c3e17
Bump to 0.214.7 for @kubkon
Zed Bot created
f22590d
Bump to 0.214.6 for @agu-z
Zed Bot created
2d6e1a3
multi_buffer: Remove redundant buffer id field
Lukas Wirth created
afea10d
multi_buffer: Fix up some anchor checks (#43454)
Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
d78e6f4
acp: Add a timeout when initializing an ACP agent so the user isn't waiting forever (#43663) (cherry-pick to stable) (#43667)
Cherry-pick of #43663 to stable ---- Sometimes we are unable to receive messages at all from an agent. This puts on upper bound on the `initialize` call so we can at least give a message to the user that something is wrong here. 30s might feel like too long, but I wanted to avoid some false positives in case there was something an agent needed to do at startup. This will still communicate to the user at some point that something is wrong, rather than leave them waiting forever with no signal that something is going wrong. Release Notes: - agent: Show an error message to the user if we are unable to initialize an ACP agent in a reasonable amount of time. Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
zed-zippy[bot] and Ben Brandt created
5e19b88
editor: Fix panic in wrap_map (#43650) (cherry-pick to stable) (#43651)
Cherry-pick of #43650 to stable ---- Fixes ZED-3P9 We only clamped the end which for a completely wrong input could cause us to construct a reversed range which will end up underflowing later on. Release Notes: - N/A *or* Added/Fixed/Improved ... Co-authored-by: Lukas Wirth <lukas@zed.dev>
zed-zippy[bot] and Lukas Wirth created
db90780
vim: Fix increment panicking due to invalid utf8 offsets (#43101)
Fixes ZED-3ER Release Notes: - Fixed a panic when using vim increment on a multibyte character
Lukas Wirth created
7ee6c85
v0.214.x stable
Joseph T. Lyons created
263e63a
rope: Turn `ChunkSlice::slice` panics into error logs (#43538)
While logically not really correct, its better than tearing down the application until we figure out the root cause here Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
14d984e
shell: Correctly identifiy `powershell` shells on windows (#43526) (cherry-pick to preview) (#43529)
Cherry-pick of #43526 to preview ---- Release Notes: - Fixed zed only finding pwsh but not powershell on windows Co-authored-by: Lukas Wirth <lukas@zed.dev>
zed-zippy[bot] and Lukas Wirth created
bed482e
zed 0.214.5
Richard Feldman created
5dcec8d
Add Gemini 3 support to Copilot (#43096)
Closes #43024 Release Notes: - Add support for Gemini 3 to Copilot
Richard Feldman created
8d6d11e
Fix Gemini 3 on OpenRouter (#43416)
Release Notes: - Gemini 3 now works on OpenRouter in the Agent Panel
Richard Feldman created
199991b
mcp: Fix `source` property showing up as undefined in settings (#43417)
Follow up to #39021. <img width="576" height="141" alt="image" src="https://github.com/user-attachments/assets/c89885a4-e664-4614-9bb0-86442dff34ee" /> - Add migration to remove `source` tag because `ContextServerSettings` is now untagged - Fix typos in context server modal - PR seems to have removed the `test_action_namespaces` test, which I brought back in this PR Release Notes: - Fixed an issue where the `source` property of MCP settings would show up as unrecognised
Bennet Bo Fenner created
f0477d4
Fix first window open not focusing the modals (#43180) (cherry-pick to preview) (#43451)
Cherry-pick of #43180 to preview ---- Closes https://github.com/zed-industries/zed/issues/4357 Closes https://github.com/zed-industries/zed/issues/41278 Release Notes: - Fixed modals not getting focus on window reopen --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com> Co-authored-by: Kirill Bulatov <kirill@zed.dev> Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
zed-zippy[bot] , Kirill Bulatov , and Conrad Irwin created
23a774a
zed 0.214.4
Mikayla Maki created
12215fb
Add support for Opus 4.5 (#43425) (cherry-pick to preview) (#43428)
Cherry-pick of #43425 to preview ---- Adds support for Opus 4.5 - [x] BYOK Release Notes: - Added support for Opus 4.5 Co-authored-by: Richard Feldman <oss@rtfeldman.com> Co-authored-by: Mikayla Maki <mikayla@zed.dev> Co-authored-by: Richard Feldman <oss@rtfeldman.com>
zed-zippy[bot] , Mikayla Maki , and Richard Feldman created
7784031
Add each panel to the workspace as soon as it's ready (#43414) (cherry-pick to preview) (#43422)
Cherry-pick of #43414 to preview ---- We'll now add panels to the workspace as soon as they're ready rather than waiting for all the rest to complete. We should strive to make all panels fast, but given that their load tasks are fallible and do IO, this approach seems more resilient. Additionally, we'll now start loading the agent panel at the same time as the rest. Release Notes: - workspace: Add panels as soon as they are ready Co-authored-by: Agus Zubiaga <agus@zed.dev>
zed-zippy[bot] and Agus Zubiaga created
5025719
Bump to 0.214.3 for @Veykril
Zed Bot created
6bf38f0
Disable fsevents tests (#43218) (cherry-pick to preview) (#43401)
Cherry-pick of #43218 to preview ---- They're flakier than phyllo dough, and not nearly as delicious Release Notes: - N/A Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
zed-zippy[bot] and Conrad Irwin created
a55eb87
Bump to 0.214.2 for @Veykril
Zed Bot created
325c857
proto: Fix cloned errors losing all context (#43393) (cherry-pick to preview) (#43395)
Cherry-pick of #43393 to preview ---- Release Notes: - N/A *or* Added/Fixed/Improved ... Co-authored-by: Lukas Wirth <lukas@zed.dev>
zed-zippy[bot] and Lukas Wirth created
425901c
crashes: Print panic message to logs (#43159) (cherry-pick to preview) (#43258)
Cherry-pick of #43159 to preview ---- Release Notes: - N/A *or* Added/Fixed/Improved ... Co-authored-by: Lukas Wirth <lukas@zed.dev>
zed-zippy[bot] and Lukas Wirth created
f0ef485
agent: Fix utf8 panic in outline (#43141) (cherry-pick to preview) (#43385)
Cherry-pick of #43141 to preview ---- Fixes ZED-3F3 Release Notes: - N/A *or* Added/Fixed/Improved ... Co-authored-by: Lukas Wirth <lukas@zed.dev>
zed-zippy[bot] and Lukas Wirth created
81fcb11
askpass: Fix double command ampersand in powershell script (#43289) (cherry-pick to preview) (#43290)
Cherry-pick of #43289 to preview ---- Fixes https://github.com/zed-industries/zed/issues/42618 / https://github.com/zed-industries/zed/issues/43109 Release Notes: - N/A Co-authored-by: Lukas Wirth <lukas@zed.dev>
zed-zippy[bot] and Lukas Wirth created
de2c00b
git: Handle git pre-commit hooks separately (#43285) (cherry-pick to preview) (#43286)
Cherry-pick of #43285 to preview ---- We now run git pre-commit hooks before we commit. This ensures we don't run into timeout issues with askpass delegate and report invalid error to the user. Closes #43157 Release Notes: - Fixed long running pre-commit hooks causing committing from Zed to fail. Co-authored-by: Cole Miller <cole@zed.dev> Co-authored-by: Jakub Konka <kubkon@jakubkonka.com> Co-authored-by: Cole Miller <cole@zed.dev>
zed-zippy[bot] , Jakub Konka , and Cole Miller created
a9eab53
Bump to 0.214.1 for @Veykril
Zed Bot created
919330a
Disable keychain timeout in bundle-mac (#43204) (cherry-pick to preview) (#43259)
Cherry-pick of #43204 to preview ---- Attempt to reduce the number of times bundle-mac fails to notorize by disabling keychain's auto-lock timeout Release Notes: - N/A Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
zed-zippy[bot] and Conrad Irwin created
680c667
Revert "gpui: Convert macOS clipboard file URLs to paths for paste" (#43254) (cherry-pick to stable) (#43256)
Cherry-pick of #43254 to stable ---- Reverts zed-industries/zed#36848 Turns out this broke copying a screenshot from apps like CleanShot X and then pasting it over. We should land this again after taking a look at those cases. Pasting screenshots from the native macOS screenshot functionality works though. cc @seantimm Release Notes: - Fixed issue where copying a screenshot from apps like CleanShot X into Agent Panel didn't work as expected. Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
zed-zippy[bot] and Smit Barmase created
c210465
Revert "util: Check whether discovered powershell is actually executable" (#43247) (cherry-pick to stable) (#43248)
Cherry-pick of #43247 to stable ---- Reverts zed-industries/zed#43044 Closes https://github.com/zed-industries/zed/issues/43224 This slows down startup on windows significantly Release Notes: - Fixed slow startup on Windows Co-authored-by: Lukas Wirth <lukas@zed.dev>
zed-zippy[bot] and Lukas Wirth created
d22d86b
Fix panic in the git panel when toggling `sort_by_path` (#43074) (cherry-pick to stable) (#43128)
Cherry-pick of #43074 to stable ---- We call `entry_by_path` on the `bulk_staging` anchor entry at the beginning of `update_visible_entries`, but in the codepath where `sort_by_path` is toggled on or off, we clear entries without clearing `bulk_staging` or counts, causing that `entry_by_path` to do an out of bounds index. Fixed by clearing `bulk_staging` as well. Release Notes: - N/A Co-authored-by: Cole Miller <cole@zed.dev>
zed-zippy[bot] and Cole Miller created
9700929
git: Clear pending ops for remote repos (#43098) (cherry-pick to preview) (#43100)
Cherry-pick of #43098 to preview ---- Release Notes: - N/A Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
zed-zippy[bot] and Jakub Konka created
9c45875
Fix Windows bundling (#43083)
The updated package from https://github.com/zed-industries/zed/pull/43066 changed the paths of these files in the nupkg. Release Notes: - N/A
John Tur created
52f494d
Revert "editor: Fix prepaint recursion when updating stale sizes (#42896)"
This reverts commit 79be5cbfe21eabeadb2d910d4ba7c355256bd0e3.
Joseph T. Lyons created
49eaaff
v0.214.x preview
Joseph T. Lyons created
79be5cb
editor: Fix prepaint recursion when updating stale sizes (#42896)
The bug is in the `place_near` logic, specifically the `!row_block_types.contains_key(&(row - 1))` check. The problem isn’t really that condition itself, but it’s that it relies on `row_block_types`, which does not take into account that upon block resizes, subsequent block start row moves up/down. Since `place_near` depends on this incorrect map, it ends up causing incorrect resize syncs to the block map, which then triggers more bad recursive calls. The reason it worked till now in most of the cases is that recursive resizes eventually lead to stabilizing it. Before `place_near`, we never touched `row_block_types` during the first prepaint pass because we knew it was based on outdated heights. Once all heights are finalized, using it is fine. The fix is to make sure `row_block_types` is accurate from the very first prepaint pass by keeping an offset whenever a block shrinks or expands. Now ideally it should take only one subsequent prepaint. But due to shrinking, new custom/diagnostics blocks might come into the view from below, which needs further prepaint calls for resolving. Right now, tests pass after 2 subsequent prepaint calls. Just to be safe, we have set it to 5. <img width="500" alt="image" src="https://github.com/user-attachments/assets/da3d32ff-5972-46d9-8597-b438e162552b" /> Release Notes: - Fix issue where sometimes Zed used to experience freeze while working with inline diagnostics.
Smit Barmase created
a42676b
git: Put pending ops container out of snapshot (#43061)
This also fixes staging checkbox flickering. Release Notes: - Fixed staging checkbox flickering sporadically in the Git panel.
Jakub Konka created
39f8aef
zeta2: Improve context retrieval (#43014)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ... Co-authored-by: Agus <agus@zed.dev> Co-authored-by: Max <max@zed.dev>
Ben Kunkle , Agus , and Max created
1c1dfba
windows: Bundle freshers conpty.dll builds (#43066)
Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
2c4fd24
gpui: Restore last window close behavior on macOS (#43058)
Follow-up to https://github.com/zed-industries/zed/pull/42391 Release Notes: - Fixed an issue where Zed did not respect the `on_last_window_closed` setting on macOS
Finn Evers created
3125e78
windows: Bundle new conpty.dll/OpenConsole.exe and use it for local builds on x86_64 (#43059)
Release Notes: - N/A *or* Added/Fixed/Improved ...
Lukas Wirth created
74d61aa
util: Fix zip extraction (#42714)
I was trying to use Zed for Rust debugging on windows, but was getting
this warning in debugger console: "Could not initialize Python
interpreter - some features will be unavailable (e.g. debug
visualizers)."
As the warning suggests this led to bad debugging experience where the
variables were not visualized properly in the "Variables" panel.
After some investigation I found that the problem is that Zed silently
failed to extract all files from the debug adapter package
(https://github.com/vadimcn/codelldb/releases/download/v1.11.8/codelldb-win32-x64.vsix).
Particularly `python-lldb` folder was missing, which caused the warning.
The error occurred here:
https://github.com/zed-industries/zed/blob/cf7c64d77f1806cdd34b3812bbf27681fb3cb905/crates/util/src/archive.rs#L47
And then gets ignored here:
https://github.com/zed-industries/zed/blob/cf7c64d77f1806cdd34b3812bbf27681fb3cb905/crates/dap/src/adapters.rs#L323-L326
The simple fix is to update `async_zip` crate to version 0.0.18 where
this issue appears to be fixed. I also added logging instead of silently
ignoring the error, as I believe that would have helped to catch it
earlier.
To reproduce the original issue you can try to follow these steps:
0. (Optional) Remove/rename old codelldb adapter at
`%localappdata%\Zed\debug_adapters\CodeLLDB`. Restart Zed.
1. Create a simple Rust project. Make sure you use gnu toolchain (target
`x86_64-pc-windows-gnu`)
```rust
fn world() -> String {
"world".into()
}
fn main() {
let w = world();
println!("hello {}", w);
}
```
2. Put a breakpoint on line 7 (`println`)
3. In the command palette choose "debugger: start" and then select "run
*crate name*"
Screenshot before the fix:
<img width="893" height="411" alt="image"
src="https://github.com/user-attachments/assets/78097690-b55e-4989-bfa4-20452560f9fc"
/>
<details>
<summary>Console before the fix</summary>
```
Checking latest version of CodeLLDB...
Downloading from https://github.com/vadimcn/codelldb/releases/download/v1.11.8/codelldb-win32-x64.vsix...
Download complete
Could not initialize Python interpreter - some features will be unavailable (e.g. debug visualizers).
Console is in 'commands' mode, prefix expressions with '?'.
warning: (x86_64) D:\repro\target\x86_64-pc-windows-gnu\debug\repro.exe unable to locate separate debug file (dwo, dwp). Debugging will be degraded.
Launching: D:\repro\target\x86_64-pc-windows-gnu\debug\repro.exe
Launched process 13836 from 'D:\repro\target\x86_64-pc-windows-gnu\debug\repro.exe'
error: repro.exe [0x0000000000002074]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x000000000000001a) attribute, but range extraction failed (invalid range list offset 0x1a), please file a bug and attach the file at the start of this error message
error: repro.exe [0x000000000000208c]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x0000000000000025) attribute, but range extraction failed (invalid range list offset 0x25), please file a bug and attach the file at the start of this error message
error: repro.exe [0x00000000000020af]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x0000000000000030) attribute, but range extraction failed (invalid range list offset 0x30), please file a bug and attach the file at the start of this error message
error: repro.exe [0x00000000000020c4]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x000000000000003b) attribute, but range extraction failed (invalid range list offset 0x3b), please file a bug and attach the file at the start of this error message
error: repro.exe [0x00000000000020fc]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x0000000000000046) attribute, but range extraction failed (invalid range list offset 0x46), please file a bug and attach the file at the start of this error message
error: repro.exe [0x0000000000002130]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x0000000000000046) attribute, but range extraction failed (invalid range list offset 0x46), please file a bug and attach the file at the start of this error message
> ? w
< {...}
```
</details>
Screenshot after the fix:
<img width="634" height="295" alt="image"
src="https://github.com/user-attachments/assets/67e36a64-97d2-406c-9216-7ac5b01f4101"
/>
<details>
<summary>Console after the fix</summary>
```
Checking latest version of CodeLLDB...
Downloading from https://github.com/vadimcn/codelldb/releases/download/v1.11.8/codelldb-win32-x64.vsix...
Download complete
Console is in 'commands' mode, prefix expressions with '?'.
Loading Rust formatters from C:\Users\Vasyl\.rustup\toolchains\1.91.1-x86_64-pc-windows-msvc\lib/rustlib/etc
warning: (x86_64) D:\repro\target\x86_64-pc-windows-gnu\debug\repro.exe unable to locate separate debug file (dwo, dwp). Debugging will be degraded.
Launching: D:\repro\target\x86_64-pc-windows-gnu\debug\repro.exe
Launched process 10364 from 'D:\repro\target\x86_64-pc-windows-gnu\debug\repro.exe'
error: repro.exe [0x0000000000002074]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x000000000000001a) attribute, but range extraction failed (invalid range list offset 0x1a), please file a bug and attach the file at the start of this error message
error: repro.exe [0x000000000000208c]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x0000000000000025) attribute, but range extraction failed (invalid range list offset 0x25), please file a bug and attach the file at the start of this error message
error: repro.exe [0x00000000000020af]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x0000000000000030) attribute, but range extraction failed (invalid range list offset 0x30), please file a bug and attach the file at the start of this error message
error: repro.exe [0x00000000000020c4]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x000000000000003b) attribute, but range extraction failed (invalid range list offset 0x3b), please file a bug and attach the file at the start of this error message
error: repro.exe [0x00000000000020fc]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x0000000000000046) attribute, but range extraction failed (invalid range list offset 0x46), please file a bug and attach the file at the start of this error message
error: repro.exe [0x0000000000002130]: DIE has DW_AT_ranges(DW_FORM_sec_offset 0x0000000000000046) attribute, but range extraction failed (invalid range list offset 0x46), please file a bug and attach the file at the start of this error message
> ? w
< "world"
```
</details>
This fixes #33753
Release Notes:
- util: Fixed archive::extract_zip failing to extract some archives
Vasyl Protsiv created
40dd4e2
zeta: Add stats about context lines from patch that were retrieved during context retrieval (#43053)
A.K.A: Eval: Expect lines necessary to uniquely target every change in "Expected Patch" to be included as context Release Notes: - N/A
Piotr Osiewicz created
9feb260
lsp: Support deprecated completion item tag and advertise capability (#43000)
Release Notes: - N/A
xdBronch created
5ccbe94
util: Check whether discovered powershell is actually executable (#43044)
Closes https://github.com/zed-industries/zed/issues/42944 The powershell we discovered might be in a directory with higher permission requirements which will cause us to fail using it. Release Notes: - Fixed powershell discovery disregarding admin requirements
Lukas Wirth created
a910c59
agent_ui: Add mode_id to telemetry (#43045)
Release Notes: - N/A
Bennet Bo Fenner created