Changelog Release 6.6
AUGUST 07, 2025

Sourcegraph 6.6

A newer version of Sourcegraph is available: Sourcegraph 6.12.

This page includes all changes for 6.6 and its patch releases. The latest patch for 6.6 is 6.6.2517.

Highlights

Batch spec templating

Group metrics in Inventory Stats charts

New Code Insight for tracking code inventory over time

Details

Improvements

  • Code Insights Group metrics in Inventory Stats charts
  • Authentication OAuth 2.0 support for secure API access
  • Deep Search Implemented dotcom gating for deepsearch

    Implemented deep search quota enforcement for dotcom users:

    • CanConsumeDeepSearchQuota: Check if user has available quota
    • ConsumeDeepSearchQuota: Decrement quota when user performs deep search
    • GetDeepSearchUsage: Return current quota usage and reset time
  • Batch Changes Enable forked repos flow for pushed-only changesets [gitlab only]
    • Enable forked repos flow for pushed-only changesets [gitlab only]
  • Batch Changes Enable forked repos flow for pushed-only changesets [github only]
    • Enable forked repos flow for pushed-only changesets [github only]
  • Batch Changes New batch changes experience with templates

    feat(batches): new batch changes experience with templates

  • Deep Search Single URL for deepsearch [SPLF-1207]

    Deep search URLs are now directly shareable

Fixes

  • Batch Changes Add constraint to remove duplicate template fields in batch spec library variables table


    Backport 15c66e519eb2b5ec9493f1c8372b93490a72ec32 from #6741

  • Batch Changes Introduce workaround for batch changes users on fine-grained pats for github repos


    Backport 9e232e27c2c1a19b69b01cea12ae0194fb7d4422 from #6656

  • Source Teams: githubapp: make scopes use proper pagination


    Backport a278c9287fd779ca9f26d10b2146e7c6cadfbcb3 from #6651

  • Batch Changes Update schema link to public artifacts repo

    fix(batches): update schema link to public artifacts repo

Other

  • Add gemini 2.5 flash and gemini 2.5 pro


    Backport d9fd3848772f74133b54bcb33516d2b114f20953 from #6700

  • Add gemini 2.5 flash and gemini 2.5 pro

    Backport d9fd384 from #6700

  • Refactor(cody-gateway) Deprecate gemini-2.5-flash-preview-04-17 and gemini-2.5-pro-preview-03-25


    Backport f90029b038f82815a3a234213737d11f04059938 from #6684

  • Merge Cody ignore and context filters for both dotcom and enterprise


    Backport c201fd4027ba118b2c8a0cd089003638f13db429 from #6593

  • Added QuotaUsage information to HandleRetrieveDeepSearchs response
    • Added QuotaUsage information to HandleRetrieveDeepSearchs
  • Deep Search Replaced compaction and turn limit with token limit

    Replaced turn limits in deep search with a token limit

  • [CORE-1158] deepsearch: Added store for quota checks
    • Added store layer for tracking deep search queries
  • Batch Changes Remove unnecessary comments
    • Remove unnecessary comments
  • Batch Changes Add more backend telemetry for pushed-only changesets
    • Add more backend telemetry for pushed-only changesets
  • Batch Changes Refactor to use AbbreviateRef instead of TrimPrefix for pushed-only changesets
    • refactor to use AbbreviateRef instead of TrimPrefix for pushed-only changesets
  • CI removing upload to demo workflow

    DINF-1196 has all details

  • Remove scip-go upload to demo.sourcegraph.com

    https://sourcegraph.slack.com/archives/C04MYFW01NV/p1750800014304569

    0s 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.

  • Add Cody Deprecation Notice

    Cody will be deprecated on July 23rd 2025.