From 36dcfdfa951b301e6e2892761443a2e56ecc2146 Mon Sep 17 00:00:00 2001
From: Beatrix <68532117+abeatrix@users.noreply.github.com>
Date: Thu, 31 Oct 2024 14:51:03 +0100
Subject: [PATCH] Release 0.4.0 (#128)
The extension is now in experimental mode.
This PR includes the following changes:
- Update extension version to 0.1.0
- Update README.md to reflect the extension is now experimental
- Update documentation to reflect the extension is experimental
- Update release workflow to use the correct name
- Update the Cody stable release tag to the next stable version
`vscode-v1.40.0`
Do not
## TODO for @kalanchan
- [x] update the extension version number as commented below
- [x] update cody main repo commit as commented below
- [ ] Start the release process once `vscode-v1.40.0` is released,
following the Release.md docs
- [ ] once the package has been released to the GitHub Release page,
download the vsix file from the Release page and upload it to the
marketplace (see instruction below)
- [ ] Make the extension public
To upload the vsix package to the Marketplace:
1. Sign in with an admin account ( ask the visual studio team or
security team to add you to the sourcegraph org)
2. Go to the [cody-vs manage
page](https://marketplace.visualstudio.com/manage/publishers/sourcegraph/extensions/cody-vs/edit)
and click on the pencil icon to upload the vsix package you downloaded
from the GitHub Release page:
3. Update the Overview field with the updated README.md to remove
mentions of "Preview"
4. Submit the changes
5. To change it from preview to public, click on the Make Public button
in the [extensions manage
page](https://marketplace.visualstudio.com/manage/publishers/sourcegraph?src=sourcegraph.cody-vs):
---------
Co-authored-by: Kalan <51868853+kalanchan@users.noreply.github.com>
---
.github/workflows/release-preview.yml | 4 ++--
CHANGELOG.md | 7 ++++++-
README.md | 12 ++----------
docs/dev/Release.md | 4 ++--
docs/limitation.md | 2 +-
docs/qa/Testing.md | 12 ++++++------
src/Cody.VisualStudio/source.extension.vsixmanifest | 2 +-
src/build.cake | 2 +-
8 files changed, 21 insertions(+), 24 deletions(-)
diff --git a/.github/workflows/release-preview.yml b/.github/workflows/release-preview.yml
index f09f8796..205cec81 100644
--- a/.github/workflows/release-preview.yml
+++ b/.github/workflows/release-preview.yml
@@ -1,4 +1,4 @@
-name: Release Preview
+name: GitHub Release
on:
push:
@@ -40,7 +40,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
- release_name: Release Preview ${{ github.ref }}
+ release_name: Release ${{ github.ref }}
draft: false
prerelease: true
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bc3d4dfb..f0c40cb3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,13 +14,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
## Security
+## [0.0.4]
+
+### Added
+
+- Experimental release of [Cody for Visual Studio](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs) 🎉
+
## [0.0.3]
### Added
- "Cody Settings" in user options. [pull/118](https://github.com/sourcegraph/cody-vs/pull/118)
-
## [0.0.2]
### Added
diff --git a/README.md b/README.md
index 77058779..50753672 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,6 @@
# Cody for Visual Studio
-🚧 [Cody for Visual Studio](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs) is currently in private preview.
-
-**It is intended for testing purposes only and may not be suitable for production use.**
+Install [Cody for Visual Studio (Experimental)](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs).
## AI that uses your codebase as context
@@ -24,7 +22,7 @@ For example, you can ask Cody:
## Choose Your LLM
Cody offers a variety of large language models (LLMs) to power your chat experience.
-Cody Pro users can select the LLM they want to use for chat and experiment to choose the best model for the job. Choose from Claude 3.5 Sonnet,Claude 3 Opus, Claude 3 Sonnet, Claude 3 Haiku, GPT-4o, GPT-4 Turbo, GPT-3.5 Turbo, Google Gemini 1.5 Pro, Gemini 1.5 Flash, and Mixtral, while Cody Free users have access to the latest base models from Anthropic, OpenAI, Google, and Mixtral.
+Cody Pro users can select the LLM they want to use for chat and experiment to choose the best model for the job. Choose from Claude 3.5 Sonnet, Claude 3 Opus, Claude 3 Sonnet, Claude 3 Haiku, GPT-4o, GPT-4 Turbo, GPT-3.5 Turbo, Google Gemini 1.5 Pro, Gemini 1.5 Flash, and Mixtral, while Cody Free users have access to the latest base models from Anthropic, OpenAI, Google, and Mixtral.
Local models are also available through Ollama to both Cody Free and Cody Pro users. Simply download the model and run it in Ollama to use it in Cody chat.
Administrators for Sourcegraph Enterprise instances can choose between Claude and GPT models to set for their teams as well.
@@ -37,12 +35,6 @@ You can find detailed information about Cody's available plans [on our website](
### Feedback
-As the extension is currently in preview, here are what to expect:
-
-- You might encounter bugs or unexpected behavior
-- Features and user interface are subject to change
-- The extension has limited functionality compared to the VS Code extension
-
We appreciate your feedback as we work to improve Cody for Visual Studio. Please report any issues or suggestions through our official channels:
- Use the 👍/👎 buttons in the chat view to give feedback.
diff --git a/docs/dev/Release.md b/docs/dev/Release.md
index 6f248b59..04e57d8c 100644
--- a/docs/dev/Release.md
+++ b/docs/dev/Release.md
@@ -11,10 +11,10 @@ Follow these steps to publish a new release to the [Visual Studio Marketplace](h
1. **Coordinate with Marketing**: Contact the Marketing team in the Cody Slack channel approximately 2 days before the release to ensure a blog post is prepared.
2. **Update Extension Package Version**: Increment the version in [source.extension.vsixmanifest](../../src/Cody.VisualStudio/source.extension.vsixmanifest) and [CHANGELOG.md](../../CHANGELOG.md).
-3. **Commit the Version Changes**: Commit the version increment with a message with `git commit -m VS Code: Release vX.Y.Z`
+3. **Commit the Version Changes**: Commit the version increment with a message with `git commit -m Release vX.Y.Z`
4. **Create Pull Request**: Open a PR with the updated version.
5. **Tag the Release**: After the PR is merged (stable release only), create a git tag: `git tag vX.Y.Z`
-6. **Push the Tag**: Push the tag to the remote repository to trigger the [Release Preview workflow](https://github.com/sourcegraph/cody-vs/actions/workflows/release-preview.yml): `git push --tags`
+6. **Push the Tag**: Push the tag to the remote repository to trigger the [Release workflow](https://github.com/sourcegraph/cody-vs/actions/workflows/release-preview.yml): `git push --tags`
7. **Monitor Publication**: Once the workflow run is complete:
- The new version of the extension will be published to the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs).
- A release will be created on GitHub with the release notes.
diff --git a/docs/limitation.md b/docs/limitation.md
index 108fba70..54734318 100644
--- a/docs/limitation.md
+++ b/docs/limitation.md
@@ -1,6 +1,6 @@
# Known Limitations
-The extension is currently in preview:
+The extension is currently in experimental mode and has several limitations. The following list outlines the known limitations in the current version of the extension:
- You might encounter bugs or unexpected behavior
- Features and user interface are subject to change
diff --git a/docs/qa/Testing.md b/docs/qa/Testing.md
index 065736d5..520f1c46 100644
--- a/docs/qa/Testing.md
+++ b/docs/qa/Testing.md
@@ -1,6 +1,6 @@
# Testing Cody for Visual Studio
-**NOTE:** Cody for Visual Studio is currently in Preview and may have limited functionality compared to the VS Code version.
+**NOTE:** Cody for Visual Studio is currently experimental and may have limited functionality compared to the VS Code version.
This test plan outlines the comprehensive testing procedures for Cody in Visual Studio.
@@ -14,24 +14,24 @@ Before beginning the test plan, ensure you have:
- Supported versions: Community, Professional, and Enterprise
- [ ] A codebase with a Visual Studio solution file
- To create a new solution project, follow the instructions in the [Create a solution documentation](https://learn.microsoft.com/en-us/visualstudio/get-started/tutorial-projects-solutions?view=vs-2022#create-a-solution)
-- [ ] Preview version of [Cody for Visual Studio extension](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs) installed
+- [ ] Latest version of [Cody for Visual Studio extension](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs) installed
**IMPORTANT:** Cody requires an open solution in Visual Studio to provide context-aware responses. Ensure you have a solution project opened before testing Cody features.
-## Installing Cody for Visual Studio (Preview)
+## Installing Cody for Visual Studio (Experimental)
-To install the preview version of Cody for Visual Studio:
+To install Cody for Visual Studio from GitHub Release Page:
1. Visit the [GitHub Releases Page](https://github.com/sourcegraph/cody-vs/releases)
2. Download `Cody.VisualStudio.vsix` from the latest release's **Assets** section
3. Close `Visual Studio`
4. Double-click the downloaded file to install the extension
-As this is a preview version, you may encounter bugs or limitations. Please report any issues on the [GitHub repository](https://github.com/sourcegraph/cody-vs/issues).
+Please report any issues on the [GitHub repository](https://github.com/sourcegraph/cody-vs/issues).
### Public Release Version
-Once generally available, the extension will be on the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs).
+The extension is also available on the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-vs).
1. Open Visual Studio.
2. Go to `Extensions` > `Manage Extensions`.
diff --git a/src/Cody.VisualStudio/source.extension.vsixmanifest b/src/Cody.VisualStudio/source.extension.vsixmanifest
index c0c104c4..ff7c0b40 100644
--- a/src/Cody.VisualStudio/source.extension.vsixmanifest
+++ b/src/Cody.VisualStudio/source.extension.vsixmanifest
@@ -1,7 +1,7 @@
-
+
Cody for Visual Studio - AI Coding Assistant
AI coding assistant that uses search and codebase context to help you write code faster!
https://sourcegraph.com/cody
diff --git a/src/build.cake b/src/build.cake
index cef8cc08..d05f9a77 100644
--- a/src/build.cake
+++ b/src/build.cake
@@ -46,7 +46,7 @@ var nodeBinaryUrl = "https://github.com/sourcegraph/node-binaries/raw/main/v20.1
var nodeArmBinaryUrl = "https://github.com/sourcegraph/node-binaries/raw/main/v20.12.2/node-win-arm64.exe";
// The latest tag of the stable release from the cody repository https://github.com/sourcegraph/cody/tags
-var codyStableReleaseTag = "vscode-v1.38.1";
+var codyStableReleaseTag = "vscode-v1.40.0";
var codyBranch = Argument("cody-branch", codyStableReleaseTag);
var marketplaceToken = EnvironmentVariable("CODY_VS_MARKETPLACE_RELEASE_TOKEN");