sourcegraph v3.35.0 Release Notes

  • ๐Ÿš€ โš ๏ธ Due to issues related to Code Insights on this release, users are advised to upgrade directly to 3.35.1.

    โž• Added

    • ๐Ÿ”„ Individual batch changes can publish multiple changesets to the same repository by specifying multiple target branches using the on.branches attribute. #25228
    • ๐Ÿš€ Low resource overlay added. NOTE: this is designed for internal-use only. Customers can use the minikube overlay to achieve similar results.#4012
    • Code Insights has a new insight Detect and Track which will generate unique time series from the matches of a pattern specified as a regular expression capture group. This is currently limited to insights scoped to specific repositories. docs
    • ๐Ÿšš Code Insights is persisted entirely in the codeinsights-db database. A migration will automatically be performed to move any defined insights and dashboards from your user, org, or global settings files.
    • The GraphQL API for Code Insights has entered beta. docs
    • The SRC_GIT_SERVICE_MAX_EGRESS_BYTES_PER_SECOND environment variable to control the egress throughput of gitserver's git service (e.g. used by zoekt-index-server to clone repos to index). Set to -1 for no limit. #29197
    • ๐Ÿš€ Search suggestions via the GraphQL API were deprecated last release and are now no longer available. Suggestions now work only with the search streaming API. #29283
    • Clicking on a token will now jump to its definition. #28520

    ๐Ÿ”„ Changed

    • The ALLOW_DECRYPT_MIGRATION environment variable is now read by the worker service, not the frontend service as in previous versions.
    • ๐Ÿ”€ External services will stop syncing if they exceed the user / site level limit for total number of repositories added. It will only continue syncing if the extra repositories are removed or the corresponding limit is increased, otherwise it will stop syncing for the very first repository each time the syncer attempts to sync the external service again. #28674
    • ๐Ÿš€ Sourcegraph services now listen to SIGTERM signals. This allows smoother rollouts in kubernetes deployments. #27958
    • ๐Ÿš€ The sourcegraph-frontend ingress now uses the networking.k8s.io/v1 api. This adds support for k8s v1.22 and later, and deprecates support for versions older than v1.18.x #4029
    • ๐Ÿšš Non-bare repositories found on gitserver will be removed by a janitor job. #28895
    • ๐Ÿ’ป The search bar is no longer auto-focused when navigating between files. This change means that the keyboard shortcut Cmd+LeftArrow (or Ctrl-LeftArrow) now goes back to the browser's previous page instead of moving the cursor position to the first position of the search bar. #28943
    • Code Insights series over all repositories can now be edited
    • ๐Ÿ‘ Code Insights series over all repositories now support a custom time interval and will calculate with 12 points starting at the moment the series is created and working backwards.
    • ๐Ÿš€ Minio service upgraded to RELEASE.2021-12-10T23-03-39Z. #29188
    • ๐Ÿ’ป Code insights creation UI form query field now supports suggestions and syntax highlighting. #28130
    • Using select:repo in search queries will now stream results incrementally, greatly improving speed and reducing time-to-first-result. #28920
    • ๐ŸŽ The fuzzy file finder is now enabled by default and can be activated with the shortcut Cmd+K on macOS and Ctrl+K on Linux/Windows. Change the user setting experimentalFeatures.fuzzyFinder to false to disable this feature. #29010
    • Search-based code intelligence and the symbol sidebar are much faster now that the symbols service incrementally processes files that changed. #27932

    ๐Ÿ›  Fixed

    • Moving a changeset from draft state into published state was broken on GitLab code hosts. #28239
    • The shortcuts for toggling the History Panel and Line Wrap were not working on Mac. #28574
    • ๐Ÿš€ Suppresses docker-on-mac warning for Kubernetes, Docker Compose, and Pure Docker deployments. #28405
    • ๐Ÿ›  Fixed an issue where certain regexp syntax for repository searches caused the entire search, including non-repository searches, to fail with a parse error (issue affects only version 3.34). #28826
    • ๐Ÿ›  Modifying changesets on Bitbucket Server could previously fail if the local copy in Batch Changes was out of date. That has been fixed by retrying the operations in case of a 409 response. #29100

    โœ‚ Removed

    • ๐Ÿ—„ Settings files (user, org, global) as a persistence mechanism for Code Insights are now deprecated.
    • ๐Ÿš€ Query-runner deployment has been removed. You can safely remove the query-runner service from your installation.