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 existingfile:
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 todeleteExternalService
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
andarchived: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 optimizedand
,or
, andnot
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