sourcegraph v3.26.0 Release Notes
-
โ Added
- 0๏ธโฃ Searches are streamed into Sourcegraph by default. #19300
- This gives a faster time to first result.
- Several heuristics around result limits have been improved. You should see more consistent result counts now.
- Can be disabled with the setting
experimentalFeatures.streamingSearch
.
- Opsgenie API keys can now be added via an environment variable. #18662
- It's now possible to control where code insights are displayed through the boolean settings
insights.displayLocation.homepage
,insights.displayLocation.insightsPage
andinsights.displayLocation.directory
. #18979 - ๐ฏ Users can now create changesets in batch changes on repositories that are cloned using SSH. #16888
- ๐ Syntax highlighting for Elixir, Elm, REG, Julia, Move, Nix, Puppet, VimL, Coq. #19282
- ๐
BUILD.in
files are now highlighted as Bazel/Starlark build files. Thanks to @jjwon0 #19282 *.pyst
and*.pyst-include
are now highlighted as Python files. Thanks to @jjwon0 #19282- 0๏ธโฃ The code monitoring feature flag is now enabled by default. #19295
- ๐ New query field
select
enables returning only results of the desired type. See documentation for details. #19236 - ๐ Syntax highlighting for Elixer, Elm, REG, Julia, Move, Nix, Puppet, VimL thanks to @rvantonder
- ๐
BUILD.in
files are now highlighted as Bazel/Starlark build files. Thanks to @jjwon0 *.pyst
and*.pyst-include
are now highlighted as Python files. Thanks to @jjwon0- โ Added a
search.defaultCaseSensitive
setting to configure whether query patterns should be treated case sensitivitely by default.
๐ Changed
- ๐ Campaigns have been renamed to Batch Changes! See #18771 for a detailed log on what has been renamed.
- A new Sourcegraph CLI version will use
src batch [preview|apply]
commands, while keeping the old ones working to be used with older Sourcegraph versions. - Old URLs in the application and in the documentation will redirect.
- GraphQL API entities with "campaign" in their name have been deprecated and have new Batch Changes counterparts:
- Deprecated GraphQL entities:
CampaignState
,Campaign
,CampaignSpec
,CampaignConnection
,CampaignsCodeHostConnection
,CampaignsCodeHost
,CampaignsCredential
,CampaignDescription
- Deprecated GraphQL mutations:
createCampaign
,applyCampaign
,moveCampaign
,closeCampaign
,deleteCampaign
,createCampaignSpec
,createCampaignsCredential
,deleteCampaignsCredential
- Deprecated GraphQL queries:
Org.campaigns
,User.campaigns
,User.campaignsCodeHosts
,camapigns
,campaign
- Site settings with
campaigns
in their name have been replaced with equivalentbatchChanges
settings.
- A new Sourcegraph CLI version will use
- โก๏ธ A repository's
remote.origin.url
is not stored on gitserver disk anymore. Note: if you use the experimental featurecustomGitFetch
your setting may need to be updated to specify the remote URL. #18535 - Repositories and files containing spaces will now render with escaped spaces in the query bar rather than being quoted. #18642
- Sourcegraph is now built with Go 1.16. #18447
- Cursor hover information in the search query bar will now display after 150ms (previously 0ms). #18916
- ๐ฏ The
repo.cloned
column is deprecated in favour ofgitserver_repos.clone_status
. It will be removed in a subsequent release. - Precision class indicators have been improved for code intelligence results in both the hover overlay as well as the definition and references locations panel. #18843
- Pings now contain added, aggregated campaigns usage data: aggregate counts of unique monthly users and Weekly campaign and changesets counts for campaign cohorts created in the last 12 months. #18604
๐ Fixed
- Auto complete suggestions for repositories and files containing spaces will now be automatically escaped when accepting the suggestion. #18635
- An issue causing repository results containing spaces to not be clickable in some cases. #18668
- Closing a batch change now correctly closes the entailed changesets, when requested by the user. #18957
- TypesScript highlighting bug. #15930
- The number of shards is now reported accurately in Site Admin > Repository Status > Settings > Indexing. #19265
โ Removed
- โ Removed the deprecated GraphQL fields
SearchResults.repositoriesSearched
andSearchResults.indexedRepositoriesSearched
. - โ Removed the deprecated search field
max
- โ Removed the
experimentalFeatures.showBadgeAttachments
setting
- 0๏ธโฃ Searches are streamed into Sourcegraph by default. #19300