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 allsourcegraph/*
Docker images that usesourcegraph/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
onsourcegraph-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
andsearch().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