Sourcegraph 3.33 release
Sourcegraph 3.33 is now available! Here are some highlights from this release:
Search only the code you care about with search contexts
Search contexts allow any users to create custom groupings of repositories and revisions for scoped, cross-repository searching. This expands on the functionality of version contexts and repogroups, which functioned similarly but could only be created by admins. As a result, we have deprecated version contexts and repogroups in Sourcegraph 3.33, and we will be removing them in Sourcegraph 3.34.
Search contexts can be used in all kinds of situations to scope searches. For example, you may want to search only PHP, Kotlin, and Python repos to scope search results to specific services. You can also create search contexts specific to your team or business unit to narrow search results to relevant repositories.
You can read more about this change and how to migrate your version contexts to search contexts in this blog post. Going forward, search contexts will only be available for enterprise customers; if you are currently using Sourcegraph OSS, you will need to become an enterprise customer to use this feature.
All users can now visualize and track the status of their LSIF data
Previously, the Code Intelligence UI was only available to site-admins (except for hovers and reference panels). This conflicted with our users' need to add precise Code Intelligence to their own repositories. They could upload LSIF data and get precise Code Intelligence results, but couldn't visualize the status of that data. We now allow users to see uploads and indexes for repositories they have access to, helping them easily keep track of the status of all their LSIF data.
Changelog highlights
- SearchSearch contexts are now enabled by default in Sourcegraph Enterprise. Search contexts allow users to build custom groups of repositories and revisions for efficient cross-repository searching.
- SearchSearch query validation has been improved for various search types and filters so that users get faster feedback on issues within their query.
- SearchFor short search queries containing the name of a supported programming language, the UI now automatically provides suggestions to run the query with a language filter.
- SearchFixed an issue where clicking on a link in the 'Revisions' search sidebar would result in an invalid query if the query didn't already contain a 'repo:' filter.
- SearchFixed an issue where links to jump to Bitbucket Cloud wouldn't render in the UI.
- Batch ChangesFixed an issue where Batch Change changeset diffs would sometimes render incorrectly when previewed from the UI if they contained deleted empty lines.