sourcegraph v3.29.0 Release Notes

  • βž• Added

    • πŸ‘· Code Insights queries can now run concurrently up to a limit set by the insights.query.worker.concurrency site config. #21219
    • πŸ”§ Code Insights workers now support a rate limit for query execution and historical data frame analysis using the insights.query.worker.rateLimit and insights.historical.worker.rateLimit site configurations. #21533
    • The GraphQL Site SettingsSubject type now has an allowSiteSettingsEdits field to allow clients to determine whether the instance uses the GLOBAL_SETTINGS_FILE environment variable. #21827
    • πŸ’» The Code Insights creation UI now remembers previously filled-in field values when returning to the form after having navigated away. #21744
    • πŸ’» The Code Insights creation UI now shows autosuggestions for the repository field. #21699
    • A new bulk operation to retry many changesets at once has been added to Batch Changes. #21173
    • A security_event_logs database table has been added in support of upcoming security-related efforts. #21949
    • βž• Added featured Sourcegraph extensions query to the GraphQL API, as well as a section in the extension registry to display featured extensions. #21665
    • The search page now has a create insight button to create search-based insight based on your search query #21943
    • βž• Added support for Terraform syntax highlighting. #22040
    • πŸ”€ A new bulk operation to merge many changesets at once has been added to Batch Changes. #21959
    • πŸ’» Pings include aggregated usage for the Code Insights creation UI, organization visible insight count per insight type, and insight step size in days. #21671
    • πŸ’» Search-based insight creation UI now supports count: filter in data series query input. #22049
    • πŸ‘· Code Insights background workers will now index commits in a new table commit_index for future optimization efforts. #21994
    • πŸ’» The creation UI for search-based insights now supports the count: filter in the data series query input. #22049
    • πŸ“š A new service, worker, has been introduced to run background jobs that were previously run in the frontend. See the deployment documentation for additional details. #21768

    πŸ”„ Changed

    • SSH public keys generated to access code hosts with batch changes now include a comment indicating they originated from Sourcegraph. #20523
    • πŸ—„ The copy query button is now permanently enabled and experimentalFeatures.copyQueryButton setting has been deprecated. #21364
    • πŸ—„ Search streaming is now permanently enabled and experimentalFeatures.searchStreaming setting has been deprecated. #21522
    • 🚚 Pings removes the collection of aggregate search filter usage counts and adds a smaller set of aggregate usage counts for query operators, predicates, and pattern counts. #21320
    • πŸ“š Sourcegraph will now refuse to start if there are unfinished out-of-band-migrations that are deprecated in the current version. See the upgrade documentation for changes to the upgrade process. #20967
    • Code Insight pages now have new URLs #21856
    • πŸ’» We are proud to bring you an entirely new visual design for the Sourcegraph UI. We think you’ll find this new design improves your experience and sets the stage for some incredible features to come. Some of the highlights include:

      • Refined search results: The redesigned search bar provides more space for expressive queries, and the new results sidebar helps to discover search syntax without referencing documentation.
      • Improved focus on code: We’ve reduced non-essential UI elements to provide greater focus on the code itself, and positioned the most important items so they’re unobtrusive and located exactly where they are needed.
      • Improved layouts: We’ve improved pages like diff views to make them easier to use and to help find information quickly.
      • New navigation: A new global navigation provides immediate discoverability and access to current and future functionality.
      • Promoting extensibility: We've brought the extension registry back to the main navigation and improved its design and navigation.

    With bulk of the redesign complete, future releases will include more improvements and refinements.

    πŸ›  Fixed

    • πŸ‘ Stricter validation of structural search queries. The type: parameter is not supported for structural searches and returns an appropriate alert. #21487
    • Batch changeset specs that are not attached to changesets will no longer prematurely expire before the batch specs that they are associated with. #21678
    • The Y-axis of Code Insights line charts no longer start at a negative value. #22018
    • Correctly handle field aliases in the query (like r: versus repo:) when used with contains predicates. #22105
    • βš™ Running a code insight over a timeframe when the repository didn't yet exist doesn't break the entire insight anymore. #21288

    βœ‚ Removed

    • 🚚 The deprecated GraphQL icon field on CommitSearchResult and Repository was removed. #21310
    • 🚚 The undocumented index filter was removed from search type-ahead suggestions. #18806
    • Code host connection tokens aren't used for creating changesets anymore when the user is site admin and no credential has been specified. #16814