Commit log

36307aa zed 0.109.2

Joseph T. Lyons created

6796c1a vue: use anyhow::ensure instead of asserting on filesystem state (#3173)

Click to expand commit body
Release Notes:
- Fixed a crash on failed assertion in Vue.js language support.

Piotr Osiewicz created

5663468 Name embedded.provisionprofile the same on stable as other channels

Max Brunsfeld created

fd910b4 Avoid unused import in release builds

Max Brunsfeld created

289b001 v0.109.x stable

Joseph T. Lyons created

1e70dc2 zed 0.109.1

Kirill Bulatov created

e202062 Remove screen sharing indicator

Click to expand commit body
This is now redundant given macOS has the same icon, and it panics when
you click on it :D.

Conrad Irwin created

ded60c6 Move prettier parsers data into languages from LSP adapters (#3150)

Click to expand commit body
Release Notes:

- Fixed incorrect prettier parsers sometimes being applied to certain
files

Kirill Bulatov created

c6466c1 Fix possibility of infinite loop in selections_with_autoclose_regions (#3138)

Click to expand commit body
Previously, that method could loop forever if the editor's autoclose
regions had unexpected selection ids.

Something must have changed recently that allowed this invariant to be
violated, but regardless, this code should not have relied on that
invariant to terminate like this.

Max Brunsfeld created

58dcb52 v0.109.x preview

Joseph T. Lyons created

99121ad buffer_search: Discard empty search suggestions. (#3136)

Click to expand commit body
Now when buffer_search::Deploy action is triggered (with cmd-f), we'll
keep the previous query in query_editor (if there was one) instead of
replacing it with empty query.

This addresses this bit of feedback from Jose:
> If no text is selected, `cmd + f` should not delete the text in the
search bar when refocusing

Release Notes:
- Improved buffer search by not clearing out query editor when no text
is selected and "buffer search: deploy" (default keybind: cmd-f) is
triggered.

Piotr Osiewicz created

fea6d70 return code inside a markdown block during inline assist (#3137)

Click to expand commit body
Reverted prior small change in inline prompting.
We should now only return code in a markdown block during inline
assists.

Kyle Caverly created

ed8a2c8 revert change to return only the text and inside return all text inside markdown blocks

KCaverly created

13c7bbb Shorten GitHub release message

Joseph T. Lyons created

cc390ba Start writing role to database (#3120)

Click to expand commit body
Scaffolding for guest members in channels

Release notes:
- You can now set channels to "public" which will allow anyone to join
and become a member. In a future release guests joining public channels
will have reduced permissions.

Conrad Irwin created

04a28fe Fix lint errors

Conrad Irwin created

1c5e07f update sidebar for public channels

Conrad Irwin created

2795091 Introduce Context Retrieval in Inline Assistant (#3097)

Click to expand commit body
This PR introduces a new Inline Assistant feature "Retrieve Context", to
dynamically fill the content in your generation prompt based on relevant
results returned from the Semantic Search for the Prompt.

Release Notes:

- Introduce "Retrieve Context" button in Inline Assistant

Kyle Caverly created

c380d43 Cap every language server logs (#3134)

Click to expand commit body
* on opening a language server's logs, a new editor for server logs is
now created from `\n`-joined `VecDeque` elements instead of a buffer, as
before
* every `VecDeque` entry is a log line we receiver out of stderr or LSP
server, and their general amount is capped with `let
MAX_STORED_LOG_ENTRIES: usize = 2000;`
* currently opened editor with logs (`Editor::multi_line`) keeps getting
log lines appended and may get over this cap, but only last stored 2000
entries will be restored on reopen
* similarly, cap rpc message logs

Release Notes:

- Improved memory usage by storing less language LSP server and rpc logs

Kirill Bulatov created

a95cce9 Reduce max log lines, clean log buffers better

Kirill Bulatov created

08af830 Do not create buffers for rpc logs

Kirill Bulatov created

c872c86 Remove another needless log buffer

Kirill Bulatov created

ba5c188 Update editor with current buffer logs

Kirill Bulatov created

5a4161d Do not detach subscriptions

Kirill Bulatov created

3329680 Add a rough prototype

Kirill Bulatov created

8db3893 Add link & public icons

Nate Butler created

31241f4 workspace: Do not scan for .gitignore files if a .git directory is encountered along the way (#3135)

Click to expand commit body
Partially fixes zed-industries/community#575

This PR will see one more fix to the case I've spotted while working on
this: namely, if a project has several nested repositories, e.g for a
structure:
/a
/a/.git/
/a/.gitignore
/a/b/
/a/b/.git/
/a/b/.gitignore

/b/ should not account for a's .gitignore at all - which is sort of
similar to the fix in commit #c416fbb, but for the paths in the project.

The release note is kinda bad, I'll try to reword it too.
- [ ] Improve release note.
- [x] Address the same bug for project files.

Release Notes:
- Fixed .gitignore files beyond the first .git directory being respected
by the worktree (zed-industries/community#575).

Piotr Osiewicz created

5b39fc8 Temporarily join public channels as a member

Conrad Irwin created

3412bec Fix some tests

Conrad Irwin created

2456c07 Fix channel test ordering

Conrad Irwin created

9cc55f8 Merge branch 'main' into guests

Conrad Irwin created

851701c Fix get_most_public_ancestor

Conrad Irwin created

465d726 Minor adjustments

Mikayla created

adabf01 Update IDs on interactive elements in LSP log viewer (#3133)

Click to expand commit body
This PR fixes a panic in the LSP log viewer when rendering the popover
UI. This did not ship to preview or stable, and so does not require a
release note.

Release Notes:

- N/A

Mikayla Maki created

fd03915 Adjust chat to allow channel admins to delete all messages (#3132)

Click to expand commit body
As it says on the tin

Release Notes:

- Changed chat permissions so that admins of a channel can delete any
message in a channel.

Mikayla Maki created

a81484f Update IDs on interactive elements in LSP log viewer

Mikayla created

162f625 Adjust chat permisisons to allow deletion for channel admins

Mikayla created

b168bde New entitlements: (#3118)

Click to expand commit body
Release Notes:

- Support Universal Links for Channel links
- Share credentials between Stable and Preview

Conrad Irwin created

c12f0d2 Provisioning profiles for stable and preview

Conrad Irwin created

6ffbc3a Allow pasting ZED urls in the command palette in development

Conrad Irwin created

2feb091 Ensure that invitees do not have permissions

Click to expand commit body
They have to accept the invite, (which joining the channel will do),
first.

Conrad Irwin created

4e7b35c Make joining a channel as a guest always succeed

Conrad Irwin created

247728b Update indexing icon

Click to expand commit body
Co-Authored-By: Kyle Caverly <22121886+KCaverly@users.noreply.github.com>

Nate Butler and Kyle Caverly created

247cdb1 Fix telemetry-related crash on start up (#3131)

Click to expand commit body
Fixes (hopefully)
[#2136](https://github.com/zed-industries/community/issues/2136).

Release Notes:

- N/A

Joseph T. Lyons created

75fbf2c Fix telemetry-related crash on start up

Joseph T. Lyons created

29f45a2 clean up warnings

KCaverly created

5e1e0b4 remove print from prompts

KCaverly created

d2e7690 catchup with main

KCaverly created

cc335db editor/language: hoist out non-generic parts of edit functions. (#3130)

Click to expand commit body
This reduces LLVM IR size of editor (that's one of the heaviest crates
to build) by almost 5%.

LLVM IR size of `editor` before this PR: 3280386
LLVM IR size with `editor::edit` changed: 3227092
LLVM IR size with `editor::edit` and `language::edit` changed: 3146807

Release Notes:
- N/A

Piotr Osiewicz created

6f4008e copilot: Propagate action if suggest_next is not possible. (#3129)

Click to expand commit body
One of our users ran into an issue where typing "true quote" characters
(option-[ for „ and option-] for ‚) was not possible; I've narrowed it
down to a collision with Copilot's NextSuggestion and PreviousSuggestion
action default keybinds. I explicitly did not want to alter the key
bindings, so I've went with a more neutral fix - one that propagates the
keystroke if there's no Copilot action to be taken (user is not using
Copilot etc). Note however that typing true quotes while using a Copilot
is still not possible, as for that we'd have to change a keybind.

Fixes zed-industries/community#2072


Release Notes:
- Fixed Copilot's "Suggest next" and "Suggest previous" actions
colliding with true quotes key bindings (`option-[` and `option-]`). The
keystrokes are now propagated if there's no Copilot action to be taken
at cursor's position.

Piotr Osiewicz created