Commit log

ccd8a9a v0.148.x stable

Joseph T Lyons created

1dfc2fe Fetch staff members from GitHub org

Joseph T Lyons created

fb44939 Don't thank staff members in release notes

Joseph T Lyons created

5ec8cdc Fix warning message

Joseph T Lyons created

371b828 Fix warning message

Joseph T Lyons created

fdb5c7f Update issue-detection RegEx

Joseph T Lyons created

84d6866 Update the dangerfile to check for issue links

Joseph T Lyons created

7e44cd0 Fix isStaff boolean logic

Joseph T Lyons created

7b8a87b Filter out staff members from thanks line

Joseph T Lyons created

79e5ea7 Link to pull requests in changelog notes (#15996)

Click to expand commit body
This PR changes how we ask users to draft up PRs and how release note
generation happens.

We no longer force the user to create the markdown URL link, but we do
ask them to use the `closes` [GitHub magic
word](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
to link the PR to an issue, so that the issue is closed automatically
when closing the PR.

As for the changelog release notes, we are no longer linking to the
issues, but the PR itself, which should contain the issue if a reader
wants to dive further back. This makes our output more consistent, as
every line will have a link, even if there is no issue associated, and
it removes the need for us to try to parse the issue url in the body to
try to correct mistakes in how they were forming Markdown urls - the PR
url is always returned in the request, which makes it easy. **Lastly,
it's just a lot less annoying to make the release notes.**

The new PR format will be:

```
Closes #ISSUE

Release Notes:

- Added/Fixed/Improved ...
```

The new script output format will be:

```
PR Title: theme: Use a non-transparent color for the fallback `title_bar.inactive_background`
Credit: ([#15709](https://github.com/zed-industries/zed/pull/15709); thanks [maxdeviant](https://github.com/maxdeviant))
Release Notes:

- linux: Changed the fallback color of `title_bar.inactive_background` to a non-transparent value.
--------------------------------------------------------------------------------
PR Title: Skip over folded regions when iterating over multibuffer chunks
Credit: ([#15646](https://github.com/zed-industries/zed/pull/15646); thanks [osiewicz](https://github.com/osiewicz))
Release Notes:

- Fixed poor performance when editing in the assistant panel after inserting large files using slash commands
--------------------------------------------------------------------------------
```

This still requires us to manually apply the credit line, but the line
is already fully formed, so this should still be faster than having to
manually create that line / fix any line where someone messed it up
(which was all the time). I would just automatically apply it to the
release notes, but sometimes we have multiple bullet points in a single
PR and no real structure is enforced, so I foresee doing anything
automatic breaking and needing manual adjustment.

Release Notes:

- N/A

Joseph T. Lyons created

822a4cc v0.148.x preview

Joseph T Lyons created

864c443 csharp: Use lsp settings to locate binary if present (#15885)

Click to expand commit body
C# extension now honors the "lsp" config section

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>

Jonathan Dickinson and Marshall Bowers created

5ce6c37 gleam: Revert version bump (#15908)

Click to expand commit body
This PR reverts a version bump to the Gleam extension that was included
in #15866, as we're not ready to publish a new version.

Release Notes:

- N/A

Marshall Bowers created

3a52d6c assistant: Limit model access for Zed AI users to Claude-3.5-sonnet (#15904)

Click to expand commit body
This prevents users from accessing other models, such as OpenAI's GPT-4
or Google's Gemini-Pro.
Staff members can still access all models.

Co-authored-by: Thorsten <thorsten@zed.dev>

Release Notes:

- N/A

---------

Co-authored-by: Thorsten <thorsten@zed.dev>

Bennet Bo Fenner and Thorsten created

efbf7ad settings: Show error notification when settings are invalid (#15905)

Click to expand commit body
https://github.com/user-attachments/assets/07627142-e730-4446-a50b-7ef46f8e661c

We want to improve the design in the future, but it fixes a long
standing paper cut for now.

Release Notes:

- Added a popup that is displayed when the settings are invalid

---------

Co-authored-by: Thorsten <thorsten@zed.dev>

Bennet Bo Fenner and Thorsten created

9402829 assistant panel: Use feature flag for Zed Pro mentions (#15903)

Click to expand commit body
This removes Zed Pro mentions.

Release Notes:

- N/A

Co-authored-by: Bennet <bennet@zed.dev>

Thorsten Ball and Bennet created

f24f601 Adjust erf estimation function (#15423)

Click to expand commit body
Release Notes:

- Fixed a (potential) small error in erf estimation. Technically, the
error is negligible.

I am not sure where the current calculation for erf come from and if it
is intended or a simple mistake. However it looks slightly different
from the official calculation, notably
[this](https://en.wikipedia.org/wiki/Error_function#Approximation_with_elementary_functions)
from Wikipedia.

I will add a comment if it is intended.

Son created

2db2b63 assistant: Add annotations to more languages (#15866)

Click to expand commit body
Release Notes:

- N/A

Piotr Osiewicz created

8aa1ba8 assistant: Tweak tab bar layout (#15901)

Click to expand commit body
- Add "New Context" button next to the hamburger
- Add "History"
- Allow Pane tab rendering callback to return items for both left and
right side of the tab bar.


![image](https://github.com/user-attachments/assets/d5aa599d-c9e4-4f26-ad66-ffc290c53c29)


Release Notes:

- N/A

Piotr Osiewicz created

bf403ca chore: Remove assistant labels for users without feature flag enabled (#15899)

Click to expand commit body
Release Notes:

- N/A

Piotr Osiewicz created

9907742 Allow /workflow and step resolution prompts to be overridden (#15892)

Click to expand commit body
This will help us as we hit issues with the /workflow and step
resolution. We can override the baked-in prompts and make tweaks, then
import our refinements back into the source tree when we're ready.

Release Notes:

- N/A

Nathan Sobo created

c8f1358 Allow prompt templates to be overridden in the zed configuration directory (#15887)

Click to expand commit body
I need this to refine our prompts on the fly as I work.

Release Notes:

- Templates for prompts driving inline transformation in editors and the
terminal can now be overridden in the `~/.config/zed/prompts/templates`
directory. This is an advanced feature, and prevents you from getting
upstream changes. It's intended for use by Zed developers.

Nathan Sobo created

6065db1 repl: Improve kernelspec discoverability (#15886)

Click to expand commit body
<img width="862" alt="image"
src="https://github.com/user-attachments/assets/ae8c479d-d9f9-4c46-bb1a-be411ab07876">

Release Notes:

- Added additional context about available to kernel sessions
- Fixed bug in kernelspec launch choosing first available kernel
matching the language rather than selected name

---------

Co-authored-by: Jason <jason@zed.dev>

Kyle Kelley and Jason created

a54e16b collab: Add `usages` table to LLM database (#15884)

Click to expand commit body
This PR adds a `usages` table to the LLM database.

We'll use this to track usage for rate-limiting purposes.

Release Notes:

- N/A

Marshall Bowers created

4f69336 php: Add bracket highlighting (#15881)

Click to expand commit body
Improved PHP extension by adding bracket highlighting 

Release Notes:

- N/A

Screenshot: 
<img width="402" alt="image"
src="https://github.com/user-attachments/assets/4dd02b41-8637-49b8-b3ce-41791227f945">

<img width="537" alt="image"
src="https://github.com/user-attachments/assets/b6dc7091-4588-460b-9051-4675eb0df538">

Xander created

b19f85f collab: Remove unused parameter to `run_database_migrations` (#15883)

Click to expand commit body
This PR removes the unused `ignore_checksum_mismatch` parameter to
`run_database_migrations`.

We were always passing `false`, which meant the behavior didn't need to
be parameterized.

Release Notes:

- N/A

Marshall Bowers created

7f6d091 collab: Setup database for LLM service (#15882)

Click to expand commit body
This PR puts the initial infrastructure for the LLM service's database
in place.

The LLM service will be using a separate Postgres database, with its own
set of migrations.

Currently we only connect to the database in development, as we don't
yet have the database setup for the staging/production environments.

Release Notes:

- N/A

Marshall Bowers created

a649067 Use vanity Discord link (#15880)

Click to expand commit body
Release Notes:

- N/A

Joseph T. Lyons created

11c6ada Add tooltip for toggling filters (#15879)

Click to expand commit body
Release Notes:

- N/A

Joseph T. Lyons created

7366c85 linux: Fix arrow keys in command palette (#15871)

Click to expand commit body
Fixes https://github.com/zed-industries/zed/issues/15870 (a recent
regression from
https://github.com/zed-industries/zed/commit/1f977410671ae18be97f5229e8716323b2276491)

Release Notes:

- N/A

apricotbucket28 created

591b579 elixir: Bump to v0.0.7 (#15867)

Click to expand commit body
This PR bumps the Elixir extension to v0.0.7.

Changes:

- #14831

Release Notes:

- N/A

Marshall Bowers created

a82f318 collab: Add missing `ZED_LLM_LOAD_BALANCER_SIZE_UNIT` variable (#15868)

Click to expand commit body
We missed this in #15863.

Release Notes:

- N/A

Marshall Bowers created

104d7ad Don't insert unnecessary space below the end of an inline transformation (#15865)

Click to expand commit body
We achieved this by allowing block decorations to have a height of `0`
and superimposing the border on top of the line, as opposed to carving
out space below it.

Release Notes:

- N/A

---------

Co-authored-by: Jason <jason@zed.dev>

Antonio Scandurra and Jason created

2e27448 assistant: Fix inline assistant not working for non-terminal panel views (#15864)

Click to expand commit body
Fixes #15729

Release Notes:

- Fixed an issue where the terminal inline assistant would not appear
when opening a terminal in the center pane
([#15729](https://github.com/zed-industries/zed/issues/15729)).

Bennet Bo Fenner created

33afbe9 Add LLM service to kubernetes deployment action (#15863)

Click to expand commit body
Release Notes:

- N/A

Co-authored-by: Marshall <marshall@zed.dev>

Max Brunsfeld and Marshall created

cf5f4dd Authorize access to language model providers based on country (#15859)

Click to expand commit body
This PR updates the LLM service to authorize access to language model
providers based on the requester's country.

We detect the country using Cloudflare's
[`CF-IPCountry`](https://developers.cloudflare.com/fundamentals/reference/http-request-headers/#cf-ipcountry)
header.

The country code is then checked against the list of supported countries
for the given LLM provider. Countries that are not supported will
receive an `HTTP 451: Unavailable For Legal Reasons` response.

Release Notes:

- N/A

Marshall Bowers created

9c6ccaf Allow user to restart transformation after stopping without a diff (#15858)

Click to expand commit body
Release Notes:

- N/A

Co-authored-by: Jason <jason@zed.dev>

Antonio Scandurra and Jason created

411934b Introduce a new `/workflow` command (#15854)

Click to expand commit body
This subsumes the previous built-in prompt.

Release Notes:

- N/A

Antonio Scandurra created

889a14a ruby: Bump to v0.1.0 (#15855)

Click to expand commit body
ruby: Bump extension version to v0.1.0 Why not v0.0.9? I think the Ruby
extension is mature, and it's time to release the first minor version.
But I am totally OK with changing it to 0.0.9.

Included changes:

- https://github.com/zed-industries/zed/pull/15778
- https://github.com/zed-industries/zed/pull/15762
- https://github.com/zed-industries/zed/pull/15110
- https://github.com/zed-industries/zed/pull/15297

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>

Vitaly Slobodin and Marshall Bowers created

874f0c0 assistant: Use tools in other providers (#15803)

Click to expand commit body
- [x] OpenAI
- [ ] ~Google~ Moved into a separate branch at:
https://github.com/zed-industries/zed/tree/tool-calls-in-google-ai I've
ran into issues with having the API digest our schema without tripping
over itself - the function call parameters are malformed and whatnot. We
can resume from that branch if needed.
- [x] Ollama
- [x] Cloud
- [ ] ~Copilot Chat (?)~

Release Notes:

- Added tool calling capabilities to OpenAI and Ollama models.

Piotr Osiewicz created

be514f2 Improve streaming git diffs to be less jumpy during inline assistant generation (#15853)

Click to expand commit body
Release Notes:

- Improved streaming git diffs to be less jumpy during inline assistant
generation

---------

Co-authored-by: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

a054a2a ruff: Refactor language server loading (#15852)

Click to expand commit body
This PR refactors the language server loading in the Ruff extension to
mirror our other extensions.

Also fixed an issue where the cached binary path was not being
respected.

Release Notes:

- N/A

Marshall Bowers created

8231009 inline_completion_button: Do some cleanup (#15849)

Click to expand commit body
This PR does some cleanup in the `inline_completion_button` after
#15443.

Release Notes:

- N/A

Marshall Bowers created

1c3f303 ruby: Support "binary" settings for Rubocop and Solargraph (#15110)

Click to expand commit body
Hello, this pull request adds support for specifying and using the
"binary" settings for Rubocop and Solargraph LSPs. AFAIK, Ruby LSP does
not require the bundler context but that could be added later easily.

In Ruby world, like in Node.js world, almost all
projects rely on project specific packages (gems) and their versions.
Solargraph and Rubocop gems are usually installed as project
dependencies. Attempting to use global installation of them fail in most
cases due to incompatible or missing dependencies (gems).

To avoid that, Ruby engineers have the `bundler`
gem that provides the `exec` command. This command executes the given
command in the context of the bundle.

This pull request adds support for pulling the `binary` settings to use
them in starting both LSPs. For instance, to start the Solargraph gem in
the context of the bundler, the end user must configure the binary
settings in the folder-specific settings file like so:

```json
{
  "lsp": {
    "solargraph": {
      "binary": {
        "path": "/Users/vslobodin/Development/festivatica/bin/rubocop"
      }
    }
  }
}
```

The `path` key must be an absolute path to the `binstub` of the
`solargraph` gem. The same applies to the "rubocop" gem. Side note but
it would be awesome to use Zed specific environment variables to make
this a bit easier. For instance, we could use the `ZED_WORKTREE_ROOT`
environment variable:

```json
{
  "lsp": {
    "solargraph": {
      "binary": {
        "path": "${ZED_WORKTREE_ROOT}/bin/rubocop"
      }
    }
  }
}
```

But this is out of the scope of this pull request. The code is a bit
messy and repeatable in some places, I am happy to improve it here or
later.

References:
- https://bundler.io/v2.4/man/bundle-exec.1.html
- https://solargraph.org/guides/troubleshooting
- https://bundler.io/v2.5/man/bundle-binstubs.1.html

This pull request is based on these two pull requests:

- https://github.com/zed-industries/zed/pull/14655
- https://github.com/zed-industries/zed/issues/15001

Closes https://github.com/zed-industries/zed/issues/5109.

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>

Vitaly Slobodin and Marshall Bowers created

7cef5b2 Add menu item to switch Supermaven and Copilot (#15443)

Click to expand commit body
Adds a "Use Supermaven" and "Use Copilot" menu item to the signed out
menus for each of the autocomplete providers to make it easier to switch
between them without having to update your local settings json.

<img width="222" alt="image"
src="https://github.com/user-attachments/assets/6f760f4e-5527-4971-bdaf-383bc99649bd">

Release Notes:

- Added menu items to quickly switch between Supermaven and Copilot
inline completions when the provider is not configured

Kevin Wang created

f4a58e5 typescript: Make it possible to use local vtsls (#15775)

Click to expand commit body
Related things:
https://github.com/zed-industries/zed/issues/7902
https://github.com/zed-industries/zed/issues/4978

Release Notes:
- Added: positibily to use locally installed vtsls

Konstantin Matsiushonak created

d6e5265 assistant: Limit model access (#15820)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Thorsten <thorsten@zed.dev>

Bennet Bo Fenner and Thorsten created

56abd68 assistant: Cleanup model selector (#15843)

Click to expand commit body
We changed the following for the model selector:
- Fixed displaying checkmarks for selected models when using models with
the same name from different providers
- We now show the icon for the active model instead of displaying the
provider name in the trigger of the model selector
- Only display the footer when the language models feature flag is zed,
so that we don't release the hint for Zed Pro to preview tomorrow

<img width="253" alt="image"
src="https://github.com/user-attachments/assets/f95ccfb6-c0cf-43d4-9637-e2823100a427">


Release Notes:

- N/A

---------

Co-authored-by: Thorsten <thorsten@zed.dev>

Bennet Bo Fenner and Thorsten created

fb1cd7c blade: Update to pick up Intel memory coherency fix & fix calling blade params (#15829)

Click to expand commit body
Builds on @kvark's PR https://github.com/zed-industries/zed/pull/15781
by fixing call to Blades `create_texture_view` the arguments of which
had changed.


Picks up https://github.com/kvark/blade/pull/153

Release Notes:

- Fixed Zed flickering on Linux when using Intel graphics.
([#14101](https://github.com/zed-industries/zed/issues/14101)).

---------

Co-authored-by: Dzmitry Malyshau <kvark@fastmail.com>
Co-authored-by: Thorsten Ball <mrnugget@gmail.com>

Jaakko Sirén , Dzmitry Malyshau , and Thorsten Ball created

44ae9ef Cancel workflow step automatically when moving outside <step> tag (#15842)

Click to expand commit body
Also, open edit suggestions automatically as soon as the edit step is
resolved.

Release Notes:

- N/A

Antonio Scandurra created