Changelog Release 6.1
MARCH 21, 2025

Sourcegraph 6.1

A newer version of Sourcegraph is available: Sourcegraph 6.12.

This page includes all changes for 6.1 and its patch releases. The latest patch for 6.1 is 6.1.5633.

Highlights

o3-mini high available to Enterprise customers

Prompt template UI changes

Updates to model availability for Cody

Details

Improvements

  • Cody Allow non-aws bedrock endpoints with Bedrock provider

    Add AWS Bedrock client support for non-AWS Bedrock-compatible endpoints
    Backport 9054d7c14db0ecf96200c2985c5b550b6dd2ded0 from #4145

  • Source Sub-repo-perms: add limited support for IPv4 wildcard semantics


    Backport 04606e20fbc8f13ad473533820b8f5df71e20ad7 from #3989

  • Code Search Adds `Team` support in SvelteKit ownership panel

    Implement ownership information for the Sveltekit rewrite.


    Backport 30f3ea6a6c115c633291c388ff599ff107d7f38b from #3738

  • Code Search Add ownership panel MVP to sveltekit app
    • Adds read-only ownership panel to Sveltekit frontend
    • Gated behind 'svelte-ownership' feature flag
      Backport 469f2ea37a214f3c0eb1cbde012625bdbef84b6f from #3558
  • Cody Gateway Add thinking/reasoning support to Anthropic models

    Added support for chain-of-thought reasoning in Anthropic models, allowing users to see the model's thinking process for complex tasks.
    Backport 389bf9a4f2cf8ed7762cf8876b0efe4064e2b234 from #3507

  • Agents Simplify agent admin onboarding experience
    • You can now create a GitHub App with all the right permissions/events for code review agents. Previously, you had to manually customize the apps.
      Backport 87e8d77f464912cbd4356a8c3c39fba1d099e3b6 from #3473
  • Cody o3-mini high available to Enterprise customers
  • Agents Allow code review agent to auto-run based on feature flags
    • Code review agents can now automatically run on GitHub Pull Requests (actions: opened and synchronize) based on a feature flag. Both boolean (true/false) and rollout (percentage-based ) feature flags are supported. For example, this means you can enable automatic reviews on 10% of all opened PRs.
  • Agents Report progress with GitHub Commit Status API
    • The Code Review Agent now reports live status with the GitHub Commit Status API making it possible to open Agent logs directly from GitHub.
  • Agents Code reviews deduplicate diagnostics from historical review [CODY-4743]

    Code reviews deduplicate diagnostics from historical reviews

  • Agents Review Diagnostic Feedback [CODY-4951]

    Adds a feedback UI for diagnostics within the Agents app.

  • Cody Gateway Add cache related token usage data to telemetry(CODY-4808)

    OPTIONAL; info at https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c

  • Release `sg upgradetest`
    • allow the upgradetest to be run locally without knowing the bazel invocation required to stamp the build etc
    • unlock local minor and major branch upgradetests
  • Agents Make review triggers configurable
    • You can now request review from the Review Agent by posting a pull request comment with a configurable substring
  • Prompt templates editor supports @ current mentions

    feat: prompt templates editor supports dynamic @ mentions

  • Agents Add Run API, view live progress on agent runs
    • Add GET /.api/agents/runs to list runs of an agent, and other related endpoints including the ability to view logs
  • Cody Gateway Roll out new Gemini Models

    Move Gemini 2.0 Flash from Experimental to GA, add Gemini 2.0 Flash-Lite Preview Experimental and Gemini 2.0 Pro Experimental

  • Rel Add init subsection to release.yaml
    • feat: add init cmd subsection to release.yaml parser
    • feat: add init section to release.yaml
  • Agents Make Review agent handle large diffs
    • The Review agent can now review larger diffs.
  • Agents Adds Conversation HTTP handlers and generated DB columns [CODY-4751]

    Adds HTTP handlers for /.api/conversations for creating and filtering conversations as well as a DB method for querying conversations.

Fixes

  • Code Search Missing symbol changes from merge commits in Rockskip

    This fixes a bug in Rockskip (symbol search) where we would miss symbol changes introduced by merge commits. This bug manifested in incorrect search results and errors of symbols service similar to "pathspec (...) did not match any files".


    Backport d8426a9aec4930ce71922562fdebdcfd0d657cb4 from #3699

  • Source Fix bug where the token always has to be entered when editing certain code host connections
    • Fixed issue where the code host connection editor would always ask for the token to be re-entered.
      Backport 428c1eef19d68b38037bd35457632a007a78494d from #3719
  • Update cody web to 0.31.1 to fix issue with pasting linebreaks (#3696)

    fix: prompt templates should not fail when pasting linebreaks

  • Batch Changes TransformChanges.group.directory should not interpret file names as directories

    fix(batches): transformChanges.group.directory should not interpret file names as directories
    Backport 6ffff463be1743b89ab865018e46a34ff4e549f5 from #3721

  • Code Intel Correctly handle document counts exceeding MaxInt32

    Fixes a bug in SCIP index processing for instances with a long history of processing large uploads.
    Backport 48e7b47898ee7710f12270c6861c335a2ef75f48 from #3595

  • TransformChanges.group.directory should ignore file names

    fix: transformChanges.group.directory now ignores file names
    Backport 3b76fe4ab146565b0e736231353b1e24f1468241 from #3576

  • Rel Check for and remove timescaledb extension

    fix(rel): remove TimescaleDB from existing database if found during upgrade to Postgres 16 on the codeinsights database.
    Backport 71b4af3d6faef054803db0151b2cc7b151bb1c0e from #3556

  • Security Allow the admin's HTTP auth provider headers in CORS preflight requests
    • HTTP header auth username and email headers, if configured, are no longer blocked by CORS.
      Backport 782b98a780dac335576b8f43affb4b1a10123882 from #3512
  • Do not close stream when tab is unfocused
    • Fixes an (unreleased) issue that could cause duplicate search results when switching between tabs.
      Backport 746a29a25d6e54dfe7ab38f70855a9f58a652426 from #3528
  • Agents Render errors as strings in agent run logs
    • Errors are now rendered as strings in agent run logs. Previously, they rendered as Source: {}, which wasn't helpful.
      Backport d1f18d280fc9d3a985a284c31e819412d2add606 from #3514
  • Agents Redirect to settings page after creating agents
    • Creating a new agent now redirects to the settings page for further setup
  • Source Fix inability to update Gerrit code host config URL

    Fix bug where the URL of a Gerrit code host connection could not be updated.

  • Source RepoSource.BitbucketServer.CloneURLToRepoName(): support more URL shapes

    The logic that translates Bitbucket clone URLs to repository names has been fixed to support:

    • URLs that have no scheme (like "bitbucket.sgdev.org/sourcegraph/sourcegraph")
    • SSH clone urls that don't have a ssh:// scheme prefix (like [email protected]:sourcegraph/sourcegraph.git)
  • Source Web: ensure list of external accounts has unique entry for each key

    A bug on the user's account security page that could result in duplicated / buggy entries has been fixed.

  • Agents Use globs instead of regexp for include/exclude filters
    • Rule include/exclude patterns are now interpreted as globs (*.go) instead of regexp (.*\.go). Negative include patterns like !*.go will be interpreted as exclude patterns, and vice versa.
  • Authentication Add missing allowSignup option to HTTP header auth provider

    fix/auth: "http-header" auth provider can "allowSignup": false to disable automatic account creation

  • Rel Fix migrator update check

    fix(rel): fix migrator upgrade check

  • Server checks reindex at 5.10 now
    • single docker server checks for 5.10-reindex.completed instead of 5.1-reindex.completed
  • Update cody web to 0.31.1 to fix issue with pasting linebreaks

    fix: prompt templates should not fail when pasting linebreaks

Other