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 with archived:no syntax. #5494
    • โž• Add button to download file in code view. #5478
    • The new allowOrgs site config setting in GitHub auth.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 in repo:myrepo@branch1:branch2:branch2. To search all branches, use repo: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 new allowOrgs site config setting in the GitHub auth.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

    • ๐Ÿšš The deprecated GraphQL mutation setAllRepositoriesEnabled has been removed. #7478
    • ๐Ÿšš The deprecated GraphQL mutation deleteRepository has been removed. #7483