sourcegraph v3.12.0 Release Notes
Release Date: 2020-01-20 // over 4 years ago-
โ Added
- ๐ Bitbucket Server repositories with the label
archived
can be excluded from search witharchived:no
syntax. #5494 - โ Add button to download file in code view. #5478
- The new
allowOrgs
site config setting in GitHubauth.providers
enables admins to restrict GitHub logins to members of specific GitHub organizations. #4195 - ๐ Support case field in repository search. #7671
- Skip LFS content when cloning git repositories. #7322
- Hover tooltips and Find Reference results now display a badge to indicate when a result is search-based. These indicators can be disabled by adding
{ "experimentalFeatures": { "showBadgeAttachments": false } }
in global settings. - โก๏ธ Automation campaigns can now be created as drafts, which can be shared and updated without creating changesets (pull requests) on code hosts. When ready, a draft can then be published, either completely or changeset by changeset, to create changesets on the code host. #7659
- ๐ Experimental: feature flag
BitbucketServerFastPerm
can be enabled to speed up fetching ACL data from Bitbucket Server instances. This requires Bitbucket Server Sourcegraph plugin to be installed. - ๐ง Experimental: A site configuration field
{ "experimentalFeatures" { "tls.external": { "insecureSkipVerify": true } } }
which allows you to configure SSL/TLS settings for Sourcegraph contacting your code hosts. Currently just supports turning off TLS/SSL verification. #71 - ๐ง Experimental: To search across multiple revisions of the same repository, list multiple branch names (or other revspecs) separated by
:
in your query, as inrepo:myrepo@branch1:branch2:branch2
. To search all branches, userepo:myrepo@*refs/heads/
. Requires the site configuration value{ "experimentalFeatures": { "searchMultipleRevisionsPerRepository": true } }
. Previously this was only supported for diff and commit searches. - ๐ง Experimental: interactive search mode, which helps users construct queries using UI elements. Requires the site configuration value
{ "experimentalFeatures": { "splitSearchModes": true } }
. The existing plain text search format is still available via the dropdown menu on the left of the search bar. - A case sensitivity toggle now appears in the search bar.
- โ Add explicit repository permissions support with site configuration field
{ "permissions.userMapping" { "enabled": true, "bindID": "email" } }
.
๐ Changed
- The "Files" tab in the search results page has been renamed to "Filenames" for clarity.
- ๐ The search query builder now lives on its own page at
/search/query-builder
. The home search page has a link to it. - ๐ User passwords when using builtin auth are limited to 256 characters. Existing passwords longer than 256 characters will continue to work.
- GraphQL API: Campaign.changesetCreationStatus has been renamed to Campaign.status to be aligned with CampaignPlan. #7654
- ๐ง When using GitHub as an authentication provider,
read:org
scope is now required. This is used to support the newallowOrgs
site config setting in the GitHubauth.providers
configuration, which enables site admins to restrict GitHub logins to members of a specific GitHub organization. This for example allows having a Sourcegraph instance with GitHub sign in configured be exposed to the public internet without allowing everyone with a GitHub account access to your Sourcegraph instance.
๐ Fixed
- The experimental search pagination API no longer times out when large repositories are encountered. #6384
- We resolve relative symbolic links from the directory of the symlink, rather than the root of the repository. #6034
- โก๏ธ Show errors on repository settings page when repo-updater is down. #3593
- โ Remove benign warning that verifying config took more than 10s when updating or saving an external service. #7176
- repohasfile search filter works again (regressed in 3.10). #7380
- Structural search can now run on very large repositories containing any number of files. #7133
โ Removed
- ๐ Bitbucket Server repositories with the label