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 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