Releases: sourcegraph/cody
Cody for VS Code 0.16.2
✨ See the What’s new in v0.16 blog post for what’s new in this release since v0.15 ✨
What's New in This Release
- "Ask Cody to Generate" or the "Edit" command now stream incoming code directly to the document when only inserting new code by @umpox in #1883
- New chat preview models
claude-2.1
is now avaliable for sourcegraph.com users by @abeatrix in #1860 - Added context-aware code actions for "Generate", "Edit" and "Document" commands by @umpox in #1724
- @'ing files now uses a case-insensitive fuzzy search by @toolmantim in #1889
- Added a faster, more optimized response for the "document" command by @umpox in #1900
- Restore the last opened chat panel on reload by @abeatrix in #1918
- Dynamically switch to multiline completions by @valerybugakov in #1894
Improvements
- Display OS specific keybinding in chat welcome message by @abeatrix in #2051
- Embeddings indexes can be generated and stored locally in repositories with a default fetch URL that is not already indexed by sourcegraph.com through the Enhanced Context selector by @dominiccooney in #2069
- Support chat input history on "up" and "down" arrow keys again by @abeatrix in #2059
- Decreased debounce time for creating chat panels to improve responsiveness by @abeatrix in #2115
- Fix infinite loop when searching for symbols by @toolmantim in #2114
- Speed up chat panel debounce with trigger on leading edge too by @toolmantim in #2126
- Fix message input overlapping with enhanced context button by @toolmantim in #2141
- Inline Chat will soon be deprecated in favor of the improved chat and command experience. It is now disabled by default and does not work when the new chat panel is enabled by @abeatrix in #1797
- Updated the design and location for the
chat submit
button andstop generating
button by @abeatrix in #1782 - Commands: The Custom Commands Menu now closes on click outside of the menu. by @abeatrix in #1854
- Remove the frequency of unhelpful autocompletions by @philipp-spiess in #1862
- Chat: The default chat model
claude-2
has been replaced with the pinned versionclaude-2.0
by @abeatrix in #1860 - Improved the response consistency for edits. Incoming code should now better match the surrounding code and contain less formatting errors by @umpox in #1892
- Editor title icon will only show up in non-readonly file editor views by @abeatrix in #1909
- Include text in dotCom chat events by @abeatrix in #1910
- Replaced vscode links with custom "cody.chat.open.file" protocol when displaying file names in chat by @abeatrix in #1919
- Change "Restart Chat Session" icon and add a confirmation by @toolmantim in #2002
- Remove top-level
charCount
from completion events by @valerybugakov in #1785
Fixes
- Uses the new Chat UI by default by @abeatrix in #2079
- Inline Chat is now deprecated and removed by @abeatrix in #2079
- Fixup Tree View is now deprecated and removed by @abeatrix in #2079
- Enhanced Context used to turn off automatically after the first chat. Now it stays enabled until you disable it by @dominiccooney in #2069
- Reuse existing New Chat panel to prevent having multiple new chats open at once by @abeatrix in #2087
- Close the Enhanced Context popover on chat input focus by @toolmantim in #2091
- Show onboarding glowy dot guide until first time opening Enhanced Context by @toolmantim in #2097
- In 0.12, we simplified the sign-in process and removed the option to sign into Cody App from VS Code. If you were still signed in to Cody App, we invite you to sign in to Sourcegraph.com directly. The extension will do this automatically if possible but you may need to sign in again. If you have set up embeddings in Cody App, VS Code will now search your local embeddings automatically: You no longer need to have the Cody App open. Note, the sidebar chat indicator may say embeddings were not found while we work on improving chat by @dominiccooney in #2099
- Expose commands in the VS Code command palette and clean up the context menu by @toolmantim in #2109
- Style and UX improvements to the search panel by @toolmantim in #2138
- Reduce size of chats list blank copy by @toolmantim in #2137
- Update message input placeholder to mention slash commands by @toolmantim in #2142
- Fix leaky XML tags by @umpox in #1789
- Resolve editor when getting doc context by @abeatrix in #1793
- Chat history handling in ChatPanelProvider by @abeatrix in #1826
- Race condition when opening chat panel by @abeatrix in #1836
- Fix flaky completion test and clean up console by @philipp-spiess in #1864
- Use a tracked
originalRange
when retrying a task by @umpox in #1926 - Backspace and delete keys to remove character by @abeatrix in #1906
- Aligns chat pop-up selection style by @abeatrix in #1962
- Display sorted commands in ui by @abeatrix in #1998
- Handle chat command selection logic by @abeatrix in #1980
- Fix edit command palette by @umpox in #2004
- Only affix non-whitespace changes to ranges by @umpox in #2005
Full Changelog: vscode-v0.16.1...vscode-v0.16.2
Cody for VS Code 0.16.1
Patch bump to include autocomplete improvements
Cody for VS Code 0.16.0
✨ See the What’s new in v0.16 blog post for what’s new in this release ✨
What's New in This Release
Completions and Autocomplete
- Fixed duplicate InlineCompletionItemProvider bug (#1579 by @umpox)
- Removed unused enableExtendedTriggers flag (#1647 by @philipp-spiess)
- Added initial prompting for Mistral 7b (#1671 by @philipp-spiess)
- Added feature flag for Sourcegraph specific Fireworks setup (#1670 by @philipp-spiess)
- Migrated retrieval strategies to new API (#1682 by @philipp-spiess)
- Implemented top-k retrieval mixing and made section history a retriever (#1705 by @philipp-spiess)
- Implemented a variant of RRF for retrieval mixing (#1710 by @philipp-spiess)
- Prepared mixed retrieval examples (#1752 by @philipp-spiess)
Editing
- Fixed recursive diff expansion bug (#1621 by @umpox)
- Made code action fixes faster (#1639 by @umpox)
- Improved quality by adding related fix context when available (#1723 by @umpox)
- Fixed flickering code lens for autoSave users (#1767 by @umpox)
Interfaces
- Added Cody search panel (#1546 by @beyang)
- Cleaned up login page styles (#1708 by @toolmantim)
Chat & Commands
✨ Set cody.experimental.chatPanel
to enable the new experimental Chat UI!
- Updated chat panel icon (#1727 by @iswarmondal)
- Added a dropdown menu for selecting a different LLM model for chat (#1676 by @abeatrix)
- Added contextual file passing in chat via @ (#1631 by @abeatrix)
- Updated context file display widget (#1706 by @abeatrix)
- Add a new option that allows users to toggle on or off the addition of codebase context for each question (#1738 by @abeatrix)
- Commands and Custom Commands now support user input that follows the command name as additional instruction (#1731 by @abeatrix)
Other Fixes
- Fixed GitHub SSH URL parsing (#1574 by @deepak2431)
- Updated FixUp retry instruction text (#1615 by @deepak2431)
- Fixed stop generating error (#1668 by @umpox)
- Fixed chat history view (#1703 by @deepak2431)
- Fixed keyboard shortcuts with Ctrl key (#1690 by @abeatrix)
- Removed blank task list entries (#1697 by @kalanchan)
Infrastructure
- Updated dependencies (#503 by @renovate)
- Converted issue templates to forms (#1628 by @kalanchan)
- Added PRD issue template (#1616 by @kalanchan)
Cody for VS Code 0.14.5
Version bump to fix critical UI bug and Starcoder experiments
See v0.14.3 for latest developments and changes.
Cody for VS Code 0.14.4
VS Code: Release 0.14.4 (#1618) Version bump. ## Test plan <!-- Required. See https://docs.sourcegraph.com/dev/background-information/testing_principles. --> Include a fix for a disruptive UI bug.
Cody for VS Code 0.14.3
✨ See the What’s new in v0.14 blog post for what’s new in this release ✨
What's New
- Source tracking for recipe execution (#1467) by @abeatrix
- Notification on first code completion acceptance (#1397) by @DanTup
- Formatting code actions and ability to skip (#1582) by @umpox
Improvements
- Refactored transcripts to include prompt by default (#1479) by @abeatrix
- Updated telemetry SDK (#1192) by @bobheadxi
- Enhanced autocompletion with additional intents (#1457), #1490 by @valerybugakov
- Added icons and enablement for commands (#1510) by @abeatrix
Fixes
- Smart selection now works on first line (#1508) by @abeatrix
- Transcripts now saved on chat abort (#1550) by @abeatrix
- Heading styles and code colors in chat (#1528) by @toolmantim
- Custom command menu with single command (#1532) by @toolmantim
Full changelog: https://github.com/sourcegraph/cody/compare/v0.14.2...v0.14.3
Cody for VS Code 0.14.2
✨ See the What’s new in v0.14 blog post for what’s new in this release ✨
What's Changed
Autcomplete
- Remove test file by @philipp-spiess in #1428
- Update the outdated setting description by @valerybugakov in #1430
- Log which retrieval strategy is used by @philipp-spiess in #1436
- Add
// only
support totree-sitter
snapshot tests by @valerybugakov in #1450 - Fix suggest item race condition by @philipp-spiess in #1477
- Update post process logic for claude instant by @abeatrix in #1440
Chat
Commands
- Explain code action: Always send to sidebar by @umpox in #1427
- Use selectionRange in edits when available by @abeatrix in #1429
- Auto format code after applying edits by @abeatrix in #1441
- Only apply formatting changes to a range, and clean the undo stack by @umpox in #1445
Misc
- Update dependency @vscode/test-web to ^0.0.47 by @renovate in #890
- BFG: add new graph context engine by @olafurpg in #1232
- BFG: clean up logging by @olafurpg in #1433
- BFG: use RFC 795 naming conventions by @olafurpg in #1437
- Remove empty file that's failing ESLint checks by @olafurpg in #1432
- Enable feature flag checking for non dotcom instances by @philipp-spiess in #1435
- Agent: exist process when stdout/stdin close by @olafurpg in #1439
- Move Chromium installation into install-deps so "pnpm test:e2e" works on Windows by @DanTup in #1395
- Pass the sourcegraph url to symf by @beyang in #1373
- Agent: add new
git/codebaseName
request by @mkondratek in #1425 - Update dependency @sourcegraph/eslint-config to v0.37.1 by @renovate in #1468
- DX: fix eslint errors caused by the config upgrade by @valerybugakov in #1471
- Agent: fix
git/codebaseName
request by @mkondratek in #1473
New Contributors
- @mkondratek made their first contribution in #1425
Full Changelog: vscode-v0.14.1...vscode-v0.14.2
Cody for VS Code 0.14.1
✨ See the What’s new in v0.14 blog post for what’s new in this release ✨
What's changed?
Autocomplete
- Remove accidental console log in e2e test #1312 by @akalia25
- Restructure tree-sitter related modules #1307 by @valerybugakov
- Add Go tree-sitter query for multiline truncation #1311 by @valerybugakov
- Add single completion trigger queries #1259 by @valerybugakov
- Add feature flag for syntactic triggers #1318 by @valerybugakov
- Rudimentary Python LSP graph context #1245 by @philipp-spiess
- Make string distance filters more lenient #1320 by @philipp-spiess
- Add StarCoder context window experiment #1365 by @philipp-spiess
- Mark Fireworks provider as stable #1363 by @philipp-spiess
- Implement client-side timeouts #1355 by @philipp-spiess
- Fix Fireworks multi-line timeouts #1381 by @philipp-spiess
- Add feature flags to disable network cache #1409 by @philipp-spiess
Fixup Recipes
- Adding Smart Selection #1317 by @arafatkatze
Inline Chat
Benchmarking
Misc
- Refactor smart doc section, edge cases #1314 by @philipp-spiess
- Unit test matrix #1315 by @philipp-spiess
- Logging improvements #1316, #1331 by @abeatrix
- UI refinements #1374 by @dominiccooney
- Evaluate TypeScript dataset #1334 by @taras-yemets
Full Changelog: vscode-v0.14.0...vscode-v0.14.1
Cody for VS Code 0.14.0
✨ See the What’s new in v0.14 blog post for what’s new in this release ✨
What's Changed
- Cody: Fix first command not executing in the sidebar by @umpox in #1243
- Whoops by @philipp-spiess in #1250
- revert pull/1248 by @abeatrix in #1251
- Code Action: Allow enabling/disabling and improve ranking of explain by @umpox in #1211
- Log platform version by @philipp-spiess in #1254
- refactor: expand code action range by @abeatrix in #1163
- Show notice on first autocomplete by @toolmantim & @DanTup in #1071
- Autocomplete: add
stopReason
to completion events by @valerybugakov in #1261 - Update changelog with 0.12.x onboarding changes. by @dominiccooney in #1260
- Autocomplete: Throttle lang server requests for LSP graph context by @philipp-spiess in #1263
- Autocomplete: Enable completeSuggestWidgetSelection by default by @philipp-spiess in #1262
- change: remove fixup display in chat and history by @abeatrix in #1220
- fix: set display text for typewriter by @abeatrix in #1270
- Agent: fix Windows issues by @olafurpg in #1264
- fix: doc command by @abeatrix in #1273
- Autocomplete: Simplify injected prefix handling and fix logging issue by @philipp-spiess in #1255
- Autocomplete: add
autocomplete.languages
user setting by @valerybugakov in #1290 - Remove .com from enterprise login options by @toolmantim in #1286
- Only show "Ask Cody Inline" context menu item when signed in by @toolmantim in #1281
- fix: doc prompt improvements by @toolmantim in #1198
- Don't show completion notice for existing installs by @DanTup in #1293
- fix: preamble leak for anthropic by @abeatrix in #1274
- add event logging validation to inline test by @akalia25 in #1295
- Autocomplete: remove
console.log
s by @valerybugakov in #1304 - VScode: Move onboarding control group onto simplified onboarding by @dominiccooney in #1301
- VScode: Show Cody on first install by @dominiccooney in #1299
- Agent: disable tree-sitter setting by @olafurpg in #1296
- Autocomplete: add multiline truncation unit test by @valerybugakov in #1303
- Detect more test files by @philipp-spiess in #1297
- change: add latency gradually by @abeatrix in #1269
- Autocomplete: Remove outdated embeddings config by @philipp-spiess in #1308
- VS Code: Release 0.14.0 by @philipp-spiess in #1310
New Contributors
Full Changelog: vscode-v0.12.4...vscode-v0.14.0
Cody for VS Code 0.12.4
What's New
Improvements
- New "/doc" command to view documentation with smart selection by @abeatrix (#1116)
- Visual feedback on code block action clicks by @abeatrix (#1173)
- Faster autocompletion powered by tree-sitter by @valerybugakov (#1172)
- Manual autocompletion trigger by @dominiccooney (#1215)
- Bookkeeping to reuse completion IDs by @philipp-spiess (#1230)
Fixes
- Remove params from verbose error logging by @abeatrix (#1205)
- Don't trigger autocomplete on closing characters by @philipp-spiess (#1218)
- Fix transcript order by @philipp-spiess (#1247)
Other
- Unify fixup and refactor commands/events by @abeatrix (#1186)
- Rename "Refactor Code" to "Edit Code" by @toolmantim (#1200)
- New contributors @szymonprz (#1222)
See the full changelog for details.
New Contributors
- @szymonprz made their first contribution in #1222
Full Changelog: vscode-v0.12.0...vscode-v0.12.4