Bump release_notes to v2 endpoint (#18108)

Partially addresses https://github.com/zed-industries/zed/issues/17527

<img width="1608" alt="SCR-20240919-rcik"
src="https://github.com/user-attachments/assets/25057731-7da6-4b36-b51b-021c67e8736b">

Release Notes:

- Enhanced the `auto update: view release notes locally` feature to
display release notes for each patch version associated with the
installed minor version.
This commit is contained in:
Joseph T. Lyons 2024-09-19 19:43:32 -04:00 committed by GitHub
parent edf2c19250
commit 740803d745
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -268,7 +268,7 @@ fn view_release_notes_locally(workspace: &mut Workspace, cx: &mut ViewContext<Wo
let client = client::Client::global(cx).http_client(); let client = client::Client::global(cx).http_client();
let url = client.build_url(&format!( let url = client.build_url(&format!(
"/api/release_notes/{}/{}", "/api/release_notes/v2/{}/{}",
release_channel.dev_name(), release_channel.dev_name(),
version version
)); ));