A collection of characters, stories, and other elements
Sourcegraph 3.31 is now available! Here are some highlights from this release:
Code Insights enables you to track historical and future trends of anything in your codebase, from code migrations to API usage to linter overrides—or anything else you can run a Sourcegraph search for. Now in Private Beta, Code Insights can run across thousands of repositories, letting you then filter and explore your insights live. Reach out to your Account Executive for details.
We've switched our built-in main Postgres and codeintel databases to an Alpine-based Docker image to resolve vulnerabilities found in Debian. This requires re-indexing the database when upgrading to 3.31, which can take up to a few hours on systems with large datasets. Read more on how to prepare for the update here.
Email notifications for saved searches are being deprecated in favor of code monitoring notifications. Similar to email notifications for saved searches, code monitoring allows you to keep track of and get notified about changes in your code. Some use cases for code monitors include getting notifications for potential secrets, anti-patterns, or common typos committed to your codebase. Read more about code monitoring.
If you are using email notifications for existing saved searches, there is now a button to automatically migrate to code monitoring. Note that existing email notifications for saved searches will be removed in the future.
Sourcegraph is working to index every open source GitHub and GitLab repository with 1 or more stars. Users can search this index of open source code on Sourcegraph cloud, and you can read about why we're doing this on our blog.
Also, if you'd like utilize this open source index with your Sourcegraph deployment, you can set up federation for your instance.
Operator documentation has been added to the Search Reference sidebar section.Search
Syntax highlighting is now supported for CUE.Search
Reintroduced a revised version of the Search Types sidebar section, making the quick links for search types (for example, diff searches) more intuitive to use.Admin
The Perforce integration has a new
p4.client field that can be used to avoid cloning unimportant files by using git p4's
Batch Changes changesets can now be set to published when previewing new or updated batch changes.Code Insights
Code Insights drill-down filters now allow filtering insights data on the dashboard page using
Code Insights feature flag
DISABLE_CODE_INSIGHTS environment variable has moved from the
repo-updater service to the
worker service. Any users of this flag will need to update their
worker service configuration to continue using it.
The Docker Compose Jaeger container's
SAMPLING_STRATEGIES_FILE now has a default value. If you are using a custom sampling strategies configuration, you may need to make sure your configuration is not overridden by the change when upgrading.
The copy icon displayed next to files and repositories will now copy the file or repository path. Previously, this action copied the URL to clipboard.Search
Fixed a result streaming throttling issue that was causing significantly increased latency for some searches. This should improve the time to first rendered results for those searches.Batch Changes
Updating draft merge requests on GitLab from batch changes no longer removes the draft status.