Releases: zed-industries/zed
Releases · zed-industries/zed
v0.177.6-pre
- Git Beta: Added
git::Switch
andgit::CheckoutBranch
as aliases for the existinggit::Branch
. (#26315) - Git Beta: Added
git::Add
as an alias for the existinggit::Diff
. (#26316) - Git Beta: Improved performance of Zed in large repos with lots of file system events. (#26244)
- Git Beta: Adjusted the default hunk styling for staged and unstaged changes. (#26299)
- Git Beta: Made the empty project diff state a little more helpful with a button to push, and a button to close the item. (#26316)
- Git Beta: Disabled commit message generation when commit is not possible. (#26329)
- Git Beta: Removed limitation that made it impossible to create a branch from the branch picker when it too closely resembled an existing branch name. (#26287)
- Git Beta: Fixed a beachball when restarting in a large repo with a large number of open files. (#26237)
- Git Beta: Fixed an issue where error messages from Git were not being displayed in toast notifications. (#26303)
- Git Beta: Fixed a few bugs where the suggested commit text wouldn't show in certain cases, or would update slowly. (#26313)
- Git Beta: Fixed a bug where the 'generate commit message' keybinding wasn't working. (#26316)
- Improved performance of rendering multibuffers with very large numbers of buffers. (#26308)
v0.177.5-pre
- Git Beta: Added support for generating commit messages using a language model. (#26227)
- Git Beta: Added hunk style settings to emphasize the unstaged state, rather than the staged state. (#26259)
- Git Beta: Updated the Git panel to use worktree-relative paths and support opening files outside the active repository's worktree. (#26047)
- Git Beta: Disabled hunk restore action and button for created files. (#25841)
- Git Beta: Fixed issue where git panel wasn't using default width after restart. (#26220)
- Fixed a bug causing slowness when viewing multi buffers with lots of excerpts. (#26253)
- Fixed some potential panics in the AWS Bedrock model provider. (#26238)
v0.177.4-pre
- Git Beta: Added support for push/pull/fetch when remote requires authentication. (#25953)
- Git Beta: Fixed resolution of conflicts from cherry-picks not being reflected in the Git panel. (#26145)
- Git Beta: Fixed commit
font_fallbacks
. (#26184) - Git Beta: Fixed a panic that could occur when selecting text in one of the commit message editors. (#26186)
- Git Beta: Fixed a bug where the branch selector would only show for the first repository opened. (#26148)
- Git Beta: Fixed a bug where discarding a hunk in the project diff view performed two concurrent saves of the buffer. (#26173)
- Git Beta: Fixed a bug where the repository selector could be too narrow. (#26149)
- Git Beta: Fixed a bug where diff hunks appeared in the wrong state after failing to write to the Git index. (#26173)
v0.176.3
v0.177.3-pre
- Git Beta: Fixed a performance regression related to buffer diffs. (#26137)
- Git Beta: Fixed a panic when expanding diff hunks while git blame is open. (#26130)
- Fixed a hang that could occur when editing certain Zig files. (#26092)
- Fixed an issue where language models would not be authenticated until after the model selector was opened (Preview only). (#26138)
v0.177.2-pre
- Git Beta: Allowed opening the commit modal even if we're unable to commit. (#26068)
- Git Beta: Synchronized selections between the modal editor and the panel editor. (#26068)
- Git Beta: Fixed a performance problem when a large diff hunk was displayed in an editor. (#26088)
- Git Beta: Fixed frame drops caused by opening the git panel. (#26090)
- Git Beta: Fixed jumping to the previous diff hunk. (#26059)
v0.177.1-pre
- Git Beta: Added
git.hunk_style
setting to allow toggling between git hunk visual styles. (#26038) - Git Beta: Made suggested commits placeholders and allowed them to be committed. (#26006)
- Git Beta: Improved
.git
scan heuristics. (#25927) - Git Beta: Improved consistency between Git panel and Git modal. (#25990, #25988, (#26000)
- Git Beta: Changed the behavior of git features to not treat
$HOME
as a git repository unless opened directly. (#25948) - Git Beta: Updated
enter
in the list of changed files to preserve focus. If you want the old behaviour, hitenter
twice. (#25986) - Git Beta: Fixed bugs where the text on certain buttons would overflow due to long names. (#25940)
- Git Beta: Fixed an issue where when the git panel would need to scroll all the items are pushed off the screen. (#25961)
- Git Beta: Fixed a bug where the git panel footer wouldn't show up when on a detached HEAD. (#25968)
- Git Beta: Fixed toggling folds from within deleted hunks. (#25967)
- Git Beta: Fixed keyboard shortcut display in project diff view. (#26045)
- Git Beta: Fixed a bug where staging/unstaging of hunks could use the wrong git repository if you had many open. (#25996)
- Git Beta: Follow the cursor, not the scroll anchor, in the list. Although the scroll anchor was nice for passive scrolling, it broke if you had changed the overflow scroll settings. (#25986)
- Vim: Fixed
j/k
on folded multibuffer header. (#25944) - Vim: Added git keyboard shortcuts:
d u/d U
for staging/unstaging in the project diff view.d o/d O
to show hide/toggle staged in the editor andd p
for restoring the hunk. (#26045) - Linux: Fixed a panic that could occur on theme appearance change. (#26019)
v0.176.2
- Fixed a panic on Linux theme appearance change. (#26019)
- Renamed several keymap actions for consistency (e.g.,
GoToPrevHunk
→GoToPreviousHunk
,TabPrev
→Backtab
, etc.). Your existing configured keybindings will still work. You can click "Backup and Update" at the top of your keymap file to easily update to the new actions. (#25909, 25931)
v0.177.0-pre
Today, we are launching our private beta for enhanced Git integrations. We'll gradually invite users from the Git beta waitlist daily. Keep an eye out for an invite email from our team in the coming days.
Breaking Changes and Notices
- Renamed several keymap actions for consistency (e.g.,
GoToPrevHunk
→GoToPreviousHunk
,TabPrev
→Backtab
, etc). Your existing configured keybindings will still work. You can click "Backup and Update" at the top of your keymap file to easily update to the new actions. (#25909)
Enhancements
- Added support for
stop_at_indent
toEditor::DeleteToBeginningOfLine
. (Thanks @felixpackard) - Added support to unfold multibuffer excerpts when editing their contents. (#25677)
- Added a way to toggle inlay hints with modifiers. (#25752)
"inlay_hints": {
/// A set of modifiers which, when pressed, will toggle the visibility of inlay hints.
/// If the set is empty or not all the modifiers specified are pressed, inlay hints will not be toggled.
"toggle_on_modifiers_press": {
"control": false,
"shift": false,
"alt": false,
"platform": false,
"function": false
}
}
- SSH: Added support for specifying
ssh_config
files (ssh -F ssh_config
) in connection string. (#25619) - SSH: Added support for downloading
zed-remote-server
with busybox wget (Alpine, etc). (#25621) - Improved Zed tasks'
ZED_WORKTREE_ROOT
fallbacks. (#25605) - Changed the
always_show_close_button
key toshow_close_button
and introduced a newhidden
value, that allows never displaying the close button. (#23880; thanks @Morgandri1) - Updated bundled JSON schemas for
package.json
andtsconfig.json
. (#25826)
Vim
- Added the ability to set the default Vim mode. (#25067; thanks @aspiringLich)
- Fixed back quotes
``
not recognized as object. (#24999; thanks @yichengliu)
Languages
- Added
editor::OrganizeImports
action to organize imports (sort, remove unused, etc.) for supported LSPs. You can trigger it by using thealt-shift-o
key binding. (#25793) - Added support for clickable file paths in the Odin language format. (#25842; thanks @devzeth)
AI
- Edit Predictions: Added an
enabled_in_assistant
setting. (#25767) - Edit Predictions: Added support for absolute globs in
edit_predictions.disabled_globs
.
Bug Fixes
- Fixed an issue where git hunk indicators in editor scrollbars used the incorrect colors. (#25824)
- Fixed Markdown preview to display image with max width 100%. (#25632; thanks @huacnlee)
- Fixed issues with ansible-language-server sending phantom diagnostic updates. (#25903)
- Fixed an issue where the buffer search options would not be reset when using
buffer: deploy search
after using Vim search (*
&#
) which enable all search options. (#25838) - Fixed an issue where
active_pane_modifiers
settings would be applied to a parent pane if one of its child panes was active. (#25836) - Fixed search input regex highlight not going away after redeploy. (#25797)
- Fixed an issue where
Zed.log
could grow excessively large during long sessions of Zed. (#25768) - Fixed Rust test tasks showing up outside of tests. (#25787)
- Fixed markdown preview not updating when an edit prediction is accepted. (#25772)
- Fixed a panic when Cyrillic characters are used in languages like Swift. (#25739)
- Fixed an issue where the Bedrock model provider would not always respect the region. (#25716; thanks @5herlocked)
- Fixed an issue where active diagnostics could become stale. (#25646)
v0.176.1
Today, we are launching our private beta for enhanced Git integrations. We'll gradually invite users from the Git beta waitlist daily. Keep an eye out for an invite email from our team in the coming days.
Breaking Changes and Notices
- Renamed
editor::RevertSelectedHunks
andeditor::RevertFile
togit::Restore
andgit::RestoreFile
for consistency with git (#25197) - Renamed the
editor::ExpandAllHunkDiffs
action toeditor::ExpandAllDiffHunks
(#25369)
Enhancements
- Added an
allow_rewrap
setting to control theeditor::Rewrap
behavior for a given language. (#25173) - Added an
on_last_window_closed
setting, that allows users to quit the app when the last window is closed (#25185) - Added initial inline diagnostics support (#25297)
- Added support for
stop_at_indent
option for MoveToBeginningOfLine and SelectToBeginningOfLine. (#25428) - Added support for checking for
package-version-server
on the$PATH
. (#23849; thanks matthewpi) - Added support for repositories hosted on
chromium.googlesource.com
for Git blames and permalinks. (#24881; thanks hferreiro) - Added support for selecting the commit message in git commits (#25136)
- Added support for tcsh/csh shells as login shell when loading environment variables. (#25122)
- Added the ability to specify an HTTP/HTTPS proxy for Copilot (#24364; thanks eli-kaplan).
- Improved diagnostic pane responsiveness with large # of diagnostics. (#25287)
- Improved display of long paths in the file finder modal (#25049)
- Improved expanded macro ergonomics (#25298)
- Improved performance of project panel in large git repositories. (#25465)
- Improved the scenario where there'd be a project panel entry highlighted/marked even if there is no open buffer. (#25457)
- Improved Zed's handling of the following requests when the first language server in language server settings for a given language is not capable of handling them (#25591):
- Perform Rename
- Prepare Rename
- Document Highlights
- Find all references
- Go to implementation
- Go to definition
- Go to declaration
- Go to type definition
Syntax Highlighting / Themes
- Added eager loading of the active theme and icon theme. This should address some reports of seeing the default themes briefly on startup. (#25368)
- Added syntax scopes to themes (#25323; thanks chbk)
- Added
raw
keyword to Rust language highlights (see the Rust 1.82.0 announcement). (#25342) - Improved the appearance of the file finder when long paths are shown by eliding path segments (#25303)
- Improved C++ syntax highlighting for sized type specifiers. (#25362; thanks zeux)
- Improved JavaScript and TypeScript syntax highlighting. (#25328; thanks chbk)
- Improved Rust syntax highlighting. (#25333; thanks chbk)
- Improved Python syntax highlighting. (#25331; thanks chbk)
- Improved terminal reopening to be per workspace instead of global. (#25336)
- Improved C and C++ syntax highlighting. (#25325; thanks chbk)
- Improved Go syntax highlighting. (#25327; thanks chbk)
- Improved JSON syntax highlighting. (#25329; thanks chbk)
- Improved Bash syntax highlighting (#25324; thanks chbk)
- Improved rendering of
true
andfalse
to matchboolean
highlight defined in themes for C, C++, Go, JSON, JSONC, Python, and Rust. (#25338; thanks everdrone) - Gruvbox themes: Changed the color used for
@variable
syntax highlights to be less intense. (#25464) - One Dark theme: Adjusted the color used for
@variable
syntax highlights. (#25468) - Fixed theme selector resetting the buffer size. (#25425)
Vim
- Vim: Added an implementation of
vim-exchange
(#24678; thanks thomasheartman) - Vim: Added missing default key binding for
Vim::CurrentLine
for replace with register mode (grr
) (#24678; thanks thomasheartman) - Vim: Fixed
gr
in visual mode (#25301; thanks 0x2CA) - Vim: Fixed a bug where
assistant: insert into editor
was missing the selected range. (#25133; thanks rien7) - Vim: Fixed a bug where
editor: copy
was missing the selected range. (#25133; thanks rien7) - Vim: Fixed a bug where search results were skipped occasionally. (#25580)
- Vim: Fixed cursor shape hollow only in block (#25235; thanks 0x2CA)
- Vim: Fixed operations on backtick quotes. (#25502; thanks 5brian)
- Vim: Fixed visual selections when jumping to marks (#25360; thanks dinocosta)
- Vim: Fixed a panic when submitting a search. (#25717)
Keybind Improvements
- Emacs: Added mapping for
alt-m
(back-to-indentation
). (#25428) - Emacs: Added support for
alt-{
andalt-}
paragraph navigation. (#25284) - Fixed undo in emacs (
ctrl-_
) not working by default in Terminal on macOS. (#25578) - Fixed tmux
ctrl-b
being broken in the Terminal on Linux by default. (#25476) - Mac: In the default keymap,
cmd-up
now moves to the previous multibuffer excerpt start, andcmd-down
moves to the next multibuffer excerpt end. For normal buffers these behave the same as before, moving to the beginning or end. (#25299) - Windows: Added support for "menu" key (#25000; thanks gim913)
Languages
- Rust: Added support for
--target-dir
for Rust tasks (#24725; thanks bnjjj) - Rust: Added support for doc test in tasks for Rust (#24806; thanks bnjjj)
- Rust: Fixed not being able to spawn the
cargo test
task for atests
module inlib.rs
,main.rs
, ormod.rs
(#25092) - Python: Fixed a bug where indentation was applied when adding a newline to a comment ending in
:
. (#25437) - Python: Fixed Pyright failing to start when installed locally (#24873; thanks MrSubidubi)
AI
- Added support for AWS Bedrock to the Assistant. (#21092; thanks 5herlocked)
- Edit Predictions: Added support for detecting
LICENSE.md
andLICENCE.md
files to license detection. (#25422; thanks pngdrift) - Edit Predictions: Disable
This Buffer
option when predictions are disabled for its language. (#25566) - Edit Predictions: Disable as soon as
edit_prediction_provider
is set tonone
....