Zed v0.140.5stable Released Jun 19, 2024
⚠️ Breaking Change Impact Score: 8/10

Zed v0.140.5 - Release Notes & Engineering Impact

Source available - automated, not human-reviewed

Component: zed · Channel: stable. Automated analysis, not a compatibility certification. How this works.

Analysis updated: 2026-11-27.

Breaking-change evidence from the source

  • Breaking changes - Renamed the `workspace::Restart` action to `workspace::Reload` to avoid accidentally restarting Zed when trying to restart language servers ([#12609](https://github.com/zed-industries/zed/issues/12609)).
Read the original context ↗
Source flags breaking changes - review applicability
📄 .MD
⚡ Executive Summary (TL;DR)

Zed v0.140.5 introduces native support for local Ollama models and customizable code snippets for improved development workflows. This release also includes critical performance optimizations, language-specific enhancements, and a minor breaking change regarding workspace commands.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

Developers can now leverage local LLMs via Ollama and define custom snippets, while Rust developers gain more flexibility with binary path lookups.

📊 Product & Engineering Leads

Feature velocity remains high with significant productivity additions like assistant history search and improved project panel responsiveness.

⚙️ DevOps & Security

Ensure internal automation scripts or keybindings are updated to account for the renaming of workspace::Restart to workspace::Reload.

⚠️ Breaking Changes & Deprecations (1)

  • Breaking changes - Renamed the `workspace::Restart` action to `workspace::Reload` to avoid accidentally restarting Zed when trying to restart language servers ([#12609](https://github.com/zed-industries/zed/issues/12609)).

✨ New Features & Capabilities (7)

  • Added Ollama provider for local AI assistant integration
  • Added support for user-defined snippets via simple-completion-language-server
  • Added search functionality for assistant history
  • Added /now command to assistant
  • Added runnable tests for TSX files
  • Added linked editing ranges support for HTML/TSX tags
  • Added auto-completion for package.json

⚡ Performance & Enhancements (5)

  • Improved project panel performance in large directories
  • Improved performance for large language server responses
  • Added search inside selections
  • Added ability to search Rust analyzer binary in $PATH
  • Added Vim command support for project search and case changes

🔧 Bug Fixes & Patches (5)

  • Fixed TypeScript/JavaScript runnables and package.json path issues
  • Fixed macOS IME synchronization issues
  • Fixed tailwind-language-server issues in Ruby and Astro files
  • Fixed multiple system panics and crashes during UI interactions
  • Fixed Vim indent repeatability with the period operator

❓ Frequently Asked Questions

Does Zed v0.140.5 contain breaking changes?

Yes, the workspace::Restart action has been renamed to workspace::Reload to prevent accidental full-application restarts.

What is the primary highlight of v0.140.5?

The integration of local Ollama models into the assistant and the introduction of a robust user-configurable snippet system.

How should teams prepare to upgrade to v0.140.5?

Teams using custom keyboard shortcuts or automation scripts linked to the 'workspace::Restart' command must update those mappings to 'workspace::Reload'.

📄 View Raw Release Notes (Original Developer Log)
## Enhancements ### General - Added an Ollama Provider for the assistant. If you have [Ollama](https://ollama.com/) running locally on your machine, you can enable it in your settings under: ```jsonc "assistant": { "version": "1", "provider": { "name": "ollama", // Recommended setting to allow for model startup "low_speed_timeout_in_seconds": 30, } } ``` Chat like usual ![image](https://github.com/zed-industries/zed/assets/836375/4e0af266-4c4f-4d9e-9d74-1a91f76a12fe) Interact with any model from the [Ollama Library](https://ollama.com/library) ![image](https://github.com/zed-industries/zed/assets/19867440/f26e8b28-10f4-4cce-a859-1e04580d066d) Open up the terminal to download new models via `ollama pull`: ![image](https://github.com/zed-industries/zed/assets/836375/af7ec411-76bf-41c7-ba81-64bbaeea98a8) - Added support for snippets via simple-completion-language-server ([#4611](https://github.com/zed-industries/zed/issues/4611)). To begin using snippets, install the snippets extension from the extension store: ![snippets](https://github.com/zed-industries/zed/assets/19867440/9995037e-890e-4afd-9bf2-08f4c3895ace) Place your snippet files in `~/.config/zed/snippets`. For instance, in your `~/.config/zed/snippets/snippets.json` file, you may have: ```json { "my snippet": { "prefix": "log", "body": ["console.log(\"$1\")"], "description": "Expand `log` to `console.log()`" } } ``` For more configuration information, see the [`simple-completion-language-server` instructions](https://github.com/zed-industries/simple-completion-language-server/tree/main). - Added the ability to search inside of selections ([#8617](https://github.com/zed-industries/zed/issues/8617)). - Improved the performance of the project panel in large directories - Added the `editor: toggle tab bar` action. - Improved performance when handling large responses from language servers. ### AI - Added search for saved assistant history. - Added `/now` command to the Assistant for getting the current date and time. - Improved the handling of JSON response bodies in the `/fetch` command in the Assistant. ### Languages - Added runnable tests for TSX files. Runnable tests can be customized via `tsx-test` tag. - Added support for linked editing ranges LSP request. Editing opening tags in HTML/TSX files (with vtsls) performs the same edit on the closing tag as well (and vice versa) ([#4535](https://github.com/zed-industries/zed/issues/4535)). - Added auto-completion support for `package.json` files ([#12792](https://github.com/zed-industries/zed/pull/12792)). - Added support for looking up the `rust-analyzer` binary in `$PATH`. This allows using such tools as `asdf` and nix to configure per-folder rust installations. To enable this behavior, use the `path_lookup` key when configuring the `rust-analyzer` `binary`: `{"lsp": {"rust-analyzer": {"binary": {"path_lookup": true }}}}`. - Added `inl` to cpp config ([#12605](https://github.com/zed-industries/zed/issues/12605)). ### Vim - Allowed scrolling the currently-open information overlay using `ctrl-{u,d,e,y}` etc ([#11883](https://github.com/zed-industries/zed/issues/11883)). - Added `g/` for project search. - Added `gu`/`gU`/`g~` for changing case ([#12565](https://github.com/zed-industries/zed/issues/12565)). ## Bug Fixes - Fixed some runnables in JavaScript/Typescript. - Fixed an issue where the IME pre-edit could desynchronize from the editor on macOS ([#11829](https://github.com/zed-industries/zed/pull/12651)). - Fixed runnable for package.json, so it will work in any directory. - Fixed a bug that caused titles generate by the LLM to be longer than one line. - Fixed an issue where file icons were displayed in the project panel during a rename even when `project_panel.file_icons` was set to `false` ([#12905](https://github.com/zed-industries/zed/issues/12905)). - Fixed a panic when opening the diagnostics view. - Fixed a crash that could happen when using certain cursor-motion bindings with a pending mouse selection. - Fixed a panic when worktree paths are incorrectly relative. - Fixed a panic when going to next search result when there are none. - Fixed the wrong icon being used in the assistant setup instructions. - Fixed `tailwindcss-language-server` not being activated inside Ruby strings (inside `.erb`) ([#12728](https://github.com/zed-industries/zed/issues/12728)). - Check the video [here](https://github.com/zed-industries/zed/assets/1185253/643343b4-d64f-4c4e-98a1-d10df0b24e31). - Fixed `tailwind-language-server` not working in attributes inside of `*.astro` files ([#12402](https://github.com/zed-industries/zed/issues/12402)). - Check the video [here](https://github.com/zed-industries/zed/assets/1185253/05677a2d-831d-4e05-a1a2-4d1730ce2a46). - Fixed folder expansion when all items are closed ([#12729](https://github.com/zed-industries/zed/pull/12729)). - Vim: Fixed indent via `<` and `>` not being repeatable with `.` ([#12351](https://github.com/zed-industries/zed/issues/12351)). - Vim: Fixed `f`/`t` etc. for keys that require IME ([#12522](https://github.com/zed-industries/zed/issues/12522)). ## Breaking changes - Renamed the `workspace::Restart` action to `workspace::Reload` to avoid accidentally restarting Zed when trying to restart language servers ([#12609](https://github.com/zed-industries/zed/issues/12609)).