• Customers
  • Case Studies
  • Docs
  • Pricing
  •  
  • Sign in
  • Get started

Blog

Sourcegraph 3.29 release

June 23, 2021

Sourcegraph 3.29 is now available! For this release, we introduced search results ranking, made it easier to create Code Insights, and added support for bulk actions with Batch Changes.

Search results ranking

We're making search results more relevant, starting with better prioritization of repos vs. code in your search results. Search results and suggestions are now ranked by descending star count on sourcegraph.com and customer instances (for repos with stars), making it easier to find specific repos. Start searching on sourcegraph.com to experience the new ranking.

New visual design for the Sourcegraph UI

We are proud to bring you an entirely new visual design for the Sourcegraph UI. The new visual design was developed to help users find references, troubleshoot errors, gain insight, make changes on a massive scale, and read code. Check out our recent blog post to learn more about the new Sourcegraph UI.

refined search results design screenshot

Code Insights

One-click Code Insights creation from your search

You can now create code insights with one click, right from the search query view. Take your search query and turn it into a visualization of your results count in your code over time, to see if your usage of an API, function, or other target is growing or shrinking.

Improved creation forms for Code Insights

We now autosuggest and autocomplete the repository field in the correct format. The forms also now autosave your configuration, in case you navigate away before you hit "create." (You can clear your existing autosave if you want to start fresh, with the "clear all fields" button.)

Batch Changes

New bulk actions: retry and merge (experimental)

Last release we introduced bulk actions, allowing users to comment on hundreds of changesets in a few clicks. We've added two more bulk actions in this release: retry errored changesets and merge.

Merge is released as an experimental feature. It supports merge commit and squash merge on GitHub and GitLab, and merge commit on Bitbucket. For example, you can now filter all changesets that have passed checks and review, and merge them all in a few clicks. Read more about bulk operations.

Changelog highlights

Code Insights

Code Insights queries can now run concurrently up to a limit set by the insights.query.worker.concurrency site config.

Code Insights

Code Insights workers now support a rate limit for query execution and historical data frame analysis using the insights.query.worker.rateLimit and insights.historical.worker.rateLimit site configurations.

API

The GraphQL Site SettingsSubject type now has an allowSiteSettingsEdits field to allow clients to determine whether the instance uses the GLOBAL_SETTINGS_FILE environment variable.

Code Insights

Code Insights creation UI now has autosave logic and clear all fields functionality.

Repositories

Code Insights creation UI now has suggestions support for the repository fields.

Batch Changes

A new bulk operation to retry many changesets at once has been added to Batch Changes.

API

Added featured Sourcegraph extensions query to the GraphQL API, as well as a section in the extension registry to display featured extensions.

Search

The search page now has a create insight button to create search-based insights based on your search query.

Search

Added support for Terraform syntax highlighting.

Batch Changes

A new bulk operation to merge many changesets at once has been added to Batch Changes.

Code Insights

Search-based insight creation UI now supports count: filter in data series query input.

Batch Changes

SSH public keys generated to access code hosts with batch changes now include a comment indicating they originated from Sourcegraph.

Search

The copy query button is now permanently enabled and experimentalFeatures.copyQueryButton setting has been deprecated.

Search

Search streaming is now permanently enabled and experimentalFeatures.searchStreaming setting has been deprecated.

Admin

Sourcegraph will now refuse to start if there are unfinished out-of-band-migrations that are deprecated in the current version. See the upgrade documentation for changes to the upgrade process.

Search

Stricter validation of structural search queries. The type: parameter is not supported for structural searches and returns an appropriate alert.

Batch Changes

Batch changeset specs that are not attached to changesets will no longer prematurely expire before the batch specs that they are associated with.

Code Insights

Code insights line chart no longer has a negative quadrant.

Repositories

Correctly handle field aliases in the query (like r: versus repo:) when used with contains predicates.

Search

The undocumented index filter was removed from search type-ahead suggestions.

Admin

Code host connection tokens aren't used for creating changesets anymore when the user is site admin and no credential has been specified.

  • How to install
  • How to upgrade
  • Full changelog
* Please contact Sourcegraph with any licensing questions.

About Sourcegraph

  • Case studies
  • Customers
  • Pricing
  • Sourcegraph overview (PDF)

Resources

  • Blog
  • Changelog
  • Documentation
  • Learn
  • Podcast
  • Big code survey

Company

  • About
  • Careers - We're Hiring!
  • Contact
  • Handbook
  • News
  • Sourcegraph strategy
  • © 2021 Sourcegraph
  • Terms
  • Security
  • Privacy