6606e6e
ci: No GitHub Actions stale check on forks (#20382)
Peter Tripp created
6606e6e
ci: No GitHub Actions stale check on forks (#20382)
Peter Tripp created
c350321
Update Copilot Chat max_tokens soft limits (#20363)
Closes #20362 Co-authored-by: Peter Tripp <peter@zed.dev>
dhaus67 and Peter Tripp created
9da040d
Stop using alt- shortcuts (#20378)
Closes #7688
Release Notes:
- (breaking change) Stop binding keyboard shortcuts to alt-[a-z]. These
get in the way of typing characters. This is usually not an issue for
English speakers because we don't use many characters; but for other
Latin-based languages with diacritics our shortcuts prevent them typing
what they need to type.
This primarily affects Zed's extra features:
* `alt-q` => `cmd-k q` on maOS, `ctrl-k q` on Linux for `editor::Rewrap`
* `alt-z` => `cmd-k z` on macOS `ctrl-k z` on Linux for
`editor::ToggleSoftWrap`
* `alt-m` => `ctrl-shift-m` for `assistant::ToggleModelSelector`
* `alt-v` => `ctrl-shift-v` for `["editor::MovePageUp", {
"center_cursor": true }]` (macOS only)
* `alt-t` => `cmd-shift-r` on maOS, `ctrl-shift-r` on Linux for
`task::Spawn` (The previous binding for `editor::RevealInFileManager`
now only applies in the project panel)
* `alt-shift-t` => `alt-cmd-r` on maOS, `ctrl-alt-r` on Linux for
`task::Rerun`
* `alt-shift-f` => `ctrl-shift-f` for
`project_panel::SearchInDirectory`.
But also overrides some bindings from Readline.
* `alt-h` => `alt-backspace` for `editor::DeleteToPreviousWordStart`
* `alt-d` => `alt-delete` for `editor::DeleteToNextWordEnd`
* `alt-f` => `ctrl-f` for `editor:: MoveToNextWordEnd` (`ctrl-f` was
previously `editor::MoveRight`)
* `alt-b` => `ctrl-b` for `editor::MoveToNextWordStart` (`ctrl-b` was
previously `editor::MoveLeft`)
Note that `alt-t` and `alt-shift-t` have been kept as aliases (because
no-one complained about `t` yet; but we may remove them completely in
the future).
Conrad Irwin created
f638522
Add abstract classes to typescript outline query (#20377)
Closes #4553 Release Notes: - Fixed a bug where abstract classes weren't shown correctly in the outline view when editing Typescript code.
Max Brunsfeld created
999853f
Add emacs keymap (#19605)
Release Notes: - Added Emacs (beta) base keymap
Douglas Ronne created
f924c3e
Fix folder expand when dropped on itself in project_panel (#20365)
Closes #13093 Release Notes: - Fixed folder expand when dropped on itself in project_panel
Mathias created
2c49840
Revert "Use correct context path for focused element in WindowContext::bindings_for_action (#18843)" (#20367)
@JosephTLyons found that this broke display of keybindings in the recent projects modal. Release Notes: - N/A
Michael Sloan created
453c412
Show warning when deleting files with unsaved changes (#20172)
Closes #9905 <img width="172" alt="Screenshot 2024-11-04 at 10 16 34โฏAM" src="https://github.com/user-attachments/assets/5fa84e06-bcb9-471d-adab-e06881fbd3ca"> <img width="172" alt="Screenshot 2024-11-04 at 10 16 22โฏAM" src="https://github.com/user-attachments/assets/d7def162-e910-4061-a160-6178c9d344e5"> <img width="172" alt="Screenshot 2024-11-04 at 10 17 17โฏAM" src="https://github.com/user-attachments/assets/43c7e4fe-1b71-4786-bc05-44f34ed15dc5"> <img width="172" alt="Screenshot 2024-11-04 at 10 17 09โฏAM" src="https://github.com/user-attachments/assets/17263782-c706-44b2-acbc-c3d2d14c20ac"> Release Notes: - When deleting or trashing files, the confirmation prompt now warns if files have unsaved changes.
Richard Feldman created
e85ab07
Add missing field to `impl Hash for RenderGlyphParams` (#20316)
Unlikely to cause any behavior change but seems more correct to include `is_emoji` in the hash. Release Notes: - N/A
Michael Sloan created
daa35e9
Enable look-around in Project Search using fancy-regex crate (#20308)
Closes #13486 Release Notes: - Added support for look-around in project search Co-authored-by: Max <max@zed.dev>
Will Bradley and Max created
de70852
Fix a test flake involving zeroed out group_intervals (#20328)
Release Notes: - N/A
Will Bradley created
454c9dc
project panel: Add `RemoveFromProject` action (#20360)
This fixes #15995 by adding a `project panel: remove from project` action that can be used in a keybinding. Release Notes: - Added a `project panel: remove from project` action so that users can now add a keybinding to trigger it: `project_panel::RemoveFromProject`.
Thorsten Ball created
71aeb6a
editor: Do not show inline completion if snippet is active (#20300)
This avoids inline completions being shown (and overriding `<tab>` behavior) when a snippet is active and the user wants to go through snippet placeholders with `<tab>`. Easy to reproduce: Open a Rust file and use the `tfn` snippet to produce a test function. Delete the placeholder. Without the change here, the inline provider would suggest a function name. If you `<tab>`, you accept it, but then you can't `<tab>` into the function body. With this change the inline completions are deactivated as long as a snippet is active. Closes #19484 Release Notes: - Fixed inline completions (Copilot, Supermaven, ...) taking over when a snippet completion was active. That resulted in `tab` not working to jump to the next placeholder in the snippet.
Thorsten Ball created
cdd2128
assistant: Add model names in alternative inline tooltips (#20350)
Closes https://github.com/zed-industries/zed/issues/18826 This PR adds the model name to the tooltips on the alternative inline assistant icon buttons. The default model should be the first, so every other one set as an alternative appears after. https://github.com/user-attachments/assets/46faccaa-447c-45a4-b927-49ea3c4f3be1 Release Notes: - Improve knowledge of which model is used when with alternative inline models turned on
Danilo Leal created
20b60e8
Ensure project search actions are always aligned (#20353)
Follow up to https://github.com/zed-industries/zed/pull/20242 This PR ensures all the actions to the right of the project search inputs have the same minimum width, ensuring that the inputs themselves are always aligned. In the previous PR, I didn't considered the scenario where the project search numbers where beyond 4 or 5 digits, which then increased their width. This should be treated now! <img width="700" alt="Screenshot 2024-11-07 at 09 55 11" src="https://github.com/user-attachments/assets/7a9d8ebd-b575-4141-9242-3044f00150c5"> Release Notes: - N/A
Danilo Leal created
37366ac
assistant: Improve UI feedback when inserting `/delta` without new changes (#20356)
Closes https://github.com/zed-industries/zed/issues/18488 ### Before No feedback when inserting `/delta` without new changes. https://github.com/user-attachments/assets/4cc76ff4-419d-4a3f-a6a2-8712856b1aa8 ### After You now see an error within the `delta` crease. https://github.com/user-attachments/assets/c56654bb-776f-4dac-a499-db4625a4f1bd Release Notes: - Improve UI feedback when inserting `/delta` without new changes
Danilo Leal created
083f063
Prefer revealing items in the middle of the list for outline and project panels (#20349)
Closes https://github.com/zed-industries/zed/issues/18255 Zed does not scroll always, but only if the item is out of sight, this is preserved for now. Otherwise, if the item is out of sight, project and outline panels + the syntax tree view now attempt to scroll it into the middle, if there's enough elements above and below. Release Notes: - Improved revealing items for outline and project panels (now center of the list is preferred)
Kirill Bulatov created
16cbff9
Polish streaming slash commands (#20345)
This improves the experience in a few ways: - It avoids merging slash command output sections that are adjacent. - When hitting cmd-z, all the output from a command is undone at once. - When deleting a pending command, it stops the command and prevents new output from flowing in. Release Notes: - N/A
Antonio Scandurra created
e62d60c
Cleanup Framework directory when re-bundling for macOS (#20342)
Release Notes: - N/A
Kirill Bulatov created
4f62ebe
Exclude pinned tabs when closing items (#19593)
Closing multiple items will no longer closed pinned tabs. Closes #19560 Release Notes: - Fixed close actions closing pinned tabs.
Axel Carlsson created
b33ae88
Use the updated syn in Cargo.lock (#20341)
Renovate did not update that, so helping it out. Release Notes: - N/A
Kirill Bulatov created
029d083
zig: Switch to official Zig grammar (#20004)
Closes #20001 the old outline was *weird* for many reasons so ill just show it with a hodgepodge of zig declarations before:  after:  why were values shown? why werent `var`s or modifiers like pub, const, export? it was very odd to me and inconsistent with other languages. i chose to leave out unnamed tests, it just seemed like noise to me since they werent distinct but i can easily revert that unfortunately there seems to be a bug upstream which causes those `t`/`f` decls to show 2 things https://github.com/tree-sitter-grammars/tree-sitter-zig/issues/3 im very new to treesitter and queries so i really havent looked over the rest of the stuff here, other than outline theyre unmodified please lmk if theres anything wrong Release Notes: - Changed upstream treesitter grammar for zig
xdBronch created
6d0aa72
Update Rust crate url to v2.5.3 (#20334)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [url](https://redirect.github.com/servo/rust-url) | workspace.dependencies | patch | `2.5.2` -> `2.5.3` | --- ### Release Notes <details> <summary>servo/rust-url (url)</summary> ### [`v2.5.3`](https://redirect.github.com/servo/rust-url/releases/tag/v2.5.3) [Compare Source](https://redirect.github.com/servo/rust-url/compare/v2.5.2...v2.5.3) #### What's Changed - fix: enable wasip2 feature for wasm32-wasip2 target by [@​brooksmtownsend](https://redirect.github.com/brooksmtownsend) in [https://github.com/servo/rust-url/pull/960](https://redirect.github.com/servo/rust-url/pull/960) - Fix idna tests with no_std by [@​cjwatson](https://redirect.github.com/cjwatson) in [https://github.com/servo/rust-url/pull/963](https://redirect.github.com/servo/rust-url/pull/963) - Fix debugger_visualizer test failures. by [@​valenting](https://redirect.github.com/valenting) in [https://github.com/servo/rust-url/pull/967](https://redirect.github.com/servo/rust-url/pull/967) - Add AsciiSet::EMPTY and boolean operators by [@​joshka](https://redirect.github.com/joshka) in [https://github.com/servo/rust-url/pull/969](https://redirect.github.com/servo/rust-url/pull/969) - mention why we pin unicode-width by [@​Manishearth](https://redirect.github.com/Manishearth) in [https://github.com/servo/rust-url/pull/972](https://redirect.github.com/servo/rust-url/pull/972) - refactor and add tests for percent encoding by [@​joshka](https://redirect.github.com/joshka) in [https://github.com/servo/rust-url/pull/977](https://redirect.github.com/servo/rust-url/pull/977) - Add a test for and fix issue [#​974](https://redirect.github.com/servo/rust-url/issues/974) by [@​hansl](https://redirect.github.com/hansl) in [https://github.com/servo/rust-url/pull/975](https://redirect.github.com/servo/rust-url/pull/975) - `no_std` support for the `url` crate by [@​domenukk](https://redirect.github.com/domenukk) in [https://github.com/servo/rust-url/pull/831](https://redirect.github.com/servo/rust-url/pull/831) - Normalize URL paths: convert /.//p, /..//p, and //p to p by [@​theskim](https://redirect.github.com/theskim) in [https://github.com/servo/rust-url/pull/943](https://redirect.github.com/servo/rust-url/pull/943) - support Hermit by [@​m-mueller678](https://redirect.github.com/m-mueller678) in [https://github.com/servo/rust-url/pull/985](https://redirect.github.com/servo/rust-url/pull/985) - fix: support `wasm32-wasip2` on the stable channel by [@​brooksmtownsend](https://redirect.github.com/brooksmtownsend) in [https://github.com/servo/rust-url/pull/983](https://redirect.github.com/servo/rust-url/pull/983) - Improve serde error output by [@​konstin](https://redirect.github.com/konstin) in [https://github.com/servo/rust-url/pull/982](https://redirect.github.com/servo/rust-url/pull/982) - OSS-Fuzz: Add more fuzzer by [@​arthurscchan](https://redirect.github.com/arthurscchan) in [https://github.com/servo/rust-url/pull/988](https://redirect.github.com/servo/rust-url/pull/988) - Merge idna-v1x to main by [@​hsivonen](https://redirect.github.com/hsivonen) in [https://github.com/servo/rust-url/pull/990](https://redirect.github.com/servo/rust-url/pull/990) #### New Contributors - [@​brooksmtownsend](https://redirect.github.com/brooksmtownsend) made their first contribution in [https://github.com/servo/rust-url/pull/960](https://redirect.github.com/servo/rust-url/pull/960) - [@​cjwatson](https://redirect.github.com/cjwatson) made their first contribution in [https://github.com/servo/rust-url/pull/963](https://redirect.github.com/servo/rust-url/pull/963) - [@​joshka](https://redirect.github.com/joshka) made their first contribution in [https://github.com/servo/rust-url/pull/969](https://redirect.github.com/servo/rust-url/pull/969) - [@​hansl](https://redirect.github.com/hansl) made their first contribution in [https://github.com/servo/rust-url/pull/975](https://redirect.github.com/servo/rust-url/pull/975) - [@​theskim](https://redirect.github.com/theskim) made their first contribution in [https://github.com/servo/rust-url/pull/943](https://redirect.github.com/servo/rust-url/pull/943) - [@​m-mueller678](https://redirect.github.com/m-mueller678) made their first contribution in [https://github.com/servo/rust-url/pull/985](https://redirect.github.com/servo/rust-url/pull/985) - [@​konstin](https://redirect.github.com/konstin) made their first contribution in [https://github.com/servo/rust-url/pull/982](https://redirect.github.com/servo/rust-url/pull/982) - [@​arthurscchan](https://redirect.github.com/arthurscchan) made their first contribution in [https://github.com/servo/rust-url/pull/988](https://redirect.github.com/servo/rust-url/pull/988) **Full Changelog**: https://github.com/servo/rust-url/compare/v2.5.2...v2.5.3 </details> --- ### Configuration ๐ **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). ๐ฆ **Automerge**: Disabled by config. Please merge this manually once you are satisfied. โป **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. ๐ **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuNyIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
12afd12
Add long file paths solution to Windows troubleshooting (#20317)
Currently, building on Windows may fail for people who have not enabled long filepaths on Windows itself. This PR adds the solution to the troubleshooting section in the `Building Zed for Windows` guide. For an example failure error message: ```rs error: failed to get `pet` as a dependency of package `languages v0.1.0 (D:\a\zed-windows-builds\zed-windows-builds\crates\languages)` Caused by: failed to load source for dependency `pet` Caused by: Unable to update https://github.com/microsoft/python-environment-tools.git?rev=ffcbf3f28c46633abd5448a52b1f396c322e0d6c#ffcbf3f2 Caused by: path too long: 'C:/Users/runneradmin/.cargo/git/checkouts/python-environment-tools-903993894b37a7d2/ffcbf3f/crates/pet-conda/tests/unix/conda_env_without_manager_but_found_in_history/some_other_location/conda_install/conda-meta/python-fastjsonschema-2.16.2-py310hca03da5_0.json'; class=Filesystem (30) ``` Release Notes: - N/A
Cherry created
b526d69
Allow Unicode-3.0 license in checks (#20339)
Part of https://github.com/zed-industries/zed/pull/20334 The license is on par with other licenses in the list: https://www.unicode.org/license.txt Release Notes: - N/A
Kirill Bulatov created
4f06f5b
Refactor scripts to use `command -v` instead of `which` (#20306)
`which` is not a core package is some distributions. Included changes from #20309 Release Notes: - N/A
Jeevitha Kannan K S created
555a219
Update Rust crate serde_json to v1.0.132 (#20326)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [serde_json](https://redirect.github.com/serde-rs/json) | dependencies | patch | `1.0.128` -> `1.0.132` | | [serde_json](https://redirect.github.com/serde-rs/json) | workspace.dependencies | patch | `1.0.128` -> `1.0.132` | --- ### Release Notes <details> <summary>serde-rs/json (serde_json)</summary> ### [`v1.0.132`](https://redirect.github.com/serde-rs/json/releases/tag/1.0.132) [Compare Source](https://redirect.github.com/serde-rs/json/compare/1.0.131...1.0.132) - Improve binary size and compile time for JSON array and JSON object deserialization by about 50% ([#​1205](https://redirect.github.com/serde-rs/json/issues/1205)) - Improve performance of JSON array and JSON object deserialization by about 8% ([#​1206](https://redirect.github.com/serde-rs/json/issues/1206)) ### [`v1.0.131`](https://redirect.github.com/serde-rs/json/releases/tag/1.0.131) [Compare Source](https://redirect.github.com/serde-rs/json/compare/1.0.130...1.0.131) - Implement Deserializer and IntoDeserializer for `Map<String, Value>` and `&Map<String, Value>` ([#​1135](https://redirect.github.com/serde-rs/json/issues/1135), thanks [@​swlynch99](https://redirect.github.com/swlynch99)) ### [`v1.0.130`](https://redirect.github.com/serde-rs/json/releases/tag/1.0.130) [Compare Source](https://redirect.github.com/serde-rs/json/compare/1.0.129...1.0.130) - Support converting and deserializing `Number` from i128 and u128 ([#​1141](https://redirect.github.com/serde-rs/json/issues/1141), thanks [@​druide](https://redirect.github.com/druide)) ### [`v1.0.129`](https://redirect.github.com/serde-rs/json/releases/tag/1.0.129) [Compare Source](https://redirect.github.com/serde-rs/json/compare/1.0.128...1.0.129) - Add [`serde_json::Map::sort_keys`](https://docs.rs/serde_json/1/serde_json/struct.Map.html#method.sort_keys) and [`serde_json::Value::sort_all_objects`](https://docs.rs/serde_json/1/serde_json/enum.Value.html#method.sort_all_objects) ([#​1199](https://redirect.github.com/serde-rs/json/issues/1199)) </details> --- ### Configuration ๐ **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). ๐ฆ **Automerge**: Disabled by config. Please merge this manually once you are satisfied. โป **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. ๐ **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuNyIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
7454023
Update Rust crate pulldown-cmark to v0.12.2 (#20325)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [pulldown-cmark](https://redirect.github.com/raphlinus/pulldown-cmark) | workspace.dependencies | patch | `0.12.1` -> `0.12.2` | --- ### Release Notes <details> <summary>raphlinus/pulldown-cmark (pulldown-cmark)</summary> ### [`v0.12.2`](https://redirect.github.com/pulldown-cmark/pulldown-cmark/releases/tag/v0.12.2): 0.12.2 [Compare Source](https://redirect.github.com/raphlinus/pulldown-cmark/compare/v0.12.1...v0.12.2) #### What's Changed - Fix compiilation error in fuzzers by [@​kdarkhan](https://redirect.github.com/kdarkhan) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/947](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/947) - Make `fuzz` dir part of the workspace by [@​kdarkhan](https://redirect.github.com/kdarkhan) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/948](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/948) - Fix and improve `bench` by [@​notriddle](https://redirect.github.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/950](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/950) - Reuse a couple hash maps across blocks by [@​notriddle](https://redirect.github.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/951](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/951) - Reuse outer indent between item list, def list, and blockquote by [@​notriddle](https://redirect.github.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/952](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/952) - Add instructions on fixing fuzz build by [@​kdarkhan](https://redirect.github.com/kdarkhan) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/953](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/953) - Account for definition list fixups while popping containers by [@​notriddle](https://redirect.github.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/954](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/954) - Use byte range instead of char count for delim run bounds by [@​notriddle](https://redirect.github.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/956](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/956) - CI improvements by [@​kdarkhan](https://redirect.github.com/kdarkhan) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/955](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/955) - Fix a problem that causes multiple dt's to be parsed by [@​notriddle](https://redirect.github.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/958](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/958) - fix: emit `InlineHtml` for inline HTML inside blockquote instead of `Html` by [@​rhysd](https://redirect.github.com/rhysd) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/961](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/961) - Complete the list of block item bodies by [@​notriddle](https://redirect.github.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/962](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/962) - Implement into_static for CowStr and Event in pulldown-cmark by [@​Atreyagaurav](https://redirect.github.com/Atreyagaurav) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/967](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/967) - Enforce cargo fmt by [@​ollpu](https://redirect.github.com/ollpu) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/971](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/971) - Respect line starts when trimming header endings by [@​notriddle](https://redirect.github.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/969](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/969) #### New Contributors - [@​Atreyagaurav](https://redirect.github.com/Atreyagaurav) made their first contribution in [https://github.com/pulldown-cmark/pulldown-cmark/pull/967](https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/967) **Full Changelog**: https://github.com/pulldown-cmark/pulldown-cmark/compare/v0.12.1...v0.12.2 </details> --- ### Configuration ๐ **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). ๐ฆ **Automerge**: Disabled by config. Please merge this manually once you are satisfied. โป **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. ๐ **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuNyIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
5c0ecc0
Update Rust crate wasmtime-wasi to v24.0.2 (#20335)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [wasmtime-wasi](https://redirect.github.com/bytecodealliance/wasmtime)
| workspace.dependencies | patch | `24.0.1` -> `24.0.2` |
---
### Release Notes
<details>
<summary>bytecodealliance/wasmtime (wasmtime-wasi)</summary>
###
[`v24.0.2`](https://redirect.github.com/bytecodealliance/wasmtime/releases/tag/v24.0.2)
[Compare
Source](https://redirect.github.com/bytecodealliance/wasmtime/compare/v24.0.1...v24.0.2)
#### 24.0.2
Released 2024-11-05.
##### Fixed
- Update to cap-std 3.4.1, for
[#​9559](https://redirect.github.com/bytecodealliance/wasmtime/issues/9559),
which fixes a wasi-filesystem sandbox
escape on Windows.
[CVE-2024-51745](https://redirect.github.com/bytecodealliance/wasmtime/security/advisories/GHSA-c2f5-jxjv-2hh8).
</details>
---
### Configuration
๐
**Schedule**: Branch creation - "after 3pm on Wednesday" in timezone
America/New_York, Automerge - At any time (no schedule defined).
๐ฆ **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
โป **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
๐ **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
Release Notes:
- N/A
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuNyIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
5b59ef3
Update Rust crate thiserror to v1.0.68 (#20332)
renovate[bot] created
fda3e4c
Update Rust crate sys-locale to v0.3.2 (#20331)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [sys-locale](https://redirect.github.com/1Password/sys-locale) |
workspace.dependencies | patch | `0.3.1` -> `0.3.2` |
---
### Release Notes
<details>
<summary>1Password/sys-locale (sys-locale)</summary>
###
[`v0.3.2`](https://redirect.github.com/1Password/sys-locale/releases/tag/v0.3.2)
[Compare
Source](https://redirect.github.com/1Password/sys-locale/compare/v0.3.1...v0.3.2)
#### What's Changed
##### Added
- Support for all other Apple targets, such as watchOS and tvOS by
[@​complexspaces](https://redirect.github.com/complexspaces) in
[https://github.com/1Password/sys-locale/pull/38](https://redirect.github.com/1Password/sys-locale/pull/38).
- Support for ignoring POSIX modifiers in UNIX locales with them present
by [@​pasabanov](https://redirect.github.com/pasabanov) in
[https://github.com/1Password/sys-locale/pull/33](https://redirect.github.com/1Password/sys-locale/pull/33).
- Parsing support/recognition may come at a later date.
- Support for returning a list of user locales on Linux/BSD UNIX
platforms by [@​pasabanov](https://redirect.github.com/pasabanov)
in
[https://github.com/1Password/sys-locale/pull/35](https://redirect.github.com/1Password/sys-locale/pull/35).
##### Fixed
- No longer use `LC_CTYPE` when determining the locale; the crate now
uses `LC_MESSAGES` in its place by
[@​pasabanov](https://redirect.github.com/pasabanov) in
[https://github.com/1Password/sys-locale/pull/35](https://redirect.github.com/1Password/sys-locale/pull/35).
- Skip empty locale environment variables on UNIX platforms by
[@​complexspaces](https://redirect.github.com/complexspaces) in
[https://github.com/1Password/sys-locale/pull/29](https://redirect.github.com/1Password/sys-locale/pull/29).
- Corrected types mentioned and improved the public API documentation by
[@​pasabanov](https://redirect.github.com/pasabanov) in
[https://github.com/1Password/sys-locale/pull/37](https://redirect.github.com/1Password/sys-locale/pull/37).
##### Changed
- Improved crate download size by excluding unused directories and files
by [@​pasabanov](https://redirect.github.com/pasabanov).
- Very slight improvement to locale fetching performance on Windows by
[@​complexspaces](https://redirect.github.com/complexspaces) in
[https://github.com/1Password/sys-locale/pull/29](https://redirect.github.com/1Password/sys-locale/pull/29).
- Increased MSRV to Rust 1.56, which is 3 years old as of this release
by [@​complexspaces](https://redirect.github.com/complexspaces).
#### New Contributors
- [@​pasabanov](https://redirect.github.com/pasabanov) made their
first contribution in
[https://github.com/1Password/sys-locale/pull/30](https://redirect.github.com/1Password/sys-locale/pull/30)
**Full Changelog**:
https://github.com/1Password/sys-locale/compare/v0.3.1...v0.3.2
</details>
---
### Configuration
๐
**Schedule**: Branch creation - "after 3pm on Wednesday" in timezone
America/New_York, Automerge - At any time (no schedule defined).
๐ฆ **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
โป **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
๐ **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
Release Notes:
- N/A
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuNyIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
028c2a8
Update Rust crate anyhow to v1.0.93 (#20321)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [anyhow](https://redirect.github.com/dtolnay/anyhow) | workspace.dependencies | patch | `1.0.91` -> `1.0.93` | --- ### Release Notes <details> <summary>dtolnay/anyhow (anyhow)</summary> ### [`v1.0.93`](https://redirect.github.com/dtolnay/anyhow/releases/tag/1.0.93) [Compare Source](https://redirect.github.com/dtolnay/anyhow/compare/1.0.92...1.0.93) - Update dev-dependencies to `thiserror` v2 ### [`v1.0.92`](https://redirect.github.com/dtolnay/anyhow/releases/tag/1.0.92) [Compare Source](https://redirect.github.com/dtolnay/anyhow/compare/1.0.91...1.0.92) - Support Rust 1.82's `&raw const` and `&raw mut` syntax inside `ensure!` ([#​390](https://redirect.github.com/dtolnay/anyhow/issues/390)) </details> --- ### Configuration ๐ **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). ๐ฆ **Automerge**: Disabled by config. Please merge this manually once you are satisfied. โป **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. ๐ **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuNyIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
a86c4de
Update Rust crate mdbook to v0.4.41 (#20322)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mdbook](https://redirect.github.com/rust-lang/mdBook) | dependencies | patch | `0.4.40` -> `0.4.41` | --- ### Release Notes <details> <summary>rust-lang/mdBook (mdbook)</summary> ### [`v0.4.41`](https://redirect.github.com/rust-lang/mdBook/blob/HEAD/CHANGELOG.md#mdBook-0441) [Compare Source](https://redirect.github.com/rust-lang/mdBook/compare/v0.4.40...v0.4.41) [v0.4.40...v0.4.41](https://redirect.github.com/rust-lang/mdBook/compare/v0.4.40...v0.4.41) ##### Added - Added preliminary support for Rust 2024 edition. [#​2398](https://redirect.github.com/rust-lang/mdBook/pull/2398) - Added a full example of the remove-emphasis preprocessor. [#​2464](https://redirect.github.com/rust-lang/mdBook/pull/2464) ##### Changed - Adjusted styling of clipboard/play icons. [#​2421](https://redirect.github.com/rust-lang/mdBook/pull/2421) - Updated to handlebars v6. [#​2416](https://redirect.github.com/rust-lang/mdBook/pull/2416) - Attr and section rules now have specific code highlighting. [#​2448](https://redirect.github.com/rust-lang/mdBook/pull/2448) - The sidebar is now loaded from a common file, significantly reducing the book size when there are many chapters. [#​2414](https://redirect.github.com/rust-lang/mdBook/pull/2414) - Updated dependencies. [#​2470](https://redirect.github.com/rust-lang/mdBook/pull/2470) ##### Fixed - Improved theme support when JavaScript is disabled. [#​2454](https://redirect.github.com/rust-lang/mdBook/pull/2454) - Fixed broken themes when localStorage has an invalid theme id. [#​2463](https://redirect.github.com/rust-lang/mdBook/pull/2463) - Adjusted the line-height of superscripts (and footnotes) to avoid adding extra space between lines. [#​2465](https://redirect.github.com/rust-lang/mdBook/pull/2465) </details> --- ### Configuration ๐ **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). ๐ฆ **Automerge**: Disabled by config. Please merge this manually once you are satisfied. โป **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. ๐ **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuNyIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
e645aa9
Root rename detection (#20313)
Closes #5349 Release Notes: - Fixed Zed when the directory that you opened is renamed.
Conrad Irwin created
216ea4d
Unify Solarized colors (#20330)
Lily over on discord noticed two of the colors in our Solarized themes were off by a single point. The two colors are nearly indistinguishable, so we might as well unify them. This PR does exactly that. Release Notes: - N/A
Nate Butler created
29c5ea0
More previews (#20329)
Release Notes: - N/A
Nate Butler created
b129e18
Make slash command output streamable (#19632)
This PR adds support for streaming output from slash commands In this PR we are focused primarily on the interface of the `SlashCommand` trait to support streaming the output. We will follow up later with support for extensions and context servers to take advantage of the streaming nature. Release Notes: - N/A --------- Co-authored-by: David Soria Parra <davidsp@anthropic.com> Co-authored-by: Antonio Scandurra <me@as-cii.com> Co-authored-by: David <david@anthropic.com> Co-authored-by: Antonio <antonio@zed.dev> Co-authored-by: Max <max@zed.dev> Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com> Co-authored-by: Will <will@zed.dev>
Marshall Bowers , David Soria Parra , Antonio Scandurra , David , Antonio , Max , Max Brunsfeld , and Will created
f6fbf66
Add `ui::ComponentPreview` (#20319)
The `ComponentPreview` trait enables rendering storybook-like previews
of components inside of Zed.

This initial version will work for any component that doesn't return a
view.
Example impl:
```rust
impl ComponentPreview for Checkbox {
fn description() -> impl Into<Option<&'static str>> {
"A checkbox lets people choose between opposing..."
}
fn examples() -> Vec<ComponentExampleGroup<Self>> {
vec![
example_group(
"Default",
vec![
single_example(
"Unselected",
Checkbox::new("checkbox_unselected", Selection::Unselected),
),
// ... more examples
],
),
// ... more examples
]
}
}
```
Example usage:
```rust
fn render_components_page(&self, cx: &ViewContext<Self>) -> impl IntoElement {
v_flex()
.gap_2()
.child(Checkbox::render_component_previews(cx))
.child(Icon::render_component_previews(cx))
}
}
```
Release Notes:
- N/A
Nate Butler created
a409123
Show workspace name before filename in window title (#20310)
when searching for the appropriate zed window, i scan a list of window titles. putting the workspace before the filename makes this list a lot easier to scan.  screenshot of [alt tab](https://alt-tab-macos.netlify.app/) in mac os demonstrating how putting the workspace first makes it easier to locate a project. Release Notes: - Improved window title by showing workspace name before filename
Peter Schilling created
b0b29d9
Update cloudflare/wrangler-action digest to 05f17c4 (#20315)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [cloudflare/wrangler-action](https://redirect.github.com/cloudflare/wrangler-action) | action | digest | `b2a0191` -> `05f17c4` | --- ### Configuration ๐ **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). ๐ฆ **Automerge**: Disabled by config. Please merge this manually once you are satisfied. โป **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. ๐ **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuNyIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
290c911
Update astral-sh/setup-uv digest to 2e657c1 (#20314)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [astral-sh/setup-uv](https://redirect.github.com/astral-sh/setup-uv) | action | digest | `f3bcaeb` -> `2e657c1` | --- ### Configuration ๐ **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). ๐ฆ **Automerge**: Disabled by config. Please merge this manually once you are satisfied. โป **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. ๐ **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuNyIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
36427e0
assistant: Refine role crease loading state design (#20311)
Follow up to https://github.com/zed-industries/zed/pull/20125 โ going for that <kbd>kbd</kbd> look. <img width="230" alt="Screenshot 2024-11-06 at 16 51 27" src="https://github.com/user-attachments/assets/d29a2650-8bf8-4500-8dc1-92b0be210e04"> Release Notes: - N/A
Danilo Leal created
e16d5c3
gpui: Bump crates resvg and usvg to 0.44.0 (#20067)
Closes #17388 Release Notes: - N/A We are using gpui to build a project, and we want to render SVGs with the `<text>` tag. We use `resvg` and `usvg` with the same version as gpui, like `0.41.0`. However, when we enable the feature `text`, we get an error from `usvg`. ```shell error[E0061]: this function takes 3 arguments but 2 arguments were supplied --> /Users/madcodelife/.cargo/git/checkouts/zed-23e65a6dff445450/e681a4b/crates/gpui/src/svg_renderer.rs:49:20 | 49 | let tree = usvg::Tree::from_data(bytes, &usvg::Options::default())?; | ^^^^^^^^^^^^^^^^^^^^^---------------------------------- argument #3 of type `&Database` is missing | ``` This error occurs because when the `text` feature is enabled, the `form_data` function needs an extra argument, `fontdb`. [The code is here](https://github.com/linebender/resvg/blob/fb7e28513f561ed847acbf4a6fb8b743474837a0/crates/usvg/src/parser/mod.rs#L98). They changed the API in version [`0.42.0`](https://github.com/linebender/resvg/blob/b1d06e9463a3b089fbd70e7c38aebbfc811311ff/crates/usvg/src/parser/mod.rs#L98). So, I updated the versions to the latest (0.44.0). This is our demo: ## Before: <img width="620" alt="image" src="https://github.com/user-attachments/assets/7c71f8b1-e5fe-4e60-8f21-bb3bd9924e03"> ## After: <img width="620" alt="image" src="https://github.com/user-attachments/assets/4b0a0602-928f-4017-b5df-859eeb5f6b4a">
Floyd Wang created
608addf
Extension refactor (#20305)
This contains the main changes to the extensions crate from #20049. The primary goal here is removing dependencies that we can't include on the remote. Release Notes: - N/A --------- Co-authored-by: Mikayla <mikayla@zed.dev> Co-authored-by: Marshall Bowers <elliott.codes@gmail.com> Co-authored-by: Marshall <marshall@zed.dev>
Conrad Irwin , Mikayla , Marshall Bowers , and Marshall created
f22e56f
Improve One theme contrasts (#20304)
Closes #5334 Closes #15521 Improve contrast across the board in default One themes. We are currently building out some theme tools to make improvements to contrast and tweaking themes in general easier, so these should continue to improve over time. **Light** Before | After  **Dark** Before | After  **Note 1**: there are more improvements to be made, but this should deal with the most egregious issues. Release Notes: - Improved contrast in default One themes
Nate Butler created
449e20d
Update Rust crate wasmtime to v24.0.2 [SECURITY] (#20262)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [wasmtime](https://redirect.github.com/bytecodealliance/wasmtime) |
workspace.dependencies | patch | `24.0.1` -> `24.0.2` |
### GitHub Vulnerability Alerts
####
[CVE-2024-51745](https://redirect.github.com/bytecodealliance/wasmtime/security/advisories/GHSA-c2f5-jxjv-2hh8)
### Impact
Wasmtime's filesystem sandbox implementation on Windows blocks access to
special device filenames such as "COM1", "COM2", "LPT0", "LPT1", and so
on, however it did not block access to the special device filenames
which use superscript digits, such as "COMยน", "COMยฒ", "LPTโฐ", "LPTยน",
and so on. Untrusted Wasm programs that are given access to any
filesystem directory could bypass the sandbox and access devices through
those special device filenames with superscript digits, and through them
gain access peripheral devices connected to the computer, or network
resources mapped to those devices. This can include modems, printers,
network printers, and any other device connected to a serial or parallel
port, including emulated USB serial ports.
### Patches
Patch releases for Wasmtime have been issued as 24.0.2, 25.0.3, and
26.0.1. Users of Wasmtime 23.0.x and prior are recommended to upgrade to
one of these patched versions.
### Workarounds
There are no known workarounds for this issue. Affected Windows users
are recommended to upgrade.
### References
- [Microsoft's
documentation](https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions)
of the special device filenames
- [ISO-8859-1](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- [The original PR reporting the
issue](https://redirect.github.com/bytecodealliance/cap-std/pull/371)
---
### Release Notes
<details>
<summary>bytecodealliance/wasmtime (wasmtime)</summary>
###
[`v24.0.2`](https://redirect.github.com/bytecodealliance/wasmtime/releases/tag/v24.0.2)
[Compare
Source](https://redirect.github.com/bytecodealliance/wasmtime/compare/v24.0.1...v24.0.2)
#### 24.0.2
Released 2024-11-05.
##### Fixed
- Update to cap-std 3.4.1, for
[#​9559](https://redirect.github.com/bytecodealliance/wasmtime/issues/9559),
which fixes a wasi-filesystem sandbox
escape on Windows.
[CVE-2024-51745](https://redirect.github.com/bytecodealliance/wasmtime/security/advisories/GHSA-c2f5-jxjv-2hh8).
</details>
---
### Configuration
๐
**Schedule**: Branch creation - "" in timezone America/New_York,
Automerge - At any time (no schedule defined).
๐ฆ **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
โป **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
๐ **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
Release Notes:
- N/A
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuNyIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] and renovate[bot] created
1aac35c
v0.162.x dev
Peter Tripp created
815385c
Add autoclosing braces for Shell Scripts (#20278)
Added support for autoclosing braces `{}` and single quotes `''` in Shell Scripts
Peter Tripp created
eca3424
Update openSUSE dependencies to build on fresh Tumbleweed installation (#20298)
Lars Diederich created
71b3633
assistant: Remove automatic diagnostic attachment to tab and file commands (#20297)
This PR returns the `/tab` and `/file` commands to their original behavior of _not_ automatically including diagnostics. This is an assistant-only change, though, given that we can already pass the `/diagnostic` command by itself. The inline assistant will still have the diagnostics baked in to allow prompts such as "Fix this error." Release Notes: - Remove automatic diagnostic attachment to tab and file commands in the assistant panel --------- Co-authored-by: Antonio Scandurra <me@as-cii.com>
Danilo Leal and Antonio Scandurra created