sourcegraph v3.34.0 Release Notes

  • โž• Added

    • โž• Added documentation for merging site-config files. Available since 3.32 #21220
    • โž• Added site config variable cloneProgressLog to optionally enable logging of clone progress to temporary files for debugging. Disabled by default. #26568
    • ๐Ÿณ GNU's wget has been added to all sourcegraph/* Docker images that use sourcegraph/alpine as its base #26823
    • โž• Added the "no results page", a help page shown if a search doesn't return any results #26154
    • โž• Added monitoring page for Redis databases #26967
    • The search indexer only polls repositories that have been marked as changed. This reduces a large source of load in installations with a large number of repositories. If you notice index staleness, you can try disabling by setting the environment variable SRC_SEARCH_INDEXER_EFFICIENT_POLLING_DISABLED on sourcegraph-frontend. #27058
    • Pings include instance wide total counts of Code Insights grouped by presentation type, series type, and presentation-series type. #27602
    • โž• Added logging of incoming Batch Changes webhooks, which can be viewed by site admins. By default, sites without encryption will log webhooks for three days, while sites with encryption will not log webhooks without explicit configuration. See the documentation for more details. #26669
    • โž• Added support for finding implementations of interfaces and methods. #24854

    ๐Ÿ”„ Changed

    • โœ‚ Removed liveness probes from Kubernetes Prometheus deployment #2970
    • ๐Ÿ”ง Batch Changes now requests the workflow scope on GitHub personal access tokens to allow batch changes to write to the .github directory in repositories. If you have already configured a GitHub PAT for use with Batch Changes, we suggest adding the scope to the others already granted. #26606
    • โฌ†๏ธ Sourcegraph's Prometheus and Alertmanager dependency has been upgraded to v2.31.1 and v0.23.0 respectively. #27336
    • ๐Ÿš€ The search UI's repositories count as well as the GraphQL API's search().repositories and search().repositoriesCount have changed semantics from the set of searchable repositories to the set of repositories with matches. In a future release, we'll introduce separate fields for the set of searchable repositories backed by a scalable implementation. #26995

    ๐Ÿ›  Fixed

    • An issue that causes the server to panic when performing a structural search via the GQL API for a query that also matches missing repos (affected versions 3.33.0 and 3.32.0) . #26630
    • ๐Ÿ‘Œ Improve detection for Docker running in non-linux environments. #23477
    • ๐Ÿ›  Fixed the cache size calculation used for Kubernetes deployments. Previously, the calculated value was too high and would exceed the ephemeral storage request limit. #26283
    • ๐Ÿ›  Fixed a regression that was introduced in 3.27 and broke SSH-based authentication for managing Batch Changes changesets on code hosts. SSH keys generated by Sourcegraph were not used for authentication and authenticating with the code host would fail if no SSH key with write-access had been added to gitserver. #27491
    • Private repositories matching -repo: expressions are now excluded. This was a regression introduced in 3.33.0. #27044

    โœ‚ Removed

    • ๐Ÿšš All version contexts functionality (deprecated in 3.33) is now removed. #26267
    • ๐Ÿšš Query filter repogroup (deprecated in 3.33) is now removed. #24277
    • ๐Ÿ”’ Sourcegraph no longer uses CSRF security tokens/cookies to prevent CSRF attacks. Instead, Sourcegraph now relies solely on browser's CORS policies (which were already in place.) In practice, this is just as safe and leads to a simpler CSRF threat model which reduces security risks associated with our threat model complexity. #7658
    • ๐Ÿšš Notifications for saved searches (deprecated in v3.31.0) have been removed #27912