Skip to content

Commit

Permalink
Release 0.4.0 (#128)
Browse files Browse the repository at this point in the history
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:
<img width="1136" alt="image"
src="https://github.com/user-attachments/assets/0c45298e-e453-4289-aa8a-984f415466b1">
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):
<img width="957" alt="image"
src="https://github.com/user-attachments/assets/9c38e2f5-66b1-41b9-8084-6a51bf08c7c4">

---------

Co-authored-by: Kalan <51868853+kalanchan@users.noreply.github.com>
  • Loading branch information
2 people authored and Tomasz Gołębiowski committed Dec 11, 2024
1 parent 9f961de commit 0a8c754
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-preview.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Preview
name: GitHub Release

on:
push:
Expand Down Expand Up @@ -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

Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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.
Expand All @@ -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 <kbd>👍</kbd>/<kbd>👎</kbd> buttons in the chat view to give feedback.
Expand Down
4 changes: 2 additions & 2 deletions docs/dev/Release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/limitation.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 6 additions & 6 deletions docs/qa/Testing.md
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -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`.
Expand Down

0 comments on commit 0a8c754

Please sign in to comment.