diff --git a/docs/releases.mdx b/docs/releases.mdx index cdfdd9cb5..a733763b9 100644 --- a/docs/releases.mdx +++ b/docs/releases.mdx @@ -12,6 +12,7 @@ Currently supported versions of Sourcegraph: | **Release** | **General Availability Date** | **Supported** | **Release Notes** | **Install** | |--------------|-------------------------------|---------------|--------------------------------------------------------------------|------------------------------------------------------| +| 6.6 Patch 0 | June 2025 | ✅ | [Notes](https://sourcegraph.com/docs/technical-changelog#v660) | [Install](https://sourcegraph.com/docs/admin/deploy) | | 6.5 Patch 2 | June 2025 | ✅ | [Notes](https://sourcegraph.com/docs/technical-changelog#v652654) | [Install](https://sourcegraph.com/docs/admin/deploy) | | 6.5 Patch 1 | June 2025 | ✅ | [Notes](https://sourcegraph.com/docs/technical-changelog#v651211) | [Install](https://sourcegraph.com/docs/admin/deploy) | | 6.5 Patch 0 | June 2025 | ✅ | [Notes](https://sourcegraph.com/docs/technical-changelog#v650) | [Install](https://sourcegraph.com/docs/admin/deploy) | diff --git a/docs/technical-changelog.mdx b/docs/technical-changelog.mdx index 7e225c6d7..07bd55203 100644 --- a/docs/technical-changelog.mdx +++ b/docs/technical-changelog.mdx @@ -4,6 +4,345 @@ This page documents all notable changes to Sourcegraph. For more detailed change {/* CHANGELOG_START */} +# 6.6 Patch 0 + +## v6.6.0 + +- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v6.6.0) + +- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v6.6.0) + +- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v6.6.0) + +- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v6.6.0) + +### Features + +#### Batch Changes + +- enable new templates experience by default `(PR #6608)` +- enable forked repos flow for pushed-only changesets [gitlab only] `(PR #6342)` + - Enable forked repos flow for pushed-only changesets [gitlab only] +- enable forked repos flow for pushed-only changesets [github only] `(PR #6312)` + - Enable forked repos flow for pushed-only changesets [github only] +- new batch changes experience with templates `(PR #5966)` + - feat(batches): new batch changes experience with templates + +#### Deepsearch + +- Add separate diff search and compare revisions tools (SPLF-1114) `(PR #6332)` + +#### Ep + +- Improved left nav and consistent margins between internal pages `(PR #6165)` +- server side filtering for subscriptions listing `(PR #6090)` + +#### Multitenant + +- Load code host scopes in parallel `(PR #6681)` +- Layout improvements for the workspace setup `(PR #6624)` +- Add BitBucket Cloud setup UI `(PR #6535)` + +#### Release + +- Schema sync PR Generation `(PR #6340)` + - release: sync docs repo config files during release process +- Schema sync configuration system `(PR #6182)` + - feat(release): add schema syncing tool to keep docs repo schemas in sync with monorepo + +#### Search + +- Add grouping by repo or language to the inventory stats insight `(PR #6390)` +- add archived badge to repos that are archived on code host `(PR #6366)` +- (new web ui) Migrate saved searches to Svelte `(PR #5081)` + +#### Source + +- teams: bitbucket: enforce that username must be atlassian email address `(PR #6585)` +- Check token scopes when connecting bitbucket workspace `(PR #6570)` +- teams: gitlab: prevent setting PAT if token doesn't have sufficient scopes `(PR #6540)` +- gitlab: create GetPat method that can be used to get information about a PAT (including scopes) `(PR #6539)` +- Allow fetching Bitbucket Cloud connection username `(PR #6538)` +- teams: bitbucket cloud: make it possible to search / filter repo names without knowing query syntax `(PR #6505)` +- Implement Bitbucket Cloud workspace resolver `(PR #6476)` +- bitbucket - create multitenant service for connection management `(PR #6435)` +- add ListWorkspaceRepositories `(PR #6410)` +- add support for api tokens to bitbucket cloud client `(PR #6393)` + +### Fix + +#### Batch Changes + +- introduce workaround for batch changes users on fine-grained pats for github repos `(PR #6704)` + - Backport 9e232e27c2c1a19b69b01cea12ae0194fb7d4422 from #6656 +- only show examples in library pane `(PR #6577)` +- dont pass empty renderTemplate `(PR #6362)` +- restrict valid characters for batch spec template variable names `(PR #6265)` +- update schema link to public artifacts repo `(PR #6193)` + - fix(batches): update schema link to public artifacts repo + +#### Code Intelligence + +- Fix and prevent cases where local and global occurrences share a range `(PR #6563)` +- Don't mark global Go vars as locals in syntactic indexing `(PR #6537)` + +#### Cody + +- fix underline on hover for the Important Notice Banner `(PR #6246)` + +#### Deepsearch + +- Fix arrow up and down in follow ups `(PR #6616)` +- Fix commit search query structure `(PR #6551)` +- Reset scroll position when switching conversations `(PR #6482)` +- Cache system prompt `(PR #6459)` +- fix sidebar animation `(PR #6399)` +- Reset activeAnswerIndex when switching conversations `(PR #6398)` +- wrap content elements in container `(PR #6394)` +- follow up questions not working after a fresh load `(PR #6392)` +- fix external icon styling in sources `(PR #6379)` +- More UI refinements `(PR #6378)` +- Fix null byte parsing (SPLF-1216) `(PR #6348)` +- Sanitize JSON bytes before writing to Postgres (SPLF-1216) `(PR #6275)` +- ensure hidden sidebar buttons are not interactive `(PR #6262)` +- move revision label down on file sources and preview to another line `(PR #6135)` + +#### Dev + +- Fix new web app dev build `(PR #6322)` +- Fix react storybook `(PR #6321)` +- Fix client/web-sveltekit storybook `(PR #6314)` +- Add software-properties-common as prerequisit to sg setup `(PR #6191)` + +#### Ep + +- Improved tooltip readability for lightmode `(PR #6097)` + +#### Ep-Ui + +- fixed subscriptions list's width when loading `(PR #6474)` + +#### Insights + +- skip empty repos for inventory insights `(PR #6250)` + - fix(insights): skip empty repos for inventory insights + +#### Migrator + +- Remove links to sourcegraph/sourcegraph repo in drift summary `(PR #6463)` + - fix(migrator): remove private repo links in migrator drift output + +#### Msp/Otelcol + +- disable GCP resource detection override `(PR #6176)` + +#### Multitenant + +- Improve typography styles and colors on the create pages `(PR #6736)` +- Multitenant setup paper cuts `(PR #6578)` +- Do not show discount label if coupon isn't presented `(PR #6491)` + +#### Release + +- custom wolfi redis image `(PR #6548)` + - fix: package custom wolfi redis base image and package to include jemalloc + +#### Search + +- do not use workspace list API on unauth instance `(PR #6579)` +- Skip search contexts from deleted namespaces `(PR #6013)` + +#### Serch + +- fix dotcom again `(PR #6581)` + +#### Source + +- teams: fix width of error banner (#6702) `(PR #6706)` +- teams: github: have noConnectedAccountFoundError properly implement errcode.NotFounder (also fix gitlab token scopes) `(PR #6701)` +- teams: githubapp: make scopes use proper pagination `(PR #6677)` + - Backport a278c9287fd779ca9f26d10b2146e7c6cadfbcb3 from #6651 +- Specify bitbucket cloud pagelen `(PR #6671)` +- Rename manage installation to just manage `(PR #6640)` +- teams: github: drop suspended installations from list of scopes `(PR #6614)` +- fix image/attachment click handling in bitbucket server native integration `(PR #6590)` +- teams: bitbucket: return 0 scopes instead of error when credentials appear to be invalid `(PR #6588)` +- Fix Bitbucket Cloud cloning with API Tokens `(PR #6541)` +- Fix bug where workspace admins cannot manage GitLab repos `(PR #6520)` +- Handle spaces in depot file paths for Perforce `(PR #6337)` + +#### Others + +- 'Public code search' entry style `(PR #6611)` +- Update bazel file to include correct patch file `(PR #6603)` + +### Chore + +#### Batch Changes + +- add immediate sync after pushed-only changeset creation [gitlab only] `(PR #6525)` +- add immediate sync after pushed-only changeset creation [github only] `(PR #6368)` +- remove unnecessary comments `(PR #6333)` + - Remove unnecessary comments +- refactor to use AbbreviateRef instead of TrimPrefix for pushed-only changesets `(PR #6222)` + - refactor to use AbbreviateRef instead of TrimPrefix for pushed-only changesets +- add more backend telemetry for pushed-only changesets `(PR #6219)` + - Add more backend telemetry for pushed-only changesets + +#### Deepsearch + +- Add effect to resize text area `(PR #6699)` +- Don't include full system prompt for rawLLM operations `(PR #6688)` +- Don't include cache control for rawLLM calls `(PR #6687)` +- Add telemetry for rawLLM calls `(PR #6618)` +- Migrate diff_search tool to backend `(PR #6545)` +- Migrate compare_revisions tool to backend `(PR #6523)` +- Ensure valid tool call history for follow ups `(PR #6500)` + +#### Dev + +- Upgrade prettier and prettier svelte plugin `(PR #6473)` +- Upgrade sass `(PR #6291)` +- Upgrade to vite v6 `(PR #6273)` +- Cleanup client/web peer dependency warnings `(PR #6261)` +- Update @reach packages `(PR #6260)` +- Cleanup client/web-sveltekit peer dependencies `(PR #6258)` +- Upgrade fonts `(PR #6257)` +- Upgrade prettier format imports plugin `(PR #6256)` +- Standardize on @sourcegraph/ui `(PR #6070)` +- Upgrade Svelte version `(PR #6040)` +- Upgrade unplugin-icon and icon type definitions `(PR #6016)` + +#### Release + +- Update consts and stiched migration graph for 6.6 `(PR #6644)` + - NA - Internal change + +#### Release + +- cadvisor image default WARN log level `(PR #6516)` + - cadvisor image is now logging using WARN level by default + +#### Wolfi-Images/Cloud-Mi2 + +- upgrade nodejs to v22.17.0 `(PR #6417)` + +#### Others + +- Upgrade uikit to latest version `(PR #6576)` +- Fix some logspam `(PR #6470)` +- Use more standard site-admin check `(PR #6349)` +- CI removing upload to demo workflow `(PR #6225)` + - DINF-1196 has all details + +### Reverts + + There were no reverts for this release + +### Uncategorized + +#### Others + +- [Backport 6.6.x] Merge Cody ignore and context filters for both dotcom and enterprise `(PR #6749)` + - Backport c201fd4027ba118b2c8a0cd089003638f13db429 from #6593 +- [Backport 6.6.x] Update Cody Web to 0.33.0 `(PR #6737)` +- [Backport 6.6.x] Use iterator methods for filtering `(PR #6672)` +- Removes DeepSearch from pricing table on free tier `(PR #6641)` +- UI fix on workspaces.sourcegraph.com for users with no workspace but able to join `(PR #6613)` +- Update copy on confirmation modal to be code-host agnostic `(PR #6610)` +- Adjust new dot com specific UI `(PR #6602)` +- Feat(deep search): Implemented dotcom gating for deepsearch `(PR #6589)` + - +- zoekt: try to reduce memory usage of zoektFileMatchToMultilineMatches `(PR #6561)` +- msp: support custom OTEL config `(PR #6557)` +- sg/msp: support single-env ops docs `(PR #6554)` +- ep: warn when trying to add sourcegraph user `(PR #6531)` +- chore(batches) add new test to ensure pushed-only changesets can transition to published state `(PR #6529)` +- workspaces: ignore workspace-not-found on deletion `(PR #6528)` +- feat(deepsearch) - CORE-1181: Added QuotaUsage information to HandleRetrieveDeepSearchs response `(PR #6527)` + - Added QuotaUsage information to HandleRetrieveDeepSearchs +- Improves the UI and copy of the PlanPage for workspaces `(PR #6522)` +- Add dot com UI for 6.6 `(PR #6521)` +- Reduce output verbosity of SCIP groundtruth targets `(PR #6518)` +- chore(deep search): migrated `commit_search` tool to server `(PR #6508)` +- [CORE-1158] deepsearch: Added store for quota checks `(PR #6506)` + - Added store layer for tracking deep search queries +- gitlab: Gracefully handle bad token when listing scopes `(PR #6495)` +- gitab: Add all repos scope resolver `(PR #6494)` +- bug(deep search): replaced compaction and turn limit with token limit `(PR #6485)` + - Replaced turn limits in deep search with a token limit +- doc: Update architecture diagram svg `(PR #6458)` +- ep: more copy fixups `(PR #6457)` +- Re-add missing system prompt `(PR #6455)` +- deepsearch: add stub gating.Provider for DS metering/enforcement `(PR #6443)` +- web: Fix eslint not picking up changes to GQL `(PR #6439)` +- idp: Advertise PKCE support in OIDC discovery `(PR #6434)` +- ep: branding tweaks `(PR #6418)` +- ep: add backend usage telemetry `(PR #6415)` +- cody-gateway: add sg_actor_id, sg_actor_anonymous_uid for rate-limited events `(PR #6414)` +- Add query logging to private metadata for search.submit events in sve… `(PR #6397)` +- ep: fix analytics enablement instructions `(PR #6396)` +- ep: slight copy fixups `(PR #6391)` +- oidc: Fix empty displayName and improve claim precedence `(PR #6388)` +- Adds new UI for template experience `(PR #6387)` +- feature(release): improve schema syncer tool json output `(PR #6369)` + - feature(release): improve the schema marshalling in the release schema syncher tool +- Update Cody Web to 0.32.9 in react web app `(PR #6360)` +- web: Fix eslint autofixable errors `(PR #6357)` +- ep: show button for Entitle link on internal pages to sourcegraph teammates `(PR #6345)` +- dotcom, workspaces: shut down cody after codyprosunset.SunsetDate `(PR #6343)` +- workspaces: remove price reference to Cody Pro `(PR #6335)` +- dotcomgating: support siteconfig fallback for SAMS options `(PR #6311)` +- completions: remove 'cody.completions:complete' event `(PR #6310)` +- cody: remove token-usage manager `(PR #6309)` +- Added license key lookup page `(PR #6307)` +- source: Add workspace functions for Bitbucket Cloud client `(PR #6298)` +- Update Cody Web to 0.32.9 `(PR #6296)` +- gateway: Drop benchmarking endpoints `(PR #6287)` +- dotcom: Implement dotcom gating provider `(PR #6286)` +- workspaces: Set up for Teams name change `(PR #6284)` +- completions: only record disabled reasons in trace `(PR #6282)` +- gateway: support OpenAI models for autocomplete `(PR #6272)` +- multitenant(fix): Fix workspaces and instance internal debug pages UI `(PR #6263)` +- idp: Show UIs by default `(PR #6245)` +- dotcom: update Enterprise Starter CTA to omit AI stuff `(PR #6240)` +- Fede/ep UI fix left nav `(PR #6230)` +- CI: remove scip-go upload to demo.sourcegraph.com `(PR #6220)` + - [https://sourcegraph.slack.com/archives/C04MYFW01NV/p1750800014304569](https://sourcegraph.slack.com/archives/C04MYFW01NV/p1750800014304569) + + ``` +Run src code-intel upload -github-token='***' -no-progress -repo=github.com/sourcegraph/sourcegraph +💡 Inferred arguments + repo: github.com/sourcegraph/sourcegraph + commit: 552dc9[1](https://github.com/sourcegraph/sourcegraph/actions/runs/15861555759/job/44720169430?pr=6219#step:9:1)055580be3a0c021e40aacf0977710f1e1 + root: dev/ci/images + file: index.scip + indexer: scip-go + indexerVersion: 0.1.24 +unexpected status code: 404 (failed to authorize request: repo not found: name="github.com/sourcegraph/sourcegraph") +Error: Process completed with exit code 1. +``` +- Polished EP UI `(PR #6207)` +- completions/aws-sdk-compatibility `(PR #6198)` +- feat(deep search): single URL for deepsearch [SPLF-1207] `(PR #6181)` + - Deep search URLs are now directly shareable +- msp/otelcol: use googlecloud exporter for metrics `(PR #6171)` +- idp: Add consent notification emails `(PR #6141)` +- txemail: Add interface to make mocking nicer `(PR #6140)` +- Removes dot from create workspace button `(PR #6139)` +- Style Fixes homepage `(PR #6138)` +- Add Cody Deprecation Notice `(PR #6103)` + - Cody will be deprecated on July 23rd 2025. +- dotcom: remove Cody from footer link `(PR #6076)` +- fix(dev infra): add dev proxy request cancellation propagation `(PR #6075)` +- Update sensitive metadata allowlist `cody.autoedit` events to include `languageId` `(PR #6073)` +- enterpriseportal/iam: document problems with schema `(PR #6069)` +- fix(deep search): preserve conversation title on update `(PR #6029)` +- Reduce local syntactic replicas, improve codeintel run configuration `(PR #5742)` + +{/* RSS={"version":"v6.6.0", "releasedAt": "2025-07-24"} */} + + # 6.5 Patch 2 ## v6.5.2654