sourcegraph v2.9.0 Release Notes

  • 🔄 Changed

    • Hover tooltips were rewritten to fix a couple of issues and are now much more robust, received a new design and show more information.
    • 🗄 The max: search flag was renamed to count: in 2.8.8, but for backward compatibility max: has been added back as a deprecated alias for count:.
    • 🐎 Drastically improved the performance / load time of the Code Intelligence site admin page.

    ➕ Added

    • 💻 The site admin code intelligence page now displays an error or reason whenever language servers are unable to be managed from the UI or Sourcegraph API.
    • The ability to directly specify the root import path of a repository via .sourcegraph/config.json in the repo root, instead of relying on the heuristics of the Go language server to detect it.

    🛠 Fixed

    • 🔧 Configuring Bitbucket Server now correctly suppresses the the toast message "Configure repositories and code hosts to add to Sourcegraph."
    • A bug where canonical import path comments would not be detected by the Go language server's heuristics under cmd/ folders.
    • 🛠 Fixed an issue where a repository would only be refreshed on demand by certain user actions (such as a page reload) and would otherwise not be updated when expected.
    • ⚡️ If a code host returned a repository-not-found or unauthorized error (to repo-updater) for a repository that previously was known to Sourcegraph, then in some cases a misleading "Empty repository" screen was shown. Now the repository is displayed as though it still existed, using cached data; site admins must explicitly delete repositories on Sourcegraph after they have been deleted on the code host.
    • 👌 Improved handling of GitHub API rate limit exhaustion cases. Cached repository metadata and Git data will be used to provide full functionality during this time, and log messages are more informative. Previously, in some cases, repositories would become inaccessible.
    • 🛠 Fixed an issue where indexed search would sometimes not indicate that there were more results to show for a given file.
    • 🛠 Fixed an issue where the code intelligence admin page would never finish loading language servers.