sourcegraph v3.40.0 Release Notes

  • โž• Added

    • Code Insights: Added fuzzy search filter for dashboard select drop down
    • Code Insights: You can share code insights through a shareable link. #34965
    • Search: path: is now a valid filter. It is an alias for the existing file: filter. #34947
    • ๐Ÿ›  Search: -language is a valid filter, but the web app displays it as invalid. The web app is fixed to reflect validity. #34949
    • ๐Ÿ’Ž Search-based code intelligence now recognizes local variables in Python, Java, JavaScript, TypeScript, C/C++, C#, Go, and Ruby. #33689
    • โฑ GraphQL API: Added support for async external service deletion. This should be used to delete an external service which cannot be deleted within 75 seconds timeout due to a large number of repos. Usage: add async boolean field to deleteExternalService mutation. Example: mutation deleteExternalService(externalService: "id", async: true) { alwaysNil }
    • ๐Ÿ‘ search.largeFiles now supports recursive globs. For example, it is now possible to specify a pattern like **/*.lock to match a lock file anywhere in a repository. #35411
    • Permissions: The setRepositoryPermissionsUnrestricted mutation was added, which allows explicitly marking a repo as available to all Sourcegraph users. #35378
    • The repo:deps(...) predicate can now search through the Python dependencies of your repositories. #32659
    • ๐Ÿ‘ Batch Changes are now supported on Bitbucket Cloud. #24199
    • Pings for server-side batch changes #34308
    • Indexed search will detect when it is misconfigured and has multiple replicas writing to the same directory. #35513
    • A new token creation callback feature that sends a token back to a trusted program automatically after the user has signed in #35339
    • The Grafana dashboard now has a global container resource usage view to help site-admin quickly identify potential scaling issues. #34808

    ๐Ÿ”„ Changed

    • ๐Ÿง Sourcegraph's docker images are now based on Alpine Linux 3.14. #34508
    • Sourcegraph is now built with Go 1.18. #34899
    • Capture group Code Insights now use the Compute streaming endpoint. #34905
    • ๐Ÿšš Code Insights will now automatically generate queries with a default value of fork:no and archived:no if these fields are not specified by the user. This removes the need to manually add these fields to have consistent behavior from historical to non-historical results. #30204
    • Search Code Insights now use the Search streaming endpoint. #35286
    • ๐Ÿš€ Deployment: Nginx ingress controller updated to v1.2.0

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Code Insights: Fixed line chart data series hover effect. Now the active line will be rendered on top of the others.
    • ๐Ÿ›  Code Insights: Fixed incorrect Line Chart size calculation in FireFox
    • Unverified primary emails no longer breaks the Emails-page for users and Users-page for Site Admin. #34312
    • Button to download raw file in blob page is now working correctly. #34558
    • โšก๏ธ Searches containing or expressions are now optimized to evaluate natively on the backends that support it (#34382), and both commit and diff search have been updated to run optimized and, or, and not queries. #34595
    • Carets in textareas in Firefox are now visible. #34888
    • ๐Ÿ”„ Changesets to GitHub code hosts could fail with a confusing, non actionable error message. #35048
    • An issue causing search expressions to not work in conjunction with type:symbol. #35126
    • A non-descriptive error message that would be returned when using on.repository if it is not a valid repository path #35023
    • โฌ‡๏ธ Reduced database load when viewing or previewing a batch change. #35501
    • ๐Ÿ›  Fixed a bug where Capture Group Code Insights generated just in time only returned data for the latest repository in the list. #35624

    โœ‚ Removed

    • ๐Ÿš€ The experimental API Docs feature released on our Cloud instance since 3.30.0 has been removed from the product entirely. This product functionality is being superseded by doctree. #34798