sourcegraph v3.28.0 Release Notes

  • โž• Added

    • โž• Added select:commit.diff.added and select:commit.diff.removed for type:diff search queries. These selectors return commit diffs only if a pattern matches in added (respespectively, removed) lines. #20328
    • โž• Additional language autocompletions for the lang: filter in the search bar. #20535
    • Steps in batch specs can now have an if: attribute to enable conditional execution of different steps. #20701
    • ๐ŸŒฒ Extensions can now log messages through sourcegraph.app.log to aid debugging user issues. #20474
    • Bulk comments on many changesets are now available in Batch Changes. #20361
    • Batch specs are now viewable when previewing changesets. #19534
    • โž• Added a new UI for creating code insights. #20212

    ๐Ÿ”„ Changed

    • ๐Ÿ‘‰ User and site credentials used in Batch Changes are now encrypted in the database if encryption is enabled with the encryption.keys config. #19570
    • ๐Ÿš€ All Sourcegraph images within deploy-sourcegraph now specify the registry. Thanks! @k24dizzle #2901.
    • 0๏ธโƒฃ Default reviewers are now added to Bitbucket Server PRs opened by Batch Changes. #20551
    • ๐Ÿš€ The default memory requirements for the redis-* containers have been raised by 1GB (to a new total of 7GB). This change allows Redis to properly run its key-eviction routines (when under memory pressure) without getting killed by the host machine. This affects both the docker-compose and Kubernetes deployments. sourcegraph/deploy-sourcegraph-docker#373 and sourcegraph/deploy-sourcegraph#2898
    • Only site admins can now list users on an instance. #20619
    • Repository permissions can now be enabled for site admins via the authz.enforceForSiteAdmins setting. #20674
    • ๐Ÿ”ง Site admins can no longer view user added code host configuration. #20851
    • 0๏ธโƒฃ Site admins cannot add access tokens for any user by default. #20988
    • ๐Ÿš€ Our namespaced overlays now only scrape container metrics within that namespace. #2969
    • ๐Ÿ‘ The extension registry main page has a new visual design that better conveys the most useful information about extensions, and individual extension pages have better information architecture. #20822

    ๐Ÿ›  Fixed

    • Search returned inconsistent result counts when a count: limit was not specified.
    • 0๏ธโƒฃ Indexed search failed when the master branch needed indexing but was not the default. #20260
    • repo:contains(...) built-in did not respect parameters that affect repo filtering (e.g., repogroup, fork). It now respects these. #20339
    • An issue where duplicate results would render for certain or-expressions. #20480
    • Issue where the search query bar suggests that some lang values are not valid. #20534
    • Pull request event webhooks received from GitHub with unexpected actions no longer cause panics. #20571
    • Repository search patterns like ^repo/(prefix-suffix|prefix)$ now correctly match both repo/prefix-suffix and repo/prefix. #20389
    • ๐Ÿš€ Ephemeral storage requests and limits now match the default cache size to avoid Symbols pods being evicted. The symbols pod now requires 10GB of ephemeral space as a minimum to scheduled. #2369
    • Minor query syntax highlighting bug for repo:contains predicate. #21038
    • An issue causing diff and commit results with file filters to return invalid results. #21039
    • All databases now have the Kubernetes Quality of Service class of 'Guaranteed' which should reduce the chance of them being evicted during NodePressure events. #2900
    • An issue causing diff views to display without syntax highlighting #21160

    โœ‚ Removed

    • ๐Ÿšš The deprecated SetRepositoryEnabled mutation was removed. #21044