Sourcegraph self-hosted 6.12.0
New Sourcegraph changelog
Say hello to the brand new Sourcegraph changelog. [...]
Deep Search sidebar
Interact with Deep Search while browsing code. [...]
Deep Search in Slack
Ask questions about your codebase directly in Slack with the Sourcegraph Slack integration. [...]
Frictionless MCP server setup
The Sourcegraph MCP server, and our new Deep Search tools, can now be connected via OAuth to your AI agents with minimal configuration required. [...]
Refreshed Sourcegraph administration dashboard
The Sourcegraph administration pages are getting a makeover. [...]
Deep Search entitlements
Per-user Deep Search usage limits can now be applied using entitlements. [...]
GitLab OAuth for Batch Changes
A more secure credentials mechanism for Batch Changes in GitLab. [...]
A rebuilt Sourcegraph UI
The Sourcegraph UI has been completely rewritten in SvelteKit for improved performance and development velocity. [...]
Details
Improvements
- Deep Search Enable streaming by default
Deep Search now streams results as they become available.
- Deep Search Improve mermaid diagram theming and generation
- Deep Search Enable dynamic auto-resizing for prompt input
The Deep Search input now dynamically grows as users type or paste content.
- Deep Search Enable Deep Search entitlements by default
Site admins can now set per-user Deep Search usage limits through entitlements: classes of usage limits that can be assigned as a global default, or to specific users.
- Deep Search Unify sources container with citations
Deep Search backend sources are now rendered after citations in collapsible sections within a unified sources container.
- Deep Search Add thinking support for Gemini 3 Pro
- Deep Search Add Slack bot integration
Added Slack bot integration for Deep Search. To get set up, go to Site Admin → Slack integration.
- Code Intel Categorise indexes by "User uploads" and "Auto-indexing"
- Administration Rename 'Site admin' to 'Administration'
The site admin page is now simply titled "Administration".
- Administration Update organizations page layout
Site admin organizations page now uses the standard page container design.
- Administration Support GitHub App configuration via EXTSVC_CONFIG_FILE
GitHub Apps can now be configured via the declarative config file with secure handling and storage of private keys
- Administration Introduce notifications widget and reworked dashboard
Introduces a new notification widget that replaces the site-wide banners on Sourcegraph, as well as a new site-admin dashboard that shows notifications, as well as some suggestions on what admins can do to manage their instance.
- Analytics Improve accuracy of site.User.lastActiveAt
- Cody Add Gemini 3 Flash
- Cody Web Upgrade Cody Web to 0.38.0
Fixed context retrieval bug when using remote file mentions and chat UI flickering
- Executors Add option to skip TLS verify
Added option to skip TLS verification for executors talking to Sourcegraph via
EXECUTOR_FRONTEND_TLS_SKIP_VERIFY - Observability Add alert for repository cleanups failing consistently
Alert when repository cleanups fail consistently
- Permissions Display total user count on repository permissions page
The repository permissions page now displays the total count of users who have access to the repository.
- Security Add audit logs for repository reclone and deleteFromDisk
Fixes
- Deep Search Fix default value for streaming
- Deep Search Add stats to turns when streaming
- Deep Search Generate conversation title only once
Fix history panel displaying the last question's title instead of the conversation title by generating conversation title only on the first question.
- Deep Search Link to answer instead of question
Links now point to answers instead of questions. This resolves confusion where the link pointed to the question but the copy button was part of the answer card. Old links continue to work because the question anchor is preserved in the code.
- Deep Search Fix tab title updates when switching between conversations
The tab title is now correctly updated when switching between DeepSearch conversations and then navigating away and back to DeepSearch.
- Deep Search Return full commit hash in permalinks
Permalinks now use full commit hashes instead of abbreviated ones.
- Deep Search Prevent star/unstar actions for conversation viewers
The star button is no longer rendered for non-owners, eliminating the confusing behavior where changes appeared to work but were reverted on refresh.
- Deep Search Fix background color inconsistency in follow-up form
- Deep Search Show errors when conversation creation fails
Conversation creation failures now display error messages instead of hanging indefinitely in a loading state
- Deep Search Fix suggestion UI font styles and feedback modal spacing
- Fixed Deep Search suggestions to display with correct font styles
- Fixed Feedback modal to have proper spacing and close button styling
- Deep Search Increase input size for better visibility
Increased the deep search input size from one line to multiple lines for improved usability.
- Deep Search Fix flaky redis broker tests
- Deep Search Fix active question detection
Fixed loading skeleton and sources to reflect the currently viewed question's state instead of a global "is anything searching" state
- Code Search Fix file search result content not updating in certain situations
Fixed file search result content not updating when filtering results in certain situations where truncated content caused stale data to be displayed
- Code Search Disable implicit repo name search when
repo: filteris presentRepository name matches are excluded from search results when a
repo:filter is present without an explicittype:filter. Users can still search repository names by addingtype:repo. - Code Nav Implement tree-sitter based CSS/SCSS extraction
Switch from plain ctags to tree-sitter for analyzing symbols in CSS and SCSS files. The result is more predictable parsing, no comment blocks leaking into the symbols sidebar, and css variables showing up as symbols.
- Code Intel Fix race condition in SCIP upload processing
- Batch Changes Reduce query complexity of github requests to save tokens
Reduced the complexity of GitHub GraphQL queries for syncing changesets to reduce token consumption
- Batch Changes Count READONLY changesets as CLOSED in stats
READONLY changesets are now counted as CLOSED in batch change statistics, fixing a discrepancy between the burndown chart and summary stats.
- Batch Changes Fix spacing on start page
- Administration Display presentation error on user creation failure
Improve error message clarity when user creation fails in site admin
- Administration Remove duplicate Users subtitle in site admin overview
- Administration Only set additionalProperties to false where it isn't explicitly true
- Authentication Fix GitHub App configuration content flickering and undefined error display
- Authentication Show clearer error when external account already in use
Error messages are now clearer when attempting to connect an external account that is already in use by another Sourcegraph account
- Authentication Fix scrolling on device flow and auth consent pages
Addresses an issue where the OAuth consent pages did not allow to scroll down to the action buttons.
- Code Insights Fix combobox UI in repositories field
- Code Insights Fix job mobile UI layout
Code insights job UI now displays correctly on mobile devices.
- Code Insights Remove hardcoded repo fallback from getting started page
- Database Fix AWS RDS connection panic when updating IAM credentials fail
In 6.11 our experimental AWS RDS IAM Auth would panic if we failed to refresh the token. We now correctly treat this as an error to log and retry.
- Observability Fix alerts documentation paths in alert notifications
Fix broken links to alerts reference in alert notifications for customers on the latest release.
- Observability Fix alert doc URL fragment identifiers to preserve underscores
- Permissions Fix permission sync scheduler edge case causing excessive job enqueueing
Fixed an edge case where the permission sync scheduler would excessively enqueue jobs when old completed jobs existed in the database
- Repositories Remove stale temporary files from repo directories
Temporary files are now cleaned up from repository directories, reducing disk space usage.
- Repositories Don't ping code host on every page load
- Repositories Fix Azure DevOps connection check for non-azure URLs
- UI Avoid content shift on webhooks page
- VSCode Correctly extract remote branch name when it differs from local
- Service Accounts Decouple access token life-cycle from creator
Fixed an issue where a service account's access tokens would be deleted when the site admin that created the access tokens for the service account got deleted.
Removed
- Code Intel Disallow creation of custom auto-indexing policies by default
Custom indexing policies are now disabled by default. The
codeIntelAutoIndexing.policyManagementEnabledconfiguration can be used to re-enable support. - Administration Remove setup wizard
Removed the repository setup wizard as it is no longer up to date with code hosts. Site admins are encouraged to add repositories via the "Code Host Connections" section of the site admin page.
- API Remove 'x-requested-with' header requirement and format
- Cody Remove Haiku and Sonnet 3.5
Anthropic deprecated Sonnet 3.5 and Haiku 3.5. These models are no longer available in Cody. Make sure to upgrade to a recent Cody client release to ensure all features are still functional.
- Inference Deprecate Sonnet 3.7 and Sonnet 4
- UI Remove Svelte/React app switching