Changelog Release 6.8
OCTOBER 01, 2025

Sourcegraph 6.8

A newer version of Sourcegraph is available: Sourcegraph 6.12.

This page includes all changes for 6.8 and its patch releases. The latest patch for 6.8 is 6.8.2313.

Highlights

Sourcegraph MCP server

Details

Improvements

  • Cody Update Cody Web to 0.36.0
  • Cody Add Claude Opus 4.1

    Added Claude Opus 4.1 model support to Cody

  • 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.

  • 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
  • Code Insights Embed insight dashboard edit pages
  • Code Insights Embed standalone and edit pages in SvelteKit shell
  • 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.

  • Authentication Add predefined OAuth client for Visual Studio

    Added a predefined OAuth client for Visual Studio.

  • 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
  • Repositories Support .git-blame-ignore-revs for Blame commands

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

  • Deep Search Record analytics when a shared thread is viewed
    • Added tracking for when DeepSearch conversations are shared and viewed by others
  • 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 insights creation pages in SvelteKit shell
  • 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
  • Prompts Embed React prompts pages

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

  • Repositories Embed repository own pages in shell
  • Code Search Display index type in index picker
  • 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.

  • 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.

Fixes

  • Prompts Handle user soft delete errors in prompts resolver gracefully
  • Code Insights Use median value for sorting insight series
  • Deep Search Prevent input and follow up boxes from accepting pasted images
  • 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
  • Docs Fix repository metadata documentation link
  • UI Fix style issues with embedded React pages
  • 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.

  • 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.

  • 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.

  • Permissions Fix repo permissions page pagination

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

  • UI Fix SvelteKit theme state synchronization

    Fixed theme state synchronization between SvelteKit and React applications

  • 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.

  • 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.

  • 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
  • Source Decline sign-in for NoSignIn auth providers
  • Notebooks Add redirect from /search/notebook to /notebooks in new web app

    Add redirect from /search/notebook to /notebooks

  • Deep Search Only show follow-up suggestions for most recent QA pair

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