sourcegraph v3.33.0 Release Notes
-
โ 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
andafter
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 versionv0.42.0
. #26126 - โฌ๏ธ Our
jaeger
version in thesourcegraph/sourcegraph
Docker image has been upgraded to1.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 asfalse
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 ofuser_id
. #25926 - Code insights running over all repositories using a commit search (
type:commit
ortype: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 theirwatchdog
routine. This should now only happen when a givenzoekt-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