Our changelog, announcements, dev posts, and anything else we think you'll find interesting.
Sourcegraph 4.5 release
The new Code Insights UI makes it easier to run insights over specific repositories
We've introduced a new UI for insights creation. You can now use Sourcegraph query syntax to select repositories for an insight to run over. Previously, if you wanted an insight to run over more than a few repositories, you had to create an insight that ran over all of them. This change makes it possible to select only the repositories that are relevant to the insights you are creating.
This makes it especially easy to create insights for related groups of repositories, for example, ones that follow a naming convention such as
The new system allows you to use any of the
repo: filter options such as:
Upgrades to the Gerrit code host integration
When admins sync repositories from Gerrit, permissions can now also be synced to control who has access to each repository in Sourcegraph. This allows Gerrit repositories to function similar to other Sourcegraph-supported code hosts. You can find instructions to configure Gerrit permissions in our docs.
- SearchZoekt now bypasses the regex engine for common queries, such as `\bLITERAL\b case:yes`. This can lead to a significant speed-up for "Find references" and "Find implementations" if precise code navigation is not available.
- Code InsightsCode Insights has a new display option: "Max number of series points to display." This setting controls the number of data points you see per series on an insight.
- Code InsightsYou can now export all data for a code insight from the card menu or the standalone page.
- AdminAdded Gerrit as an officially supported code host with permissions syncing.
- AdminThe searcher monitoring dashboard now contains more detailed request metrics as well as information on interactions with the local cache (via gitserver).
- AdminZoekt has a new opt-in feature, "shard merging." Shard merging consolidates small index files into larger ones, which reduces Zoekt-webserver's memory footprint, especially for users with many small and rarely update repositories.