172e0df
Remove duplicate ThreadHistory key binding object (#31309)
Click to expand commit body
Release Notes: - N/A
Joseph T. Lyons created
172e0df
Remove duplicate ThreadHistory key binding object (#31309)
Release Notes: - N/A
Joseph T. Lyons created
7341ab3
Keep file permissions when extracting zip archives on Unix (#31304)
Follow-up of https://github.com/zed-industries/zed/pull/31080
Stop doing
```rs
#[cfg(not(windows))]
{
file.set_permissions(<fs::Permissions as fs::unix::PermissionsExt>::from_mode(
0o755,
))
.await?;
}
```
after extracting zip archives on Unix, and use an API that provides the
file permissions data for each archive entry.
Release Notes:
- N/A
Kirill Bulatov created
ca72efe
Add overdue invoices check (#31290)
- Rename current_user_account_too_young to account_too_young for consistency - Add has_overdue_invoices field to track billing status - Block edit predictions when user has overdue invoices - Add overdue invoice warning to inline completion menu Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Ben Brandt and Marshall Bowers created
cb112a4
Have `edit_file_tool` respect `format_on_save` (#31047)
Release Notes: - Agents now automatically format after edits if `format_on_save` is enabled.
Richard Feldman created
f3c2e71
Update syn crate from 1.0.109 to 2.0.101 (#31301)
Nearly all generated by Zed Agent + Claude Opus 4. I just wrote the test `Args` struct and pointed it at the [2.0 release notes](https://github.com/dtolnay/syn/releases/tag/2.0.0). Release Notes: - N/A
Michael Sloan created
208f525
Don't always scroll to bottom on every new message (#31295)
This is a partial reversion of https://github.com/zed-industries/zed/pull/30878 - having it always scroll to bottom whenever a new message is added makes it so that when you're scrolled up, you don't have time to read what you're trying to read before it autoscrolls to the end. @danilo-leal when you're back, we can pair on addressing that in a different way! Release Notes: - Fixed bug where scrolling up in the agent panel didn't prevent automatic scroll-to-end whenever a new message arrived.
Richard Feldman created
697c838
languages: Allow complete override for ESLint settings (#31302)
Closes #17088 This PR allows users to override ESLint settings as they want instead of depending on a few set of hardcoded keys. Release Notes: - Added support for configuring all ESLint server settings instead of only a limited set of predefined options.
smit created
1683e2f
collab: Prevent canceling the free plan (#31292)
This PR makes it so the Zed Free plan cannot be canceled. We were already preventing this on the zed.dev side, but this will make it more airtight. Release Notes: - N/A
Marshall Bowers created
2f1d928
debugger: Fix adapter names in initial-debug-tasks.json (#31283)
Closes #31134 Release Notes: - N/A --------- Co-authored-by: Piotr <piotr@zed.dev>
Cole Miller and Piotr created
68a46c3
evals: Configurable judge model (#31282)
This is needed for apples-to-apples comparison of different agent models. Another change is that now `cargo -p eval` accepts model names as `provider_id/model_id` instead of separate `--provider` and `--model` params. Release Notes: - N/A
Oleksiy Syvokon created
3a1053b
Use shortened SHA when displaying version to install (#31281)
This PR uses a shortened SHA when displaying the nightly version to install in the update status, for nicer tooltip formatting. Release Notes: - N/A
Joseph T. Lyons created
14d9a41
debugger beta: Auto download Delve (Go's DAP) & fix grammar errors in docs (#31273)
Release Notes: - debugger beta: Go's debug adapter will now automatically download if not found on user's PATH Co-authored-by: Remco Smits <djsmits12@gmail.com>
Anthony Eid and Remco Smits created
9c01119
debugger beta: Add error handling when gdb doesn't send thread names (#31279)
If gdb doesn't send a thread name we display the thread's process id in the thread drop down menu instead now. Co-authored-by: Remco Smits \<djsmits12@gmail.com\> Release Notes: - debugger beta: Handle bug where DAPs don't send thread names
Anthony Eid created
9dba8e5
Ensure client reconnects after erroring during the handshake (#31278)
Release Notes: - Fixed a bug that prevented Zed from reconnecting after erroring during the initial handshake with the server.
Antonio Scandurra created
03ac3fb
editor: Fix issue where newline on `*` as prefix adds comment delimiter (#31271)
Release Notes: - Fixed issue where pressing Enter on a line starting with * incorrectly added comment delimiter. --------- Co-authored-by: Piotr Osiewicz <peterosiewicz@gmail.com> Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
smit , Piotr Osiewicz , and Piotr Osiewicz created
0201d1e
agent: Unfollow agent on completion cancellation (#31258)
Handle unfollowing agent and clearing agent location when completion is canceled. Release Notes: - N/A
Ben Brandt created
f48b6b5
debugger: Change placeholder text for Custom/Run text input (#31264)
Before:  After:  Release Notes: - N/A
Piotr Osiewicz created
d8fc23a
toml: Bump to v0.1.4 (#31272)
Closes https://github.com/zed-industries/zed/issues/31261 Changes: * https://github.com/zed-industries/zed/pull/31267 Release Notes: - N/A
Kirill Bulatov created
6206150
Use `read()` over `read_with()` to improve readability in simple cases (#31263)
Release Notes: - N/A
Joseph T. Lyons created
e88cad2
Reduce the amount of queries performed when updating plan (#31268)
Release Notes: - N/A
Antonio Scandurra created
9b7d849
Fix taplo artifact naming (#31267)
Part of https://github.com/zed-industries/zed/issues/31261 https://github.com/tamasfe/taplo/pull/598#issuecomment-2292984164 renamed all artifacts almost a year ago, and now had released it finally. Have to abide to that YOLO move. Release Notes: - N/A
Kirill Bulatov created
c4677c2
debugger: More focus tweaks (#31232)
- Make remembering focus work with `ActivatePaneDown` as well - Tone down the console's focus-in behavior so clicking doesn't misbehave Release Notes: - N/A
Cole Miller created
26318b5
debugger: Detect debugpy from virtual env (#31211)
Release Notes: - Debugger Beta: Detect debugpy from virtual env
Remco Smits created
4266f0d
terminal: Consume event during processing (#30869)
By consuming the event during processing we save a few clones during event processing. Overall in this PR we save one Clone each during: - Paste to the terminal - Writing to the terminal - Setting the title - On every terminal transaction - On every ViMotion when not using shift Release Notes: - N/A
tidely created
c50093d
project: Use VecDeque in SearchHistory (#31224)
`SearchHistory` internally enforced the max length of the search history by popping elements from the front using `.remove(0)`. For a `Vec` this is a `O(n)` operation. Use a `VecDeque` to make this `O(1)` I also made it so the excess element is popped before the new one is added, which keeps the allocation at the desired size. Release Notes: - N/A
tidely created
1cad1cb
Add Code Actions to the Toolbar (#31236)
Closes issue #31120. https://github.com/user-attachments/assets/a4b3c86d-7358-49ac-b8d9-e9af50daf671 Release Notes: - Added a code actions icon to the toolbar. This icon can be disabled by setting `toolbar.code_actions` to `false`.
smit created
fbc922a
Reduce allocations (#31223)
Release Notes: - N/A
tidely created
f435304
Use read-only access methods for read-only entity operations (#31254)
This PR replaces some `update()` calls with either `read()` or `read_with()` when the `update()` call performed read-only operations on the entity. Many more likely exist, will follow-up with more PRs. Release Notes: - N/A
Joseph T. Lyons created
508ccde
Better messaging for accounts that are too young (#31212)
Right now you find this out the first time you try and submit a completion. These changes communicate much earlier to the user what the issue is with their account and what they can do about it. Release Notes: - N/A --------- Co-authored-by: Antonio Scandurra <me@as-cii.com>
Ben Brandt and Antonio Scandurra created
9f7987c
Change default diagnostics_max_severity to 'hint' (#31229)
Closes https://github.com/blopker/codebook/issues/79 Recently, the setting `diagnostics_max_severity` was changed from `null` to `warning`in this PR: https://github.com/zed-industries/zed/pull/30316 This change has caused the various spell checking extensions to not work as expected by default, most of which use the `hint` diagnostic. This goes against user expectations when installing one of these extensions. Without `hint` as the default, extension authors will either need to change the diagnostic levels, or instruct users to add `diagnostics_max_severity` to their settings as an additional step, neither of which is a great user experience. This PR sets the default `hint`, which is closer to the original behavior before the aforementioned PR. Release Notes: - Changed `diagnostics_max_severity` to `hint` instead of `warning` by default --------- Co-authored-by: Kirill Bulatov <kirill@zed.dev>
Bo Lopker and Kirill Bulatov created
cb52acb
eval: Don't read the model from the user settings (#31230)
This PR fixes an issue where the eval was incorrectly pulling the provider/model from the user settings, which could cause problems when running certain evals. Was introduced in #30168 due to the restructuring after the removal of the `assistant` crate. Release Notes: - N/A
Marshall Bowers created
f8b997b
docs: Fix Claude Sonnet 4 model name (#31226)
This PR fixes the model name for Claude Sonnet 4 to match Anthropic's new ordering. Release Notes: - N/A
Marshall Bowers created
73a5856
docs: Add Claude 4 Sonnet to docs (#31225)
Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <git@maxdeviant.com>
morgankrey and Marshall Bowers created
e3b6fa2
bedrock: Support Claude 4 models (#31214)
Release Notes: - AWS Bedrock: Added support for Claude 4.
Shardul Vaidya created
ceb5164
agent: Remove last turn after a refusal (#31220)
This is a follow-up to https://github.com/zed-industries/zed/pull/31217 that removes the last turn after we get a `refusal` stop reason, as advised by the Anthropic docs. Meant to include it in that PR, but accidentally merged it before pushing these changes 🤦🏻♂️. Release Notes: - N/A
Marshall Bowers created
24a108d
anthropic: Fix Claude 4 model display names to match official order (#31218)
Release Notes: - N/A
Umesh Yadav created
5c0b161
Handle new `refusal` stop reason from Claude 4 models (#31217)
This PR adds support for handling the new [`refusal` stop reason](https://docs.anthropic.com/en/docs/test-and-evaluate/strengthen-guardrails/handle-streaming-refusals) from Claude 4 models. <img width="409" alt="Screenshot 2025-05-22 at 4 31 56 PM" src="https://github.com/user-attachments/assets/707b04f5-5a52-4a19-95d9-cbd2be2dd86f" /> Release Notes: - Added handling for `"stop_reason": "refusal"` from Claude 4 models.
Marshall Bowers created
ad4645c
debugger: Fix environment variables not being substituted in debug tasks (#31198)
Release Notes: - Debugger Beta: Fixed a bug where environment variables were not substituted in debug tasks in some cases. Co-authored-by: Anthony Eid <hello@anthonyeid.me> Co-authored-by: Remco Smits <djsmits12@gmail.com>
Cole Miller , Anthony Eid , and Remco Smits created
37047a6
language_models: Update default/recommended Anthropic models to Claude Sonnet 4 (#31209)
This PR updates the default/recommended models for the Anthropic and Zed providers to be Claude Sonnet 4. Release Notes: - Updated default/recommended Anthropic models to Claude Sonnet 4.
Marshall Bowers created
fc78408
language_model: Allow Max Mode for Claude 4 models (#31207)
This PR adds the Claude 4 models to the list of models that support Max Mode. Release Notes: - Added Max Mode support for Claude 4 models.
Marshall Bowers created
37f49ce
collab: Add support for overage billing for Claude Sonnet 4 (#31206)
This PR adds support for billing for overages for Claude Sonnet 4. Release Notes: - N/A
Marshall Bowers created
cc42833
mistral: Add DevstralSmallLatest model to Mistral and Ollama (#31099)
Mistral just released a sota coding model: https://mistral.ai/news/devstral This PR adds support for it in both ollama and mistral Release Notes: - Add DevstralSmallLatest model to Mistral and Ollama
Umesh Yadav created
1475ace
anthropic: Add support for Claude 4 (#31203)
This PR adds support for [Claude 4](https://www.anthropic.com/news/claude-4). Release Notes: - Added support for Claude Opus 4 and Claude Sonnet 4. --------- Co-authored-by: Antonio Scandurra <me@as-cii.com> Co-authored-by: Richard Feldman <oss@rtfeldman.com>
Marshall Bowers , Antonio Scandurra , and Richard Feldman created
dd4e8b9
editor: Fix block comment incorrectly continues to next line in some cases (#31204)
Closes #31138 Fix edge case where adding newline if there is text afterwards end delimiter of multiline comment, would continue the comment prefix. This is fixed by checking for end delimiter on whole line instead of just assuming it would always be at end. - [x] Tests Release Notes: - Fixed the issue where in some cases the block comment continues to the next line even though the comment block is already closed.
smit created
b188e5d
Fix update status logic to preserve previous status (#31202)
Release Notes: - N/A
Joseph T. Lyons created
e3d3dae
Fix bug where deleted toolchains stay selected on startup (#30562)
This affects python's when debugging because the selected toolchain is used as the python binary to spawn Debugpy Release Notes: - Fix bug where selected toolchain didn't exist
Anthony Eid created
ced8e4d
debugger beta: Move path resolution to resolve scenario instead of just in new session modal (#31185)
This move was done so debug configs could use path resolution, and saving a configuration from the new session modal wouldn't resolve paths beforehand. I also added an integration test to make sure path resolution happens from an arbitrary config. The test was placed under the new session modal directory because it has to do with starting a session, and that's what the new session modal typically does, even if it's implicitly used in the test. In the future, I plan to add more tests to the new session modal too. Release Notes: - debugger beta: Allow configs from debug.json to resolve paths
Anthony Eid created
fa1abd8
debugger: Always focus the active session whenever it is stopped (#31182)
Closes #ISSUE Release Notes: - debugger: Fixed child debug sessions taking precedence over the parents when spawned.
Piotr Osiewicz created
ee4e43f
linux: Fix wrong keys are reported when using German layout (#31193)
Part of #31174 Because the keyboard layout parameter wasn’t set correctly, characters don’t show up properly when using the German layout at launch. To reproduce: Switch to the German layout, launch Zed, and press the `7` key. it should output `7`, but instead it outputs `è`. Release Notes: - N/A
张小白 created
d61e1e2
docs: Fix debugger docs link from summary page (#31195)
Release Notes: - N/A
Anthony Eid created