github zed-industries/zed v1.15.0-pre

pre-release2 hours ago

This week's release includes a new git.diff_base setting for choosing whether editor gutters, file-status colors, and git: diff show uncommitted changes against HEAD or all current-branch changes against the default branch's merge base, plus support for dragging files from the Project Panel to external apps on macOS and Linux Wayland; web developers also get linked editing for custom elements in JSX and TSX and Emmet completions in return and arrow-function bodies.

Shipped by the Zed Guild 🛡️

  • Added support for dragging files from the Project Panel to external macOS apps. (#58161; thanks notJoon)
  • Added the multiple_selections key context for assigning different keybindings when multiple selections are active. (#60018; thanks AidanV)
  • Agent: Fixed the first line of terminal output sometimes being hidden in the Agent Panel. (#61939; thanks timvermeulen)
  • Fixed Markdown previews scrolling vertically during horizontal scroll gestures. (#61797; thanks feitreim)
  • Fixed Docker Compose dev containers not running their configured entrypoints by default. (#61897; thanks alanpjohn)
  • Fixed the IME candidate window flickering when another Zed window had continuous terminal output. (#62086; thanks feeiyu)
  • Fixed incorrect cursor placement after using a multi-key binding to leave insert mode in Vim or Helix mode. (#62080; thanks lingyaochu)
  • Fixed misaligned Agent sidebar headers on Linux. (#62079; thanks feeiyu)
  • Fixed public and private channel tab icons not matching the icons shown in the Collaboration Panel. (#62114; thanks lingyaochu)
  • Fixed release notes notifications not closing with escape when Vim or Helix mode was enabled on Windows. (#61759; thanks amtoaer)
  • Fixed a redundant expand/collapse-all-files control appearing in solo diff views. (#61998; thanks chirivelli)

Learn about the Zed Guild.

Features

AI

  • Added support for self-hosted Sweep Next Edit models in OpenAI-compatible edit predictions, including the sweep prompt format and infer detection for sweep-next-edit model names. (#51139; thanks avoidthekitchen)

Git

  • Added the git.diff_base setting to choose whether editor gutters, file-status colors, and git: diff show uncommitted changes against HEAD ("head", the default) or all current-branch changes against the merge base with the repository's default branch ("default_branch"). The setting is also available as "Diff Against Default Branch" in the editor controls menu. (#61501; thanks samuelcolvin for an earlier implementation in #60398)
  • Added the gutter.git_gutter_width setting to configure the width of Git diff indicators in the editor gutter. (#61304; thanks evanvin)

Languages

  • (Preview only) Added controls for deleting cells in the REPL notebook editor, available from the toolbar or with d d and backspace in command mode on macOS and Linux. (#61295; thanks ArneshBanerjee)
  • Added linked editing for custom elements in JSX and TSX. (#58578)
  • Enabled Emmet completions in return and arrow-function bodies for JSX and TSX. (#53688)

Linux

  • Added support for dragging files from the Project Panel to external Linux Wayland apps. (#61947; thanks Lampan-git)

Other

  • Improved the project switcher to allow closing the currently selected project and automatically switching to a neighboring local or remote project. (#60602; thanks mateioprea)
  • Improved extension repository links to show provider-specific icons. (#58108; thanks albertbogusz)
  • Improved installed development extensions to display their provided features and respect feature filters. (#61850)

Bug Fixes

  • Agent: Fixed MCP servers missing from new project threads after a worktree opens. (#62026)
  • Agent: Fixed MCP extension configuration dialogs appearing in other workspaces. (#61882)
  • Fixed a crash when a workspace was removed while a remote project was opening in the same window. (#62028)
  • Fixed the bundled npm cache growing without bound, which could consume many gigabytes of disk. (#61750)
  • Fixed string-form dev container lifecycle commands to execute through /bin/sh -c as required by the Dev Container specification. (#60792; thanks rabindra789)
  • Fixed UI elements flickering on some Windows devices. (#62069)
  • Fixed Zed windows sometimes not repainting after being uncovered on X11. (#61162; thanks mTvare6)
  • Fixed Agent terminal commands hanging at a shell prompt after a syntax error. (#62078; thanks procr1337)
  • Fixed a bug where archiving a thread switched the window to a different project or could crash while the window was closing. (#62141)
  • Fixed a bug where the Settings UI would sometimes not show configured MCP servers. (#61928)
  • Fixed a memory leak when previewing images that were repeatedly updated on disk. (#58803; thanks ronharel02)
  • Fixed a noisy "Failed to authenticate provider: ChatGPT Subscription" error being logged on every startup for users who had not configured the ChatGPT Subscription provider. (#61949; thanks NewtonChutney)
  • Fixed an extra window opening on macOS when launching Zed from the CLI with session restore enabled. (#61814; thanks RemcoSmitsDev)
  • Fixed auto-indentation when inserting a line above in Vim mode. (#52594; thanks 143mailliw)
  • Fixed File Finder offering to create a file instead of navigating to a line when the target file was already open. (#55875)
  • Fixed Git submodules being registered under the parent repository's .git/modules directory instead of their own path. (#61859; thanks 007qr)
  • Fixed inconsistent class instantiation highlighting in JavaScript, TypeScript, and TSX. (#61890; thanks IbrahimKhan12)
  • Fixed incorrect arguments being passed to scp or sftp when uploading remote files. (#56080; thanks cocool97)
  • Fixed incorrect bracket matching when syntax-error recovery omitted a delimiter. (#61604; thanks mTvare6)
  • Fixed manually resized panels ignoring subsequent changes to their configured default width. (#61855; thanks JoeJoeflyn)
  • Fixed opening projects from an existing remote connection to respect the default_open_behavior setting. (#61048; thanks aetosdios27)
  • Fixed project and buffer searches returning incomplete results for regular expressions with assertions. (#62158)
  • Fixed remote server installation failing in WSL when automount was disabled. (#57624; thanks tjmchenry)
  • Fixed semantic token highlighting being applied unpredictably when multiple language servers provided tokens for the same range. (#61735; thanks DrewRidley)
  • Fixed semantic token highlighting from other language servers disappearing after one server refreshed its semantic tokens. (#61795)
  • Fixed terminal path hyperlinks resolving against the current working directory instead of the directory active when the line was printed. (#52454; thanks saberoueslati)
  • Fixed terminal word selection around tree branch glyphs. (#62076; thanks macayu17)
  • Fixed the Agent Panel's full-screen button not appearing active while full screen was enabled. (#62041; thanks interkelstar)
  • Fixed the contact finder incorrectly inheriting the channel search query in the Collab Panel. (#61363)
  • Fixed dragging local Windows files into a Zed window connected to a WSL remote. (#57146; thanks carbofish)

Breaking Changes and Notices

  • Improved the robustness of the Copilot Chat provider by separating authentication for Copilot Chat and edit predictions. Existing users will need to reauthenticate with Copilot. (#60535)
  • Reverted recent changes to word navigation around punctuation because they caused regressions when navigating across structural punctuation such as brackets, quotes, and delimiters. (#62213)

Don't miss a new zed release

NewReleases is sending notifications on new releases.