All Versions
247
Latest Version
Avg Release Cycle
4 days
Latest Release
-

Changelog History
Page 4

  • v3.34.2 Changes

    ๐Ÿ›  Fixed

    • A bug introduced in 3.34 and 3.34.1 that resulted in certain repositories being missed in search results. #28624
  • v3.34.1 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed Redis alerting for docker-compose deployments #28099
  • v3.34.0 Changes

    โž• 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
  • v3.33.2 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed: backported saved search and code monitor notification fixes from 3.34.0 #28019
  • v3.33.1 Changes

    ๐Ÿ›  Fixed

    • Private repositories matching -repo: expressions are now excluded. This was a regression introduced in 3.33.0. #27044
    • ๐Ÿ›  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
  • v3.33.0 Changes

    โž• Added

    • More rules have been added to the search query validation so that user get faster feedback on issues with their query. #24747
    • Bloom filters have been added to the zoekt indexing backend to accelerate queries with code fragments matching \w{4,}. zoekt#126
    • ๐Ÿ‘ For short search queries containing no filters but the name of a supported programming language we are now suggesting to run the query with a language filter. #25792
    • ๐Ÿ”ง The API scope used by GitLab OAuth can now optionally be configured in the provider. #26152
    • โž• Added Apex language support for syntax highlighting and search-based code intelligence. #25268

    ๐Ÿ”„ Changed

    • Search context management pages are now only available in the Sourcegraph enterprise version. Search context dropdown is disabled in the OSS version. #25147
    • Search contexts GQL API is now only available in the Sourcegraph enterprise version. #25281
    • ๐Ÿ“„ When running a commit or diff query, the accepted values of before and after have changed from "whatever git accepts" to a slightly more strict subset of that. #25414
    • ๐Ÿ—„ Repogroups and version contexts are deprecated in favor of search contexts. Read more about the deprecation and how to migrate to search contexts in the blog post. #25676
    • 0๏ธโƒฃ Search contexts are now enabled by default in the Sourcegraph enterprise version. #25674
    • Code Insights background queries will now retry a maximum of 10 times (down from 100). #26057
    • โฌ†๏ธ Our sourcegraph/cadvisor Docker image has been upgraded to cadvisor version v0.42.0. #26126
    • โฌ†๏ธ Our jaeger version in the sourcegraph/sourcegraph Docker image has been upgraded to 1.24.0. #26215

    ๐Ÿ›  Fixed

    • A search regression in 3.32.0 which caused instances with search indexing disabled (very rare) via "search.index.enabled": false, in their site config to crash with a panic. #25321
    • ๐Ÿณ An issue where the default search.index.enabled value on single-container Docker instances would incorrectly be computed as false in some situations. #25321
    • StatefulSet service discovery in Kubernetes correctly constructs pod hostnames in the case where the ServiceName is different from the StatefulSet name. #25146
    • An issue where clicking on a link in the 'Revisions' search sidebar section would result in an invalid query if the query didn't already contain a 'repo:' filter. #25076
    • ๐Ÿ’ป An issue where links to jump to Bitbucket Cloud wouldn't render in the UI. #25533
    • ๐Ÿ‘‰ Fixed some code insights pings being aggregated on anonymous_user_id instead of user_id. #25926
    • Code insights running over all repositories using a commit search (type:commit or type:diff) would fail to deserialize and produce no results. #25928
    • ๐Ÿ›  Fixed an issue where code insights queries could produce a panic on queued records that did not include a record_time #25929
    • ๐Ÿ›  Fixed an issue where Batch Change changeset diffs would sometimes render incorrectly when previewed from the UI if they contained deleted empty lines. #25866
    • An issue where repo:contains.commit.after() would fail on some malformed git repositories. #25974
    • ๐Ÿ›  Fixed primary email bug where users with no primary email set would break the email setting page when trying to add a new email. #25008
    • An issue where keywords like and, or, not would not be highlighted properly in the search bar due to the presence of quotes. #26135
    • An issue where frequent search indexing operations led to incoming search queries timing out. When these timeouts happened in quick succession, zoekt-webserver processes would shut themselves down via their watchdog routine. This should now only happen when a given zoekt-webserver is under-provisioned on CPUs. #25872
    • โšก๏ธ Since 3.28.0, Batch Changes webhooks would not update changesets opened in private repositories. This has been fixed. #26380
    • โšก๏ธ Reconciling batch changes could stall when updating the state of a changeset that already existed. This has been fixed. #26386

    โœ‚ Removed

    • ๐Ÿšš Batch Changes changeset specs stored the raw JSON used when creating them, which is no longer used and is not exposed in the API. This column has been removed, thereby saving space in the Sourcegraph database. #25453
    • ๐Ÿ— The query builder page experimental feature, which was disabled in 3.21, is now removed. The setting { "experimentalFeatures": { "showQueryBuilder": true } } now has no effect. #26125
  • v3.32.1 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿ›  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
  • v3.32.0 Changes

    โž• Added

    • The search sidebar shows a revisions section if all search results are from a single repository. This makes it easier to search in and switch between different revisions. #23835
    • The various alerts overview panels in Grafana can now be clicked to go directly to the relevant panels and dashboards. #24920
    • โž• Added a Documentation tab to the Site Admin Maintenance panel that links to the official Sourcegraph documentation. #24917
    • Code Insights that run over all repositories now generate a moving daily snapshot between time points. #24804
    • ๐Ÿ”€ The Code Insights GraphQL API now restricts the results to user, org, and globally scoped insights. Insights will be synced to the database with access associated to the user or org setting containing the insight definition. #25017
    • โฑ The timeout for long-running Git commands can be customized via gitLongCommandTimeout in the site config. #25080

    ๐Ÿ”„ Changed

    • allowGroupsPermissionsSync in the GitHub authorization provider is now required to enable the experimental GitHub teams and organization permissions caching. #24561
    • โš  GitHub external code hosts now validate if a corresponding authorization provider is set, and emits a warning if not. #24526
    • Sourcegraph is now built with Go 1.17. #24566
    • Code Insights is now available only in the Sourcegraph enterprise. #24741
    • ๐Ÿš€ Prometheus in Sourcegraph with Docker Compose now scrapes Postgres and Redis instances for metrics. deploy-sourcegraph-docker#580
    • Symbol suggestions now leverage optimizations for global searches. #24943

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a number of issues where repository permissions sync may fail for instances with very large numbers of repositories. #24852, #24972
    • ๐Ÿ›  Fixed primary email bug where users with no primary email set would break the email setting page when trying to add a new email. #25008
    • ๐Ÿ›  Fixed excessive re-rendering of the whole web application on every keypress in the search query input. #24844
    • ๐Ÿ‘ Code Insights line chart now supports different timelines for each data series (lines). #25005
    • Postgres exporter now exposes pg_stat_activity account to show the number of active DB connections. #25086

    โœ‚ Removed

    • The PRECISE_CODE_INTEL_DATA_TTL environment variable is no longer read by the worker service. Instead, global and repository-specific data retention policies configurable in the UI by site-admins will control the length of time LSIF uploads are considered fresh. #24793
    • ๐Ÿšš The repo.cloned column was removed as it was deprecated in 3.26. #25066
  • v3.31.2 Changes

    ๐Ÿ›  Fixed

  • v3.31.1 Changes

    โž• Added

    • The required authentication scopes required to enable caching behaviour for GitHub repository permissions can now be requested via allowGroupsPermissionsSync in GitHub auth.providers. #24328

    ๐Ÿ”„ Changed

    • ๐Ÿ”€ Caching behaviour for GitHub repository permissions enabled via the authorization.groupsCacheTTL field in the code host config can now leverage additional caching of team and organization permissions for repository permissions syncing (on top of the caching for user permissions syncing introduced in 3.31). #24328

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a panic in the worker service preventing code insights from populating with data. #24475