sourcegraph v3.39.0 Release Notes

  • ➕ Added

    • ➕ Added support for LSIF upload authentication against GitLab.com on Sourcegraph Cloud. #33254
    • ➕ Add "getting started/quick start checklist for authenticated users" #32882
    • A redesigned repository page is now available under the new-repo-page feature flag. #33319
    • Pings now include notebooks usage metrics. #30087
    • 0️⃣ Notebooks are now enabled by default. #33706
    • The Code Insights GraphQL API now accepts Search Contexts as a filter and will extract the expressions embedded the repo and -repo search query fields from the contexts to apply them as filters on the insight. #33866
    • 0️⃣ The Code Insights commit indexer can now index commits in smaller batches. Set the number of days per batch in the site setting insights.commit.indexer.windowDuration. A value of 0 (default) will disable batching. #33666
    • 👌 Support account lockout after consecutive failed sign-in attempts for builtin authentication provider (i.e. username and password), new config options are added to the site configuration under "auth.lockout" to customize the threshold, length of lockout and consecutive periods. #33999
    • 🚀 pgsql-exporter for Code Insights has been added to docker-compose and Kubernetes deployments to gather database-level metrics. #780, #4111
    • repo:dependencies(...) predicate can now search through the Go dependencies of your repositories. #32658
    • ➕ Added a site config value defaultRateLimit to optionally configure a global default rate limit for external services.

    🔄 Changed

    • Code Insights: Replaced native window confirmation dialog with branded modal. #33637
    • Code Insights: Series data is now sorted by semantic version then alphabetically.
    • Code Insights: Added locked insights overlays for frozen insights while in limited access mode. Restricted insight editing save change button for frozen insights. #33062
    • Code Insights: A global dashboard will now be automatically created while in limited access mode to provide consistent visibility for unlocked insights. This dashboard cannot be deleted or modified while in limited access mode. #32992
    • ⚡️ Update "getting started checklist for visitors" to a new design [TODO:]
    • ⚡️ Update "getting started/quick start checklist for visitors" to a new design #32882
    • Code Insights: Capture group values are now restricted to 100 characters. #32828
    • ⚡️ Repositories for which gitserver's janitor job "sg maintenance" fails will eventually be re-cloned if "DisableAutoGitUpdates" is set to false (default) in site configuration. #33432
    • The Code Insights database is now based on Postgres 12, removing the dependency on TimescaleDB. #32697

    🛠 Fixed

    • 🛠 Fixed create insight button being erroneously disabled.
    • 🛠 Fixed an issue where a Warning: Sourcegraph cannot send emails! banner would appear for all users instead of just site admins (introduced in v3.38).
    • 🛠 Fixed reading search pattern type from settings #32989
    • Display a tooltip and truncate the title of a search result when content overflows #32904
    • ⚡️ Search patterns containing and and not expressions are now optimized to evaluate natively on the Zoekt backend for indexed code content and symbol search wherever possible. These kinds of queries are now typically an order of magnitude faster. Previous cases where no results were returned for expensive search expressions should now work and return results quickly. #33308
    • 🌲 Fail to log extension activation event will no longer block extension from activating [#33300][https://github.com/sourcegraph/sourcegraph/pull/33300]
    • 🛠 Fixed out-ouf-memory events for gitserver's janitor job "sg maintenance". #33353
    • Setting the publication state for changesets when previewing a batch spec now works correctly if all changesets are selected and there is more than one page of changesets. #33619

    ✂ Removed

    -