Commit log

00789bf zed 0.199.10

Julia Ryan created

5428e71 Separate minidump crashes from panics (#36267)

Click to expand commit body
The minidump-based crash reporting is now entirely separate from our
legacy panic_hook-based reporting. This should improve the association
of minidumps with their metadata and give us more consistent crash
reports.

Release Notes:

- N/A

---------

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>

Julia Ryan and Max Brunsfeld created

2b316b6 Don't generate crash reports on the Dev channel (#35915)

Click to expand commit body
We only want minidumps to be generated on actual release builds. Now we
avoid spawning crash handler processes for dev builds. To test
minidumping you can still set the `ZED_GENERATE_MINIDUMPS` env var which
force-enable the feature.

Release Notes:

- N/A

Julia Ryan created

4c98834 Add more info to crash reports (#35914)

Click to expand commit body
None of this is new info, we're just pulling more things out of the
panic message to send with the minidump. We do want to add more fields
like gpu version which will come in a subsequent change.

Release Notes:

- N/A

Julia Ryan created

4ee7c8a Add sentry release step to ci (#35911)

Click to expand commit body
This should allow us to associate sha's from crashes and generate links
to github source in sentry.

Release Notes:

- N/A

Julia Ryan created

2970d8c Fix uploading mac dsyms (#35904)

Click to expand commit body
I'm not sure we actually want to be using `debug-info=unpacked` and then
running `dsymutil` with `--flat`, but for now the minimal change to get
this working is to manually specify the flattened, uncompressed debug
info file for upload, which in turn will cause `sentry-cli` to pick up
on source-info for the zed binary.

I think in the future we should switch to `packed` debug info, both for
the zed binary _and_ the remote server, and then we can tar up the
better supported `dSYM` folder format rather than the flat dwarf
version.

Release Notes:

- N/A

Julia Ryan created

0d2f63b Upload debug info for preview/stable builds (#35895)

Click to expand commit body
This should fix all the unsymbolicated backtraces we're seeing on
preview builds

Release Notes:

- N/A

Julia Ryan created

16da73b keymap_ui: Ensure keybind with empty arguments can be saved (#36393)

Click to expand commit body
Follow up to #36278 to ensure this bug is actually fixed. Also fixes
this on two layers and adds a test for the lower layer, as we cannot
properly test it in the UI.

Furthermore, this improves the error message to show some more context
and ensures the status toast is actually only shown when the keybind was
successfully updated: Before, we would show the success toast whilst
also showing an error in the editor.

Lastly, this also fixes some issues with the status toast (and
animations) where no status toast or no animation would show in certain
scenarios.

Release Notes:

- N/A

Finn Evers created

11681ec Bump to 0.199.9 for @SomeoneToIgnore

Zed Bot created

cfd1ea4 language: Fix rust-analyzer removing itself on download (#35971)

Click to expand commit body
Release Notes:

- N/A\

Lukas Wirth created

3328d42 languages: Don't remove old artifacts on download failure (#35967)

Click to expand commit body
Release Notes:

- N/A

Lukas Wirth created

1b4d5cc Fix SHA-256 verification mismatch when downloading language servers (#35953)

Click to expand commit body
Closes #35642 

Release Notes:

- Fixed: when the expected digest included a "sha256:" prefix while the
computed
digest has no prefix.

jingyuexing created

6e1abaa Bump to 0.199.8 for @SomeoneToIgnore

Zed Bot created

6c883ee languages: Fix digest check on downloaded artifact for clangd (#35870)

Click to expand commit body
Closes 35864

Release Notes:

- N/A

Lukas Wirth created

afb208c keymap_ui: Don't try to parse empty action arguments as JSON (#36278)

Click to expand commit body
Closes #ISSUE

Release Notes:

- Keymap Editor: Fixed an issue where leaving the arguments field empty
would result in an error even if arguments were optional

Ben Kunkle created

76ca96c zed 0.199.7

Joseph T. Lyons created

09e9ef4 openai: Don't send prompt_cache_key for OpenAI-compatible models (#36231)

Click to expand commit body
Some APIs fail when they get this parameter

Closes #36215

Release Notes:

- Fixed OpenAI-compatible providers that don't support prompt caching
and/or reasoning

Oleksiy Syvokon created

f7fefa3 openai: Don't send reasoning_effort if it's not set (#36228)

Click to expand commit body
Release Notes:

- N/A

Oleksiy Syvokon created

5f47347 language_models: Add reasoning_effort for custom models (#35929)

Click to expand commit body
Release Notes:

- Added `reasoning_effort` support to custom models

Tested using the following config:
```json5
  "language_models": {
    "openai": {
      "available_models": [
        {
          "name": "gpt-5-mini",
          "display_name": "GPT 5 Mini (custom reasoning)",
          "max_output_tokens": 128000,
          "max_tokens": 272000,
          "reasoning_effort": "high" // Can be minimal, low, medium (default), and high
        }
      ],
      "version": "1"
    }
  }
```

Docs:
https://platform.openai.com/docs/api-reference/chat/create#chat_create-reasoning_effort

This work could be used to split the GPT 5/5-mini/5-nano into each of
it's reasoning effort variant. E.g. `gpt-5`, `gpt-5 low`, `gpt-5
minimal`, `gpt-5 high`, and same for mini/nano.

Release Notes:

* Added a setting to control `reasoning_effort` in OpenAI models

Cretezy created

332a02a Bump to 0.199.6 for @smitbarmase

Zed Bot created

1879ef5 ci: Disable FreeBSD builds (#36140)

Click to expand commit body
Revert accidental change introduced in
[#35880](https://github.com/zed-industries/zed/pull/35880/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fL706)

Release Notes:

- N/A

smit created

8a181b2 copilot: Fix Copilot fails to sign in (#36138)

Click to expand commit body
Closes #36093

Pin copilot version to 1.354 for now until further investigation.

Release Notes:

- Fixes issue where Copilot failed to sign in.

Co-authored-by: MrSubidubi <dev@bahn.sh>

smit and MrSubidubi created

0be6cdc v0.199.x stable

Joseph T. Lyons created

5067174 Bump to 0.199.5 for @osyvokon

Zed Bot created

2c312ce language_models: Add vision support for OpenAI gpt-5, gpt-5-mini, and gpt-5-nano models (#36047)

Click to expand commit body
## Summary
Enable image processing capabilities for GPT-5 series models by updating
the `supports_images()` method.

## Changes
- Add vision support for `gpt-5`, `gpt-5-mini`, and `gpt-5-nano` models
- Update `supports_images()` method in
`crates/language_models/src/provider/open_ai.rs`

## Models with Vision Support (after this PR)
- gpt-4o
- gpt-4o-mini
- gpt-4.1
- gpt-4.1-mini
- gpt-4.1-nano
- gpt-5 (new)
- gpt-5-mini (new)
- gpt-5-nano (new)
- o1
- o3
- o4-mini

This brings GPT-5 vision capabilities in line with other OpenAI models
that support image processing.

Release Notes:

- Added vision support for OpenAI models

Rishabh Bothra created

6c90e88 open_ai: Send `prompt_cache_key` to improve caching (#36065)

Click to expand commit body
Release Notes:

- N/A

Co-authored-by: Michael Sloan <mgsloan@gmail.com>

Oleksiy Syvokon and Michael Sloan created

de4cf6e open_ai: Log inputs that caused parsing errors (#36063)

Click to expand commit body
Release Notes:

- N/A

Co-authored-by: Michael Sloan <mgsloan@gmail.com>

Oleksiy Syvokon and Michael Sloan created

a72432d zeta: Add latency telemetry for 1% of edit predictions (#36020)

Click to expand commit body
Release Notes:

- N/A

Co-authored-by: Oleksiy <oleksiy@zed.dev>

Michael Sloan and Oleksiy created

0220c5c Bump to 0.199.4 for @smitbarmase

Zed Bot created

b13d048 editor: Fix Follow Agent unexpectedly stopping during edits (#35845)

Click to expand commit body
Closes #34881

For horizontal scroll, we weren't keeping track of the `local` bool, so
whenever the agent tries to autoscroll horizontally, it would be seen as
a user scroll event resulting in unfollow.

Release Notes:

- Fixed an issue where the Follow Agent could unexpectedly stop
following during edits.

smit created

4659eaf language_models: Fix high memory consumption while using Agent Panel (#35764)

Click to expand commit body
Closes #31108

The `num_tokens_from_messages` method we use from `tiktoken-rs` creates
new BPE every time that method is called. This creation of BPE is
expensive as well as has some underlying issue that keeps memory from
releasing once the method is finished, specifically noticeable on Linux.
This leads to a gradual increase in memory every time that method is
called in my case around +50MB on each call. We call this method with
debounce every time user types in Agent Panel to calculate tokens. This
can add up really fast.

This PR lands quick fix, while I/maintainers figure out underlying
issue. See upstream discussion:
https://github.com/zurawiki/tiktoken-rs/issues/39.

Here on fork https://github.com/zed-industries/tiktoken-rs/pull/1,
instead of creating BPE instances every time that method is called, we
use singleton BPE instances instead. So, whatever memory it is holding
on to, at least that is only once per model.

Before: Increase of 700MB+ on extensive use

On init:
<img width="500" alt="prev-init"
src="https://github.com/user-attachments/assets/70da7c44-60cb-477b-84aa-7dd579baa3da"
/>
First message:
<img width="500" alt="prev-first-call"
src="https://github.com/user-attachments/assets/599ffc48-3ad3-4729-b94c-6d88493afdbf"
/>
Extensive use:
<img width="500" alt="prev-extensive-use"
src="https://github.com/user-attachments/assets/e0e6b688-6412-486d-8b2e-7216c6b62470"
/>

After: Increase of 50MB+ on extensive use
On init:
<img width="500" alt="now-init"
src="https://github.com/user-attachments/assets/11a2cd9c-20b0-47ae-be02-07ff876e68ad"
/>
First message:
<img width="500" alt="now-first-call"
src="https://github.com/user-attachments/assets/ef505f8d-cd31-49cd-b6bb-7da3f0838fa7"
/>
Extensive use: 
<img width="500" alt="now-extensive-use"
src="https://github.com/user-attachments/assets/513cb85a-a00b-4f11-8666-69103a9eb2b8"
/>

Release Notes:

- Fixed issue where Agent Panel would cause high memory consumption over
prolonged use.

smit created

008e905 python: Create DAP download directory sooner (#35986)

Click to expand commit body
Closes #35980

Release Notes:

- Fixed Python Debug sessions not starting up when a session is started
up for the first time.

Piotr Osiewicz created

e24aa38 Fill capabilities on project (re)join (#35892)

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

Release Notes:

- N/A

Co-authored-by: Smit Barmase <smit@zed.dev>

Kirill Bulatov and Smit Barmase created

a1ad6af ci: Use faster Linux ARM runners (#35880)

Click to expand commit body
Switch our Linux aarch_64 release builds from Linux on Graviton (32
vCPU, 64GB) to Linux running on Apple M4 Pro (8vCPU, 32GB). Builds are
faster (20mins vs 30mins) for the same cost (960 unit minutes;
~$0.96/ea).

<img width="763" height="285" alt="Screenshot 2025-08-08 at 13 14 41"
src="https://github.com/user-attachments/assets/12c45c8b-59f3-40d8-974c-1003b5080287"
/>

Release Notes:

- N/A

Peter Tripp created

d6223fe Bump to 0.199.3 for @maxdeviant

Zed Bot created

ff19687 Ensure Edit Prediction provider is properly assigned on sign-in (#35885)

Click to expand commit body
This PR fixes an issue where Edit Predictions would not be available in
buffers that were opened when the workspace loaded.

The issue was that there was a race condition between fetching/setting
the authenticated user state and when we assigned the Edit Prediction
provider to buffers that were already opened.

We now wait for the event that we emit when we have successfully loaded
the user in order to assign the Edit Prediction provider, as we'll know
the user has been loaded into the `UserStore` by that point.

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

Release Notes:

- Fixed an issue where Edit Predictions were not working in buffers that
were open when the workspace initially loaded.

Co-authored-by: Richard Feldman <oss@rtfeldman.com>

Marshall Bowers and Richard Feldman created

9c1d47b Bump to 0.199.2 for @maxdeviant

Zed Bot created

12d9fdc language_model: Refresh the LLM token upon receiving a `UserUpdated` message from Cloud (#35839)

Click to expand commit body
This PR makes it so we refresh the LLM token upon receiving a
`UserUpdated` message from Cloud over the WebSocket connection.

Release Notes:

- N/A

Marshall Bowers created

33804db collab_ui: Show signed-out state when not connected to Collab (#35832)

Click to expand commit body
This PR updates signed-out state of the Collab panel to show when not
connected to Collab, as opposed to just when the user is signed-out.

Release Notes:

- N/A

Marshall Bowers created

d50af2f client: Only connect to Collab automatically for Zed staff (#35827)

Click to expand commit body
This PR makes it so that only Zed staff connect to Collab automatically.

Anyone else can connect to Collab manually when they want to collaborate
(but this is not required for using Zed's LLM features).

Release Notes:

- N/A

---------

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

Marshall Bowers and Richard created

8c460ba client: Re-fetch the authenticated user when receiving a `UserUpdated` message from Cloud (#35807)

Click to expand commit body
This PR wires up handling for the new `UserUpdated` message coming from
Cloud over the WebSocket connection.

When we receive this message we will refresh the authenticated user.

Release Notes:

- N/A

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

Marshall Bowers and Richard created

00352aa Establish WebSocket connection to Cloud (#35734)

Click to expand commit body
This PR adds a new WebSocket connection to Cloud.

This connection will be used to push down notifications from the server
to the client.

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <git@maxdeviant.com>

Richard Feldman and Marshall Bowers created

4d46509 cloud_api_types: Add types for WebSocket protocol (#35753)

Click to expand commit body
This PR adds types for the Cloud WebSocket protocol to the
`cloud_api_types` crate.

Release Notes:

- N/A

Marshall Bowers created

f31762f lsp: Correctly serialize errors for LSP requests + improve handling of unrecognized methods (#35738)

Click to expand commit body
We used to not respond at all to requests that we didn't have a handler
for, which is yuck. It may have left the language server waiting for the
response for no good reason. The other (worse) finding is that we did
not have a full definition of an Error type for LSP, which made it so
that a spec-compliant language server would fail to deserialize our
response (with an error). This then could lead to all sorts of
funkiness, including hangs and crashes on the language server's part.

Co-authored-by: Lukas <lukas@zed.dev>
Co-authored-by: Remco Smits <djsmits12@gmail.com>

Co-authored-by: Anthony Eid <hello@anthonyeid.me>

Closes #ISSUE

Release Notes:

- Improved reporting of errors to language servers, which should improve
the stability of LSPs ran by Zed.

---------

Co-authored-by: Lukas <lukas@zed.dev>
Co-authored-by: Remco Smits <djsmits12@gmail.com>
Co-authored-by: Anthony Eid <hello@anthonyeid.me>

Piotr Osiewicz , Lukas , Remco Smits , and Anthony Eid created

6dbd498 ci: Switch to Namespace (#35835)

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

Release Notes:

- N/A

Peter Tripp created

da8da08 ci: Switch from BuildJet to GitHub runners (#35826)

Click to expand commit body
In response to an ongoing BuildJet outage, consider migrating CI to
GitHub hosted runners.

Also includes revert of (causing flaky tests):
- https://github.com/zed-industries/zed/pull/35741

Downsides:
- Cost (2x)
- Force migration to Ubuntu 22.04 from 20.04 will bump our glibc minimum
from 2.31 to 2.35. Which would break RHEL 9.x (glibc 2.34), Ubuntu 20.04
(EOL) and derivatives.

Release Notes:

- N/A

Peter Tripp created

526bdf6 zed 0.199.1

Joseph T. Lyons created

e2be661 Use gpt-4o tokenizer for gpt-5 for now

Richard Feldman created

52fad99 Update GPT-5 input/output token counts

Richard Feldman created

40642aa Add GPT-5 support through OpenAI API

Richard Feldman created