Sourcegraph 6.12.3032

This is a patch release for Sourcegraph 6.12.

Details

Fixes

  • Branding Restrict custom brand logo sizes

Sourcegraph 6.12.2541

This is a patch release for Sourcegraph 6.12.

Details

Improvements

  • Batch Changes Allow all users to filter batch changes by user

    All users can now filter batch changes by user, not just site administrators. The current user appears at the top of the user filter list for easy access to their own batch changes.

Fixes

  • Code Nav Properly URL-encode file paths in external links

    Fixed "View on code host" button to properly escape % characters in file paths when generating external links.

  • Code Insights Use same fork/archive defaults for preview

    Code Insight preview results now exclude archived and forked repositories by default, matching the backend behavior present since 3.40.

  • Worker Gitlab: classify http2 stream errors as temporary

    Repository permissions are no longer dropped when encountering HTTP/2 stream cancellation or "internal error" from the upstream GitLab code host. Instead, existing permissions are preserved and the permissions sync is retried later.

Sourcegraph 6.12.1792

This is a patch release for Sourcegraph 6.12.

Details

Fixes

  • Deep Search Fix URL mangling when external URL already present

    Fixed an issue where URLs containing the external URL would be incorrectly mangled, resulting in duplicate domain paths

  • Deep Search Do not add external host if already present

    Fixed invalid links in deepsearch markdown content that contained the host twice

  • TLS Fix TLS config not applied to HTTP client

    Fixed TLS configuration not being applied to HTTP client, causing OAuth authentication failures.

Sourcegraph 6.12.1287

This is a patch release for Sourcegraph 6.12.

Details

Fixes

  • Administration Fix site config certificate regex

    Fixed TLS certificate validation via regular expressions in site config

Sourcegraph 6.12.1271

This is a patch release for Sourcegraph 6.12.

Details

Fixes

  • Deep Search Fix edge case where question cancellation state is not respected

    Fixed an edge case where Deep Search questions did not respect cancellation state from the database, preventing them from continuing indefinitely after being cancelled.

  • Deep Search Stop infinite loop if tool parsing fails

    Fixed infinite loop in DeepSearch when LLM tool argument parsing fails during streaming by properly propagating errors to internal callers

  • Deep Search Add 50s timeout on MCP Deep Search query and give agent guidance to poll

    MCP deepsearch queries on the old .api/mcp/v1 and new .api/mcp endpoints will now time out after 50 seconds to avoid Cloudflare connection timeouts. Queries exceeding this timeout return a link so agents can track completion and inform users where to follow progress.

  • Repositories Improve resilience of git clone process
    • Fixes a log spam issue where EnsureRevision calls would logspam "failed to perform background repo update" when a scheduled repo update is already running.
    • Fixes an issue where EnsureRevision would incorrectly increase the update failure counter on a repository if a scheduled fetch is already running.
    • Fixes an issue where log output from Fetch could cause a Fetch to stall forever because the reader silently errored.

Sourcegraph 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 Add keyboard navigation to Deep Search history sidebar

    Deep Search history sidebar can now be navigated using arrow keys.

  • 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 sidebar to blob view

    Deep Search sidebar is now available in the blob view for enhanced code exploration.

  • 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 Add collapsible sidebars

    Navigation sidebars in site admin pages now support collapsible sections with localStorage persistence

  • 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 Use correct icon color variable for submit button

    Fixed submit button icon visibility in Deep Search

  • 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 Render branded logos on search homepage and global navigation

    Fixed branded logos not appearing on the search homepage and in the global navigation when configured.

  • Code Search Disable implicit repo name search when `repo: filter` is present

    Repository name matches are excluded from search results when a repo: filter is present without an explicit type: filter. Users can still search repository names by adding type: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 Fix push authorization for credentials with SSH key
  • 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 Fix site admin navigation highlighting for batch specs

    Fixed incorrect navigation highlighting in site admin where 'Settings' was highlighted instead of 'Batch specs'.

  • 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
  • Security Limit HTML tags for error rendering
  • UI Preserve input focus during URL navigation
  • 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.policyManagementEnabled configuration 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
  • Updates Remove autoupgrade toggle selector and readiness banner

    Removed autoupgrade toggle selector and readiness banner as part of autoupgrade deprecation

Sourcegraph 6.11.5639

This is a patch release for Sourcegraph 6.11.

Details

Fixes

  • Batch Changes Fix push authorization for credentials with SSH key

Sourcegraph 6.11.5428

This is a patch release for Sourcegraph 6.11.

Details

Fixes

  • Repositories Fix potential buffer overflow

    Fixed a potential issue where a buffer overflow can cause repository update processes to deadlock.

Sourcegraph 6.11.2752

This is a patch release for Sourcegraph 6.11.

Details

Improvements

  • Batch Changes Experimental GitLab OAuth support for Batch Changes

Fixes

  • Inference Block Cody requests when cody.enabled is false
  • Repositories Correctly set expiry for git objects

    Fixed git object expiration logic that was setting future dates instead of past dates, preventing potential repository corruption in concurrent operations.

Sourcegraph 6.11.1446

This is a patch release for Sourcegraph 6.11.

Details

Improvements

  • Code Nav Add line-level highlighting for diff and patch files
  • Authentication Add site setting auth.idpDynamicClientRegistrationEnabled

    Sourcegraph now supports OAuth 2.0 Dynamic Client Registration (RFC 7591). This makes it easier to authenticate against Sourcegraph from an MCP client. As an administrator you must set auth.idpDynamicClientRegistrationEnabled to true in your site settings.

  • Repositories mTLS support for code hosts

    Sourcegraph can now communicate to code hosts using mTLS by providing a list of {"host", "clientCertificate", "clientKey"} configurations in the site config under mtlsConfigurations in tls.external.

Fixes

  • Deep Search Apply feature-flags initial value before the first render

    Ensure that citations are enabled by default and rendered correctly even when the feature flag value is not set on the backend.

  • Licensing Clear license key errors when applying new license key

    Fixed an issue where applying a new license key would not clear messages from the old, expired license key.

  • Observability Fix alerts documentation URLs in observability alerts

Sourcegraph 6.11.0

Deep Search optimizations, UX improvements, and Markdown export

Deep Search now features thread starring, Markdown export features, and improved latency and @-mention performance. [...]

Verify Deep Search answers with inline citations

Clickable citations now link directly to the exact code snippets that informed the model's answer. [...]

Details

Improvements

  • Deep Search Deep Search Optimizations, UX Improvements, and Markdown Export
  • Deep Search Add thinking support to DS agentic loop
  • Deep Search Add star button to conversation header
  • Deep Search Add optimistic navigation to new conversation page

    Immediately navigate to the conversation view showing the submitted question with a loading indicator when creating a new Deep Search conversation, before the server responds.

  • Deep Search Add Tab key selection in @ menu for Deep Search

    Users can now use the Tab key to select repository suggestions in the Deep Search @ mention menu, providing a more efficient keyboard-only workflow

  • Deep Search Add smarter caching for @-mentions

    Improved @-mention filtering with smarter caching for faster, more responsive filtering and reduced backend requests.

  • Deep Search Show conversation title in page title
  • Deep Search Show percentage for quota consumption
  • Deep Search Support markdown routes

    Deep Search conversations can now be exported as Markdown by appending ".md" to the URL.

  • Code Search Show file scope in search bar
  • Code Nav Add syntax highlighting for go.mod and go.sum files
  • Code Nav Add support for rendering Markdown frontmatter
  • Code Nav Add ability to collapse individual references

    Add ability to collapse results in reference panel.

  • Batch Changes Embed most organization batch-changes page into Svelte app

    Embedded organization batch-changes routes into the Svelte app, improving the integration between React and Svelte components for batch changes functionality.

  • Batch Changes Add personal user area batch changes pages

    Added batch changes pages in the personal user area for the creation flow.

  • Batch Changes Embed organization batch-changes page into Svelte app
  • Batch Changes Add batch-changes-gitlab-oauth feature flag

    Added batch-changes-gitlab-oauth feature flag to gate GitLab OAuth integration for Batch Changes.

  • Batch Changes Add site-admin batch changes specs page

    Added a site-admin page for viewing batch changes specs.

  • Batch Changes Embed site-admin batch changes page into Svelte app

    Embedded site-admin batch changes pages into the Svelte app, improving consistency and maintainability of the admin interface.

  • Administration Add banners to admin UI about config from file

    When site-config or global settings files are loaded from the file system, the config editors in-app now reflect the read-only state.

  • Administration Redact model config provider access tokens

    Redact access tokens in model configuration displayed in the site-config UI.

  • Administration Add site-admin external accounts page

    Added external accounts page for site administrators.

  • Administration Add site-admin auth providers page

    Added auth providers page to site-admin interface

  • Administration Add site-admin updates page

    Added a new updates page in the site admin interface.

  • Administration Add site-admin account requests page
  • Administration No longer require frontend restarts after changing some settings

    Frontend service restarts are no longer required when changing certain settings.

  • Administration Embed own signals page into Svelte app
  • Administration Embed site-admin init page into Svelte app

    Embedded the site-admin init page into the Svelte app

  • Administration Embed organizations page into Svelte app
  • Administration Embed slow requests page into Svelte app
  • Administration Embed background jobs page into Svelte app

    Embedded the site-admin background jobs page into the Svelte app.

  • Administration Embed outbound requests page into Svelte app
  • Administration Embed executor secrets page into Svelte app
  • Administration Embed out-of-band migrations page into Svelte app

    The out-of-band migrations page in site admin is now embedded in the Svelte app.

  • Administration Embed executors page into Svelte app
  • Administration Embed report bug page into Svelte app
  • Administration Add OAuth client management pages

    Site admins can now manage OAuth clients through dedicated pages in the admin interface.

  • Administration Add site-admin roles page

    Added a roles management page in the site admin interface

  • API Embed OpenAPI pages into Svelte app

    Embed OpenAPI documentation pages into the Svelte application at /api/openapi/public and /api/openapi/internal endpoints.

  • Authentication Add basic URI validation
  • Authentication Allow multiple redirect URIs

    OAuth now supports multiple redirect URIs (space or comma separated)

  • Authentication Embed auth consent page into Svelte app

    Embedded the auth consent page into the Svelte app and added test coverage for invalid user codes on the auth device page.

  • Authentication Add auth device page to Svelte app
  • Authentication Add unlock account page to Svelte app
  • Code Insights Embed site-admin code insights jobs page into Svelte app
  • Cody Add Opus 4.5 with thinking and deprecate Opus 4.1 models

    Support for Opus 4.5 with extended thinking is now available. Opus 4.1 models have been deprecated in favor of the new version.

  • Cody Add claude-opus-4-5-20251101 to anthropic models

    Claude Opus 4.5 is now available for selection

  • Cody Add Gemini 3 Pro and GPT-5.1
  • Executors Add optional health server for monitoring
  • GitHub Add gzip compression to group cache to reduce Redis memory usage

    GitHub permissions syncing now uses gzip compression for caching organization and team membership data in Redis, significantly reducing memory usage for large organizations.

  • GraphQL Add GraphQL API console to Svelte app

    Added GraphQL API console support to the Svelte app using graphiql v4 with CodeMirror. Introduced a mechanism to undo CSS reset styles for embedded components using the data-css-unstyled attribute.

  • MCP Add back deep search tool
  • Observability Add incidentio alerts support

    incident.io is now supported as an alert notifier in observability.alerts configuration

  • Permissions Add site-admin permissions sync jobs page

    Added a site-admin page for viewing permissions sync jobs.

  • Organizations Embed organization pages

    Organization pages now use React Router loaders for data fetching and improved navigation performance.

Fixes

  • Deep Search Allow navigation to Deep Search home page from conversation view

    Fixed an issue where clicking the Deep Search link in the top nav from the conversation view did nothing - it now navigates to the Deep Search home page as expected.

  • Deep Search Fix runtime error on All Sources tab caused by duplicate render keys

    Fixed a runtime error on the All Sources tab that was caused by duplicate render keys.

  • Deep Search Ensure consistent horizontal padding in expanded file preview

    Expanded file preview now has consistent horizontal padding with citations.

  • Deep Search Apply markdown styles to responses with enabled citations

    Markdown styles are now applied to Deep Search responses when citations are enabled.

  • Deep Search Eliminate redundant top padding when the number of citations is low
  • Deep Search Follow-up queries should not cover response results
  • Deep Search Do not create new annotations for the same citations
  • Deep Search Ensure hovered separator is always on top of resizable panels

    The hovered separator is now always displayed on top of resizable panels.

  • Deep Search Make new button an href
  • Code Nav Remove deprecated AppCode and Atom editors

    Removed support for deprecated Atom and AppCode editors from the "Editor" action.

  • Code Intel Add num_resets condition to queued_partial_ukey index

    Fixed a database constraint issue that could cause errors when scheduling code intelligence indexing jobs after a job reset.

  • Code Intel Disable automatic CRC32 checksums for S3 requests

    S3proxy multipart uploads no longer fail due to CRC32 checksum validation errors

  • Code Intel Do not deduplicate reset auto-indexing jobs
  • Code Intel Deduplicate some auto-indexing jobs automatically

    Repository HEAD auto-indexing jobs are now deduplicated to prevent queue growth.

  • Batch Changes Fix scroll on embedded batch change spec page

    Fixed scroll functionality on the batch change spec page when embedded in full-screen mode

  • Batch Changes Reduce error logspam from changeset syncer
  • Administration Show auth errors directly on sign-in page for unauthenticated users

    OAuth authentication errors (like "could not get verified email for GitHub user") are now displayed in the UI instead of causing users to get stuck in an infinite login loop.

  • Authentication Add site-admin notice to user settings area

    Site admins now see a banner when viewing another user's settings pages, indicating they are viewing settings for a different user.

  • Executors Address breaking change in prometheus/common library
  • Inference Fix incorrect "no suitable model found for Chat" error with deny list
  • Inference Fix deep copy to preserve nil values for default model application

    Fixed an issue where deep copying model configuration incorrectly handled nil values, preventing default models from being applied correctly.

  • Inference Fix corrupt model configuration states caused by variable aliasing bugs

    Fixed corrupt model configuration states that could cause Cody to use incorrect license keys when communicating with Cody Gateway, previously requiring a frontend container restart to resolve.

  • MCP Omit schema for MCP tools to support older clients

    MCP tools are no longer rejected by antigravity and VS Code versions older than 1.32.

  • Repositories Truncate very long commit messages
  • Repositories Treat 'fatal: bad tree object' errors on fetch as repository corruption events

    Gitserver now automatically reclones repositories when a "fatal: bad tree object XXX" error is observed during a fetch.

  • UI Fix low contrast issue for clone progress in dark mode
  • UI Fix React reset styles overwriting more specific component styles

    Fixed React reset styles overwriting component styles, resolving incorrect list styling

  • Blame Add validation to Blame API for invalid ranges
  • Contributors Fix SQL syntax error when all records in batch are skipped
  • Prompts Fix double scroll issue on prompt pages

    Fixed double scroll issue on prompt pages caused by conflicting height rules between React shell UI and PageLayout.

  • Webhooks Ensure webhook events are properly logged
  • Worker Correctly react to site config changes for job timeouts
  • Worker Fix potential source of deadlocking

Removed

  • Code Search Remove experimental settings for fuzzy finder

    Fuzzy finder is now always enabled and no longer requires experimental settings.

  • Analytics Remove unused in-app analytics frontend components and APIs

    Removed unused in-app analytics APIs including instanceOwnershipStats, User.usageStatistics, Site.usageStatistics, and Site.analytics.

  • Opencodegraph Remove opencodegraph experiment

    Removed the experimental opencodegraph feature that was previously behind a feature flag.

  • Ranking Disable Sourcegraph reranker by default

    Sourcegraph reranker is now disabled by default and can be enabled via a feature flag.

  • Settings Remove product research page from user settings

Sourcegraph 6.10.3349

This is a patch release for Sourcegraph 6.10.

Details

Improvements

Sourcegraph 6.10.0

Haiku 4.5 is now available in Cody Enterprise

Anthropic's Claude Haiku 4.5 model is now available for Cody Enterprise users using v6.10. [...]

Details

Improvements

  • Deep Search Add undo and redo shortcuts
  • Deep Search Display errors inline with remediation options

    Errors in Deep Search are now displayed inline in the answer section with options to retry or start a new search, replacing the previous error banner.

  • Deep Search Add conversation stars

    Added the ability to star favorite threads with a new sidebar tab showing all starred threads in one place.

  • Deep Search Switch DS to use Sonnet 4.5 as main model and Haiku 4.5 as summary model

    Upgraded Deep Search to use Claude Sonnet 4.5 as the main model and Claude Haiku 4.5 for summary generation, improving performance while maintaining quality.

  • Deep Search Only show new steps per question and update step counter

    Deep Search now displays only new steps for each follow-up question instead of showing all previous steps, reducing confusion in the UI.

  • Code Intel Enhanced Code Navigation Performance and Accuracy
  • Cody Haiku 4.5 is now available in Cody Enterprise
  • Repositories Add PKCE support for GitHub

    GitHub account connections now use Proof Key for Code Exchange (PKCE)

  • Enterprise Portal Add Cloud instance SLO data

    Enterprise Portal now shows SLOs for Sourcegraph Cloud instances to track how the instance is performing.

  • Source UI for GH App groups cache permissions

    Adds a warning on the GitHub App page in Sourcegraph to warn site admins that a GitHub App does not have the necessary permissions to enable groups caching.

Fixes

  • Deep Search Fix Safari-specific CodeMirror alignment issues in tool headers
  • Deep Search Fix disabling of share button when token limit is hit
  • Deep Search Fix pagination cursor ordering

    Fixed pagination cursor to match id-descending ordering, preventing glitches during infinite scrolling.

  • Deep Search Fix broken spinner for endless scrolling
  • Deep Search Fix misaligned query chips
  • Deep Search Fix base quota calculation error with complex license history

    Fixed incorrect base quota calculation for Deep Search metering when customers have complex license histories with expired licenses

  • Deep Search Set timeout back to 4 minutes

    Increased timeout from 1 minute to 4 minutes to reduce timeout errors.

  • Code Search Search Jobs broken if soft-deleted users have search jobs

    Fixed rendering of the Search Jobs management page when search jobs exist for soft-deleted users.

  • Authentication Return WWW-Authenticate header on 401s

    Return WWW-Authenticate header on 401 responses to advertise OAuth schema to MCP clients.

  • Database Allow minor upgrades of Postgres for the latest Sourcegraph releases

    Used constraints instead of exact match in database version validation

  • Permissions Fix PermissionsSyncJobs pagination

    Fixed an issue where permissions sync jobs couldn't be paginated if they referenced a deleted user or repository.

  • Source Correctly set default Github and Gitlab URLs when unset in site config

    Fix default GitHub and GitLab URLs being incorrectly applied when not explicitly configured in site config.

  • Source GitHub Apps now require administration: read

    GitHub Apps now require the Repository administration: read permission for groups caching functionality.

  • Source Fix groups caching for GitHub Apps

    Fixed groups caching validation for GitHub Apps by checking for members: read permission instead of OAuth scopes.

  • Source Fix PKCE GitHub signin

    Fixed GitHub sign-in failing due to PKCE data retrieval issues

  • Source Decline sign-in for NoSignIn auth providers

    Decline sign-in attempts for NoSignIn auth providers while still allowing users to connect new auth providers when already logged in.

Removed

  • VSCode Remove 'sourcegraph.loginWithCody' setting from VSCode Code Search plugin

    Removed the VSCode Code Search extension's ability to share authentication credentials with the Cody extension. Users must now authenticate directly with their own credentials or access token.

Sourcegraph 6.9.2509

This is a patch release for Sourcegraph 6.9.

Details

Improvements

  • Deep Search Make MCP tool outputs conform to output schema

    We have updated the structured response of all MCP tools to conform to the advertised output schema.

Fixes

  • Authentication Correctly advertise all scopes
  • Authentication Do not let IdP tokens do IdP write operations

Sourcegraph 6.9.1277

This is a patch release for Sourcegraph 6.9.

Details

Fixes

  • Executors Make k8s jobs secret creation idempotent

    The kubernetes executor now idempotentally creates secrets (deleting and recreating it if it exists already) instead of failing the entire job.

  • Permissions Preserve permissions during temporary API errors

Sourcegraph 6.9.902

This is a patch release for Sourcegraph 6.9.

Details

Improvements

  • Cody Add Claude Haiku 4.5

Fixes

  • Cody Fix prompt visibility toggle permission check
  • Permissions Github: treat 500/502/503/504 and HTTP/2 stream cancellations as temporary errors

Sourcegraph 6.9.0

Details

Improvements

  • Deep Search Introducing Pricing Plans and Major Updates for Deep Search
  • Deep Search Add retry button for failed questions

    Add retry button to resubmit questions when errors occur in Deep Search

  • Deep Search Add RBAC

    Added RBAC to Deep Search. By default, all users have full read and write access for Deep Search, but this can be restricted by changing the default role permissions or by creating new custom roles.

  • Deep Search Add quick link from repo navigation

    Added a new Explain with Deep Search button in repository navigation that opens a pre-filled Deep Search conversation with context about the current repository or file.

  • Deep Search Disallow deep-search for older Sourcegraph instances
  • Deep Search Revise quota management system in Enterprise Portal
  • Batch Changes Embed batch changes creation page in SvelteKit app

    Migrated the batch changes creation page to SvelteKit, including all three UI variations: new template creation, classic form creation, and execution-disabled instruction page.

  • Batch Changes Embed home page in SvelteKit app

    Batch Changes home page is now rendered within the SvelteKit application framework.

  • Administration Add site admin pings page

    Added a pings page to the site admin interface.

  • Administration Add site admin gitservers page
  • Administration Add license site-admin page to Svelte app
  • Administration Add feature flags page to Svelte app
  • Administration Add global-settings page

    Added global-settings page to site admin interface

  • Administration Add site admin support to Svelte app

    Added site admin support to the Svelte app, including Overview, Feedback surveys, and Site configuration pages

  • Authentication Embed password reset page
  • Authentication Embed sign-in, sign-up and post-sign-up pages

    Sign-in, sign-up, and post-sign-up pages are now embedded in the Svelte application.

  • Cody Add Claude Sonnet 4.5
  • Access Control Add 'request access' page to Svelte app

    Added a 'request access' page to the Svelte app, allowing users to request access when needed.

  • Code Graph Embed React repo code-graph pages
  • Source Allow 'all' value for requiredSsoOrgs

    Allow 'all' value for requiredSsoOrgs parameter to require authorization to all SSO organizations

  • Source Handle X-GitHub-SSO headers for auth validation

    Added support for validating GitHub SSO authentication via X-GitHub-SSO headers. Admins can now configure required SSO organizations in the sign-in provider settings to ensure users properly authenticate with SSO-enabled orgs. Error messages for authentication issues are now displayed on the Account Security page.

  • Source Have git fetch mark repositories as corrupt if "fatal: bad object xxx" occurs
  • User Settings Embed user profile and settings into Svelte app

    User profile and settings pages are now rendered in the Svelte app, with improved UI for the profile page and enhanced sidebar navigation supporting menu groups.

  • Webhooks Add incoming webhooks site-admin pages
  • Webhooks Add site admin outgoing webhooks page

    Added site admin page for managing outgoing webhooks

Fixes

  • Deep Search Emit telemetry events for external client API usage
  • Deep Search Fix viewer polling API calls for shared threads
  • Deep Search Fix broken links in responses with deepsearch in URL

    Converts schemeless URLs generated by the LLM to absolute URLs to prevent broken links containing /deepsearch/ in the path.

  • Deep Search Fix up/down arrow keys in text box
  • Deep Search Fix code preview spacing
  • Code Search Ignore deleted users when fetching saved searches
  • Batch Changes Add metadata identification for gitlab pushed-only changesets
  • Batch Changes Avoid changeset duplication for Gerrit

    Fixed changeset duplication for Gerrit during network instability by adding pre-retry verification to check if changes already exist before retrying failed operations.

  • Batch Changes Replace react-router imports with universal wildcard for changeset list UI

    Fixed runtime errors in batch changes changeset diff UI when rendered within SvelteKit

  • Authentication Fix client-side password comparison and validation

    Fixed password validation to properly compare password and confirm password fields across component re-renders

  • Cody Make thread history button more discoverable
  • Permissions Always clean up permissions for non-existent accounts

    Fixed a race condition where deleting an external account in the middle of a permissions sync could cause permissions for that account to stick around indefinitely.

  • RBAC Ensure that create role modal is fully visible
  • Repositories Fix Gerrit icon theme adaptation

    Gerrit icon now properly adapts to light and dark themes.

  • Security Update redis to 7.4.6-272

    Updated redis to 7.4.6-272, which patches CVE-2025-49844, CVE-2025-46817, CVE-2025-46818, and CVE-2025-46819

  • Autocomplete Fix trailing whitespace in assistant messages for all API versions
  • Perforce Don't error on empty p4broker data

    Fixed an issue where a Perforce user's permissions would not be removed when the user was deleted on Perforce and p4broker was being used as a proxy.

  • Source Gitserver: change fs.DeleteRepo repository existence check to see if the folder exists, not HEAD file alone
  • Source Gitserver: have fetch corruption detection logic also examine last megabyte of command output
  • Source Remove verified email requirement when connecting an external account

    Allow connecting GitHub accounts with no verified emails when already authenticated

  • Source Various external accounts modal tweaks
    • Fixed Gerrit account connection modal not reopening after being closed in external accounts settings
    • Fixed Gerrit icon visibility issues
    • Improved spacing consistency between React and Svelte external account modals
  • User Settings Fix password update form validation

    Fixed password update form validation in user settings

Removed

  • Code Intel All code associated with LSIF support

    Removed support for LSIF format.

  • Analytics Remove site-admin/analytics pages

    The deprecated site-admin analytics pages have been removed. All Sourcegraph analytics are available at analytics.sourcegraph.com.

  • Inference Remove support for gemini-1.5-pro-002

    Removed support for the deprecated gemini-1.5-pro-002 model

Sourcegraph 6.8.2313

This is a patch release for Sourcegraph 6.8.

Details

Improvements

  • Cody Update Cody Web to 0.36.0

Fixes

  • Code Insights Use median value for sorting insight series
  • Prompts Handle user soft delete errors in prompts resolver gracefully

Sourcegraph 6.8.0

Sourcegraph MCP server

Connect AI agents and applications to your Sourcegraph instance via the new Model Context Protocol (MCP) Server. [...]

Details

Improvements

  • Deep Search Add MCP tool for running deep search queries
    • DeepSearch tool added to the MCP API, enabling codebase assistant integration to run deep search queries and return results with dashboard links
  • Deep Search Add Model Context Protocol server endpoint
    • Added Model Context Protocol (MCP) support to Deepsearch API
    • Refactored tool response handling to use strongly typed responses
    • Moved error messages and notes to dedicated fields instead of embedding in content
    • Removed X-Requested-With middleware requirement for MCP endpoints
  • Deep Search Combine line ranges in identical files
    • File sources now support multiple line ranges within a single file, reducing visual clutter when different parts of the same file are referenced
    • File previews display up to 3 ranges with separators between them
    • Backend tools use a new lineRanges array format instead of single lineRange
  • Deep Search Record analytics when a shared thread is viewed
    • Added tracking for when DeepSearch conversations are shared and viewed by others
  • Code Search Consider existing file: filters for suggestions

    File filter suggestions now consider existing file filters in the query, providing more relevant autocomplete results when multiple file filters are used.

  • Code Search Display index type in index picker
  • Authentication Add predefined OAuth client for Visual Studio

    Added a predefined OAuth client for Visual Studio.

  • Authentication Add predefined OAuth client for Cody

    Enables OAuth authentication for Sourcegraph Cody across all IDEs using device flow with authorization_code, refresh_token, and device_code grant types.

  • Code Insights Embed insight dashboard edit pages
  • Code Insights Embed standalone and edit pages in SvelteKit shell
  • Code Insights Embed insights creation pages in SvelteKit shell
  • Cody Add Claude Opus 4.1

    Added Claude Opus 4.1 model support to Cody

  • Cody Fix critical Google Vertex regression and add Gemini support with Workload Identity auth
    • Added Workload Identity authentication support for Google Vertex as an alternative to access token authentication
    • Fixed issues preventing Gemini models from being used with Cody
    • Resolved critical regression that broke Google Vertex Anthropic support
    • Introduced authentication cache to optimize Workload Identity authorization performance
  • RBAC Add RBAC permission that allows uploading SCIP code index

    Users can now be allowed through the RBAC system to upload SCIP indexes for repositories they do not have write access to on code forge. This also applies to service accounts.

  • Repositories Support Bitbucket Server's archived repositories

    Sourcegraph now supports Bitbucket Server's official way to archive a repository. The workaround of applying an "archived" label is no longer supported.

  • Repositories Support .git-blame-ignore-revs for Blame commands

    Support for .git-blame-ignore-revs files in the root of repositories.

  • Repositories Embed repository own pages in shell
  • TLS Remove experimental status from tls.external setting and deprecate code-host certificate settings

    experimentalFeatures->tls.external is not experimental anymore. The old setting is still respected, but customers should move to the new top-level tls.external setting. The certificate setting for Bitbucket server, GitHub, and GitLab has been marked as deprecated, the tls.external setting should be used instead and is the only correctly working setting. Both will be removed in a future release.

  • Prompts Embed React prompts pages

    Prompt pages now embedded in the Svelte app with improved accessibility and testing

Fixes

  • Deep Search Prevent input and follow up boxes from accepting pasted images
  • Deep Search Report suggested follow-ups as raw LLM call in analytics

    Follow-up suggestion analytics events are now correctly recorded as DeepSearchEventRawLLM instead of DeepSearchEventFollowUp.

  • Deep Search Add composite index for user_id and updated_at

    Improved query performance for retrieving user's most recently updated deep searches by adding a composite database index.

  • Deep Search Make Deep Search responsive on smaller screens

    Deep Search now works on smaller screens and mobile devices. The sidebar has been converted to an overlay for better mobile navigation.

  • Deep Search Only show follow-up suggestions for most recent QA pair
  • Code Search Fix repositories search alert UI styling

    Fixed styling issues in the repositories search alert UI.

  • Code Search Add billingMetadata to search:execute event
  • Authentication Fix OAuth provider matching when multiple client IDs are present for the same URL

    Fixed OAuth provider matching to correctly handle cases where multiple client IDs are configured for the same URL.

  • Cody Fix max output tokens for Claude Opus 4.1
  • Permissions Deduplicate repository permissions on Repo Permissions page

    Fixed a bug where the number of repositories a user has access to could be greatly exaggerated on their Repo Permissions page.

  • Permissions Fix repo permissions page pagination

    Pagination on a user's Repo Permissions page now works correctly.

  • UI Fix style issues with embedded React pages
  • UI Fix SvelteKit theme state synchronization

    Fixed theme state synchronization between SvelteKit and React applications

  • Docs Fix repository metadata documentation link
  • Notebooks Add redirect from /search/notebook to /notebooks in new web app

    Add redirect from /search/notebook to /notebooks

  • Source Git blame check for fs.PathError instead of NotFound error

    Fixed incorrect error handling in Git blame that caused unnecessary error logging for missing files.

  • Source Show different errors for user and organisation name conflicts

    Error messages now properly distinguish between user and organization name conflicts and are correctly formatted.

  • Source Decline sign-in for NoSignIn auth providers

Removed

  • Cody Cody API endpoints are no longer available

    Cody API endpoints (anything under /.api/llm) are no longer available.

  • Cody Deprecate EOL claude sonnet 3.5 model

    Mark the EOL Claude Sonnet 3.5 model (anthropic::2024-10-22::claude-3-5-sonnet-latest) as deprecated.

    closes: CODY-6235

Other

  • Cody Deprecate Claude Opus 4

Sourcegraph 6.7.2720

This is a patch release for Sourcegraph 6.7.

Details

Fixes

  • Cody Add reasoning to GPT-5 models

    Fixed model configuration to include reasoning parameter.

Sourcegraph 6.7.2518

This is a patch release for Sourcegraph 6.7.

Details

Improvements

  • Code Intel Add Tree-sitter support for Swift

    Swift code should be now properly highlighted using tree-sitter.
    Backport 61c45dfc1e2371fb4e6802f5d877cdcfbb139bce from #7113