Technical Changelog
This page documents all notable changes to Sourcegraph. For more detailed changelog posts, please read here.
6.1 Patch 0
v6.1.0
Features
Agents
- allow code review agent to auto-run based on feature flags
(PR #3477)
- Code review agents can now automatically run on GitHub Pull Requests (actions:
opened
andsynchronize
) based on a feature flag. Both boolean (true/false) and rollout (percentage-based ) feature flags are supported. For example, this means you can enable automatic reviews on 10% of all opened PRs.
- Code review agents can now automatically run on GitHub Pull Requests (actions:
- Review Diagnostic Feedback [CODY-4951]
(PR #3456)
- Adds a feedback UI for diagnostics within the Agents app.
- report progress with GitHub Commit Status API
(PR #3445)
- The Code Review Agent now reports live status with the GitHub Commit Status API making it possible to open Agent logs directly from GitHub.
- Make Review Agent leverage PR title and description (CODY-4749)
(PR #3431)
- make review triggers configurable
(PR #3368)
- You can now request review from the Review Agent by posting a pull request comment with a configurable substring
- Code reviews deduplicate diagnostics from historical review [CODY-4743]
(PR #3355)
- Code reviews deduplicate diagnostics from historical reviews
- add basic review rules to repo
(PR #3335)
- rules-related API improvements
(PR #3305)
- read the cody repo for rules as well
(PR #3212)
- show rules that apply to a file in the code view
(PR #3200)
- more agents UI updates
(PR #3177)
- add Run API, view live progress on agent runs
(PR #3171)
- Add
GET /.api/agents/runs
to list runs of an agent, and other related endpoints including the ability to view logs
- Add
- make Review agent handle large diffs
(PR #3136)
- The Review agent can now review larger diffs.
- expose rules API endpoints and use rule URIs instead of IDs
(PR #3056)
- Adds Conversation HTTP handlers and generated DB columns [CODY-4751]
(PR #3021)
- Adds HTTP handlers for
/.api/conversations
for creating and filtering conversations as well as a DB method for querying conversations.
- Adds HTTP handlers for
- agents UI and requisite new APIs
(PR #2818)
Code Intelligence
- Syntactic indexing job resetter
(PR #3336)
- Periodically delete old audit logs from syntactic jobs
(PR #3278)
Cody
- Add Prompt Caching to Code Context (CODY-4807)
(PR #3198)
Cody-Gateway
- add actor-auth-status metric
(PR #3460)
- Add cache related token usage data to telemetry(CODY-4808)
(PR #3396)
- Roll out new Gemini Models
(PR #3357)
- Move Gemini 2.0 Flash from Experimental to GA, add Gemini 2.0 Flash-Lite Preview Experimental and Gemini 2.0 Pro Experimental
Enterpriseportal
- add tracking for verified domains
(PR #3447)
Lib/Msp
- add OTEL instrumentation to gRPC clients by default
(PR #3428)
Local
- install mise as part of
sg setup
and deprecate asdf(PR #2877)
Model-Config
- Implement reasoning parameters for OpenAI models
(PR #3489)
Msp/Auditlog
- add trace ID to response headers
(PR #3248)
Release
- Add init subsection to release.yaml
(PR #3223)
- feat: add init cmd subsection to release.yaml parser
- feat: add init section to release.yaml
Release
sg upgradetest
(PR #3388)
- allow the upgradetest to be run locally without knowing the bazel invocation required to stamp the build etc
- unlock local minor and major branch upgradetests
Search
- Add enterprise starter cta to dotcom search home
(PR #3090)
Telemetry
- add events for repo page views
(PR #3265)
- add billing metadata to toggles
(PR #3264)
Tenant
- fix workspace management UI quirks
(PR #3227)
Web
- Update cloning status to new designs
(PR #2760)
Workspace
- workspace creation error UX
(PR #3383)
Workspaces
- attach cf ray id to otel traces
(PR #3387)
- add WORKSPACES_ROUTER_DISABLE_RECONCILERS
(PR #3382)
- upsert/delete route on manual reconcile
(PR #3378)
- contact support to claim a name
(PR #3340)
- record clientside payment errors
(PR #3319)
- remove profanity blocks
(PR #3317)
- add cancellation/churn notifications in Slack
(PR #3314)
- add 'code search and code navigation' to plan page
(PR #3267)
- allow creation form to be pre-filled with a coupon
(PR #3228)
- seat-purchase notifications for Slack
(PR #3225)
- allow Stripe promo codes only, enforce short-lived promo codes
(PR #3222)
- enforce SAMS client per instance, add instance debug UI
(PR #3138)
- metric for Cloudflare interactions, include status from Stripe
(PR #3117)
- internal admin trigger to reconcile workspace
(PR #3070)
- add instance class option for employees
(PR #3067)
- write snapshot of workspace details into BigQuery on creation
(PR #3049)
- plans page refresh
(PR #2983)
Workspaces/Billing
- add workspace name/displayname to Slack notifications
(PR #3262)
- include total seats in slack notification
(PR #3260)
Workspaces/Slack
- make coupons links, refactor slack formatting
(PR #3332)
Workspaces/Telemetry
- add marketingtracking and anonymous UID
(PR #3343)
Others
- prompt templates editor supports @ current mentions
(PR #3397)
- feat: prompt templates editor supports dynamic @ mentions
- add event for codeintel highlights
(PR #3261)
- Add support for VoyageAI reranker
(PR #3155)
Fix
Agents
- redirect to settings page after creating agents
(PR #3471)
- Creating a new agent now redirects to the settings page for further setup
- correct typo in system prompt
(PR #3421)
- disable Agents unless feature flag is enabled
(PR #3420)
- show diagnostics on review page
(PR #3358)
- fix bug where review agent posted comments on wrong lines
(PR #3347)
- Add fallback when rules list is empty (CODY-4834)
(PR #3285)
- use globs instead of regexp for include/exclude filters
(PR #3277)
- Rule include/exclude patterns are now interpreted as globs (
*.go
) instead of regexp (.*\.go
). Negative include patterns like!*.go
will be interpreted as exclude patterns, and vice versa.
- Rule include/exclude patterns are now interpreted as globs (
- remove agents from the navbar on dotcom
(PR #3166)
Auth
- Add missing allowSignup option to HTTP header auth provider
(PR #3232)
- fix/auth: "http-header" auth provider can "allowSignup": false to disable automatic account creation
Ci
- disable puppeteer browser tests
(PR #3298)
- disable client checks
(PR #3290)
- update licenses script and rerun it
(PR #3053)
Code Intelligence
- Optimize GetSymbolUsages core query
(PR #3035)
- Decorrelate subquery for hover docs
(PR #3031)
- Bound number of docs read for GetHover
(PR #3000)
Cody
- include token usage in OpenAI streaming requests
(PR #3441)
- Check that completion exists
(PR #3410)
- include token usage in OpenAI streaming requests
(PR #3376)
- use max_completion_tokens field for OpenAI
(PR #3362)
- Pull correct client-name param
(PR #3167)
- show actual chat quota usage for free-tier users
(PR #2970)
- filter allowed models by capability for PLG users
(PR #2506)
Cody-Gateway
- v1/limits handler
(PR #2908)
Dev
- internal/memcmd: add support for using mise in tests
(PR #3256)
Local
- set GOWORK=off for frontend in sg
(PR #3111)
Models
- update OpenAI o3-mini model pricing
(PR #3303)
Msp/Iam
- grant Cloud Deploy executor access to images
(PR #3175)
Msp/Runtime
- fix pgx pool stats metric
(PR #3126)
Multi Tenant
- bring back description text to the github add account setup step
(PR #3325)
- improve workspace validation states
(PR #3093)
Multitenant/Mt-Router
- fix up routes and redirect
(PR #3195)
Release
- fix migrator update check
(PR #3173)
- fix(rel): fix migrator upgrade check
Search
- Change chevrons in in-file search panel
(PR #3367)
- Web app broken if settings contains 'message' key
(PR #3363)
- Bust cache for new logo (favicon)
(PR #3350)
- Use separate light and dark SG logo variants
(PR #3280)
- Link to correct dashboard page in extensions CTA
(PR #3182)
- Fix search aggregation chart popover
(PR #3046)
- Chat tips modal covered by file sidebar
(PR #3016)
Source
- Fix Gerrit clone URL resolution
(PR #3446)
- Fix inability to update Gerrit code host config URL
(PR #3361)
- Fix bug where the URL of a Gerrit code host connection could not be updated.
- web: ensure list of external accounts has unique entry for each key
(PR #3323)
- A bug on the user's account security page that could result in duplicated / buggy entries has been fixed.
- RepoSource.BitbucketServer.CloneURLToRepoName(): support more URL shapes
(PR #3224)
- The logic that translates Bitbucket clone URLs to repository names has been fixed to support:
- URLs that have no scheme (like
"bitbucket.sgdev.org/sourcegraph/sourcegraph"
) - SSH clone urls that don't have a
ssh://
scheme prefix (like[email protected]:sourcegraph/sourcegraph.git
)
- gitserver: merge base: add explicit test to ensure ordering of RevisionNotFoundErrors
(PR #2779)
Tenant/Repositories
- do not show search text if empty
(PR #3321)
Ui
- Display Revision not found instead of Empty repo
(PR #3235)
Web
- add missing separator under organizations
(PR #3253)
Workspaces
- correctly apply management retries
(PR #3384)
- spread out routerreconciler workload more
(PR #3377)
- reduce frequency of custom input telemetry event
(PR #3342)
- apply coupon when estimating price on existing subscription
(PR #3331)
- tweak plan page copy again
(PR #3328)
- use display name on join page
(PR #3326)
- drill coupon from homepage, make sure coupon is applied immediately
(PR #3312)
- more sentence-casing fixes
(PR #3255)
- fix capitalization in creation form
(PR #3218)
- hide open-invites toggle when email domain is not allowed
(PR #3213)
- price is monthly
(PR #3197)
- fix name validation
(PR #3165)
- include class in unseen instance counts, remove unseen instances from normal counts
(PR #3134)
- log check-name errors as unexpected errors
(PR #3075)
- test that post-normalization bad words are caught
(PR #3047)
Workspaces/At-Capacity
- capitalize error message
(PR #3381)
Workspaces/Metrics
- report all workspace/instance states
(PR #3297)
Others
- Color removed from filter sidebar in search
(PR #3399)
- change workspace icon in profile menu
(PR #3241)
- Fix yaml file
(PR #3183)
- index matches safely
(PR #3168)
- server checks reindex at 5.10 now
(PR #2881)
- single docker server checks for 5.10-reindex.completed instead of 5.1-reindex.completed
Chore
Agents
- Basic Telemetry for Code Review [CODY-4903]
(PR #3389)
- [CODY-4830] Update Conversation and Review store patterns
(PR #3259)
- remove typebox for runtime type validation
(PR #3214)
Ci
- migrate rules_oci to MODULE.bazel
(PR #3352)
- fixes gazelle issues
(PR #3296)
- migrate rules_go and gazelle to bazel mod
(PR #1716)
Cloud
- update cloud-mi2 wolfi base image
(PR #3199)
Code Intelligence
- Make scip-syntax parallelism configurable
(PR #3206)
- Use clearer names & error propagation in SCIW initialization
(PR #2997)
Deps
- upgrade sourcegraph-accounts-sdk-go
(PR #3142)
Dev
- Upgrade to pnpm v9.15.4
(PR #3266)
- Delete go.mod for monitoring/ directory
(PR #2951)
Modelconfig
- remove spammy logs
(PR #3452)
Msp/Cloudsql
- remove pgx.Acquire span
(PR #3141)
Release
- update src-cli dependencies for 6.0.0 release
(PR #3186)
- Release src-cli 6.0.0
Search
- Permanently enable the new web app on dotcom
(PR #3448)
- Remove new branding branching logic
(PR #3270)
Security
- Auto-update all packages in Sourcegraph base images
(PR #3482)
- Auto-update all packages in Sourcegraph base images
(PR #3239)
Workspaces
- Remove cody upsell in workspace creation
(PR #3391)
- Update ES Cody limits to 2x Enterprise
(PR #3069)
- make user metadata available on userauth.UserInfo
(PR #3051)
Workspaces/Blocklists
- add 'unconfigured' to blocked names
(PR #3043)
Workspaces/Web
- rename 'quickJoin' vars to 'openInvite'
(PR #2974)
Others
- update list of allowed headers for untrusted clients
(PR #3486)
- add events for hoverables
(PR #3433)
- update third-party licenses
(PR #3414)
- Output formatting updates based on feedback
(PR #3349)
- Entitle URL updates
(PR #3345)
- Add more doc comments for file checker types
(PR #3307)
- update third-party licenses
(PR #3273)
- fix integration tests
(PR #3263)
- Update teams.yml for product platform changes
(PR #3252)
- Remove orphaned modules / import to non-exisiting module
(PR #3219)
- Drop hubspot logging from non-dotcom auth methods
(PR #3132)
- update third-party licenses
(PR #3095)
- Remove gorilla/context
(PR #3089)
- Layout finetuning of Creating Workspaces and Tenant Onboarding
(PR #3065)
Reverts
- Revert: use max_completion_tokens field for OpenAI and the inclusion of token usage in OpenAI streaming requests
(PR #-1)
- Revert "Omnibox: route likely code generation commands to Chat (#2969)"
(PR #2969)
Uncategorized
Others
- Update Cody Web v0.31.0
(PR #3474)
- gateway: Bump limits for ES
(PR #3409)
- gomod: update Zoekt for file language fix
(PR #3408)
- msp: use TFC robot email for IAP
(PR #3400)
- Alexjean baptiste cody 4813 azure gpt model enum update or override
(PR #3380)
- web: Make CTA for workspaces correctly reload page for marketing content
(PR #3341)
- Fix path to pt to updated
useObservables
family of hooks(PR #3322)
- Removing DeepSeek V3 model
(PR #3309)
- workspaces: Never show wallet payments
(PR #3304)
- sg: Extend the mise check to early-exit if env var is set
(PR #3302)
- refactor(cody-gateway) Remove support for OpenAI o1-mini model (CODY-4839)
(PR #3295)
- Remove support for OpenAI o1-mini model.
- refactor(cody-gateway) Deprecate Gemini 1.5 Flash, Claude 3 Opus, Claude 3 Haiku, and Mixtral 8x7B (CODY-4839)
(PR #3293)
- Deprecate Gemini 1.5 Flash, Claude 3 Opus, Claude 3 Haiku, and Mixtral 8x7B
- gomod: bump Zoekt after package restructuring
(PR #3271)
- Adding O3 mini model to OpenAI
(PR #3254)
- Adding O3 mini model to OpenAI
(PR #3254)
- Adding O3 mini model to OpenAI
- telemetry: add ClientFeature for more granular reporting of search events
(PR #3229)
- Search: enable scip-ctags for C
(PR #3215)
- cleanup: simplify search observables and switch to fetch-event-source
(PR #3196)
- completions: improve prometheus metrics for code/chat completions
(PR #3181)
- partially fix erroneous
svelte-check
errors in local dev(PR #3180)
- Adding DeepSeek V3 support through fireworks
(PR #3170)
- lib/marketingtracking: publish module for SAMS to consume
(PR #3169)
- web: Some more user menu polish
(PR #3140)
- remove builtin rules from code review agent
(PR #3086)
- workaround for
sg start minimal-sveltekit
and other "minimal" entrypoints(PR #3085)
- doc/workspaces: fix link to chargeback playbook
(PR #3076)
- generate TypeScript types and runtime type validators for Agent API
(PR #3055)
- Update sg setup for employees
(PR #2990)
- chore(Workspaces) Fix repo size increment from 500mb to 1 gig
(PR #2977)
- feat(agents) Conversations API DB Tables [CODY-4683]
(PR #2964)
- Adds
agent_conversations
andagent_conversation_messages
tables as well asConversationStore
- Adds
- Replace o1 preview model with o1
(PR #2924)
- feature(codeintel): add syntax highlighting for Svelte
(PR #2690)
- Added syntax highlighting for
.svelte
files
- Added syntax highlighting for
- mt-router: allow passthrough for instance health check endpoint
(PR #2689)
Untracked
The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
- Fix Gerrit clone URL resolution (#3446)
(PR #3449)
- Fix inability to update Gerrit code host config URL (#3361)
(PR #3439)
- Fix bug where the URL of a Gerrit code host connection could not be updated.(cherry picked from commit e6da1ceb9586bf109339f06220c1fdbbf570a6d9)
- prompt templates editor supports @ current mentions (#3397)
(PR #3436)
- feat: prompt templates editor supports dynamic @ mentionsPR description tips: https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e
- Roll out new Gemini Models (#3357)
(PR #3412)
- Move Gemini 2.0 Flash from Experimental to GA, add Gemini 2.0 Flash-Lite Preview Experimental and Gemini 2.0 Pro ExperimentalCo-authored-by: arafatkatze [email protected] (cherry picked from commit 4aa5aa41cc0f5e2be80c77e8e8709e198ff54b94)PR description tips: https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e
- Backport 3254 to 6.0.x
(PR #3300)
- [backport] fix/web: add missing separator under organizations (#3253)
(PR #3282)
- Auto-update all packages in Sourcegraph base images
(PR #3237)
- [backport] feat/tenant: fix workspace management UI quirks (#3227)
(PR #3230)
- [backport] feat/web: Update cloning status to new designs (#2760)
(PR #3158)
- Layout finetuning of Creating Workspaces and Tenant Onboarding (#3065)
(PR #3139)
Revert "Fix: Buildkite Pipeline generates images with specific cloud tags for S2 deployments"(PR #2985)
Revert "fix: set the tag in the push_all.sh script"(PR #2989)
- Fix: Buildkite Pipeline generates images with specific cloud tags for S2 deployments
(PR #2985)
- NA - no customer facing changes
6.0 Patch 1
v6.0.2687
Features
Cody-Gateway
- Roll out new Gemini Models (#3357)
(PR #3412)
- Move Gemini 2.0 Flash from Experimental to GA, add Gemini 2.0 Flash-Lite Preview Experimental and Gemini 2.0 Pro ExperimentalCo-authored-by: arafatkatze [email protected] (cherry picked from commit 4aa5aa41cc0f5e2be80c77e8e8709e198ff54b94)PR description tips: https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e
Multitenant
- add support for alternate default tenant hostname
(PR #3176)
Security
- Create Binary Authorization attestations when promoting images to public
(PR #3478)
Others
- prompt templates editor supports @ current mentions (#3397)
(PR #3436)
- feat: prompt templates editor supports dynamic @ mentionsPR description tips: https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e
Fix
Multi Tenant
- fixing paper cuts for mt marketing launch (#3242)
(PR #3281)
- misc wording fixes in workspaces onboarding
(PR #3207)
- fixes welcome message alert
(PR #3174)
Source
- Fix Gerrit clone URL resolution (#3446)
(PR #3449)
- Fix inability to update Gerrit code host config URL (#3361)
(PR #3439)
- Fix bug where the URL of a Gerrit code host connection could not be updated.(cherry picked from commit e6da1ceb9586bf109339f06220c1fdbbf570a6d9)
- Normalize code host URLs during code host config unmarsha…
(PR #3438)
- gitserver: Unambiguously identify commit boundaries in git log
(PR #3411)
- Commit listing should work correctly for repos which contain arbitrary characters in commit messages. This also affects downstream functionality such as commit graph updates needed for precise code navigation.Backport 2eae8e1 from #3359
Chore
Security
- Auto-update all packages in Sourcegraph base images
(PR #3237)
Reverts
There were no reverts for this release
Uncategorized
Others
- [Backport 6.0.x] gitserver: Fix API endpoint for installation token creation
(PR #3432)
- [backport] chore/source: Update src-cli to 6.0.1 (#3365)
(PR #3416)
- Update src-cli version to 6.0.1
- [backport] fix/tenant: fix invitation expiry, user management UX improvements (#3353)
(PR #3356)
- [Backport 6.0.x] tenant: Also allow to add fork repos
(PR #3348)
- Backport 3254 to 6.0.x
(PR #3300)
- [backport] feat/prompts: support public prompts/saved-searches in workspaces using RBAC (#3257)
(PR #3294)
- [backport] fix/web: add missing separator under organizations (#3253)
(PR #3282)
- [backport] feat/tenant: fix workspace management UI quirks (#3227)
(PR #3230)
6.0 Patch 0
Attention - Postgres 12 is no longer supported! If upgrading from Sourcegraph version 5.9 or earlier, this release will update our included database container images from Postgres 12 to Postgres 16. Customers are advised to have a database backup before upgrading. See our postgres 12 end of life notice for more information.
Also be sure to check your deployment type's upgrade notes!
v6.0.0
Features
Agents
- make review agent configurable via program files
(PR #2962)
- The Review agent now requires the program file
.sourcegraph/review-agent.json
with at least the content"{}"
to enable posting Pull Requests review through the GitHub App. The JSON file may contain additional configuration options to override defaults of theReviewRequestConfiguration
object (see OpenAPI spec)
- The Review agent now requires the program file
Ci
- publish images with branch tag on release branch
(PR #3039)
- tag release branch images with branch image tag
(PR #3032)
Cloud
- add support to collect web vitals metrics to web-svelte
(PR #2735)
Code Intelligence
- Add audit logs for changes to syntactic jobs
(PR #2893)
- highlights json files with tree-sitter
(PR #2469)
- Improved highlighting for JSON files
Cody
- improve rendering of diagnostics as GitHub comments
(PR #2954)
- The Review Agent now includes the rule ID when posting comments on pull requests. By default, the minimum review severity is errors (previously it was warning). When the minimum severity is overridden to be warnings, then the review comments will also include the severity.
- make Review Agent rule detection configurable
(PR #2913)
- Configure custom review rules for the Review Agent by adding
*.rule.md
files nested under.sourcegraph/
directories in any ancestor director of files in the diff.
- Configure custom review rules for the Review Agent by adding
- Sourcegraph Agents
(PR #2739)
- New
/.api/agents/**
endpoints to manage the creation of Sourcegraph Agents (EAP feature). - New support to automatically review GitHub Pull Requests with a Review Agent via GitHub Apps (EAP feature).
- New
- first stab at a Code Review Agent API
(PR #2568)
- New
GET /.api/tools
endpoint to list tool definitions for Sourcegraph API endpoints to use with the LLM /chat/completions endpoint for function calling. - New
POST /.api/review/diff
endpoint to get a list of code review comments given a git diff (including GitHub pull requests and Gitlab merge requests).
- New
Dev
- add support to export otel metrics to prom in local dev
(PR #2781)
Dotcom
- support Svelte workspace switcher in dotcom
(PR #2675)
- enable workspaces-prod proxy
(PR #2664)
- add feature flag to enable React switcher in dotcom POC
(PR #2659)
Msp
- add client details to MSP audit logs
(PR #2887)
- enable CloudSQL Enterprise Plus with postgresql.highAvailability
(PR #2682)
- upgrade CloudSQL to POSTGRES_16
(PR #2667)
- support BigQuery table partitioning
(PR #2597)
Multi Tenant
- enable extension setup step for everyone
(PR #3137)
- add org wasn't added modal UI
(PR #3072)
- add cancel subscription UI
(PR #3044)
- polish join workspace and status pages
(PR #2900)
- support 3ds and redirection-based payment flow for workspace creation
(PR #2865)
- Enable the new Sourcegraph branding by default
(PR #2801)
- polish workspace creation flow
(PR #2787)
- prepare common svelte UI for workspaces app
(PR #2734)
- connect repositories management page to API
(PR #2688)
- improve switch tenant UI
(PR #2656)
- add workspace billing settings page
(PR #2600)
- add workspace settings users page
(PR #2504)
- add workspace settings general page
(PR #2503)
- add workspace settings main layout
(PR #2502)
Multi-Tenant/Mt-Router
- add prod deployment
(PR #2622)
Multitenant
- Add UseRandomExternalAccount code host connection option and use it in MT
(PR #2821)
- Disable web app toggle by default on workspaces
(PR #2771)
- no pings, no telemetry redaction
(PR #2491)
Rbac
- add USER_EXTERNAL_ACCOUNTS#READ_ALL_USERS for workspace admin
(PR #2512)
Release
- address pg12 -> pg16 drift with normalization
(PR #2950)
- Normalize drift detection to handle for postgres 12 to 16 upgrade
Search
- Code search is homepage for workspaces
(PR #3127)
- Add upsell menu items
(PR #3122)
- Update production favicon
(PR #2909)
- Add omnibox routes
(PR #2797)
- Add new main navigation (feature flagged)
(PR #2768)
- Use new brand logo to web apps (feature flagged)
(PR #2767)
- (new web app) Add download option to file page
(PR #2461)
- (new web app) Add padding and messages to end of search results
(PR #2455)
Source
- multitenant: add "edit" state when editing workspace repositories
(PR #2849)
Telemetry
- allowlist model metadata on
privateMetadata
(PR #2832)
Tenant/Billing
- use EstimateWorkspaceSubscriptionSubtotal in UpdateSeatsModal
(PR #2930)
Tenants/Telemetry
- report external URL for workspace identifier
(PR #2602)
Web/Tenant
- update selected repos and repo size with pending state
(PR #2925)
Workspace
- Open up instance url inside of vs code
(PR #2782)
- add billing link to request-to-join template params
(PR #2596)
Workspaces
- add background goroutine job that emits telemetry about repo count and size
(PR #3130)
- metrics for subscription renewals and debt collection
(PR #2886)
- prevent workspace ID prefix from being used in names
(PR #2841)
- import suspiciousnames to blocklist
(PR #2803)
- add AdministrationService, /internal UI for suspending workspaces
(PR #2786)
- add some plans telemetry
(PR #2783)
- restrict display name length
(PR #2776)
- add suspension states
(PR #2751)
- bypass some workspace name checks with SAMS user metadata
(PR #2733)
- allow configurable sender address
(PR #2729)
- add seat count events
(PR #2665)
- state transition log
(PR #2661)
- required email domains
(PR #2614)
- improve wording of name-check errors, add telemetry
(PR #2593)
- initial web and service telemetry
(PR #2522)
- global creation control
(PR #2498)
- status pages for workspace not found and suspended
(PR #2438)
- handle SAMS user deletion
(PR #2384)
Workspaces/Billing
- counter for stripe API usage
(PR #2855)
Workspaces/Internal
- support ID lookup
(PR #2839)
Workspaces/Routerreconciler
- make upsert reconcile incremental
(PR #2848)
Workspaces/Settings
- add workspace ID to sidebar
(PR #2728)
Workspaces/Web
- add telemetry events for workspace plans
(PR #2840)
- set title to Sourcegraph Workspaces
(PR #2834)
Others
- add CTA for agents API
(PR #2799)
- prompt templates now support specific @ mentions
(PR #2793)
- feat: prompt templates now support specific @ mentions
- propagate bestScoringLine and use that to center chunks in the search UI
(PR #2683)
- For broad matches, we now center the best-scoring line in search results
- add tools support to LLM API (aka. function calling)
(PR #2537)
- The
/.api/llm/chat/completions
endpoint now support function calling via thetools
property. This feature works when using the LLM providers: OpenAI, Anthropic, Fireworks, AWS Bedrock, and Gemini.
- The
- add ability to boost user-relevant repos for
patterntype:nls
(PR #2489)
Fix
Actor
- better preserve anonymous user ID for telemetry
(PR #2546)
Agents
- Remove leftover printf statement
(PR #3079)
- Backport 9639850855bb169f7dee4fbcff869c77c17f9328 from #3007
- fix bug in AgentStore.ListByWebhookID and LLMChatClient
(PR #3054)
- Fixed bug in Review Agent where it didn't post review comments even for small diffs Backport 4710b59 from #3019
Auth
- Improve session expiration behavior
(PR #2765)
- We are changing the behavior of session expiration to be a hard-cap instead of a rolling window.
auth.sessionExpiry
will now set a hard-limit on the sessions lifetime, and users will have to re-authenticate after this period. To preserve the previous behavior where sessions would be invalidated after they haven't been used for a while, a new configuration option namedauth.maxSessionIdleDuration
has been introduced that controls session expiration based on inactivity.
- We are changing the behavior of session expiration to be a hard-cap instead of a rolling window.
- Don't expire sessions based on OAuth token validity
(PR #2761)
- Fixed an issue where Sourcegraph user sessions initiated via OAuth integrations did not respect the
auth.sessionExpiry
configuration and expired much earlier.
- Fixed an issue where Sourcegraph user sessions initiated via OAuth integrations did not respect the
Ci
- include push version tag to private registry
(PR #3074)
- add handling for unbound variable in push_all.sh
(PR #3036)
Cloud
- add explicit bucket to lcp metrics
(PR #2846)
- typo in metric attrs name
(PR #2804)
Code Intelligence
- Better cleanup in syntactic indexing worker
(PR #3156)
- Don't create unscoped Logger
(PR #2945)
- Overwrite old->new commit for syntactic indexing jobs
(PR #2764)
- Handle missing committer date in policy code
(PR #2696)
- Add DB constraints for syntactic jobs+policies
(PR #2566)
- In the site admin configuration for code graph policies, restricts the creation of policies for syntactic indexing to HEAD-only. This restriction may be lifted in the future. Policies for precise auto-indexing are not affected.
- Enforce auth conditions in repo scheduling
(PR #2549)
Cody
- add billing metadata to prompt library events
(PR #3116)
- make public OpenAPI docs work again
(PR #3081)
- Backport dc8deea005067145855b03a3344675386bc75be7 from #3078
- minor fixes
(PR #2916)
Cody-Gateway
- fail-open Enterprise subscription sync
(PR #2775)
Dev
- Fix transitive use of global counters in tests
(PR #2905)
Dev/Svelte
- send all 'default.' requests to server
(PR #2923)
Dotcom
- tweaks for dotcom-mode workspace switcher
(PR #2684)
Gitserver
- Return error on no merge base
(PR #2790)
Goroutine
- do not redact stacktrace
(PR #2571)
Intent
- Remove heuristic for marking one-term queries as searches
(PR #2580)
Multi Tenant
- fixes welcome message alert
(PR #3174)
- fix flashes and incorrect free up seat mutation in user management
(PR #3058)
- add support for workspace vscode sign up flow
(PR #2942)
- force to keep only one dropdown menu visible
(PR #2903)
- fix small paper cuts in workspace-creation flow
(PR #2809)
- fix Safari 16.6 billing layout (sub-grids rows)
(PR #2721)
- add a better error handling for workspace settings pages
(PR #2707)
- fix post workspace delete redirection
(PR #2698)
- fix user management reduce seats case
(PR #2647)
- fixes update seats modal max count validation
(PR #2616)
- fixes general setting page re-submitting problem
(PR #2548)
Multitenant
- Public repositories should no longer be duplicatable
(PR #2828)
- Only evaluate newly added repositories
(PR #2701)
- add telemetry for when repositories are added or removed
(PR #2346)
- N/A
- add telemetry event for when onboarding repository checks fail
(PR #2337)
- N/A
Navbar
- add divider after orgs
(PR #2921)
Observability
- align Cody completions metrics queries with chart names in Grafana
(PR #2476)
Release
- add handling of cp failure for postgres conf
(PR #3113)
- fix(rel): add handling for permissions errors when handling custom Postgres configurations in database containers.Backport 67bddb2 from #3041
Search
- Fix brand logo and colors
(PR #3120)
- Do not show code search menu item when code search is disabled
(PR #3118)
- (new web ui) Add search upsell page
(PR #2979)
- Update breadcrumbs integration test
(PR #2960)
- Cody marketing page redirect on dotcom
(PR #2952)
- update response dashboards to use streaming search
(PR #2932)
- Insights: fix mouse click cursor behavior when creating new insight
(PR #2851)
- accept escaped characters in
content
filters(PR #2807)
- fix repo-rev (button-group) ui
(PR #2806)
- add response telemetry for streaming search
(PR #2784)
- VSCode Search extension - auth panel not loading when filesystem is case sensitive
(PR #2713)
- fixes
404 errors when trying to load "authSidebar.js"
when the Code Search VS Code extension is used with the VSCode Remote SSH extension
- fixes
- remove alert suggesting structural search
(PR #2615)
- (new web ui) Open files in new tab when clicked on with ctrl/cmd
(PR #2557)
- add missing return in SearchQuery.RepositoryRevSpecs
(PR #2521)
- (new web app) Redirect /cody to /cody/chat
(PR #2475)
- (new web app) Set correct fuzzy finder request headers
(PR #2449)
- (new web app) Respect notices settings
(PR #2417)
Source
- Check if user can access installations for public repositories
(PR #2963)
- Change ListSelectedRepositories to filter for the random external account connection
(PR #2911)
- Fix UseRandomExternalAccount connection check
(PR #2904)
- multitenant: fix nil panic in ListSelectedRepositories multitenant endpoint
(PR #2844)
- Do not create a connection with no repositories
(PR #2395)
Telemetry
- uniformly apply marketingtracking, clean up deprecated values
(PR #2601)
Telemetry/Teestore
- do not write to store concurrently in tx
(PR #2888)
Telemetrygatewayexporter
- support export target without a port
(PR #2745)
Tenant
- disable workspaces for SOAP users
(PR #2490)
Tenant/Reconciler
- use nil-safe field getter when applying feature flags
(PR #2408)
Tenant/Settings
- fix workspace display name update
(PR #2705)
Tenant/Users
- only spin on specific action
(PR #2971)
Tenants/Web
- magic redirect to sign-out -> sign-in if Workspaces requests return Code.Unauthenticated
(PR #2421)
Ui
- Update error page when GitHub account is not yet connected
(PR #3059)
- Disable adding more MT repositories while repositories are being saved
(PR #3010)
- set sideEffects path in client/ui to correct
init.ts
path(PR #2773)
Workspaces
- dynamic logout link
(PR #2854)
- catch panics in connectrpc handlers
(PR #2837)
- remove trace ID from block result
(PR #2831)
- include all workspaces in name availability check
(PR #2794)
- check for user metadata if 'sourcegraph.com' is a required email domain
(PR #2654)
- ignore missing subscription when pruning invitations, rename ReconcileConsumedSeats
(PR #2650)
- improve UX when email domain is not allowed
(PR #2618)
- error indicates name must be lowercase
(PR #2599)
- rename URL fields to URI per AIP
(PR #2595)
- prevent panic in billing renewer
(PR #2570)
- address seat count problems
(PR #2482)
Workspaces/Billing
- no-op SubscriptionUpdater returns ErrNoSubscriptionUpdateRequired
(PR #2572)
Workspaces/Blocklists
- relax restrictions around generic terms
(PR #2712)
Workspaces/Dev
- do not use wrangler with concurrency
(PR #2730)
Workspaces/Settings
- remove workspace ID on collapse
(PR #2742)
Others
- respect errors from sql row iterations
(PR #2948)
- std upgradetest with pv set doesn't go beyond targetVersion
(PR #2928)
- NA
- Add missing error assignment
(PR #2864)
- Tweak relevant repos heuristic
(PR #2655)
- extract runner config into env vars
(PR #2637)
- don't show current prompt in suggested area
(PR #2582)
- fix: don't show current prompt in suggestions
- always saturate the limit when boosting
(PR #2479)
- add context to intent call
(PR #2432)
Chore
Ci
- Add new search team members to teams.yml
(PR #2724)
Code Intelligence
- Log connection stats on cancellation for precise queries
(PR #3003)
- Remove duplicate IndexEnqueuer interfaces
(PR #2944)
- Remove spurious "=" in site admin UI for editing policies
(PR #2902)
- Syntactic policies UI restrict to HEAD
(PR #2774)
- Introduce experimental olly package with helper functions
(PR #2753)
- Fix flaky test in syntactic indexing store_test
(PR #2722)
- Document quirks in various pattern syntaxes
(PR #2687)
- Use collections.SliceMultiMap in policies API
(PR #2565)
- Enqueue syntactic jobs in a single query
(PR #2555)
- Remove reposcheduler.Store interface
(PR #2551)
- Move unwrap function to check package
(PR #2540)
- Add test for precise usagesForSymbol
(PR #2535)
- Add doc comment about precondition
(PR #2534)
- Add fast path for commit checking
(PR #2532)
- Bump scip dependency
(PR #2531)
- Fix wrong napkin math in comment
(PR #2528)
- Avoid panic on missing committer date
(PR #2527)
- Avoid panic on nil metadata
(PR #2526)
- Rename & move codenav.PinnedIndexCommits -> codegraph.PinnedUploadKey
(PR #2454)
Cody
- use same buckets for completions latency metrics
(PR #2746)
- Remove codypcw's buf.gen.yaml
(PR #2673)
- Create proper interface for CompletionsHandler [CODY-4619]
(PR #2623)
- measure completions overhead by feature
(PR #2533)
- measure sg instance to cody gw network latency
(PR #2501)
- refactor completions handler latency metrics
(PR #2496)
- measure completions handler overhead
(PR #2478)
- add upstream request tracing for completions
(PR #2429)
- remove test domain
(PR #2400)
Dev
- Cap number of connections more explicitly
(PR #3001)
- Document purpose of onconflict linter
(PR #2882)
- Avoid horizontal scaling for syntactic enqueuer
(PR #2813)
- Clarify docs for redispool.Store & NewPeriodicGoroutine
(PR #2812)
- Fix flaky ordering in test
(PR #2811)
- Add env var to disable assertions
(PR #2810)
- Add columns to track which policy created an auto-indexing job
(PR #2788)
- Introduce String() method on api.CommitID
(PR #2757)
- Replace Id -> ID in internal/codeintel
(PR #2755)
- Fix typo in function name
(PR #2693)
- Add helper function for printing error trees
(PR #2692)
- Improve doc comment for REDMetrics
(PR #2635)
- Remove unused field in REDMetrics
(PR #2634)
- Use clearer names & comments in Rockskip
(PR #2624)
- Rename db -> codeIntelDB in Rockskip for clarity
(PR #2606)
- Refactor Rockskip service config to dedicated type
(PR #2605)
- Move codeintel/core.Option to lib/core
(PR #2578)
- Add collections.SliceMultiMap type
(PR #2564)
- Add collections.SetMultiMap type
(PR #2556)
- Migrate other directories from require.NoError to check.MustNoError
(PR #2554)
- Migrate internal/ from require.NoError to check.MustNoError
(PR #2553)
- Migrate cmd/ from require.NoError to check.MustNoError
(PR #2552)
- Filter out archived and forked repos in reposcheduler
(PR #2550)
- Auto-indexing is disabled for forks and archived repositories. This is currently not configurable.
- Migrate cmd/ from require.Equal to check.MustEqual
(PR #2541)
- Minor enhancements to check package
(PR #2530)
- Introduce generic collections.Stack type
(PR #2511)
- Move iterext package to lib/
(PR #2510)
- Move collections package to lib/
(PR #2509)
- Move rapidext package to lib/
(PR #2508)
- Introduce types for limiting reads
(PR #2470)
- Replace ioutil -> io due to deprecation
(PR #2465)
- Generalize bytesize package to handle more units
(PR #2464)
- Update prettier ignore file for Svelte app
(PR #2416)
Msp
- upgrade ConnectRPC
(PR #2710)
- upgrade MSP cloud.google.com/go dependencies
(PR #2709)
- upgrade TF providers, remove nobl9
(PR #2681)
Search
- Migrate Button component to Svelte 5
(PR #2868)
- Upgrade to SvelteKit v2.16.0 and Svelte v5.19.0
(PR #2867)
- (new web ui) Run
pnpm format
(PR #2850)
- vsce: patch release v2.2.20
(PR #2748)
- Add changelog entry for PR 2713
(PR #2747)
- (new web ui) Update to Svelte 5.16.2
(PR #2590)
- (new web app) Update svelte and kit to latest versions
(PR #2567)
Security
- Auto-update all packages in Sourcegraph base images
(PR #2500)
- Auto-update all packages in Sourcegraph base images
(PR #2360)
Workspaces
- Fix url/text for user menu workspace link
(PR #2843)
- Style fixes on Workspace Settings, General Settings and User settings
(PR #2798)
- refactor name-checking to helper
(PR #2726)
- add some improved API docstrings
(PR #2708)
- enable MSP rollouts
(PR #2619)
- rename 'loginservice' to 'xdomainloginservice'
(PR #2544)
- move SPA handler to 'spaservice' subpackage
(PR #2543)
- Update workspace repo size limit
(PR #2480)
Others
- Layout finetuning of Creating Workspaces and Tenant Onboarding (#3065)
(PR #3139)
- Polish buy seats modal
(PR #2917)
- Remove intent heuristic
(PR #2791)
- Delete unused DeleteOrg code
(PR #2585)
- Replace NewBuffer([]byte("str")) -> NewBufferString("str")
(PR #2466)
- make error message actionable for invalid date format
(PR #2401)
Test
Tenant/Reconciler
- E2E QA sanity checks on reconciler
(PR #2460)
Refactor
Dev
- Cleanup and fix new web app build process
(PR #2474)
Reverts
- revert sentry, opsgenie, fix deprecation notice
(PR #-1)
- Revert "fix/batch: use latest ubuntu LTS in hello world template (#28…
(PR #28)
- Revert "fix: set the tag in the push_all.sh script"
(PR #2989)
Uncategorized
Others
- [Backport 6.0.x] Update Cody Web v0.29.0
(PR #3162)
- [backport] feat/web: Update cloning status to new designs (#2760)
(PR #3158)
- [Backport 6.0.x] onboarding: add input field to selected repo List
(PR #3154)
- Backport 3148 to 6.0.x
(PR #3151)
- [Backport 6.0.x] repoupdater: Don't grow backoff bigger than int32
(PR #3135)
- [Backport 6.0.x] workspace settings: mention query in info message
(PR #3112)
- [Backport 6.0.x] fix(agents): use plural naming convention for API endpoints
(PR #3080)
- Renamed REST API endpoints to consistently use plural names in
/.api/review**
and/.api/tool
. For example,GET /.api/reviews/diagnostics/ID
instead ofGET /.api/review/diagnostic
. See OpenAPI spec for updated paths. Backport 864c824e184a7dc84df694797c5603883d72ccf1 from #3028 - BACKPORT - Revert "feat: add CTA for agents API (#2799)"
(PR #3048)
- [Backport 6.0.x] Changes naming "Open" to "Unused" seats
(PR #3029)
- Omnibox: route likely code generation commands to Chat
(PR #2969)
- Update Cody Web v0.27.0
(PR #2968)
- Update Cody Web v0.26.0
(PR #2966)
- Update Cody Web v0.25.0
(PR #2959)
- auth: Fixup check for canSignOut
(PR #2958)
- omnibox: hard boost current repo and relevant repos
(PR #2943)
- allowlist
language
oncody-autoedit
(PR #2941)
- tenant(web): Don't advertise upcoming code host support
(PR #2940)
- web: Fix page header for create workspace page
(PR #2939)
- web: Fix currency localization
(PR #2938)
- tenant: Only set feature flags required for the launch
(PR #2937)
- tenant: Add structured log message about missing tenant to alert on
(PR #2935)
- Omnibox: disable intent detection when CG is unavailable
(PR #2934)
- Update Cody Web to 0.24.0
(PR #2920)
- Update Cody to 0.24.0
- bug: Adds a link to stripe portal on the Last Payment Failed warning
(PR #2919)
- sg: make
.tool-versions
parsing better and silence mise(PR #2918)
- tenant: Set cody gateway rate limits
(PR #2915)
- Adds style to pending invited users
(PR #2898)
- Adds style to pending invited users
(PR #2898)
- Adds style to pending invited users
- tenant: Add back without cancel for dormancy check
(PR #2883)
- tenant(repos): Expose mirrorInfo for repos for all repos to admins
(PR #2876)
- web: Prevent access to workspace setup and settings for non-admins
(PR #2874)
- accessrequest: Don't allow access requests for authenticated users
(PR #2873)
- auth: Don't repeat code for mocked providers
(PR #2872)
- auth: Code cleanup
(PR #2862)
- web: Fix click target for delete workspace button
(PR #2861)
- session: Remove sign-out cookie
(PR #2860)
- session: Don't invalidate every active user session on sign out
(PR #2859)
- tenant: Don't special case user account in onboarding
(PR #2847)
- tenant: Enable agentic feature flags
(PR #2830)
- web: Use new logo in more places
(PR #2823)
- workspaces: Update favicon
(PR #2819)
- [CODY-4627] Agent Review Tables take 3
(PR #2815)
- Adds implementations for
GET .api/agents/review/{review_id}
,GET .api/agents/review/diagnostic/{diagnostic_id}/
, andPOST .api/agents/review/diagnostic/{diagnostic_id}/feedback
- Adds implementations for
- web: Temporarily restore logo but break Safari dark mode logo
(PR #2808)
- gomod: bump Zoekt for BM25 line scoring
(PR #2780)
- Disable streaming in LLM API if not explicitly enabled
(PR #2778)
./api/llm/chat/completions
only streams response if"stream": true
is passed in the request body
- workspaces: Apply correct repo size limit
(PR #2772)
- Added more clarity around workspace deletion
(PR #2769)
- workspaces: Add back org namespace to list of selected repos
(PR #2737)
- security/fix: always return absolute URLs
(PR #2727)
- Order by NULLS LAST when sorting repositories in GQL API
(PR #2725)
- tenant: Set dormancy threshold to 1 week
(PR #2723)
- Remove clustering dev script
(PR #2720)
- web: Port new user menu to react
(PR #2718)
- globalstate: Simplify store and reduce writes
(PR #2717)
- only
UPDATE global_state
to set initialized if not initialized(PR #2716)
- globalstate: Don't update row on every call
(PR #2715)
- skip pre-exit hook on aspect-default queue
(PR #2694)
- web: More alignment of nav dropdown with designs
(PR #2691)
- tenant: Small improvements to MT app
(PR #2680)
- Update Cody Web v0.22.0
(PR #2678)
- NLS: support quoted phrases
(PR #2677)
- workspaces: Consolidate web config and add web URL
(PR #2670)
- auth: Fixup some auth redirections
(PR #2668)
- NLS: simplify query parsing logic
(PR #2662)
- cmd/cloud-ops-interview: init service
(PR #2658)
- gomod: bump Zoekt for 'best line match' feature
(PR #2653)
- auth: Don't allow CreatePassword when builtin auth is off
(PR #2644)
- tenant(githubapp): Expose Sourcegraph repo on resolver list
(PR #2641)
- change model to beta
(PR #2639)
- gating: Allow cloud init for workspaces instance
(PR #2638)
- NLS: disable stemming
(PR #2620)
- tenant: Enable autoedits in every tenant on creation
(PR #2607)
- NLS: always rank literal matches first
(PR #2598)
- repo: Allow to get totalCount for repositories as non-admin
(PR #2591)
- auth: Make sign out more explicit and clean up normalization
(PR #2589)
- auth: Clarify integration points and middlewares
(PR #2588)
- auth: Consolidate auth provider redirects
(PR #2587)
- httpapi Cleanup handler creation
(PR #2586)
- auth: Slightly clean up auth code
(PR #2584)
- conf: Use sourcegraph controlled default domain
(PR #2583)
- restrict auto-edits model to only pro users
(PR #2579)
- NLS: avoid tokenizing filenames
(PR #2576)
- NLS: simplify find symbol heuristic
(PR #2561)
- respect
count:
for nls search(PR #2560)
- logging: Fix incorrect use of logger
(PR #2525)
- change the deployment id for autoedits model
(PR #2507)
- sg: add support to retrieve a sams idp client
(PR #2497)
- frontend: Reduce amount of dependencies passed around
(PR #2450)
- tenant: Mark tenant as seen even if request is cancelled
(PR #2441)
- tenant: Add intent detection FF for new hosts
(PR #2437)
- ci: Execute backcompat tests as PG16
(PR #2427)
- tenant: Allow to add 100 repos to the GitHub App
(PR #2426)
- tenant: Allow to add more than 30 repos to the GitHub App
(PR #2425)
- bitbucketcloud: Fix repo perms syncing for inherited permissions and groups
(PR #2398)
- Fixed an issue with Bitbucket Cloud permission syncing where inherited permissions and group permissions were not correctly reflected.
- dotcom, workspaces: propagate 'plg' namespace metadata as feature flags
(PR #2382)
- gating: Consolidate License and Subscription resolvers
(PR #2359)
- gating: Move repo size and count constraints into provider
(PR #2356)
- gating: Implement more parts of workspaces gating
(PR #2355)
- gating: Enable workspaces gating provider
(PR #2307)
- gating: Add GrantDisplayName to Provider
(PR #2306)
- gating: Add provider specific background routines
(PR #2305)
- gating: Move TelemetryExportMode and AccessTokenInstanceIdentifier into Provider
(PR #2304)
- gating: Reduce number of references to global gating provider
(PR #2301)
- gating: Remove license mocks
(PR #2300)
- gating: Move license expiration checks fully into CheckGrant
(PR #2299)
- gating: Remove unused fields from ProductLicenseInfo
(PR #2297)
- gating: Remove unused redundant licenseinfo resolver
(PR #2296)
- gating: Unexport Plan and check for all license keys
(PR #2295)
- gating: Add MaximumUserCount to provider interface
(PR #2294)
- gating: Implement TrueUp feature
(PR #2293)
- gating: Remove IsFreePlan
(PR #2210)
- redis: Clarify store requirements and improve test setup
(PR #2020)
- repo: Expose repository settings page as read-only to non-admins
(PR #1897)
- authz: Craft authz provider factory and pass around explicitly
(PR #1893)
- repoupdater: Remove in memory scheduler
(PR #1473)
- tenant: Mark all views as security_invoker
(PR #744)
Untracked
The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
- Log connection stats on cancellation for precise queries
(PR #3002)
- Cap number of connections more explicitly
(PR #2999)
- Auto-update all packages in Sourcegraph base images (5.11.x)
(PR #2494)
- [Backport 5.11.x] bitbucketcloud: Fix repo perms syncing for inherited permissions and groups
(PR #2399)
- Fixed an issue with Bitbucket Cloud permission syncing where inherited permissions and group permissions were not correctly reflected.
5.11 Patch 5
Attention - If upgrading from Sourcegraph version 5.9 or earlier, this release will update our included database container images from Postgres 12 to Postgres 16. Customers are advised to have a database backup before upgrading. See our postgres 12 end of life notice for more information.
Also be sure to check your deployment type's upgrade notes!
v5.11.6271
Chore
Code Intelligence
- Log connection stats on cancellation for precise queries
(PR #3002)
Dev
- Cap number of connections more explicitly
(PR #2999)
Reverts
There were no reverts for this release
5.11 Patch 4
Attention - If upgrading from Sourcegraph version 5.9 or earlier, this release will update our included database container images from Postgres 12 to Postgres 16. Customers are advised to have a database backup before upgrading. See our postgres 12 end of life notice for more information.
Also be sure to check your deployment type's upgrade notes!
v5.11.5234
Features
Perforce
- Use depot name for label cache
(PR #2805)
Fix
Source
- Possible Perforce changelists are now converted to their respective git commit during ResolveRevision
(PR #2825)
Reverts
There were no reverts for this release
Uncategorized
Others
- [Manual Backport]: update shellcheck to 0.10.0
(PR #2838)
- NA
5.11 Patch 3
Attention - If upgrading from Sourcegraph version 5.9 or earlier, this release will update our included database container images from Postgres 12 to Postgres 16. Customers are advised to have a database backup before upgrading. See our postgres 12 end of life notice for more information.
Also be sure to check your deployment type's upgrade notes!
v5.11.4013
Features
Security
- Sign release images
(PR #2703)
- Publish signatures for release containers. Backport c11764be4adb377521e4067c4852953d7c434e24 from #2697
Others
- Allow single container server to run postgresql-16
(PR #2714)
- server: runs postgresql from /var/run/postgresql instead of /run/postgresql Backport 36c78cdf596e1b22079512931fa526346c2ec821 from #2711
Fix
Release
- recover from unclean database shutdowns in pgsql entrypoint
(PR #2706)
- fix(rel): fix issue with Postgres docker container failing upgrades after an unclean database shutdown. Backport ca5185ce2528b67e1ce6bcb5170f96d3699e11e0 from #2660
Reverts
There were no reverts for this release
Uncategorized
Others
- [Backport 5.11.x] fix(Bitbucket Cloud): Fix pagination logic for bitbucket cloud permissions
(PR #2700)
- Fixed an issue where Bitbucket Cloud permission syncs could produce incomplete results, resulting in lacking permissions. Backport 389661481f0f0a2385ef4f78f4113ab6ba14f4d5 from #2699
5.11 Patch 2
Attention - If upgrading from Sourcegraph version 5.9 or earlier, this release will update our included database container images from Postgres 12 to Postgres 16. Customers are advised to have a database backup before upgrading. See our postgres 12 end of life notice for more information.
Also be sure to check your deployment type's upgrade notes!
v5.11.3601
Features
Code Intelligence
- Make syntactic indexing write partial index to disk already GZIP compressed
(PR #2646)
Reverts
There were no reverts for this release
5.11 Patch 1
Attention - If upgrading from Sourcegraph version 5.9 or earlier, this release will update our included database container images from Postgres 12 to Postgres 16. Customers are advised to have a database backup before upgrading. See our postgres 12 end of life notice for more information.
Also be sure to check your deployment type's upgrade notes!
v5.11.2732
Fix
Search
- propagate disk space to NewFirecrackerWorkspace
(PR #2574)
- Addresses errors similar to:
failed to prepare workspace: failed to create ext4 filesystem in backing file: "mke2fs 1.45.5 (07-Jan-2020)\nThe file losetup: /var/lib/firecracker/loop-devices/workspace-loop-47749-3763347387: Warning: file is smaller than 512 bytes; the loop device may be useless or invisible for system tools.\n/dev/loop13 does not exist and no size was specified.\n": exit status 1
- Affects reading and using the environment variable
EXECUTOR_FIRECRACKER_DISK_SPACE
Backport 22db2a97a0393cdd233a92da7ade96cd59bb99ef from #2562
- Addresses errors similar to:
Chore
Security
- Auto-update all packages in Sourcegraph base images (5.11.x)
(PR #2494)
Reverts
There were no reverts for this release
5.11 Patch 0
Attention - If upgrading from Sourcegraph version 5.9 or earlier, this release will update our included database container images from Postgres 12 to Postgres 16. Customers are advised to have a database backup before upgrading. See our postgres 12 end of life notice for more information.
Also be sure to check your deployment type's upgrade notes!
v5.11.0
Features
Ci
- add bazel mod tidy to ci steps #1661
Cloud
- add tag field to mt config #2035
Code Intelligence
- Pass limits to scip-syntax and collect summary from it #2058
- configurable time and size limits for scip-syntax #1947
- Adds configurable limits for file size and parsing time for syntactic indexing
Cody
- update cody web to 0.20.0 #2396
- update cody-web to 0.18.0 #2365
- add autoedits models to models.json #1873
- Add
UserShouldUseEnterprise
to/.api/client-config
(PRIME-596) #1872
Cody-Gateway
- add Gemini 2.0 Flash experimental model #2309
Codygateway
Database
- support drift detection of policies #2000
- drift detection now detects missing table policies.
- include policies in schema md and json #1999
- schema.md and schema.json now include table policies.
Dev
- Adding wait option to sg access command #1930
Gateway
- Add v2 endpoint stubs #1526
Gating
- extract license validity checks to gating.Provider.CheckGrant #2018
- replace licensing.Check with gating.GetGlobalProvider().Check #2009
- allow gating.Provider to be global #2008
- extract into standalone package, stub out CodyGatewayAuthenticator #2007
Graphql
- multitenant: add repository restriction validation when adding repos #2017
Local
- use mac/linux keystores to store secrets instead of plain text file on disk #2001
- store entitle token in sg secrets #1856
Memcache
- add tenancy-friendly LRU memory cache #1934
Msp
- introduce simple telemetry recorder for managed services #2146
Multi-Tenant
- add "add repositories" setup flow step #2112
- Add first UI implementation of GitHub connect setup page #1966
Multi-Tenant/Workspaces
- add support to query ws by name in integrations svc #2321
Multitenant
- Set maximum repos size to 500mb #2027
Rbac
- add separate permission for viewing exported telemetry #1989
Release
- run
sg cut
in buildkite to automate nightly pipeline test #2116- release: nightly release pipeline is working
- backcompat test use release registry #1202
Search
- correctly lower repo name regexes #2209
- Special uppercase regex tokens are no longer inverted for repository name search. eg
repo:foo\B
correctly interprets\B
asnot at ASCII word boundary
. Previously it would transform the expression intorepo:foo\b
.
- Special uppercase regex tokens are no longer inverted for repository name search. eg
- use pattern optimizations for repo ExcludePattern #2186
- Searches which exclude repositories are faster on larger instances. We now use the same performance optimizations as repo inclusion.
Security
- Add access token ID to audit events #2034
Sg
- add 'sg user metadata' commands #2261
Source
- MT GitHub App connections now use generic App connection #2338
- Add App-level GitHub App code host connections #2127
- Sourcegraph now supports App-level GitHub App connections that aren't tied to a specific Installation ID.
- Add maxDeletions option to code host connections #2003
Telemetry
- include SAMS user ID if monolithsams is configured #1936
- propagate x-requested-with headers to request client… #1775
Workspaces
- add metric to count number of unseen instances #2303
- report instances and workspaces status #2262
- add features to workspace results #2171
Others
- extend prompt tags with pagination and increased limit #2344
- feat: extend prompt tags with pagination and increased limit
- editing tags on prompts #2278
- feat: editing tags on prompts
- (multi-tenant): add invite users and final setup step #2211
- management page prompt categories #2178
- feat: management page prompt categories
- prompt categories nav for web #2177
- feat: add tags as filter to prompts and their navigation
- add prompt labels to the GraphQL API #2131
- feat: add prompt labels to the GraphQL API
- Call new intent detection model via Gateway #2113
- add CommitsIter to
GitserverClient
#2080 - New intent detection API on Gateway #2016
- more telemetry for batch changes #2014
- feat(batches): more telemetry events
- add support to
patterntype:nls
fortype:code
andtype:text
#1961 - add OR support for text search pattern types #1915
- collect contributor data #1765
- feat: calculate contributor stats
Fix
Code Intelligence
- reports symbols for TypeScript type aliases #2339
- Properly report symbols for TypeScript type aliases
Cody
- update cody web to 0.19.0 #2376
- add cody.notices to json schema #2373
- fix prompt library UI layouts #2288
- fix prompt avatar for generated initials avatar #2239
- switch to Snowball stopwords #2223
- Narrowed down the stopwords list used in Cody context, to fix an issue where we could miss highly relevant files.
- disable reranking for airgapped instances #2168
- Fixes a bug in Cody context where airgapped instances would attempt to use the reranker model, which increased the context retrieval latency.
- fix prompt creation telemetry #2057
Codyauditlog
- inline audit log entry for consistency #2072
Codygateway
- configurable workspace user ban state cache, lower default #2357
- fix listing flagged prompts from workspaces users #2354
Dev
- Fix window context extraction logic for multitenant #1998
Dev/Codygateway
- partially fix Cody Gateway QA suite #2005
Dev/Msp
- remove actual interval from error message to fix flakey months #2031
Gateway
- benchmark: various fixes #2119
Msp
- fix error message for image tag resolution #2283
Msp/Operationdocs
- update Entitle request links #2281
Mulitenant
- add rote tests for repositoryChecker implementations #2258
- N/A
- add rote test for workspaceGitHubAppAccountResolver #2257
- N/A
- add test suite for (s *serviceImpl) listRepositoriesSearch #2255
- add test suite for (r *workspaceGitHubAppResolver) ListUserGitHubRepositories #2199
Multitenant
- enable workspace specific routes only for workspace instance #2287
- add rote tests for workspaceGitHubAppRepositoryResolver #2259
- N/A
- add test suite for (r *workspaceGitHubAppResolver) ListPublicGitHubRepositories #2198
- N/A
- graphql: add installation repos test suite #2174
Release
- Fix regressions from 5.10 release process #2405
- refactor and fix bugs in release test<details>
Sams
- fix notification handlers #1990
Search
- fix small svelte UI paper cuts #2317
- Executors: set the user/group on the job spec only if configured. #2203
- Also validates
KUBERNETES_RUN_AS_USER
andKUBERNETES_RUN_AS_GROUP
. - Must be integers in the range [0, 2147483647].
- Also validates
- fix fuzzy finder layout in Safari 18.1 #2061
Source
- Use GitHub GraphQL client to do repo searches #2340
- Decode installationRepos' args.After correctly #2126
- Fix layout on repo admin search box #1960
Telemetry
- include anonymous user ID in externalAuthSignup events #2074
Telemetrygateway
- update generated bindings #1939
Worker/Sams
- fix userRolesStrings #1992
Workspaces
- handle missing class name in instances #2286
- create: improve cancellation handling #2167
- CodeUnauthenticated for missing session ID, dont include trace ID in log message #2032
Workspaces/Integrations
- do not list billing subscriptions if no workspaces #2233
Others
- set high match limit for NLS #2352
- remove surplus typename #2265
- fix: remove surplus typename
- use byte columns for contributors to support non-utf8 characters #2122
- skip revision if not found instead of throwing error #2121
- slow down contributor jobs #2120
- add internal actor to contributor job #2101
- Correctly handle overlapping paths in Perforce protection rules #1745
Chore
Ci
- Enable svelte-check in CI for multi-tenant #2242
- skip license-check workflow on draft prs #2087
- add -x flag to the script #2029
- bazel - pull static psql as tool dep #1970
- pg-utils - upload static psql #1969
Cloud
- switch ephemerals to dev enterprise portal #2090
Code Intelligence
- Remove EMPTY_STATS_JSON object #2363
- Fix incorrect error handling #2316
- Move cursor last for consistency #2311
- Refactor uploadhandler logic for clarity #2086
- Update scip version and use faster parsing API #2085
- Simplify code to avoid single-implementation interfaces #2046
- Fix incorrect test inputs #2043
- Simplify SyntacticIndexingJobStore #2042
- Remove RepositorySchedulingService #2041
- Remove IndexEnqueuer interface with a single implementation #2040
Cody
- Add QA's test domain to the enterprise domain list #2392
- monitor completions latency by feature #2345
- remove retired claude models #2047
- Fix typos and minor warnings around Cody Gateway #2025
- migrate code completion model resolution to use models.json #1980
- Make LegacyModelRedirects public #1951
Cody-Gateway
- log model capability mismatch #2181
Dev
- Replace cmp.Diff -> check.(Must)?NoDiff (part 3) #2154
- Replace cmp.Diff -> check.(Must)?NoDiff (part 2) #2151
- Replace cmp.Diff -> check.(Must)?NoDiff (part 1) #2150
- Introduce more type safe testing package #2049
Dotcom
- UI copy, list by instance domain, correctly return invalid argument on update #1916
Gateway
- Fix logged model name format in "not allowed" errors #2056
- Don't ignore API version when comparing modelRefs for RateLimit filtering #2024
- Use
models.json
in Cody Gateway (PRIME-600, PRIME-612) #1759
Graphqlbackend
- remove deprecated monitoring queries #2075
Local
- pg_version_check - force db to be postgres #1979
Monolithsams
- migrate to official SAMS SDK #1987
Plg
- Add Cody Pro upgrade script #1903
Sams
- enable SDK caching for authentication middleware clients #1988
Search
- Upgrade prettier for web-sveltekit #2221
- Add private metadata for language on code nav events #2190
- (new web ui) Upgrade to Svelte 5 #2183
- Update client side code intel telemetry to include provenance and tab #2142
Security
- Pin otel-collector package version #2452
- Update src-cli to version 5.11.1 #2447
- Update src-cli version to 5.11.1 Backport 2721fd9106eb033afe4cca96164f7ecc5e0b6f88 from #2444
- Update src-cli to version 5.11.0 #2366
- Update src-cli version to 5.11.0
- Auto-update package lockfiles for Sourcegraph base images #2302
Source
Telemetry
- remove example values, deprecate SafeAction #2107
Workspace
- Update picker with small changes for current link #2227
Workspaces
- add seats metadata by listing subscriptions in bulk #2189
- make openfga cancelled errors easier to detect #2117
- ListWorkspaces: concurrently fetch membership #2104
- set workspace ID on create span #2084
- UX Updates for Workspaces service #2078
- mark emails as transactional #1984
- add tracing on Cloudflare KV ops, improve retry policies #1957
Workspaces/Billing
Others
- Update Calendar Release Notifications #2230
- N/A
- add CODENOTIFY files for Cody Prime team #2185
- Avoid materializing set values just for iteration #2045
- Enable exhaustruct on syntactic_indexing folder #2044
- cleanup stale branches #1977
- Remove unreferenced scripts #1942
- update repo not found for dotcom #1940
- Cleanup some local dev things #1906
- Address Gazelle deprecation warnings #1789
- Use enum for executor runtime instead of boolean flags #1788
- Rename executor Config fields & simplify code #1787
- Use collections.Set for marking allowed RepoID values. #1743
- Move license check types to handler #1697
Refactor
Ci
- add DefaultQueue for the default queue to use #2096
Reverts
- Revert "feat(cody-gateway): add Gemini 2.0 Flash experimental model #-1
- Revert "completions: Use authenticator interface for access token" #1694
- Revert "chore(ci): temporary exclude diff tests (#1923)" #1923
Uncategorized
Others
- [Backport 5.11.x] bitbucketcloud: Fix repo perms syncing for inherited permissions and groups #2399
- Fixed an issue with Bitbucket Cloud permission syncing where inherited permissions and group permissions were not correctly reflected.
- worker: Disable routines for codeintel inside routines logic #2386
- tenant: Prevent in-app deadlock while initializing globalstate #2383
- tenant: Mark tenant as last seen async #2381
- nls: add ability to boost results from a repo #2375
- Intent detection: add heuristics #2364
- autoedits: remove rewrite speculation field for the chat endpoint #2361
- Hitesh/change direct route method #2351
- change deepseek model for autoedits #2350
- Reapply "feat(cody-gateway): add Gemini 2.0 Flash experimental model" #2348
- auth: Simplify middlewares #2336
- http: Refactor HTTP_TRACE to use Sourcegraph logger #2335
- http: Drop Blackhole middleware #2334
- editor: Add missing Gerrit remoteURL resolution #2332
- gitserver: Fix input parsing issue in diff searches #2331
- tenant: Mention repos that were not found #2328
- tenant: Use SiteID for workspace management API interaction #2327
- NLS: use reranker in batch search too #2325
- NLS: only rerank keyword matches #2324
- NLS: fix bug where we could skip reranking #2320
- bugfix: anchor include patterns for symbol tree #2319
- Fixed a web app bug that could cause symbols to be shown in the symbol tree for files that share a name with the viewed file
- NLS: initial reranker integration #2298
- Redis: remove unused rcache methods #2292
- chore(workspaces) Ensure an api error populating list of workspaces do… #2291
- gomod: bump Zoekt for BM25 improvement #2282
- tenant: Indicate to webapp that workspaces UIs should be shown #2279
- repoupdater: Fix panic when traversing public repos #2273
- dev/workspaces: get local o11y working again #2263
- tenant: Use workspace ID as site id #2256
- tenant: Fix missing tenant context in conf validation #2247
- ranking: revert changes to concurrency limits #2236
- NLS: initial support for type:path #2234
- enable predicted outputs for S2 instance for fireworks models #2226
- dev(search): (new web ui) Upgrade svelte-check #2220
- add deepseek completions model for autoedits #2219
- workspaces/billing: implement payment charge for purchase extra seats #2217
- Reranker: make sure to record telemetry #2188
- tenant/worker: Add tenant to context for worker in ST mode #2184
- tenant: Implement dynamic limits for GitHub App #2172
- repo: Drop next_sync_at prioritization #2160
- gateway: benchmark: fix http-then-websocket initial request failures #2159
- repoupdater: Fix interval out of range #2155
- pings: Remove hubspot integration #2144
- workspace-reconciler: update tenant name and display name #2141
- repoupdater: Make backoff after failure to fetch/clone more exponential #2140
- gitserver: Record LastError, LastOutput when hitting a timeout #2139
- gitserver: Simpify repo state syncer #2138
- tenant: Add context to OIDC verifier #2137
- tenant: Fix missing tenant in oauth requests #2136
- tenant: Expose configured limits in GQL API #2123
- add colorful icons for gitlab and bitbucket #2114
- chore(workspaces) Remove an extra quote #2111
- tenant: Temporarily bump limit to 10GB again #2110
- tenant: Fix multitenant repo selection update #2109
- NLS: boost literal matches #2108
- bug(multitenant): Fix GraphQL resolvers for repo search #2098
- batches: Fix trigger function with tenancy #2092
- Deprecate unused pings, reducing load on local PG instances #2082
- NLS: perform single search for code and text results #2081
- fix cookie name #2077
- NLS: created dedicated search job #2076
- appliance: Remove from UserNav #2069
- repo: Fix race condition in code host syncer #2060
- authz: Adjust default settings for perms syncing #2052
- The default values for repo permission syncing have been adjusted. If you specified overrides, this means no change on your instance.Adjusted defaults:
permissions.syncScheduleInterval
is now 60s instead of 15s, in favor of scheduling more jobs at once (see below).permissions.syncOldestUsers
andpermissions.syncOldestRepos
have been adjusted to100
from10
to schedule pending permission sync jobs faster.permissions.syncJobCleanupInterval
has been bumped from every minute to every hour. Cleaning completed jobs is purely to prevent unbounded growth and every minute was more aggressive than necessary.The default concurrency for repo- and user-centric sync jobs has been bumped from 1 to 5 to account for larger instances. Historically, GitHub prevented concurrent API access in secondary rate limiting but this has been lifted to be much more lenient long ago.permissions.syncReposMaxConcurrency
has also been introduced to complimentpermissions.syncUsersMaxConcurrency
.
- The default values for repo permission syncing have been adjusted. If you specified overrides, this means no change on your instance.Adjusted defaults:
- tenant: Fix concurrent creation in DB #2039
- tenant: Do not fail on startup #2038
- add code_completion feature flag for autoedit model #2037
- pings: Move handler code into cmd/pings #2021
- authz: Remove unused iteration over authProviders #2019
- cody: Fix incorrect language in Cody auth dialog #2013
- auth: Bring auth.Providers reads further up #2011
- tenant: Restructure multitenant GitHub app implementation #2010
- deps: upgrade SAMS SDK #2006
- repo: NeedsRepositoryConfiguration is independent of permissions #1981
- repoupdater: Enable dbbacked scheduler by default #1975
- repoupdater: Split dbworker for clones and fetches #1974
- repoupdater: Introduce higher priority for clones #1972
- gitserver: Increase duration buckets #1971
- Added option to create search job from action menu in the results page #1968
- tenant: Return multitenantGitHubApp for all users #1967
- workspaces: use
time.Now
as the modtime for "index.html" #1956 - workspaces: add a quick log to show the modtime of index.html #1953
- Redis: add warning about using KEYS command #1913
- remove debugging code #1909
- auth: Craft GatingProvider interface and use in AuthProviders #1892
- auth: Small code cleanup #1891
- events: Deprecate hashedLicenseKey in events from client #1887
- llms: Fixup and streamline cody rate limits #1700
- licensing: Implement NonAdmins feature #1699
- licensing: Simplify free tier logic a bit #1695
- enterprise-portal: add RegisterRoleResources background routine #1687
- enterprise-portal: add SAMS notification handler for UserRolesUpdated #1686
- security: Auto-update package lockfiles for Sourcegraph base images #1678
- workerutil: Move into tenant package #1533
- dbworker: RFC for tenant-aware, fast dequeues #1487
Untracked
The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
- [Backport 5.10.x] Context: switch to Snowball stopwords (#2223) #2225
- Narrowed down the stopwords list used in Cody context, to fix an issue where we could miss highly relevant files.Backports https://github.com/sourcegraph/sourcegraph/pull/2223
5.10 Patch 3
Warning: This release updates the database container images from Postgres 12 to Postgres 16, and begins using Wolfi based images. Customers are advised to have a database backup before upgrading! See our postgres 12 end of life notice!
Also be sure to check your deployment type's upgrade notes!
v5.10.3940
Features
Security
- introduce UntrustedExternalClient #2433 Backport 3f079a57978179aa2ad3f310195346a8c574f9ce from #2349
Fix
Database
- do not log DSN secrets when changed #2434
- We no longer log the postgresql DSN when it changes. Previously this could contain the secret PGPASSWORD. Backport 2bd9c09969fff536c6fb29108656658d3f875047 from #2272
Reverts
There were no reverts for this release
5.10 Patch 2
Warning: This release updates the database container images from Postgres 12 to Postgres 16, and begins using Wolfi based images. Customers are advised to have a database backup before upgrading! See our postgres 12 end of life notice!
Also be sure to check your deployment type's upgrade notes!
v5.10.2832
Features
Cody
- update cody web to 0.17.0 version
(PR #2285)
- update cody web to 0.16.0 version
(PR #2284)
Backport 964eceae584e4eff56df9711da68fef7047cbc40 from #2254
Fix
Bazel
- syft checksum update
(PR #2218)
Cody
- disable reranking for airgapped instances
(PR #2194)
Release
- Remove
--link
and add optional args env var(PR #2216)
- fix(rel): change
pg_upgrade
behavior to use copy instead of hard links Backport 13caa807d96dd4b5dd872fec2a38322d1888134a from #2192
- fix(rel): change
- remove -x flag in readiness check on database containers
(PR #2135)
- fix(rel): address issue with readiness check outputting passwords to logs. Backport 655a739e8e791d7aab1977d2c26543a3a4871809 from #2132
Chore
Ci
- bzlmod migration for rules_syft
(PR #2193)
- Backport fbf92aedbb81f00766d7107015b7697352b5c482 from #1812
Reverts
There were no reverts for this release
Uncategorized
Others
- [Backport 5.10.x] Context: switch to Snowball stopwords (#2223)
(PR #2225)
- Narrowed down the stopwords list used in Cody context, to fix an issue where we could miss highly relevant files.Backports https://github.com/sourcegraph/sourcegraph/pull/2223
- [Backport 5.10.x] bugfix: do not load commit history eagerly
(PR #2201)
- Fixes a bug where the new web app may consume an outsized amount of backend resources when browsing large repositories. Backport 79546146e2bfa4e3fcee1a8e825ad48823c8cd77 from #2197
- [Backport 5.10.x] Cody context: clean up resolvers
(PR #2187)
5.10 Patch 1
Warning: This release updates the database container images from Postgres 12 to Postgres 16, and begins using Wolfi based images. Customers are advised to take a database backup before upgrading! See our Postgres 12 end of life notice!
Warning:
automatic
upgrades will require setting the environment variableSRC_AUTOUPGRADE_IGNORE_DRIFT=true
on thesourcegraph-frontend
deployment/container.Also be sure to check your deployment type's upgrade notes!
v5.10.1164
Fix
Database
- remove 5.10 deprecation dates on out of band migrations
(PR #1996)
- We are removing the deprecation dates on out of band migrations which deprecated in 5.10. This is to unblock MVU and autoupgrades which are encountering a bug with deprecated out of band migrations. Backport f654dcc9200e2dda2deddc8f98bcd972e6a873fd from #1995
Search
- disable zoekt go-git optimization by default
(PR #2051)
- Disabled an indexed search optimization which would skip files accidentally (
ZOEKT_DISABLE_GOGIT_OPTIMIZATION=true
). Backport 34ada948bdcee3d75499c98f4db5c32986943e88 from #2050
- Disabled an indexed search optimization which would skip files accidentally (
Reverts
There were no reverts for this release
Uncategorized
Others
- [Backport 5.10.x] oob: Actually run for all tenants
(PR #1994)
5.10 Patch 0
Warning: Admins are advised to upgrade directly to v5.10.1164 circumventing this release.
Warning: This release updates the database container images from Postgres 12 to Postgres 16, and begins using Wolfi based images. Customers are advised to have a database backup before upgrading! See our postgres 12 end of life notice!
Warning:
automatic
and migratorupgrade
command will not work for this release, please upgrade directly tov5.10.1164
, or to a 5.9 version and conduct a standard upgrade using migrator's defaultup
command!Also be sure to check your deployment type's upgrade notes!
v5.10.0
Features
Autoedit
- add autoedit model to use chat completions end point
(PR #1809)
Ci
- move rules_pkg to MODULE.bazel
(PR #1660)
Cody
- fix ootb prompt details page
(PR #1902)
- update cody web to 0.14.0 version
(PR #1895)
- add support for out-of-the-box prompts
(PR #1726)
- support openai predicted outputs
(PR #1625)
- Cody Gateway: add support for OpeanAI predicted outputs
- added
systemPreInstruction
(CODY-4032)(PR #1402)
- adds
systemPreInstruction
to themodelConfiguration
key in site admin config that allows injecting a prelude prompt into every chat request for an enterprise
- adds
Cody-Gateway
- add gpt-4o-mini model
(PR #1591)
- Cody Gateway: add
gpt-4o-mini
to Cody Gateway allow list - Cody Gateway: add
gpt-4o-mini
to DotCom models list
- Cody Gateway: add
Conf/Deploy
- add 'workspace' deploy type
(PR #1710)
Dev
- use svelte-dev for multi-tenant
(PR #1843)
- add alias 'sg bz cf' for 'sg bz configure'
(PR #1827)
- add '-open=false' option for 'sg sams login'
(PR #1498)
- Adding sg command to request Entitle bundles
(PR #1370)
Gateway
- Add
/models.json
endpoint (PRIME-601)(PR #1728)
- Disable flagged model blocking for enterprise (PRIME-602, PRIME-605)
(PR #1659)
Github
- add client ID support for GitHub App authentication
(PR #1622)
- The GitHub app authentication package now supports authenticating a GitHub app via the OAuth client ID following the announcement of https://github.blog/changelog/2024-05-01-github-apps-can-now-use-the-client-id-to-fetch-installation-tokens/
Graphql
- add support for reading GitHub App Installation repos from GitHub REST API
(PR #1711)
- A new GraphQL query,
GithubAppRepositoriesForInstallation
, has been added that provides a paginated list of all the GitHub repositories that are accessible to the GitHub app with the provided installation id.
- A new GraphQL query,
- add endpoint for getting github app installations scoped by user
(PR #1606)
- A new graphql endpoint has been added, GithubAppInstallationsForUser, that returns installation information for the global GitHub multi tenant app when running in multitenant mode.
Internal/Github
- add pagination support and test for GetUserInstallations
(PR #1572)
- The Github API client's GetUserInstallations route, which lists of GitHub App installations the user has access to, now has pagination support.
Lib/Cloudapi
- add support for workload identity to auth roundtripper
(PR #1623)
Local
- add bazel mod tidy to
sg bazel configure
step(PR #1656)
Msp
- apply default max DB conns of 8*CPU
(PR #1394)
Msp/Cloudsql
- annotate cloudsql trace spans with target database
(PR #1398)
Mt-Router
- add support for SOAP redirect
(PR #1510)
Multi-Tenant
- redirect to workspaces/join on user-not-found
(PR #1604)
Multitenant
- Rework GraphQL resolvers and add back App installation link
(PR #1819)
- Add temporary UI for workspace repository management
(PR #1791)
- add helper routine for instantiating github app from multitenant credentials
(PR #1758)
- A simple helper routine to the multitenantenv package that automatically populates a github app struct with the provided validated credentials.
- use default cookie for github app oauth login
(PR #1571)
- The routing logic for multitenant mode now has a new route that uses the "last seen tenant" cookie to route github app login authorization callbacks to the appropriate tenant.
Release
- add pg16 and pg16 codeinsights to published images
(PR #1731)
- feat(rel): Add Postgresql 16 and Postgresql 16 codeinsights images to published image list.
- add pg 16 codeinsights entrypoint and tests
(PR #1730)
- feat(rel): Add self updating to Postgres 16 codeinsights db image.
- add pg 16 entrypoint and tests
(PR #1718)
- feat(rel): Add self updating to Postgres 16 container image.
- Add wolfi postgres 16 codeinsights-db base image
(PR #1619)
- feat(rel): Add Postgres 16 CodeInsights Wolfi image
- Add wolfi postgres 16 base image
(PR #1617)
- feat(rel): Add Postgres 16 Wolfi image
Release
- Handle postgres version upgrades in upgrade test
(PR #1918)
- refactor upgradetest
- introduce proper handling of the postgres version upgrade Backport 9ccdf4200e3e08cea56bffe5779ca8a6cda2909c from #1894
Search
- include file paths in reranker items
(PR #1866)
- Cody context now incorporates filename information in reranking, improving context quality when the reranker is enabled.
- (new web ui) Add 'open in code host' button to repo root and folder pages
(PR #1776)
- (new web ui) Copy URL to clipboard when clicking 'Permalink'
(PR #1774)
- (new web ui) Show file/folder name in title instead of full path
(PR #1735)
- (new web ui) Add survey toast
(PR #1453)
- (new web ui) Show loading indicator when navigating up the file tree
(PR #1465)
Sg
- add workspaces common operations
(PR #1845)
- support
get
,list
, anddelete
workspaces tosg
- support
Source
- Allow GitHub code host connections to specify an external account as the authenticator
(PR #1842)
- multitenant: add worker job for inserting github multitenant app credentials
(PR #1668)
- A new worker job has been added that updates the database with the credentials for the global github app when running in multitenant mode.
Telemetry
- Add request client name and version to telemetry gateway payload
(PR #1607)
Tenant/Reconciler
- report backpressure when tenants > 0.85*targetMaxTenants
(PR #1719)
- exclude DESTROY_SUCCESS from global reconcile
(PR #1534)
Workspaces
- check basic email validity to create invite
(PR #1849)
- always set displayName=name if displayName is not set
(PR #1838)
- email all workspace admins when a user joins a workspace
(PR #1824)
- add CheckWorkspaceName RPC
(PR #1822)
- Initial iteration of new creation flow
(PR #1806)
- check billing seats when joining and inviting
(PR #1770)
- always apply DEFAULT_WORKSPACE_INSTANCE_CLASS on workspace create
(PR #1763)
- accept instance class
(PR #1752)
- list eligible-to-join workspaces in UI
(PR #1672)
- explicit invites POC
(PR #1624)
- error-log illegal state transitions for Sentry
(PR #1616)
- list includes workpsaces a user can join via open invite
(PR #1586)
- make membership limits configurable
(PR #1584)
- name, display name, and open invite email domain blocklists
(PR #1539)
- free up assigned workspace slot when workspace is DESTROY_SUCCESS
(PR #1535)
- prevent management API from reading workspaces in deletion state
(PR #1508)
- prune iam store on deletion
(PR #1504)
- implement router pruning, add 'pruned_router_at', 'pruned_iam_at'
(PR #1480)
- delete and reconcile routes
(PR #1440)
Workspaces/Blocklists
- improve heuristics and errors
(PR #1801)
Workspaces/Instances
- add UNAVAILABLE, CAPACITY_PRESSURE states
(PR #1712)
Workspaces/Integrations
- provide workspace uri
(PR #1477)
Workspaces/Web
- as-you-type name validation POC
(PR #1858)
Others
- switch to buildkite for nightly release pipeline
(PR #1690)
- N/A
- add new telemetry v2 events for server side batch changes
(PR #1666)
- add events for interactions with search input toggle buttons
(PR #1469)
- add events for codenav actions
(PR #1441)
- make filters sidebar collapsible
(PR #1437)
- Search filters sidebar is now collapsible
- add dynamic filters and aggregation for repo metadata and topics
(PR #1420)
- Added dynamic filters and the ability to aggregate by repo metadata and repo topic
- render mdx as markdown
(PR #1392)
- Render .mdx files as markdown
Fix
Batch Changes
- titles now break over multiple lines if they are too long
(PR #1582)
- fix(batches): titles now break over multiple lines if they are too long
- do not ignore bool env var parsing error
(PR #1537)
Client
- address pnpm lint:js:web issues and add job in CI
(PR #1520)
Code Intelligence
- Align repo batch settings between syntactic and precise indexing
(PR #1663)
- Fix wrong offset in policy iteration
(PR #1546)
Cody
- use models from model config for PLG chat
(PR #1870)
- sync allowed models in dotcom user rate limits with models.json
(PR #1864)
- filter allowed models based on subscription tier
(PR #1636)
Database
- drop unique slug contraint from github app table
(PR #1689)
- The github_apps table has removed an erroneous unique constraint that accidentally incorporated an app's slug (which is mutable) as part of the unique identifier for an app.
Database
- update generated squash and schemas
(PR #1917)
Dev
- fix kill pubsubemulator
(PR #1850)
- correctly pick up error message from 'sg sams login'
(PR #1482)
Enterpriseportal
- allow list to accept display name query of 2 characters
(PR #1603)
Gateway
- add blocked phrase if request was blocked due to flagged models list (PRIME-603)
(PR #1670)
- Make model cost a pointer (CODY-4007)
(PR #1427)
Graphql
- refactor getGithubAppFromEnvvar to use multitenantEnv.Config.AsGithubApp
(PR #1767)
- The logic in the new multitenant GraphQL resolvers has been reworked to use the new helper methods introduced in the Multitenant GitHub app configuration logic introduced in https://app.graphite.dev/github/pr/sourcegraph/sourcegraph/1758/.
Insights
- Fix incorrect line counts in non-default config
(PR #1517)
- Code insights should show correct line counts when enhanced language detection is turned off (note: this setting is on by default).
Local
- display external env overrides when displaying environment variables
(PR #1595)
- sg - fix images query to point to correct rule
(PR #1430)
Release
- fix oob migrations hanging
(PR #1959)
- NA Backport a943412a99852332f921b52a0ee3179dc3331d20 from #1958
- add vacuum after reindex in Postgres upgrade script
(PR #1779)
- fix(rel): Add vacuum to Postgres upgrade process
- install
sg
in the nightly pipeline GHA(PR #1675)
- N/A
Release
- correct views drift in postgres 16
(PR #1878)
- add migrations to handle database drift caused during postgres 12 to postgres 16 upgrade
- fix drift check in local upgradetest
(PR #1832)
- Fix bug in local upgrade test preventing final stage drift check via private monorepo
Search
- consistently marshal SearchTypeRegex as regexp
(PR #1919)
- We sometimes would emit
patternType:regex
instead ofpatternType:regexp
. We now always do regexp as well as treating regex as an alias for regexp. Backport a095b39ac39cfcbe3526ecf85ed6d50cb5fa3d9d from #1808
- We sometimes would emit
- Executors on Kubernetes: propagate user and group from Executor env vars to batch change job pod
(PR #1863)
- The environment variables
KUBERNETES_RUN_AS_USER
andKUBERNETES_RUN_AS_GROUP
contribute to the JobPodSpec
'sSecurityContext
. - The default value for those variables is
-1
, which could cause errors with some Kubernetes clusters.
- The environment variables
- (new web app) Only update user activity data once on load
(PR #1797)
- (new web ui) Respect 'window.context.disableFeedbackSurvey' flag
(PR #1778)
- (search input) Treat not, and, or as keywords regardless of case
(PR #1733)
- (new web ui) Fix dimensions of line selection marker
(PR #1417)
- (new web ui) Add rollover effect to RadioButtonGroup
(PR #1416)
- (new web ui) Fix duplicate lint suggestion insertion
(PR #1413)
- (new web ui) Remove unintentional vertical scrollbars
(PR #1411)
- (new web ui) Only show specific repo menu items when features are enabled
(PR #1401)
Security
- Do not expand env vars in executor logs
(PR #1811)
- This change reduces the risk of secrets being emitted in executor logs even if there are bugs in the secret redaction logic.
Sg
- remove noop -d declaration for psql
(PR #1455)
- specify postgres database for psql commands
(PR #1450)
Source
- p4-fusion now decodes encode file paths from Perforce
(PR #1347)
- When cloning Perforce depots, Sourcegraph will now decode encoded paths correctly (paths that include characters like
@
and#
)
- When cloning Perforce depots, Sourcegraph will now decode encoded paths correctly (paths that include characters like
Tenant/Reconciler
- do not check dormancy if still in PROVISION states, only check if needed
(PR #1605)
- on getTenantErr, report destroy state if in destroy state
(PR #1563)
Workspaces
- properly represent workspace state to management API
(PR #1816)
- fix DESTROY_PENDING proto adapter, improve handling of unknown states
(PR #1814)
- improve CreateWorkspace resilience
(PR #1773)
- remove broken down-migration statements
(PR #1754)
- support creating workspaces over API
(PR #1714)
- do not list all workspaces if user has no memberships
(PR #1671)
- tidy up email-disabled error log
(PR #1667)
Workspacesreconciler
- fix double-counting of checked workspaces
(PR #1753)
Others
- Prompt page tweaks
(PR #1899)
- revision picker growth
(PR #1875)
- more contrast updates
(PR #1871)
- Reranker: recreate from config on every call
(PR #1865)
- prompt library visual updates
(PR #1852)
- Use standard protojson library for reducing memory
(PR #1846)
- Increase contrast everywhere
(PR #1840)
- make owner nullable in prompts
(PR #1746)
- only retry queries
(PR #1706)
- Reranker: listen to config changes, do not mutate config
(PR #1705)
- retry graphql on 502 errors
(PR #1683)
- fix(web): retry graphql requests on network errors
- styling changes to explore panel and badges
(PR #1528)
- increase contrast of highlighted code background and line numbers in selected area
(PR #508)
Chore
Ci
- container structure test bzlmod migration
(PR #1818)
- migrate protobuf and rules_proto rules to bzlmod
(PR #1749)
- move buildifier prebuilt to bzlmod
(PR #1709)
- increase buildifier timeout to 6m
(PR #1658)
- move bazel_skylib to bzlmod
(PR #1654)
- bazel - remove build_tests_only flag for db tests
(PR #1610)
- bazel - add config settings to switch between pg-12 and pg-16 binaries
(PR #1601)
- refactor bazel migrations
(PR #1583)
- update github workflow for pg-12 and pg-16 package variants
(PR #1580)
- upgrade aspect bazel lib
(PR #1425)
- Upgrade to latest rules proto grpc
(PR #1424)
- enable db tests task to run on ci agents with postgres 16
(PR #1293)
- upgrade rules_pkg
(PR #976)
- upgrade aspect cli
(PR #975)
Code Intelligence
- Remove unused return value & pass TraceLogger
(PR #1551)
- Enable exhaustruct for more subfolders (part 2)
(PR #1547)
- Document why RepositoryID field is nil
(PR #1545)
- Add helper types for relationships
(PR #1542)
Dev
- Delete tracking-issue package
(PR #1556)
- Add iterator helper for pagination
(PR #1555)
- Fix links to sg monorepo in Markdown
(PR #1554)
- Add more helper functions to iterext
(PR #1549)
- Enable exhaustruct for more subfolders
(PR #1544)
- Add helper package for property-based testing
(PR #1540)
- Introduce helper package for iter.Seq
(PR #1522)
- Fix links to sg monorepo
(PR #1519)
- Simplify language detection code in inventory
(PR #1518)
- Flip polarity of boolean for language detection
(PR #1516)
- Use a lazyFile type to consolidate lazy file content fetching
(PR #1515)
- Rename functions for clarity
(PR #1514)
- Remove direct usages of enry.IsVendor
(PR #1513)
- Simplify sorting logic
(PR #1512)
- Rename type Lang -> LanguageStats
(PR #1511)
- Migrate from sync.WaitGroup to conc APIs
(PR #1495)
- Fix warning about missing integrity field
(PR #1494)
- Update for loops for newer syntax
(PR #1488)
- Factor out offset & limit logic
(PR #1486)
- Switch to alternate orderedmap library
(PR #1414)
- Clarify docs & naming in debugserver code
(PR #1384)
Dev/Mt-Router
- silence cache miss on default
(PR #1565)
Dotcom
- rename 'cody services' to just 'cody gateway'
(PR #1466)
Frontend
- Store model config in global var
(PR #1805)
Gateway
- A few small docs fixes
(PR #1751)
- Make provider type more specific
(PR #1750)
Local
- small improvements to sg entitle
(PR #1794)
Msp/Iam
- suggest standard IAM_MAX_DB_CONNS as env var
(PR #1499)
Release
- remove postgres-12 wolfi from published images
(PR #1737)
- chore(rel): remove unused Postgres 12 images
- remove appliance from published images and codebase
(PR #1732)
- chore(rel): remove appliance from published images
Release
- remove check against latest full version in
--post-release-version
code path(PR #1585)
Search
- (new web ui) Improve search home page SG logo rendering
(PR #1813)
- add NodeJS 20 to the Bundled Executor image
(PR #1569)
- Update search web app title and description for SEO on dotcom
(PR #1509)
- Add JDK 17 and 21 to the Bundled Executor image
(PR #1502)
- (new web ui) Remove beta badge from search progress popover
(PR #1418)
- update CPU and MEM panels for zoekt
(PR #1368)
- We have updated the CPU and MEM monitoring panels for Zoekt on Grafana. The new panels reduce redundancy and provide more insight into MEM distribution.
Source
- simplify oauth middleware
(PR #1876)
- Update the gitserver image lockfile to contain the latest p4-fusion
(PR #1410)
- Default perforce changelist mapping to enabled
(PR #1376)
Telemetry
- align billing metadata values with 'sourcegraph/cody'
(PR #1396)
Telemetry/Geolocation
- update DB-IP Lite database
(PR #1468)
- The local geolocation inference database used in telemetry and audit logs has been updated.
Telemetrygateway
- bump slow-request threshold
(PR #1647)
Tenant/Reconciler
- add some additional diagnostics
(PR #1795)
Workspaces
- include longer s&p500 names for fuzzy matching
(PR #1844)
- make unexpected errors more friendly
(PR #1821)
- add spans on write interactions
(PR #1807)
- instantiate large blocklists once in store
(PR #1562)
Workspaces/Web
- use unified client constructor
(PR #1828)
Others
- Rename method to indicate lack of redaction clearly
(PR #1790)
- Reorder fields in executor Config
(PR #1785)
- Remove custom Set type
(PR #1742)
- Rename Set.Values() -> ValuesNonDet() for clarity
(PR #1741)
- Avoid materializing Set Values() just for length
(PR #1739)
- Add env var to disable precise & syntactic
(PR #1707)
- Bump autoindexing image SHAs
(PR #1703)
- Move CodyGatewayRateLimit calculation to where it's used
(PR #1693)
- remove env lock mechanism
(PR #1593)
- fix(dev): remove env.Get lock that could cause a runtime panic
- update event names
(PR #1500)
- remove robert from many CODENOTIFYs
(PR #1421)
- update new search events to make them easier to use
(PR #1395)
Refactor
Local
- move reset-pg to internal/db
(PR #1573)
Reverts
- Revert "chore/dev: upgrade aspect_bazel_lib to 2.9.4 (#1713)"
(PR #1713)
Uncategorized
Others
- [Backport 5.10.x] Revert "chore(source): simplify oauth middleware"
(PR #1928)
- githubapp: Expose monolith GitHub app ClientID
(PR #1904)
- pnpm: Remove leftover appliance links in workspace
(PR #1900)
- core: Fixup pnpm lockfile
(PR #1886)
- tenant: Hide unlink button for SAMS external accounts
(PR #1885)
- auth: Hide unlink button for external accounts that cannot be unlinked
(PR #1884)
- svelte: Correctly hide navbar entries
(PR #1883)
- svelte: Add back settings link
(PR #1882)
- workspaces/billing: attach metadata and context without cancel whenever possible
(PR #1881)
- web: respect
expanded
in the search results URL(PR #1880)
- Fixed an issue where searches from saved URLs may now show aggregations by default
- add timeout to gateway calls
(PR #1879)
- workspaces: Align styling for join page
(PR #1860)
- workspaces: Add tables for listing workspaces
(PR #1857)
- workspaces: Slightly tweak style
(PR #1851)
- workspaces: Directly link to installation target
(PR #1848)
- tenant: Suppress some irrelevant missing_context pprof traces
(PR #1847)
- Workspaces: Fix workspace picker rendering in React
(PR #1841)
- fix permissions connection resolver ordering
(PR #1839)
- workspaces: Add seat selector on plan page
(PR #1835)
- workspaces/billing: create RPC for purchasing seats
(PR #1831)
- workspaces/billing: extract subscription attribute computation into a
Plan
helper(PR #1830)
- workspaces: Add updated workspace pickers for tenant
(PR #1829)
- workspaces: Add field to pre-purchase extra seats
(PR #1826)
- workspaces/billing: implement periodic workers for subscription renewal
(PR #1823)
- auth: Fix background contexts in validate authz provider
(PR #1802)
- redispool: support more configuration options
(PR #1799)
- workspaces/billing: add tests to
cmd/workspaces/internal/billing
(PR #1786)
- workspaces/billing: update test for
ManagementService.CreateWorkspace
(PR #1784)
- workspaces/billing: add database tests for customers
(PR #1783)
- workspaces/billing: add database tests for transactions
(PR #1782)
- Require
X-Requested-With
for Cody API (CODY-4209)(PR #1781)
X-Requested-With
is now a required HTTP header for Cody API calls
- Context: narrow down stopwords list
(PR #1780)
- workspaces/billing: ignore invoices that are not for the current instance
(PR #1777)
- workspaces/billing: support soft-deleting subscriptions
(PR #1772)
- feature/internal: upsert github credentials on tenant creation
(PR #1769)
- The multitenant reconciler now proactively inserts the credentials for the shared multitenant GitHub app whenever a new tenant is created.
- lib/cloudapi: add mt instance type
(PR #1766)
- tenant: Add configuration for MT GitHub App to localdev
(PR #1756)
- Seed builtin prompts
(PR #1755)
- Prompts including "Document Code", "Explain Code", "Generate Unit Tests", "Find Code Smells"
- tenant: Enable onebox on tenant creation
(PR #1748)
- Onebox: introduce 'nls' patterntype
(PR #1744)
- workspaces/billing: implement Stripe webhook handler
(PR #1740)
- cody-gateway: update deployment id for model
(PR #1729)
- workspaces/billing: implement seat purchase and consumption
(PR #1723)
- localdev: Disable precise, syntactic codeintel in multitenant mode
(PR #1720)
- workspaces/billing: use the "correct" way to list customer payment methods
(PR #1717)
sg start sveltekit-minimal
for quickly running the new UI(PR #1702)
- conf: Move more types to conftypes
(PR #1692)
- Remove experimental admin onboarding v2
(PR #1691)
- telemetry: Implement telemetry exports for workspaces
(PR #1677)
- autoedit: add speculative decoding
(PR #1673)
- autoedit: Add speculative decoding support from fireworks
- fix
marketingTracking
sending null(PR #1669)
- Prompts: fix prompt name validation and prompts migration
(PR #1664)
- Add GraphQL resolvers to read and set a list of repositories for a GH App installation ID
(PR #1657)
- fixup: remove Git conflict marks in
sg.config.yaml
(PR #1649)
- Require prompt field before successful submission
(PR #1639)
- Add builtin prompts field to prompts
(PR #1633)
- Zoekt: refactor memory dashboards
(PR #1618)
- workspaces: add billing prototype for subscription creation
(PR #1611)
- admin: Update report an issue link
(PR #1608)
- change default autoedit model
(PR #1589)
- feat(cloud) sg cloud eph deploy: support ms env
(PR #1581)
- add Cody.promptLibrary telemetry
(PR #1568)
- worker: Group tasks by purpose
(PR #1566)
- Improve policy iterator tests to not rely on SQL for insertion
(PR #1560)
- repoupdater: Fix slow scheduling of cloned->uncloned repos
(PR #1552)
- repoupdater: Fix reporting of background routines
(PR #1550)
- Update Prompts Library UI (list page)
(PR #1548)
- Update prompt detail header UI
(PR #1538)
- Context: remove experimental intent routing
(PR #1536)
- Add 'recommended' checkbox to new creation UI.
(PR #1531)
- dormancy: Also fall asleep tenants that never see traffic
(PR #1530)
- Fix reranker not being applied
(PR #1529)
- sg: Fix local dev pguser setup
(PR #1506)
- Context: ensure we propagate timeouts and missing repos
(PR #1505)
- Make Visual Studio Experimental
(PR #1503)
- Context: always use more items for reranker
(PR #1476)
- Remove insert prompt mode
(PR #1475)
- Add missing Cody Web Alert CSS variable override
(PR #1474)
- repoupdater: Fix no rows returned error
(PR #1472)
- add autoedits to cody gateway
(PR #1459)
- ci: bump go-mod-tidy step timeout
(PR #1452)
- Add commands to prompts migration
(PR #1449)
- repoupdater: Speed up repo_update_job dequeues
(PR #1448)
- repoupdater: Clean up metrics
(PR #1447)
- repoupdater: Speed up and simplify not fetched metric
(PR #1446)
- migration: Checkpoint new repo_update_jobs migration
(PR #1445)
- gomod: bump Zoekt for query perf fix
(PR #1438)
- Implement prompt detail page re-design
(PR #1423)
- Re-designed prompt detail page.
- Add page faults to Zoekt memory metrics
(PR #1422)
- chore/source Update src-cli version to 5.8.2
(PR #1415)
- chore/source Update src-cli version to 5.8.2
- siteadmin: Reset pagination cursors after filter change
(PR #1404)
- bugfix: fix settings link
(PR #1393)
- gomod: bump Zoekt for go-git optimization
(PR #1391)
- Update Marketing URLs in the site footer links
(PR #1390)
- Soft delete prompts
(PR #1386)
- Widen blocked phrases, but only confine blocked phrases to expensive (aka flagged) models
(PR #1344)
- repoupdater: Drop support for gitUpdateInterval
(PR #1339)
- The site config setting
gitUpdateInterval
has been deprecated and removed. We are removing it in favor of smarter heuristics like webhooks, user traffic, and repo staleness.
- The site config setting
- repoupdater: Remove total from schedule and update queue state
(PR #1338)
- Add system workspace admin role
(PR #1327)
- Add syntactic worker to images so it gets updated in helm charts
(PR #1323)
- feature/source: adjust exclude definition in github schema to disallow using name, id with other filter conditions
(PR #1250)
- The github code host connection schema for
exclude
has been updated to enforce that the name and id fields can't be combined with any other fields.
- The github code host connection schema for
- Add gitSSHCipher for git code hosts
(PR #1175)
- RFC: Dormancy and tenant states
(PR #756)
- web telemetry: update
marketingTracking
to retrieve latest cookies set on web(PR #460)
Untracked
The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
- Fix wrong offset in policy iteration
(PR #1559)
- Release: Prep stitched migration graph for release (#1388)
(PR #1389)
- n/a
5.9 Patch 4
v5.9.17785
Fix
Cody
- Allow specification of additional chat GPT models for Cody
(PR #3434)
Backport 5190f43a4d09810e69400c5d0e6d9176b3c4b815 from #3380
5.9 Patch 3
v5.9.1590
Fix
Code Intelligence
- Fix wrong offset in policy iteration
(PR #1559)
Cody
- fix broken homepage redirect for cody only plans
(PR #1626)
- When using an instance with a Cody-only license, accessing the home page now correctly redirects you to /cody/dashboard, instead of a non-existent /cody page. Backport a4cb5a0723bad18e1c215d81231db457d1abfbdb from #1621
Search
- (new web ui) Disable persistence for history/explore panel
(PR #1614)
Chore
Release
- remove extra v identifier for version in artifact exporter
(PR #1594)
Backport c4b838103ce2f71e7591ade720e8bdf17f9a5b39 from #1490
Reverts
There were no reverts for this release
Uncategorized
Others
- [Backport 5.9.x] azure: Add support for repositoryPathPattern
(PR #1629)
- Added support for the
repositoryPathPattern
property to Azure DevOps code host connections. - Fixed an issue where Azure DevOps repo names included a port number - aligning with other code host connection implementations Backport 762bd89a12825ff05de98d9c2d8adfcf1ef5bf4a from #1543
- Added support for the
5.9 Patch 2
v5.9.347
Fix
Dev
- hoist env vars init to avoid repo-updater panic
(PR #1527)
Reverts
There were no reverts for this release
5.9 Patch 1
v5.9.45
Reverts
There were no reverts for this release
Uncategorized
Others
- "Add syntactic worker to images so it gets updated in helm charts""
(PR #1483)
5.9 Patch 0
v5.9.0
Features
Api
- Added a better error message for 429 errors for
/.api/cody/completions
(CODY-4097)(PR #1380)
Audit
- add tenant to audit logs, fix log stack
(PR #960)
Batch Changes
- show name of additional fields that cause errors
(PR #799)
- feat(batches): show name of additional fields that cause errors
Ci
- generate frozen files as part of stich_migration_graph generation
(PR #957)
- record Test infrastructure failures
(PR #884)
- add library that writes to TEST_INFRASTRUCTURE_FAILURE_FILE if it is defined for test failures
Cloud
- allow monolithsams instances to have no conf auth providers
(PR #1247)
- add support to override target managed service endpoints
(PR #1238)
- add support to override license generation public key from cloud site config
(PR #1193)
Code Intelligence
- Syntactic indexing grafana monitoring dashboard
(PR #1263)
Cody
- add more API docs content
(PR #1378)
- add CLI tool to compute PCW
(PR #1349)
- Add Claude 3.5 Sonnet (Latest) & Claude 3 Opus (Latest)
(PR #1244)
- add Cody Audit Log
(PR #1232)
- add cody audit log table and store
(PR #1182)
- Expose token usage in the LLM API
(PR #1070)
- The
/.api/completions/stream
API now includes used input/output tokens and the upstream model name in the response body when using the query parameterapi-version=5
or higher. Does not apply to: Vertex Anthropic, Azure OpenAI (mo model name, and no token usage in streaming response), Gemini (no model name in streaming response) - LLM chat completions now support
stream: false
when using Azure OpenAI and OpenAI-compatible providers.
- The
- update telemetry feature prefix for Cody API
(PR #1023)
- add embedded API docs via OpenAPI/Redocly
(PR #1014)
- New OpenAPI API docs within the instance at the URL
$SRC_ENDPOINT/api/openapi/public
. Alternatively, reach the page at "User > Settings > OpenAPI Reference".
- New OpenAPI API docs within the instance at the URL
- add basic telemetry recording for Cody API
(PR #943)
- add support to format raw API responses for Cody
(PR #877)
- The raw HTTP API now accepts the query paramter
format=cody
or headerAccept: application/cody
to render files and directories as context items for Cody. Example request path:/github.com/sourcegraph/cody/-/raw/agent/src/index.ts?format=cody
.
- The raw HTTP API now accepts the query paramter
Cody-Gateway
- add new claude-3-5-haiku-latest model
(PR #1471)
Cody Gateway: add new claude-3-5-haiku-latest dotcom models list Backport 11e7481ba3c810ae5b47d32b8cf32066e2f0b2bb from #1470 - deprecate old claude 3.5 sonnet
(PR #1248)
Dev
- add externalSecret support for commandsets
(PR #1027)
- sg sams login and cookie-less workspace creation
(PR #913)
Graphql
- upload graphql schemas to GCS bucket
(PR #1245)
Internal/Requestclient
- have HTTP middleware populate all response headers with observed X-Forwarded-For and calculated IP for debugging purposes
(PR #524)
- All of Sourcegraph's HTTP responses now contain two new headers for easier debugging purposes.
Observed-X-Forwarded-For
: echos theX-Forwarded-For
header that we observed on the user's incoming requestObserved-Calculated-IP-From-Forwarded-For
: indicates the IP address that we derived from the user'sX-Forwarded-For
header
Local
- use pending spinner for build waiting in cloud ephemeral
(PR #1039)
- add format for displaying env
(PR #918)
Monitoring
- set decimals to 1 for standard heatmap
(PR #1361)
Monolithsams
- load SAMS provider and creds from env
(PR #1024)
Msp
- package 'auditlog'
(PR #1223)
Msp/Pg
- updated o11y for pool acquire, add overrides for pgxpool.Config
(PR #1375)
Search
- (new web ui) Show loading feedback for hovercards
(PR #1239)
- (new web ui) Add ability so switch search scope in fuzzy finder
(PR #1201)
- (new web ui) Make view modes available when opening a file at a commit
(PR #1090)
- (new web ui) Render relative images in rich text documents
(PR #841)
Sg
- make workspaces endpoint configurable
(PR #998)
- implement show-env flag
(PR #883)
Site Admin
- site config 'telemetry: { disableLocalEventLogs }' to disable event_logs
(PR #1275)
- Long-term local retention of user telemetry as 'event logs' can now be disabled entirely via the
telemetry: { disableLocalEventLogs }
site configuration.
- Long-term local retention of user telemetry as 'event logs' can now be disabled entirely via the
Sub_repo_perms
- add conditional logging for seeing if sub_repo_permisisons are working
(PR #673)
- The sub repository permissions implementation now emits logs that describe the rules that were evaluated for a given request whenever tracing is enabled. (We limit these logs for only when tracing is enabled since they can be quite verbose).
Telemetry
- Log estimated LLM cost telemetry (CODY-4007)
(PR #1312)
- Adds cost estimates to the ModelConfiguration returned by
.api/llm/supported-models.json
- Adds
llmTokenUsageCostEstimate
telemetry value with estimates of each requests LLM cost in pennies
- Adds cost estimates to the ModelConfiguration returned by
- Add check for PGDATASOURCE
(PR #1281)
- Add source.server.server_client.user_agent to telemetry payload
(PR #1120)
- Add the sourcegraph API client user-agent to telemetry payload types under
source.server.server_client.user_agent
.
- Add the sourcegraph API client user-agent to telemetry payload types under
- check for external dbs
(PR #1083)
- propagate new x-sourcegraph-api-client-* headers to request clients
(PR #1025)
- Propagates new X-Sourcegraph-API-Client-Name and X-Sourcegraph-API-Client-Version headers to request clients
Telemetry-Gateway
- improve logging on processing done
(PR #1252)
Telemetrygateway
- implement publishusermetadata RPC
(PR #1095)
- spec PublishInstanceUserMetadata and pubsub format
(PR #1053)
Telemetrygatewayexporter
- log export duration, use better duration buckets
(PR #1305)
Tenant/Reconciler
- full membership reconcile
(PR #953)
- handle tenant-exists, new-tenant, and error combination paths
(PR #895)
Worker
- delete legacy event_logs exporter
(PR #859)
Worker/Telemetrygatewayexporter
- opt-in user metadata exporter
(PR #1096)
Workspaces
- notify user state updates
(PR #1316)
- allow join-by-email to be provided on creation
(PR #1280)
- add management GetWorkspace that allows view-by-email-domain
(PR #1277)
- guard against excessive join-workspaces
(PR #1251)
- restrict memberships/admins before allowing workspace creation
(PR #1212)
- join by email domain POC
(PR #1162)
- configure join by email domains
(PR #1158)
- only recently seen instances are candidates for hosting workspace
(PR #1031)
- ban 'default' as a workspace name
(PR #992)
- forbid 'src-'-prefix workspace names
(PR #920)
- refactor workspace states with reconcile and dormancy
(PR #819)
Workspaces/Management
- always return roles
(PR #1358)
- provide workspace URI
(PR #1055)
Workspacesreconciler
- add WORKSPACESRECONCILER_INSTANCE_STATE_OVERRIDE and 'AT_CAPACITY' state
(PR #1297)
- global periodic reconciler
(PR #997)
Others
- surface result precision in the explore panel
(PR #1359)
- more complete search backend events
(PR #1257)
- add embedded file snippet page
(PR #1196)
- Added embeddable page for file snippets
- add embedded file snippet component
(PR #1122)
- add search aggregations to svelte webapp
(PR #1093)
Fix
Api-Docs
- Added OpenAPI Urls to static page info
(PR #1379)
Batch Changes
- enable request splitting by default
(PR #1229)
- fix(batches): enable request splitting by default
- handle spec being nil for suffix salt
(PR #1228)
- fix(batches): handle spec being nil for suffix salt
- enable GQL request splitting via BATCH_CHANGES_REQUEST_SPLITTING
(PR #1150)
- fix(batches): enable GQL request splitting via BATCH_CHANGES_REQUEST_SPLITTING
- display "Deleted Namespace" instead of throwing an error
(PR #778)
- fix(batches): display "Deleted Namespace" instead of throwing an error
Ci
- remove dependsOn key for PG16 step
(PR #1295)
- disable db test task temporarily
(PR #1292)
- generate coreos iptable BUILD.bazel file
(PR #1230)
- cap branch names in image tags
(PR #1103)
Code Monitor
- fail monitors with missing/unverified primary email address
(PR #938)
- fix(code-monitor): fail monitors with missing/unverified primary email address
Code Intelligence
- Add more limits in auto-indexing inference code
(PR #1170)
- Introduces new limits for auto-indexing inference to reduce the risk of continuously growing auto-indexing queues.
- The number of jobs spawned per round of auto-indexing inference per repo is capped (default: 100) to reduce risk of clogging of auto-indexing queues. Excess jobs will be discarded.
- The number of paths inspected for a single round of auto-indexing inference per repo is capped (default: 500) to reduce risk of timeouts. Excess paths will be discarded.
- Handle annotated tag hashes passed as 'commit' for uploads
(PR #1135)
- Fixes handling of SCIP uploads when the hash passed to the
-commit
flag ofsrc-cli
corresponds to the hash of an annotated tag instead of the hash of a commit. Previously, these uploads were not accessible for code navigation.
- Fixes handling of SCIP uploads when the hash passed to the
- Propagate error collector to fix retention tab GraphQL API call
(PR #847)
- Fixes a bug where the retention tab for precise indexes would show a nil pointer exception instead of retention information.
Code Nav
- Trigger hovers for all programming languages
(PR #1076)
- Fixes a bug where hovers were not triggered for less mainstream languages like F#, Standard ML, Visual Basic, Pkl, Hack, MATLAB etc.
Cody
- convert nil message content parts for OpenAI compatability
(PR #1467)
- guard against completion usage missing (CODY-4135)
(PR #1218)
- API telemetry
(PR #1026)
- reset usage when rate limit value or interval decreased
(PR #1015)
- fix CodyLLMConfiguration resolver
(PR #839)
Codyapi
- Restrict audit log retrieval to site admins only
(PR #1285)
- Add usage to completions/chat (CODY-3498)
(PR #1131)
- Added token usage information to
.api/llm/chat/completions
- Added token usage information to
Completions
- clear out usage information on the completions API when version < 5 (CODY-4114)
(PR #1153)
Dev
- Correctly propagate error key-value pairs
(PR #1258)
- Fixes a bug where logs and traces were sometimes missing key-value pairs recorded alongside errors.
- fix sg db reset-pg PGUSER overwrite
(PR #1220)
- fix secrets deadlock
(PR #1032)
- fix workspaces client in local dev
(PR #1028)
- (new web ui) Properly initialize local dev defaults
(PR #961)
- remove removed table from MT migration
(PR #910)
- report warning if workspace creation failed
(PR #909)
- fix workspaces flakey test
(PR #862)
Frontend
- place requestclient as one of the first middleware
(PR #1215)
Local
- move env into correct grouping
(PR #1332)
- specify default database when checking psql version in
sg setup
(PR #924)
- fix issue with sg start monitoring ignoring dockerCommands
(PR #848)
Mt-Router
- prevent infinite oauth redirect
(PR #1118)
Release
- rename generated changelog file
(PR #1136)
- Add stitched migration graph override (#935)
(PR #941)
- NA
Search
- disable hybrid search with index:no
(PR #1462)
index:no
will now avoid the index completely. Previously it would still consult the index via a process called hybrid search. Search jobs always usesindex:no
, so if you notice a performance problem please reach out to Sourcegraph support. SettingSRC_DISABLE_RESPECT_INDEX_FIELD
environment variable on the frontend and worker pods will disable this new behaviour in 5.9.x only.Stacked on(PR #1456)
Closes https://linear.app/sourcegraph/issue/SPLF-663/disable-hybrid-search-for-search-jobs Backport 7aced46a7bc3526695a77e492ee69ad2cfa7bb17 from #1460
- (new web ui) Render submodules differently in file trees
(PR #1377)
- Fix document highlights in certain situations
(PR #1343)
- (new web ui) Fix relative links to folders
(PR #1331)
- (new web ui) Fix file tree sidebar not staying at top level directory
(PR #1328)
- (new web ui) Show informative message when repo has no README or description
(PR #1240)
- (new web ui) Fix linkifying files
(PR #1236)
- (new web ui) Make blob view readonly
(PR #1234)
- Prevents default browser shortcuts from modifying the file content locally.
- (new web ui) Prevent uncaught error when navigating back to file page
(PR #1199)
- (new web ui) Show helpful message for root commit/change list page
(PR #1138)
- (new web ui) Do not show loading spinner for empty commit ranges on compare page
(PR #1126)
- (new web ui) Fix search aggregation styles
(PR #1125)
- exclude content filters from phrase boosting
(PR #1038)
- This fixes a bug where we would apply a phrase boost if a
content:
filter was specified with keyword search enabled. This led to inconsistent behavior (regexp vs keyword search) and it also rendered thecontent:
filter ineffective, because we ran a general text search instead of a just a content search.
- This fixes a bug where we would apply a phrase boost if a
- (new web ui) 'File not found' when quickly navigating between files
(PR #959)
- (new web ui) Blame view not visible for files that use
\r
as line separators(PR #929)
- (new web ui) Show settings link to site admins when repo error occurs
(PR #817)
Sg
- workaround dangling dev resources
(PR #1048)
Source
- correct Name() documentation for gitserver's ReadDirIterator
(PR #1278)
- The documentation for gitserver's ReadDir method has been clarified to reflect that the return iterator's Name() method returns the full path of the file, as opposed to just the basename.
- multiple GitHub external accounts to the same URL now refresh correctly
(PR #1260)
- When there are multiple auth providers configured that point to the same GitHub URL, as can be the case when using private GitHub Apps, user external account tokens will now refresh correctly.
- clarify exclude docs in github connection schema to say that individual expressions within block are
and
-ed together(PR #1249)
- The documentation for the "exclude" section in the github code host connection schema has been clarified to explain that each block is OR'd together, and the expressions within each block are AND'd together.
- Fix Azure Devops OnPrem connection editing and repo name
(PR #1184)
- The sync of a GitHub repositoryQuery failing will no longer cause repos to be deleted
(PR #1177)
- GitHub code host connections using
repositoryQuery
will no longer delete repositories if the sync fails for reasons like a GitHub outage or a token expiring.
- GitHub code host connections using
Sourcegraphaccounts
- use native openidconnect provider
(PR #1030)
Telemetry
- only log Cody API events to a remote data store, do n…
(PR #1304)
Telemetry-Gateway
- fix configuration
(PR #1129)
Tenant/Reconciler
- avoid illegal state transitions
(PR #1133)
- double-check assigned instance ID
(PR #1092)
- try to audit log after tenant context creation
(PR #1051)
Workspaces
- build full redirect_to URL
(PR #1315)
- apply 'secure headers' to SPA
(PR #1313)
Others
- copy changes to prompt settings
(PR #1286)
- remove call to possibly nil error
(PR #973)
Chore
Ci
- add TAG_DB_TEST to all go_tests that depends on dbtest
(PR #1288)
- add test task in workflows for dbtest to run on postgres 16 agents
(PR #1287)
- use bazel 7.4.0
(PR #1284)
- nix - update pg-utils for patch renames
(PR #1172)
- Move //client/svelte:e2e_test to Integration/E2E_test step
(PR #1148)
- upgrade platform rules
(PR #1020)
- move rustfmt flags to ci bazelrc
(PR #1017)
- upgrade rules_ts and rules_js
(PR #1006)
- upgrade aspect rules swc
(PR #988)
- update rules rust v0.52.2
(PR #985)
- set test label prefix for backcompat tests
(PR #984)
- upgrade rules_buf
(PR #974)
- skip check if author is sg teammate
(PR #969)
- bazel skylib 1.7.1
(PR #936)
- Upgrade rules_go, gazelle, buildifier_prebuilt & rules_proto
(PR #791)
Code Intelligence
- Remove unused parameter
(PR #1204)
- Rename flag -update -> -update-jobs-snapshots
(PR #1203)
- Use HTTPError type in uploadhandler code paths
(PR #1174)
- Remove unused parameters
(PR #1166)
- Introduce new FileContentsMap type for clarity
(PR #828)
- Use consistent casing for op strings
(PR #789)
- Clarify state transitions in GetUsages
(PR #755)
Database
- remove residual event_logs export stuff
(PR #864)
- drop product_licenses and product_subscriptions
(PR #264)
Database
- OOB migration for setting non-null columns via page
(PR #885)
- An out of band migration is introduced to set slowly set the value of a new column on all tables. If you have a large postgres database for Sourcegraph (1tb+) please ensure you deploy 5.9 instead of doing a multi-version upgrade past it.
Dev
- Use clearer names in health server initialization
(PR #1383)
- Make syntactic-code-intel-worker config uniform
(PR #1382)
- Enable metrics for precise-code-intel-worker in dev
(PR #1365)
- Merge fileutil package into fsext
(PR #1351)
- Migrate gitserver APIs from fs.FileInfo to fsext.FileInfo
(PR #1318)
- Introduce new package with FileInfo type
(PR #1317)
- Document footguns around escaping trace data writers
(PR #1291)
- Rename errors.ErrCollector -> errors.Collector
(PR #1265)
- Introduce new o11y-friendly RichError interface
(PR #1264)
- Replace WithErrors -> With for simplicity
(PR #1261)
- Generalize 'observation.With' for custom errors
(PR #1233)
Gitserver
- Inline one-liner for error checking
(PR #1108)
Msp
- upgrade openfga dependency
(PR #1357)
Mt-Router
- disable proxy for s2
(PR #1186)
- use bazel to run generator
(PR #1065)
- setup sentry for stage environment
(PR #1064)
- add scripts to interact with local kv
(PR #1056)
Search
- (new web ui) Enable new web UI by default
(PR #1373)
- fix description for KUBERNETES_JOB_STEP_IMAGE
(PR #1360)
- Remove all non-single job pod code from Executors on Kubernetes.
(PR #1163)
- The environment variable
KUBERNETES_SINGLE_JOB_STEP_IMAGE
is nowKUBERNETES_JOB_STEP_IMAGE
. - Both environment variables are read, with preference given to
KUBERNETES_JOB_STEP_IMAGE
, to preserve backward compatibility, but reading ofKUBERNETES_SINGLE_JOB_STEP_IMAGE
may be removed in a future version.
- The environment variable
- (new web ui) Improve search input CSS
(PR #962)
Security
- Update rules_apko and fix issues with sg wolfi v2
(PR #901)
- Build containers using latest version of apko and rules_apko
Telemetry
- report token usage per request to telemetry
(PR #1165)
- Added LLM token usage telemetry
Telemetrygatewayexporter
- bump default TELEMETRY_GATEWAY_EXPORTER_EXPORT_INTERVAL
(PR #1303)
Telemetrytest
- add working example
(PR #1274)
Others
- fix storybook
(PR #1335)
- add searchSource to new search events
(PR #1306)
- make core-services internal/telemetry codeowners
(PR #1272)
- upgrade Mocha from 8.3.4 to ^10
(PR #1246)
- move web app into child layout group to make room for embedded pages
(PR #1128)
- run prettier
(PR #906)
- Upgrade hermetic cc toolchain
(PR #844)
- upgrade rules_oci
(PR #818)
Test
Others
- implement structure for e2e tests
(PR #108)
Refactor
Cody-Gateway
- support max_completion_tokens for o1 models
(PR #947)
- refactor(cody-gateway): support max_completion_tokens for o1 models
Search
- (new web ui) Update folder page table styling
(PR #1221)
Others
- move all business logic out of context resolvers
(PR #821)
Reverts
- revert filtering out deprecated models on server
(PR #1276)
Uncategorized
Others
- [Backport 5.9.x] oob: Run without tenant iterator for older versions
(PR #1429)
- Release: Prep stitched migration graph for release (#1388)
(PR #1389)
- n/a
- Move cody.serverSideContext out of experimentalFeatures in site config
(PR #1385)
- bugfix: add key to search result file header
(PR #1374)
- gitserver: Parse LastChanged, LastFetched as nulltime
(PR #1372)
- add code llama 7B model for ab test
(PR #1371)
- adding code llama 7B for completions
- Hide auto submit checkbox and add promoted badge
(PR #1367)
- Enable reranker by default if Gateway is enabled
(PR #1366)
- Cody Chat: the context engine now uses the reranker by default everywhere where Cody Gateway is enabled.
- db: Set default permissions to RLS user as well
(PR #1362)
- Remove promote-to-public dependency on bazel-push-images step
(PR #1356)
- release: Only fail SBOM step if all uploads fail
(PR #1355)
- source: Fix code host connection editor validation
(PR #1354)
- bugfix: fix symbol tree hover selector
(PR #1353)
- dev: Exclude generated code from prettier
(PR #1341)
- Prompt library: fix input description for prompt name
(PR #1337)
- workspaces: Various mini fixes and a landing page
(PR #1336)
- tenant: Fix gRPC in local dev
(PR #1334)
- Reapply "worker: Fix configuration error reporting"
(PR #1311)
- Search: document choice for ZoektScoreBoost
(PR #1310)
- bugfix: escape file paths
(PR #1308)
- Change clickable elements to buttons
(PR #1298)
- Allow users to insert chips according to cursor position
(PR #1296)
- Change prompt creation flow feature flag name
(PR #1294)
- Pass Context to scip-syntax invocation to propagate cancellation
(PR #1290)
- gomod: bump Zoekt for metrics improvement
(PR #1276)
- Redis: rename RedisWrapper
(PR #1273)
- connectutil: UnexpectedError handler
(PR #1271)
- Add recommended flag to Prompt Templates
(PR #1268)
- Adds ability to mark prompts as recommended and then sort the recommended prompts at the top.
- bugfix: remove possibility of infinite recursion from the symbol tree
(PR #1256)
- Update cody web to 0.10.0
(PR #1254)
- bugfix: use short OID for file popover
(PR #1242)
- Remove outdated install instructions for sg
(PR #1227)
- site: Fix missing unredaction in site config
(PR #1226)
- Update the sg docs link
(PR #1225)
- multi-tenant: support synchronized user sign-out
(PR #1222)
- sg: Fix db reset with default local settings
(PR #1217)
- db: Improve error message for failed version update
(PR #1216)
- Only push final images on specific default runtypes
(PR #1211)
- OpenaI completions response type fixing for gpt-3.5-turbo-instruct and gpt-4o-mini
(PR #1207)
- sg: Always run with lower privileges in dev
(PR #1197)
- tenant: Deactivate OOB migrations
(PR #1192)
- Update Enterprise footer link on dotcom
(PR #1191)
- bugfix: escape spaces in repo filter names
(PR #1187)
- Fixed a bug that would cause filters added from the search sidebar to not be correctly escaped
- Attempt to fix flaky database test
(PR #1181)
- chore/search - Remove runner.Spec.Image and use command.Spec.Image instead
(PR #1161)
- dev: Disable otel in MT dev
(PR #1157)
- bug(release): remove semver check for release branch in
sg backport
(PR #1156)
- Make GetCodyContextAlternatives usable for evals
(PR #1152)
- multi-tenant: list workspaces for the authenticated user
(PR #1146)
- saml: Prevent logspam from context cancel
(PR #1143)
- sg: Update localdev migration
(PR #1132)
- tenant: Exclude product subscription tables from OOB migrator
(PR #1124)
- Add prompt mode
(PR #1123)
- Adds mode (CHAT, EDIT, INSERT) to prompt.
- gitserver: Clarify annotated tags behavior in ResolveRevision
(PR #1107)
- Rate limit: rename GlobalLimiter to DistributedLimiter
(PR #1100)
- Rate limit: make GlobalLimiter tenant-aware
(PR #1099)
- saml: Fix nil panic
(PR #1098)
- tenant: Disable migrator for ranking tables
(PR #1097)
- Rate limit: avoid using KeyValue within GlobalLimiter
(PR #1082)
- Rate limit: simplify inMemoryLimiter
(PR #1081)
- tenant: Use frozen schema for OOB migration
(PR #1077)
- Make user emails soft-deletable
(PR #1071)
- Fix prompt duplication name
(PR #1067)
- sg: Add no-open flag to workspaces create
(PR #1057)
- Creating/Editing Prompts Re-design
(PR #1054)
- The prompt creation/edit page has been redesigned.
- GraphQL: remove anonymous rate limiter
(PR #1052)
- oob: Make out of band migration runner tenant-aware
(PR #1047)
- Fix the CTA to point to chat
(PR #1044)
- Fix bug where text pushed buttons out of the container
(PR #1043)
- dev: Implement wrangler router provider
(PR #1035)
- router: Ensure HTTPS protocol on auth redirect
(PR #1034)
- workspaces: Fix race condition registering state listener
(PR #1033)
- dev: Introduce devDNS helper to resolve testdomains
(PR #1029)
- Add ability to duplicate existing prompts
(PR #1022)
- Users can now duplicate existing prompts.
- GraphQL: simplify rate limit interface
(PR #1021)
- Add autoSubmit & includeViewerDrafts to Cody prompts
(PR #1003)
- Adds options to set prompts to "Auto Submit", which would automatically execute the prompts in one-click.
- vsce: patch release v2.2.19
(PR #1002)
- workspacesreconciler: fix grpc tls transport
(PR #1000)
- tenant: Move externalhttp to separate package
(PR #996)
- goroutine: reenable recording when multitenancy is enabled
(PR #995)
- Rename globaldbtenant to servicetenant
(PR #994)
- ci/mt-router: add bazel build
(PR #990)
- Search: populate rev in select repo
(PR #989)
- Search: correct has.commit.after query example
(PR #987)
- mt-router: import repo
(PR #986)
- tenant: add mt-router to local dev
(PR #968)
- tenant: Remove tenant auth redirect in monolith
(PR #967)
- Do not fail if link parsing fails in relative fix processing
(PR #966)
- dev/msp: improve tfc creation error message
(PR #964)
- goroutine: remove unused support for concurrency
(PR #963)
- ci: Bump backcompat test target to 5.8.0
(PR #954)
- tenant: Mark tenant as initialized in db
(PR #950)
- bug(release): workspace cash time dance
(PR #948)
- tenant: Fix missing tenant in auth check
(PR #933)
- db: Use non-superuser in DB tests
(PR #930)
- db: Migrator can provision RLS user permissions
(PR #919)
- ci: Bump backcompat target to 5.7
(PR #916)
- sg: Add default tenant to hosts
(PR #915)
- remove "Don't commit private code yet" from PR template
(PR #908)
- "Prompt Library" in navbar (capitalize the L for consistency)
(PR #907)
- Blob View: Ensure copy button copies full path and not displayed path
(PR #903)
- Fixes a bug where certain copy path buttons were only copying the visible path and not the full path of a file.
- sg: Fix reference to deleted table in localdev MT migration
(PR #898)
- tenant: Separate store package and create tenant1, tenant2 via workspaces
(PR #897)
- Tenant: skip some global Prometheus metrics
(PR #892)
- sg: Fix startup of workspaces service
(PR #891)
- ci: do not run executors e2e for eph
(PR #886)
- Perforce IP enforcement integration test
(PR #876)
- goroutine: Make iterator required
(PR #875)
- dev/msp: add project id validation
(PR #874)
- db: Drop unused user_public_repos table
(PR #873)
- Deprecate long-running OOB migrations
(PR #872)
- lib/cloudapi: add support for multi tenant mode
(PR #871)
- event_logs: add new
aggregatedMetrics
ping(PR #869)
- Redis: refactor rcache interface
(PR #860)
- Add extra reranker metrics to Gateway events
(PR #838)
- Sourcegraph teammate approval GH action
(PR #824)
- Redis: remove KEYS call in completions token usage
(PR #820)
- tenant: Properly initialize RBAC
(PR #754)
- sg: Provision RLS user during setup
(PR #749)
- tenant: Add database migration to enable RLS policies
(PR #743)
- tenant: Add workspace ID and display name
(PR #741)
- tenant: Check that all tables have RLS policy set
(PR #734)
- tenant: Simplify dev migration
(PR #726)
- db: Mark tenant_id columns as non-nullable
(PR #707)
- feature: add internal/tracelog: a log.Logger that only logs if tracing is enabled
(PR #634)
- Added a new
internal/tracelog
package that provides a conditional logger for tracing. This logger only logs when tracing is enabled, improving performance by reducing unnecessary logging.
- Added a new
- Hackathon: SBOMs feat. bazel
(PR #566)
- feature(security): Publish SBOMs for Sourcegraph releases
- tenant: Unique constraint migration
(PR #430)
- security: Auto-update package lockfiles for Sourcegraph base images
(PR #246)
- (feature): site-config: add ipParseCacheSize to schema for enforce IP restrictions schema
(PR #220)
- Added a new
ipParseCacheSize
configuration option for sub-repo permissions to control the caching of Perforce "Host" to IP address translations.
- Added a new
- feature/source: implement core logic for parsing / evaluating Perforce IP addresses for sub repo permissions
(PR #46)
- For the Perforce IP permissions implementation, this PR introduces machinery that implements the ability to parse the IP address expressions from the perforce protections table and compare them against the user's IP address (that's advertised from the incoming X-FORWARDED-FOR header.Namely, this PR:
- Introduced parsePerforceIPString, which parses Perforce IP strings (e.g., CIDR expressions, specific IP addresses) into an ipMatcher for IP validation.
- Implemented multiple ipMatcher types, including:
- addrMatcher for exact IP matches.
- cidrMatcher for checking IPs within a CIDR range.
- alwaysTrueMatcher for wildcard * expressions.
- Added toggleableIPMatcher, which either enables or disables IP enforcement based on site configuration settings.
- Created matcherCache for caching recent IP string to ipMatcher translations, improving efficiency.
- Updated NewRequestClientIPSource to properly derive IP from the x-forwarded-for header.
- feature/site-config: add site configuration setting for enforcing IP restrictions
(PR #45)
- Added enforceIPRestrictions setting to the SubRepoPermissions section in site configuration, allowing IP-based enforcement using the X-FORWARDED-FOR header.Updated JSON schema to require SubRepoPermissions to be enabled when enforceIPRestrictions is enabled.Added validation in Perforce external service configuration to ensure IgnoreRulesWithHost and enforceIPRestrictions cannot be enabled simultaneously.Updated internal implementation to associate each Perforce rule with an IPMatcher for IP-based rule enforcement.
-
feature/plumbing: sub_repo_perms: do pumbling to thread comparing IP addresses alongside paths
(PR #23)
Untracked
The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
- check for external dbs (#1083)
(PR #1121)
- bug(release): workspace cash time dance (#948)
(PR #949)
5.8 Patch 1
v5.8.1579
Features
Telemetry
- check for external dbs (#1083)
(PR #1121)
Fix
Search
- Fix Apollo related error in Safari
(PR #1016)
Others
- Fix OOB migration for batch changes table
(PR #1113)
Chore
Security
- upgrade src-cli version to address CVE
(PR #1117)
- Upgrade src-cli version to 5.8.1 to address CVE-2024-24788, CVE-2024-24790, CVE-2024-34156 Backport b8da20f6fa148f30fe97d9267a536bd5a84502f1 from #1112
Reverts
There were no reverts for this release
Uncategorized
Others
- Backport 566 to 5.8.x: SBOMs with Bazel
(PR #1089)
- feature(security): Publish SBOMs for Sourcegraph releases
- [Backport 5.8.x] Update src-cli MinimumVersion from 5.5.0 to 5.8.1
(PR #1087)
- chore(release): Update minimum supported version of src-cli to 5.8.1 Backport 8f039bdcb5425071dd6e4dfddfb2cb436e124b05 from #1079
5.8 Patch 0
v5.8.0
Features
Accessrequests
- Allow to file another request when original one has been processed
(PR #416)
Appliance
- refactor install flow, status, state, stage
(PR #352)
Batch Changes
- verbose error logging for batch syncer with BATCH_CHANGES_SYNCER_VERBOSE_ERROR_LOGGING
(PR #639)
- feat(batches): verbose error logging for batch syncer with BATCH_CHANGES_SYNCER_VERBOSE_ERROR_LOGGING
- add experimental feature to add a fork name suffix to avoid name collisions
(PR #230)
- feat(batches): add experimental feature to add a fork name suffix to avoid name collisions
Ci
- enable workflows telemetry
(PR #774)
- enable aspect workflows ci telemetry
- convert onconflict gen to bazel
(PR #486)
- generate
constraints.go
using bazel for onconflict linter
- generate
Search
- (new web ui) Prefill search input with selected text when pressing '/'
(PR #577)
Code Intelligence
- Updates the autoindexing images for TypeScript and Ruby
(PR #805)
- TypeScript: Fixes references to object properties in various places
- Ruby: Fixes references to
Opus::
in Ruby tests
- Syntactic indexing go evaluation suite and fix tests on CI in general
(PR #482)
Cody
- update public OpenAPI spec
(PR #796)
- add basic support for server-rendered prompts
(PR #723)
/.api/completions/stream
endpoint now accepts"file"
and"repo"
parts alongside"text"
and"image_url"
- add vision support
(PR #546)``/.api/completions/stream
now supports vision using the OpenAI-compatible base64 encoding of images. Example"content": [{"type": "image_url", "image_url": { "url": "data:image/png;base64,{{IMAGE_BASE64}}" } }]
. Requires the query parameterapi-version=3
or higher. - document internal APIs with TypeSpec/OpenAPI
(PR #505)
Cody-Gateway
- log requestinteraction in events
(PR #814)
Database
- bestEffortForce will kill blocking transactions in migrator
(PR #781)
- DB Migrator is given the ability to automatically run pg_terminate_backend on transactions blocking a migration. This is done best effort and is opt-in per migration.
Dev
- (new web UI) Make it easier to run tests without proxying
(PR #798)
- add obvious 'target service' notice to
sg msp
commands(PR #725)
Local
- add cody-gateway version endpoints
(PR #685)
- add cody-gateway environments for subcommand
live
- add cody-gateway environments for subcommand
- sg - install pgvector
(PR #520)
- mac: install pgvector from sourcegraph/pgvector-12
- ubuntu: install postgresql-12-pgvector
Msp
- make databasetest shared
(PR #393)
Msp/Databaseutil
- make 'upsert' package shared
(PR #394)
Release
- remove test from promotion ci during release pipeline
(PR #495)
- Remove upgradetest from the release promotion ci
- Stop releases from going out if there's a PR with the release-blocker label
(PR #472)
- Allow PRs to block a release from going out 😈
- use releaseregistry for release banner [REL-145]
(PR #429)
- implement using the release-registry for the banner
Search
- bump Zoekt for ranking and memory improvements
(PR #816)
- Reduce peak memory required for Zoekt indexing
- Improve search ranking by using repo freshness as a scoring signal
- (new web ui) Add split view support to commit page
(PR #775)
- enable similarity search by default
(PR #772)
- With this change we rank repository search results by similarity. Before, repository search results were ordered by star count instead. This affects suggestions and repository search results. To disable this feature and return to the previous behavior, set
{ "experimentalFeatures": { "disableOrderBySimilarity": true}}
in global settings.
- With this change we rank repository search results by similarity. Before, repository search results were ordered by star count instead. This affects suggestions and repository search results. To disable this feature and return to the previous behavior, set
- (new web ui) Add /cody/dashboard page
(PR #764)
- (new web ui) Add account connection modal
(PR #731)
- (new web ui) Image previews
(PR #623)
- respect match order for search.results.repositories resolver
(PR #575)
- The GraphQL endpoint
search.results.repositories
now returns the list of repositories in the order of the matches we found. Before, repositories were sorted by id.
- The GraphQL endpoint
- remove fzf star tiebreaker for repo suggestions
(PR #541)
- preserve ranking for repo suggestions
(PR #447)
- (Svelte) open documentation links in new tabs
(PR #401)
- Open documentation links in a new tab
(PR #359)
Source
- add ssh auth support for more code hosts
(PR #615)
- BitBucket Cloud, BitBucket Server, GitLab, Gerrit, Gitolite, AWS CodeCommit Azure DevOps code host connections now support configuring SSH key authentication from the UI instead of mounting from disk.
- add support for ssh auth to github
(PR #597)
- GitHub and generic Git code host connections now support configuring SSH key authentication from the UI instead of mounting from disk.
- Support Azure Devops Server (onPrem) with NTLM authentication
(PR #217)
Tenant
- allow configuring host instance id
(PR #826)
- add initial Workspaces reconciler
(PR #594)
Wolfi
- update server + postgresql-12 images
(PR #519)
- add pgvector to server and postgresql-12 images
- add pgvector-12 package
(PR #513)
- build and add pgvector extension
Workspaces
- implement integrations listworkspaces
(PR #794)
- implement management listworkspaces
(PR #793)
- delete workspace RPC
(PR #729)
- add DB list workspaces
(PR #728)
- add destroy state internally
(PR #644)
- init database schemas, add Workspaces store handler
(PR #395)
- add and demo notifications SDK
(PR #356)
Others
- add reranker support to Cody Gateway
(PR #670)
- Embeddings: v2
(PR #507)
- Introduce a new experimental embeddings index and context retriever.
- make scip-syntax process multiple languages in a single invocation
(PR #364)
- add OpenAI o1 models and early-access models support to Cody Gateway
(PR #323)
- [feat(code gateway): add support for OpenAI o1 models and early-access models handling.](feat: add OpenAI o1 models and early-access models support to Cody Gateway)
- implements pagination for syntactic usages
(PR #310)
Fix
Batch Changes
- stamp the executor binary with version information
(PR #665)
- override
internal/version.version
withx_defs
at build time in executor
- override
- disabled "select all" checkbox if all nodes are already disabled
(PR #483)
- fix(batches): disabled "select all" checkbox if all nodes are already disabled
Ci
- add runfile initialization to upgradetest file
(PR #890)
- use generated json in migrations filegroup
(PR #802)
Search
- (new web ui) Show correct document highlights when codegraph data is available
(PR #620)
- 'Save search' action on search results page does not navigate to the saved search creation page
(PR #549)
Code Intelligence
- Correctly escape special characters in repo names and identifiers
(PR #710)
- The new usagesForSymbol API correctly searches repos whose names contain spaces or other special characters.
- Use multiple language: filters for search-based usages in case of ambiguity
(PR #708)
- cleanup button title
(PR #581)
- Fetch tags for scip-go auto-indexing jobs
(PR #371)
- Go cross-repo navigation for tagged versions should work better when using scip-go for auto-indexing. Navigation based on SCIP indexes generated using scip-go in CI or cron jobs should be unaffected.
Cody
- return client-side model config via API
(PR #713)
- Disable ModelAPIEnabled for Dotcom
(PR #678)
modelsAPIEnabled
is always false for dotcom
- allow accuracy category in JSON site config
(PR #641)
- use "balanced" instead of "accuracy" category for SOTA models
(PR #640)
- allow empty
finish_reason
in/.api/llm/chat/completions
(PR #539)
- The
/.api/llm/chat/completions
endpoint will now return an empty string""
forfinish_reason
instead of the string"unknown_please_report_bug()"
.
- The
Database
- use native UUID in telemetry export queue
(PR #669)
Database
- correctly find CreateIndexConcurrentlyPhases in migrator
(PR #809)
- INFO logs for migrations that create index concurrently will always correctly report the phase we are in. Previously we sometimes would report a phase of -1.
Dev
- use 9002 for pubsubemulator, simplify shutdown
(PR #780)
- give pubsub pings a more generous timeout locally
(PR #732)
- use key value for PGDSN in SAMS, EP
(PR #689)
Graph
- Prevent duplicate results when performing find references
(PR #497)
Local
- add no-xattrs when running schema descriptions target locally
(PR #905)
- sg - return the error when checking for remote branch/commits
(PR #485)
- dump more information out about the branch if it is out of sync
Release
- remove embeddings from promotion script (#360)
(PR #361)
- remove embeddings in promotion script
Sams-Notifications
- make subscriber tenant-aware
(PR #668)
Search
- (new web UI) Fix cody dashboard background colors in dark mode
(PR #845)
- (new web ui) Fix list styles in rich text documents
(PR #835)
- (new web ui) Fix styling of rich text documents
(PR #834)
- (new web ui) Show added lines content
(PR #832)
- fix client-side query validation for rev: filters
(PR #810)
- We have updated the client-side query validation to allow combining
rev:
filters with query-based search contexts.
- We have updated the client-side query validation to allow combining
- (new web ui) Clicking 'Code search' in then navbar of the old UI does not redirect to the new UI
(PR #761)
- (new web ui) Use a Map to group symbol names
(PR #721)
- VSCode Search extension: Update bug-reporting URL
(PR #693)
- VSCode Search extension: fix and improve proxy settings
(PR #679)
- in search jobs, don't time out fetches
(PR #666)
- For very large repositories, search jobs could time out while fetching the repository. Now, search jobs can fetch and search over repositories, even if they take a long time to fetch.
- (new web ui) Use CodeGraph data to validate hover occurence
(PR #656)
- (new web ui) User menu feature parity
(PR #628)
- add index for search jobs janitor
(PR #624)
- We added a new database index to speed up a janitor job which is run as part of Search Jobs. Before, the janitor job might have significantly delayed migrations during an upgrade.
- (new web ui) Respect 'experimentalFeatures.structuralSearch' setting
(PR #621)
- VSCode Search extension forgetting endpoint URL and PAT
(PR #560)
- fix logo links in the VSCode Search extension
(PR #547)
- Update help router for local development
(PR #271)
Sg
- Config.GetEnv uses GetEnv for os.Expand
(PR #380)
Sg/Msp
- make embed template fmt-compliant, add docstring
(PR #412)
Telemetry
- ensure telemetry export only occurs once at a time
(PR #565)
- Fix an issue where duplicate telemetry can be exported when the
worker
service is scaled horizontally
- Fix an issue where duplicate telemetry can be exported when the
Tenant
- prevent race condition in MockEnforceTenant
(PR #837)
- stop Iterate if it breaks
(PR #387)
Test
- make workspaces waitforupdate test more reliable
(PR #813)
Others
- make rerank metric name distinguishable
(PR #846)
- Use correct label in splitting metric in embeddings indexing
(PR #771)
- Add rerank API token variable to sg.config.yaml
(PR #716)
- adjust formatting when using unix sockets
(PR #653)
- fix PGDATASOURCE format when using unix sockets
- move deletion inside nil check
(PR #556)
- incrementally updating embeddings index
(PR #555)
- Decrease parallelism in embeddings indexing
(PR #543)
- Filter out empty context items in resolver
(PR #537)
- VIP user access to allowed models in Cody Gateway
(PR #528)
- properly escape email in URL query
(PR #426)
- use preferred mermaid APIs
(PR #397)
- Fixes a bug that can cause errors when rendering many mermaid diagrams on a page.
Chore
All
- use constraint names in ON CONFLICT statements
(PR #473)
Batch Changes
- add description for env var
(PR #652)
Ci
- Remove stale CODENOTIFY entries
(PR #439)
- bump Go to 1.23.1
(PR #391)
- update gomod lint
(PR #382)
- remove lint that checks for promotheus/common 0.32.1 since we are using 0.48
- upgrade golang.org/x/tools to 0.24
(PR #373)
- address printf linter flagged issues
- add annotation for no merge base
(PR #345)
- post an annotation if there is no merge base
Code Intelligence
- Bump autoindexing image SHAs
(PR #831)
- Upgrades default auto-indexing images to the latest versions (1) scip-go to v0.1.21 (2) scip-typescript to v0.3.14
- Initialize test to consistent state
(PR #825)
- Unify GetUsages logic at Service level
(PR #752)
- Unify local phase usage extraction logic
(PR #748)
- Document code nav logic & limitations
(PR #742)
- Factor out & document package mentions code
(PR #740)
- Bump autoindexing image SHAs
(PR #681)
- Upgrades the default scip-go auto-indexing image to v0.1.20
- Log number of paths in auto-inference logic
(PR #635)
- Add context to timeout error for commit listing
(PR #607)
- Clarify doc comment for NewCanonicalDocument
(PR #480)
- Document scip.Document and range canonicalization code
(PR #459)
- Split inverted ranges extraction code & add comments
(PR #458)
- Use UploadRelPath instead of string
(PR #438)
- Bump auto-indexing image SHAs
(PR #403)
- Bumps default auto-indexing scip-go image to use Go 1.23.1 and scip-go v0.1.19
Cody
- add HTTP record/replay test case for AWS Bedrock backend
(PR #452)
- add HTTP record/replay test case for Anthropic LLM backend
(PR #448)
- add HTTP record/replay test case for Azure OpenAI
(PR #446)
- add HTTP record/replay test case for OpenAI LLM backend
(PR #445)
- add HTTP record/replay test case for Fireworks LLM backend
(PR #441)
- add HTTP record/replay test case for Google LLM backend
(PR #410)
Database
- set app.current_tenant outside of multitenant
(PR #502)
Database
- remove unused redis_key_value table
(PR #688)
- update oobmigration min version to 4.0
(PR #540)
- getRepositoriesForIndexScanQuery uses constraint
(PR #534)
- handle failed transactions in setTenant
(PR #533)
- use new constraints for on conflict
(PR #510)
- constraint for unique indexes used in on conflict
(PR #504)
Dev
- Bump Go version to 1.23.2
(PR #830)
Frontend
- sync.Once to sync.OnceValue in service connections
(PR #376)
Gomod
- update zoekt's dependencies
(PR #462)
Local
- Fix ill-formed go.mod file
(PR #434)
- update sg installation docs
(PR #390)
Release
- prepare stitch graph for 5.8
(PR #852)
- Backport 6b58d4b62bba8f558c097fa97a751e51b178c537 from #850
Release
- clarify backport error
(PR #784)
Reranker
- clean up resolvers, improve perf, add more useful spans
(PR #776)
Search
- (new web ui) Add telemetry for opt-out/in
(PR #766)
- remove codeintel ranking code
(PR #719)
- remove cursor based repo pagination
(PR #663)
- VSCode Search extension: remove "SOURCEGRAPH SEARCH" stutter in favor of "Info"
(PR #559)
- update wording from "Sourcegraph extension" to "Sourcegraph Search extension"
(PR #558)
Semgrep
- add upload artifact step
(PR #616)
Sg
- remove enforce-tenant-id --disable
(PR #705)
Tenant
- restructure tenant package into internal subpackages
(PR #587)
Trace
- prevent parallel calls to ConfigureStaticTracerProvider
(PR #467)
Others
- enable reranker by default
(PR #804)
- Reranker for context retrieval is turned on by default
- disable IDF jobs
(PR #783)
- Clean up visible uploads initialization
(PR #739)
- Rename gatherLocations -> gatherUsages
(PR #737)
- Cleanup metadata generation code in Gateway
(PR #714)
- Remove unused endpoints from 969 prototype
(PR #712)
- trigger changelog audit on label event
(PR #562)
Refactor
Svelte
- Introduce extensible GraphQL store
(PR #309)
Others
- move cody context business logic outside of resolvers
(PR #647)
- remove search mode
(PR #629)
- rename NonLocal -> Global in scip_strict parser
(PR #366)
Reverts
- Revert "pgdsn: Allow to fall back to default variables and overwrite …
(PR #369)
Uncategorized
Others
- bug(release): workspace cash time dance (#948)
(PR #949)
- [Backport 5.8.x] tenant: Improve OOB migration from learnings
(PR #939)
- [Backport 5.8.x] Revert "migrator: Backfill IDs from overrides into right schema only"
(PR #914)
- [Backport 5.8.x] migrator: Backfill IDs from overrides into right schema only
(PR #894)
- [Backport 5.8.x] Revert "fix(migration-graph): add no op migration to backfill overrides"
(PR #888)
- [Backport 5.8.x] Update lockfiles with newer version of apko
(PR #882)
- Backport 7f2c3bacf6778fef5f2ef444db2ebd873903c5e6 from #881
- [Backport 5.8.x] Revert "Update rules_apko and fix issues with
sg wolfi
(#696)"(PR #880)
- [Backport 5.8.x] db: Bump date for schema migrations stitch date
(PR #878)
- tenant: OOB migrator covers more tables
(PR #842)
- tenant: Default to ID 1 for inserts
(PR #840)
- migrator: Correctly render indexing progress
(PR #812)
- adding code qwen 2p5 and deepseek long prompt optimized model
(PR #811)
- adding code qwen 2p5 and deepseek long prompt optimized model
(PR #811)
- adding code qwen 2p5 and deepseek long prompt optimized model
- security: Update docker dind to latest release
(PR #808)
- saml: Record requests
(PR #788)
- saml: Return error instead of appending to it
(PR #787)
- Add password for sourcegraph-rls
(PR #786)
- cmd/workspaces: setup routes during ws creation
(PR #782)
- db: Fix missing globaldbtenant
(PR #779)
- trace: Fix span pollution in authenticateByCookie
(PR #753)
- sg: Make sure sourcegraph_rls user also has permissions on future tables
(PR #750)
- tenant: Fix license check missing tenant
(PR #747)
- migration: Skip CREATE TABLE if possible
(PR #746)
- tenant: Fix more tenant-less contexts
(PR #745)
- tenant: Mark tenants tables as data tables
(PR #738)
- feat(Cody Reranker): clean up site config and add license-based auth for Cody Gateway
(PR #724)
- sg: Fix go generate
(PR #722)
- tenant/db: Safer ordering of migration statements
(PR #718)
- gitserver: Fix some missing tenant contexts
(PR #717)
- refactor(cody gateway): update model list for autocompletes
(PR #711)
- db: Add tenant_id to last remaining columns
(PR #709)
- db: Add OOB migration to backfill tenant ID
(PR #706)
- tenant: pass correct context to SetCloneStatus
(PR #701)
- sg: Reject empty workspace names
(PR #700)
- sg: Fix enforce-tenant-id after redis_key_value was dropped
(PR #697)
- Update rules_apko and fix issues with
sg wolfi
(PR #696)
- Redis: don't check tenant for system commands
(PR #695)
- tenant: only skip goroutine recording if tenancy is enabled
(PR #694)
- Search jobs: set high timeout to protect against stuck jobs
(PR #692)
- tenant: fix remaining goroutine recorder errors
(PR #691)
- Reapply "feat(cody): add vision support (#546)" (#686)
(PR #687)
- Add detailed intent-score pairs to chat intent response
(PR #682)
- Jsm/disable model api
(PR #680)
- Site admin: simplify goroutine recording
(PR #677)
- Update client/vscode/CHANGELOG.md for PR #560
(PR #676)
- tenant: Mapper returns more precise error
(PR #675)
- tenant: add missing IteratorFactory
(PR #674)
- tenant: Make migrations on startup pass in local dev
(PR #667)
- msp: report error when PGDSN does not have expected template variable
(PR #664)
- final ranker config for context v2
(PR #659)
- Changing the ranker configuration -- number of items fetched from zoekt
- sg: Make enforce-tenant-id idempotent again
(PR #655)
- refactor(cody gateway): add deprecated models back to dotcom model list
(PR #649)
- gomod: bump Zoekt for memory debugging
(PR #646)
- Dev: ensure multi-tenant migration has been run
(PR #645)
- refactor(cody gateway): update dotcom models list
(PR #643)
- Cody Gateway: update default model list for dotcom.
- Bump Cody Web to 0.9.0 version
(PR #642)
- sg cloud eph deploy: --wait flag
(PR #637)
- executors: Check for rows affected instead of running into unique constraint error
(PR #632)
- Symbols: hide scary error messages from users
(PR #631)
- Add postgres as datasource for Grafana
(PR #627)
- add time to first token for upstream as header
(PR #618)
- workspaces: implement
managementv1.UpdateWorkspaceMembership
RPC(PR #613)
- ci: add cloud ephemeral pipeline
(PR #611)
- add sourcegraph ranker
(PR #610)
- workspaces: implement GetWorkspaceMembership rpc
(PR #609)
- workspaces: implement
ReportInstanceState
RPC(PR #604)
- workspaces: implement
ListWorkspaceMemberships
RPC(PR #603)
- tenant: Add method to create a new tenant in database
(PR #593)
- workspaces: support []iam.Role in WorkspaceMembership
(PR #590)
- Cody Web: bump cody web to 0.8.3
(PR #589)
- Cody context: fix bug in 'archived' change
(PR #588)
- workspaces: Add WorkspaceState to GetWorkspace rpc
(PR #585)
- tenant: Add support for reading tenant by hostname from database instead of hard-coded
(PR #580)
- workspaces: implement user
CreateWorkspace
API(PR #574)
- workspaces: implement GetWorkspace RPC
(PR #573)
- gomod: bump Zoekt for indexing memory optimization (again)
(PR #572)
- use direct routing by default if present in the backend
(PR #571)
- workspaces: database get/upsert instances
(PR #568)
- workspaces: implement
ReportWorkspaceState
RPC(PR #564)
- gomod: bump Zoekt for indexing memory optimization
(PR #557)
- Bump Cody Web to 0.8.2 version
(PR #545)
- clean up rerankers for Cody Context
(PR #544)
- sg(tenant): Add migration for constraints to local dev
(PR #542)
- rockskip: use full ctx from emitIndexRequest
(PR #532)
- Add billing metadata for core search, batch, and insights events
(PR #529)
- Cody context: support archived and forked repos
(PR #527)
- vsce: patch release v2.2.18
(PR #526)
- fix context v2 zoekt subqueries
(PR #523)
- Repo-updater: continue start-up if hydration fails
(PR #521)
- Cody Web: bump cody web to 0.8.1
(PR #518)
- cody-gateway: do not PING Redis too often
(PR #517)
- rockskip: Remove another duplicative BTREE index
(PR #516)
- rockskip: Remove duplicative BTREE index
(PR #515)
- db(tenant): lock between setTenant and exec to ensure session variable is set atomically
(PR #512)
- perf: reduce allocations in
evalKeywordExpansions
(PR #506)
- local/nix: add pgvector extension
(PR #503)
- enable pgvector in nix managed postgres db
- redispool: allow call sites to custmoize their
TestOnBorrow
andDial
(PR #499)
- cody-gateway: wait for Redis connection
(PR #498)
- cody-gateway: set
MaxActive
for Redis(PR #496)
- Bump Cody Web to 0.8.0 version
(PR #492)
- Recorder: remove RegistrationDone method
(PR #489)
- Repo-updater: add tenancy
(PR #479)
- tenant: Basic support in worker
(PR #476)
- Cody context: return matched ranges of chunks
(PR #474)
- add(cody):
api-version=2
for incremental streaming LLM responses(PR #470)
- The
/.api/completions/stream
endpoint now accepts anapi-version=2
query parameter that returns incremental text text responses when using"stream": true
to improve performance and reduce bandwidth.
- The
- Remove Neovim from Cody dashboard
(PR #469)
- Fix flaky test by bringing down memory utilization of POS filter
(PR #468)
- msp/iam: fixup checks for
ErrNoRows
(PR #465)
- gomod: bump Zoekt for zoekt-git-index profiling
(PR #453)
- worker: Make resetter a periodic goroutine
(PR #450)
- gomod: bump Zoekt for index optimization
(PR #449)
- http: Add context to more requests
(PR #437)
- conf: Remove alias for ExternalURL
(PR #436)
- frontend: Drop unused orgs_open_beta_stats table
(PR #435)
- msp/iam: do not close connection pool on startup
(PR #433)
- Filter out terms based on POS and expand Zoekt queries
(PR #432)
- authn: Create providers on the fly with current request context
(PR #424)
- tenant: Use request context when creating OIDC provider
(PR #422)
- redis: Add optional tenant isolation
(PR #421)
- tenant: Add context to LogBackendEvent
(PR #420)
- Remove debug log statement
(PR #418)
- minor doc change
(PR #413)
- sg: Use custom site-config for multitenant runset
(PR #405)
- Retrieve and display change log during upgrades.
(PR #400)
- [Appliance] Retrieve live changelog and display information about the release to be upgraded.
- Svelte: fix text wrapping for file popover
(PR #399)
- Fixed a bug in the web app rewrite where long paths would cause file popovers to wrap
- Svelte: fix loading for ref panel
(PR #398)
- Fix loading behavior for the reference panel in the web app rewrite
- gomod: bump Zoekt for index optimization
(PR #389)
- Svelte: SymbolTree followups
(PR #388)
- repo-updater: hack so it uses tenant 1 for now
(PR #386)
- gitserver: inherit tenant for repoUpdateOrClone
(PR #385)
- Chore: close rows
(PR #379)
- database: use keyword value format if connecting via unix socket
(PR #378)
- frontend: always use DSN from ServiceConnections
(PR #375)
- Reapply "pgdsn: Allow to fall back to default variables and overwrite..."
(PR #374)
- postgresdsn: support PGHOST as a filepath
(PR #372)
- release: specifiy download directory for changelog
(PR #365)
- specify download directory for changelog
- frontend: Don't double-close readiness channel during auto upgrades
(PR #358)
- workspaces: initial IAM schema and implement
iam.Store
(PR #353)
- enterprise-portal: implement
iam.Store
and add tests(PR #351)
- enterprise-portal: create
internal/iam
package and run schema tests in CI(PR #350)
- tenant: Add tenants 1 and 2 in localdev
(PR #340)
- sg: Introduce first multitenant runset
(PR #335)
- pgdsn: Allow to fall back to default variables and overwrite frontend
(PR #332)
- Remove k8s utils dependency
(PR #320)
- msp/iam: fixup migration PG 12 compatibility and sanity test migrations
(PR #301)
- Tree-sitter based chunker for embeddings indexing
(PR #298)
- Context: return multiple chunks per file from Zoekt results
(PR #294)
- We can improve recall by fetching multiple chunks per file from Zoekt results by turning on the
cody-reranker
feature flag.
- We can improve recall by fetching multiple chunks per file from Zoekt results by turning on the
- add(cody):
api-version=2
incremental streaming LLM response(PR #293)
- The
/.api/completions/stream
endpoint now accepts anapi-version=2
query parameter that returns incremental text text responses when using"stream": true
to improve performance and reduce bandwidth.
- The
- Context: improve ranker integration + loosen the tap
(PR #291)
- Ranker for chat context is now available behind
use-reranker
feature flag.
- Ranker for chat context is now available behind
- Hook Upgrade page to Release Registry API
(PR #276)
- Move IDF repository stats into Postgres and compute them with the background worker
(PR #270)
- Svelte: add symbol tree
(PR #209)
- Adds a symbol tree to file page in the experimental webapp
- Redis: respect context when connecting
(PR #194)
- Appliance Admin UI
(PR #168)
- [Appliance]: Adds the upgrade path for the Appliance Admin UX
Untracked
The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
- remove the other embedding reference
(PR #362)
- n/a
5.7 Patch 1
v5.7.2474
Fix
Batch Changes
- workaround for a bug in GitHub
(PR #584)
- fix(batches): workaround for a bug in GitHub Backport aad3a04f8c93561a61c404e69132e70a22d0acba from #576
Release
- remove the other embedding reference
(PR #362)
- n/a
Search
- remove query expansion
(PR #586)
- This fixes a bug where we added "readme" too often to the context. Backport 28ff196a663f537c6cb6340f976a91431509a90e from #582
Reverts
There were no reverts for this release
Uncategorized
Others
- [Backport 5.7.x] Search: allow queries with only lang filters
(PR #583)
5.7 Patch 0
v5.7.0
Features
Appliance
- enable frontend form and stub out, no backend routes yet
(PR #80)
Batch Changes
- Add a container registry deny list
(PR #109)
- Add a container registry deny list to complement the allow list.
- Configure in site config via
"batchChanges.containerRegistryDenylist"
. - Mutually exclusive with
"batchChanges.containerRegistryAllowlist"
.
- add support for registry allowlist
(PR #105)
- Add support to configure container registry allowlist for containers use from batch changes via
batchChanges.containerRegistryAllowlist
in Site Configuration.
- Add support to configure container registry allowlist for containers use from batch changes via
Cody
- add
/.api/cody/context
API(PR #66)
- New
POST /.api/cody/context
REST endpoint to retrieve a list of relevant source locations given a natural language query.
- New
Dotcom
- add account ID in subscriptions list view
(PR #192)
- forward license check to Enterprise Portal
(PR #19)
Enterpriseportal
- use file-based migrations with
goose
(PR #216)
- add Salesforce Account ID
(PR #176)
- internal instances record detected instance
(PR #139)
- return unknown license as result
(PR #134)
Licensecheck
- check against Enterprise Portal directly
(PR #22)
Msp/Runtime
- standardised migrations
(PR #242)
- first-class redis support
(PR #241)
Releases
- scoped releases
(PR #33)
- feat(release): scoped releases
Sg
- MSP database migrations with
goose
(PR #215)
Site Admin
- monitoring/telemetry: add v1 teestore write alerts and v2 export queue write alerts
(PR #321)
Svelte
- Add repository sync status indicator to search results
(PR #260)
- Sentry: Ignore errors from third party scripts
(PR #171)
- Add status notifications
(PR #141)
- Add support for indent-based code folding
(PR #75)
Telemetry/Sensitivemetadataallowlist
- allow string list and nulls
(PR #27)
Others
- Syntactic support for go
(PR #328)
Fix
Batch Changes
- omit headRepositoryId if empty
(PR #200)
- avoid "Name already exists on this account" from creating fork by fetching the repo when the error happens
(PR #159)
- fix(batches): avoid "Name already exists on this account" from creating fork by fetching the repo when the error happens
Code Intelligence
- ensure syntactic worker marks itself as "ready" on startup
(PR #341)
Code Nav
- Return ALL references in the same file as the definition
(PR #240)
Cody
- correctly parse queries containing 'or'
(PR #267)
- Fixes a regression in Cody context where questions containing the word 'or' could return noisy or no results.
- use reverse proxy for Gemini API
(PR #208)
- address critical bug from code review
(PR #179)
- return valid
finish_reason
in/.api/llm/chat/completions
(PR #154)
- LLM API
/.api/chat/completions
now returns OpenAI-compatiblefinish_reason
.
- LLM API
- fix error handling in LLM API
(PR #153)
- LLM API endpoints (
/.api/llm
) now return JSON-encoded HTTP bodies for non-200 status codes.
- LLM API endpoints (
- use
testdata
instead ofgolly-recordings
directory name(PR #152)
- give names to LLM API handlers
(PR #151)
- allow
Bearer TOKEN
header for all LLM APIs(PR #150)
- For compatibility with OpenAI clients, it's possible to use
Bearer TOKEN
header with all API endpoints that start with the prefix/.api/llm
.
- For compatibility with OpenAI clients, it's possible to use
- deepseek-coder-v2-lite-base model name mapping for dotcom users
(PR #135)
Cody-Gateway
- ignore schema errors on otel init
(PR #237)
Enterpriseportal
- normalize instance domain on create subscription
(PR #163)
- add subscription ID to trace, other diagnostics improvements
(PR #130)
Enterpriseportal/E2e
- fix test case for check license
(PR #162)
Frontend
- Do not sign-out users when accessing a file path containing /login
(PR #57)
Local
- check for rogue files and folders in svelte routes
(PR #337)
- prevent
web-sveltekit
commands from running if there are untracked files under src/routes
- prevent
- expand after accumulating the whole env
(PR #257)
Oobmigration
- remove migrations targeting licenses/subscriptions
(PR #263)
Repo-Updater
- add WARN level logs every time we sync a code host
(PR #44)
- repo-updater now emits logs that log the result of every code host sync.
Sams-Notifications
- mockrequire.Values incorrectly used
(PR #315)
Search
- skip if git diff not found in hybrid
(PR #333)
- When searching an unindexed commit we would consult indexed commits for speeding up results. If our index contained a commit that no longer existed in git we would error out due to a regression in v5.4.5099. This is now fixed.
- add "Create batch change" back to Actions dropdown in search results
(PR #143)
Sg
- make start commands cancel fn be sync.OnceFunc
(PR #319)
- the cancel funcs used by sg commands are now wrapped in
sync.OnceFunc
to prevent duplicate execution
- the cancel funcs used by sg commands are now wrapped in
- add deprecation notice to sg wolfi update-hashes
(PR #289)
- sg: fix panic when using
wolfi update-hashes
- sg: add deprecation notice for
wolfi update-hashes
- sg: fix panic when using
- check if we are ephemeral before getting lease time
(PR #256)
- sg - fix panic in Cloud Ephemeral listing when listing instances that are not Ephemeral
- clamp deployment name consistently in cloud ephemeral
(PR #117)
- ensure deployment / instance names are clamped in all places for cloud ephemeral
- implement env priority to improve env var ordering
(PR #31)
Svelte
- Preserve history panel scroll position after selecting an entry
(PR #251)
- Update existing query filters when including suggested filters
(PR #115)
- Remove 'Code Ownership' top navigation
(PR #87)
- Update main navigation to match React app
(PR #74)
- Fix regex generation for routes that contain parameters
(PR #73)
- Fix Bazel production build
(PR #43)
- Workaround for handling client-side redirections in production
(PR #14)
Others
- Switch to larger runner for scip-go jobs
(PR #221)
- add deepseek virtual model string
(PR #211)
- set webRoot to /client/web in launch.json
(PR #83)
- Speed up auto-index job expiration query
(PR #3)
Chore
Dotcom
- fix typo in subscriptions page
(PR #195)
- delete subscriptions, licensing, and cody gateway usage
(PR #21)
Dotcom/Subscriptions
- minor UX tweaks
(PR #175)
Embedding
- delete cmd/embeddings
(PR #181)
Enterpriseportal
- declare required scopes in schema and use schema-based enforcement
(PR #305)
- add Cody Access override case to manual E2E tests
(PR #224)
- improve formatting of duplicate usage message
(PR #177)
- remove dotcomdb connection and testing infra
(PR #20)
Gomod
- update for a bunch of CVEs
(PR #343)
Local
- stop using deprecated
docker-compose
command(PR #206)
Pubsub
- upgrade to disable OpenTelemetry tracing
(PR #210)
Pubsubemulator
- init tool
(PR #272)
Release
- simplify changelog download in release
(PR #227)
- simplify
changelog
cli download by usinggh
cli
- simplify
Search
- Tell EditorConfig to stop messing with snapshot files
(PR #275)
- Remove Beta label from code monitors webhooks option.
(PR #274)
Search-Jobs
- deprecate experimental site setting
(PR #122)
- The site setting
experimentalFeatures.searchJobs
is not read anymore. To disable Search Jobs, setDISABLE_SEARCH_JOBS=true
for the "frontend" and "worker" services.
- The site setting
- remove EXPERIMENTAL from gql API
(PR #116)
- remove beta badge
(PR #114)
Svelte
- Upgrade dependencies and cleanup configs
(PR #279)
- Fix type import
(PR #277)
- Reduce build log noise
(PR #252)
- Ingore 'RepoNotFoundError's in Sentry
(PR #113)
Tenant
- Iterate does not enforce no tenant unlike Inherit
(PR #334)
Tooling
- bump Go to 1.23.0
(PR #126)
Wofli
- update images
(PR #290)
- update images to use latest p4-fusion binary
Workspaces
- define initial Workspaces proto schemas
(PR #262)
- stub service and directory
(PR #244)
Others
- fix onUserRolesChanged
has SiteAdmin role
test name(PR #314)
- update github.com/openfga/openfga to v1.6.0
(PR #295)
- updates Rust toolchain to 1.80.1
(PR #287)
- Re-enable SCIP uploads to Demo
(PR #222)
- create github action for changelog audit
(PR #198)
- undo unneeded upgrades
(PR #164)
- upgrade sourcegraph-accounts-sdk-go version
(PR #160)
- Simplify semaphore-based code using conc.Iterator
(PR #146)
- Bump autoindexing image SHAs
(PR #131)
- migrate httpserver to use sg/log
(PR #112)
- update httpserver to use sourcegraph/log instead of log15
- Updates tree-sitter version
(PR #93)
- Delete a bunch of unused LSIF-related code
(PR #77)
- clean up CODENOTIFY for Joe
(PR #28)
Refactor
Svelte
- Make repo page integration test setups reusable
(PR #249)
- Refactor temporary settings to remove Apollo dependency
(PR #156)
- Lazy load mermaid
(PR #16)
Reverts
- revert reverse proxy usage to access Gemini API
(PR #236)
Uncategorized
Others
- Bump Cody Web to 0.7.7 version
(PR #347)
- bug: fix slice init length
(PR #339)
- Add migration to create sourcegraph_rls user in local dev
(PR #331)
- Add tenant1 and tenant2 hostnames to caddy setup
(PR #330)
- Deglobalize SiteID
(PR #329)
- gomod: bump zoekt for indexing observability improvements
(PR #327)
- searcher: check for zoekt empty repo commit in hybrid search
(PR #326)
- conf: do not log missing tenant
(PR #318)
- database: introduce globaldbtenant package
(PR #317)
- database: rm unused Transact, Done, ShareableStore from ConfStore
(PR #316)
- [perforce] Store label cache file in .p4home
(PR #308)
- Convert trivial chunk/batching functions to use slices.Chunk
(PR #307)
- Bump cody web to 0.7.6
(PR #304)
- handle error case where anthropic api returns an empty response
(PR #303)
- msp/iam: use runtime standardized migrations mechanism
(PR #300)
- frontend: update permissions runs per tenant
(PR #299)
- tenant: avoid FromContext logging in Inherit
(PR #297)
- validation: pass in ctx for validateAuthzProviders
(PR #296)
- siteadmin: Make recoverUsers idempotent
(PR #292)
- The recoverUsers endpoint failed with a spurious error when some of the given users were already active. It is now idempotent.
- Remove (old friend) storm project
(PR #286)
- all: skip slow tests when -short
(PR #284)
- licensing: fix flaky uses of MockGetConfiguredProductLicenseInfo
(PR #283)
- gitserver: fix RemoveBadRefs on darwin
(PR #280)
- Cody Web: Remove old cody web logic
(PR #273)
- Move package
(PR #269)
- add unit test for idf index
(PR #268)
- Worker: fix flake in repo syncer test
(PR #266)
- clean unused flag
(PR #265)
- Bump own and repos test timeouts to long
(PR #258)
- Upgrade SCIM package to allow Microsoft Entra string values
(PR #253)
- add(cody): support for Sonnet 3.5 "fast edit" model
(PR #250)
- Enable route outside Site Admin into Appliance service.
(PR #247)
- add common access token for direct routing
(PR #245)
- Redis: pass context through remaining methods
(PR #239)
- Bump Cody Web to 0.7.3 for react version
(PR #238)
- dev: remove compare-hash.sh
(PR #234)
- doc: update search links for monorepo to be on s2
(PR #233)
- change the default model from starcoder to deepseek
(PR #232)
- database: capture missing tenant for queries
(PR #231)
- goroutine: support tenants
(PR #229)
- Rearrange auth provider middlewares
(PR #228)
- Add option to cache label data with p4-fusion
(PR #225)
- Perforce connections now support a
cacheLabels
option to cache Perforce label data from the server, speeding up consecutive syncs on systems with a large number of labels.
- Perforce connections now support a
- lib/cloudapi: introduce features config
(PR #223)
- lib/cloudapi: add auth pkg
(PR #214)
- shortcut noop
(PR #213)
- dev/msp: expose more runtime values to gotmpl
(PR #212)
- worker: add OnUserRolesUpdated SAMS notification handler
(PR #204)
- tenant: use marshal method instead of strconv
(PR #203)
- [fix] Perforce auth provider panics when only IP is provided
(PR #199)
- Redis: pass context to hash and ttl methods
(PR #196)
- Redis: introduce KeyValue.Info()
(PR #193)
- Respect context in Stop methods
(PR #191)
- telemetry: wait for v1 writes in tests on teestore
(PR #190)
- tenant: factor out marshalling
(PR #189)
-
Allow AWS tokens in the repository
(PR #188)
- tenant: prevent parallel test runs when mocking enforcement
(PR #187)
- Configure and activate Admin UI
(PR #186)
- [Appliance] Activate appliance updates on Code Search admin UI
- sg: skip dev-private check if OFFLINE set
(PR #185)
- Updating owner tag
(PR #183)
- security: Ensure sourcegraph will run with uid randomisation
(PR #182)
- tenant: add context to gitserver's filesystem interface
(PR #178)
- change re-ranking method from public to private
(PR #173)
- Web: encode file path for blame
(PR #172)
- Fixes an issue that would cause blame view to fail on files that contain some special characters.
- Fix main lint
(PR #169)
- [Fix] code linting
- Redis: add context to httpcache and rcache
(PR #167)
- fixing the limit text for autocompletes
(PR #166)
- Bug: Fix file/directory popover regression
(PR #165)
- Fix File and directory popovers in the file tree when code search is scoped to a perforce depot.
- ci/srcgql-compat: fix workflow
(PR #161)
- guardrails: temporary cache for incident
(PR #158)
- security: Remove root from some containers, and make it clearer which containers run as root
(PR #157)
- Update site.schema.json
(PR #155)
- all: update OWNERS and CODENOTIFY to match new team names
(PR #148)
- migrations: remove read on pg_attribute for tenant_id
(PR #147)
- Cody Web: Update cody web to 0.7.1
(PR #144)
- dev/cloud-relay: add msp delivery target for rollout
(PR #142)
- Cody Web: fix cody web in svelte safari
(PR #138)
- Instrument request latency in Cody Gateway
(PR #136)
- dev/cloud-relay: import repo
(PR #132)
- all: upgrade staticcheck and unparam
(PR #128)
- Cody Web: Update cody web to 0.6.1 (svelte and react)
(PR #127)
- ci/cloud-gql-compat: only report error on remote workflow failure
(PR #125)
- add perforce support for git references table and labels
(PR #124)
- Code Search now supports labels for Perforce Depots
- iterator: add Map function
(PR #123)
- symbols: skip rockskipintegration on dev if missing binaries
(PR #121)
- syntactic-indexing: skip tests on dev if scip-syntax is missing
(PR #120)
- keyring: t.Parallel safe MockDefault
(PR #119)
- appliance: inject os.Getenv to ensure clean environment
(PR #118)
- db: add event_logs_export_allowlist and own_signal_configurations to DataTables
(PR #111)
- expand special case handlers for context endpoint
(PR #110)
- More context improvements
(PR #104)
- adding cohere reRanker in the cody context
(PR #102)
- Don't use markdown header symbols in graphql docs
(PR #99)
- appliance: check ShouldRunSetupEnvTests in integrationtest
(PR #97)
- Fix hardcoded version number in security release approval message
(PR #96)
- blobstore: support tenant isolation
(PR #94)
- Make syntactic indexing policies non exclusive to precise indexing
(PR #92)
- Add --build flag to
sg cloud ephemeral upgrade
(PR #91)
- Turn off minification for cody web worker
(PR #90)
- Redis: add context arg for list methods
(PR #89)
- Basic custom context handler
(PR #86)
- security: Auto-update package lockfiles for Sourcegraph base images
(PR #85)
- React: Bump Cody Web to 0.5.1
(PR #79)
- lib/cloudapi: restructure pkg to reduce nesting
(PR #68)
- nix flake update to go 1.23
(PR #62)
- nix: local is a string for GOTOOLCHAIN
(PR #61)
- sg CLI: Use correct pipeline when retrieving annotations
(PR #60)
- security: Auto-update package lockfiles for Sourcegraph base images
(PR #56)
- nix: set GOTOOLCHAIN=local
(PR #55)
- Search: improve indexing delay dashboards
(PR #54)
- telemetry: always best-effort write to v1 store
(PR #53)
- database: limit concurrent event log inserts
(PR #52)
- Only commits in policy commitmap
(PR #49)
- lib/cloudapi: import cloud-api proto def
(PR #40)
- ctags/6.1.0 package update
(PR #38)
- redis_exporter/1.62.0 package update
(PR #37)
- docker-client/27.1.2 package update
(PR #36)
- p4-fusion/1.13 package update
(PR #35)
- jaeger/1.60.0 package update
(PR #34)
- [Stream API]: Add external_service_type field to the SearchedRepo type
(PR #32)
- Searched repo, commit, path, symbol and file match responses will now include external service type.
- Directory mentions: extract and test buildKeywordQuery
(PR #30)
- lib/background: fix flaky test of monitor routines with context cancel
(PR #29)
- direct route for fireworks models
(PR #26)
- repos: use passed in ctx for SystemsInfo
(PR #18)
- Removing featureflag for expanded audit logs
(PR #15)
- More auditlogs for sensitive admin actions will be automatically logged.
- Perforce UI Elements: Add perforce UI elements to history panel
(PR #12)
- Add typescript parser for SCIP symbols
(PR #10)
- migrations: run squash targetting v5.3.0
(PR #9)
Untracked
The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
- Support SAST Scanning with both GHAS and Custom post processing scrip…
(PR #67)
- sast scans are reported without any issues
- added better GHAS check (#64537)
(PR #65)
- chore(security): Fix GHAS check as non-zero exit code
5.6 Patch 2
v5.6.2535
Chore
Security
- security: added better GHAS check (#64537)
(PR #65)
- chore(security): Fix GHAS check as non-zero exit code
Uncategorized
- Support SAST Scanning with both GHAS and Custom post processing scrip…
(PR #67)
- sast scans are reported without any issues
- [Backport 5.6.x] fix(search): fix query parsing bug around quoted phrases #59
(PR #70)
- [Backport 5.6.x] fix(batches): fix broken forking workflow
(PR #81)
fix(batches): fix broken forking workflow Backport f833c4a3bf2210c127ffbf1146be69e1f461a449 from #48 - [Backport 5.6.x] svelte: add slash to path scope
(PR #98)
- Fixes a bug in the new web app that causes incorrect links to be generated for collapsed file names Backport 23dad06bb2af1e7eb6a2f3847ad7f2c76c2a89a5 from #95
- [Backport 5.6.x] feat(cody): add deepseek-coder-v2-lite-base support
(PR #103)
Backport f71fe081aa43ca40fef66c067c8eaf49d62d491e from #4 - backporting #106
(PR #107)
5.6 Patch 1
v5.6.185
Uncategorized
- [Backport 5.6.x] Changing azureUseDeprecatedCompletionsAPIForOldModels to default to true #64371 Backport 3b16059588e5eff69e00ed56a489ac8560a70d8e from #64347
- [Backport 5.6.x] Fix Cody Web CSS #64373
- Make Cody Web styles more accessible. Backport 2dd38b3ffd828a1596249c2780ca91bf4bce4bdd from #64370
5.6 Patch 0
v5.6.0
Feature
Codenav
- codenav: Add symbol support for the Hack language #64015
Frontend
- frontend: do not embed frontend assets anymore #63946
- frontend: assets are no longer bundled with binary through
go:embed
. Instead assets are now added to the frontend container atassets-dist
.
- frontend: assets are no longer bundled with binary through
Local
- local: sg tail #64146
- Adds a new
sg tail
command that provides a better UI to tail and filter log messages fromsg start --tail
.
- Adds a new
Appliance
- appliance: implement re-direct on all unknown endpoints #64059
- feat(appliance): implement re-direct on all unknown endpoints
- appliance: Adopt Frontend Service + Ingress #63893
- feat(appliance): Appliance adopts Frontend's
Ingress
+Service
- feat(appliance): Appliance adopts Frontend's
- appliance: Merge unstructured objects from helm serialization and appliance cfg defaults #64021
- feat/appliance: Include existing objects when constructing Frontend's
Service
&Ingress
- feat/appliance: Include existing objects when constructing Frontend's
- appliance: self-update #63780
- Appliance can automatically self-update up to 2 minor revisions beyond the currently-deployed sourcegraph version.
- appliance: introduce mock up database configuration step in install flow #64162
- appliance: self-update can update multiple deployments #64132
- Appliance: Frontend Pulls Version Info from RelReg #64089
- feat(appliance): frontend pulls versions from relreg
- appliance: Change site-admin updates button to point to Appliance based on env var #64167
- feat(appliance): change update endpoint based on env var
- misc: add type to storybook
Enterpriseportal
- enterpriseportal: db layer for cody gateway access #63737
- enterpriseportal: support DevOnly in list subscriptions #63837
- enterpriseportal: db layer for subscription licenses #63792
- enterpriseportal: db layer for subscription conditions #63812
- enterpriseportal: ignore context cancellation error in GetCodyGatewayUsage #64016
Search
- search: remove smart search logic #64215Smart search is no longer supported in the Sourcegraph backend. Old searches that specify 'smart search' mode will be run in the default 'precise' mode. If your query now doesn't behave as expected, you can update it to use the new
patterntype:keyword
. - search: update Zoekt #64238
- added support for all Apex language extensions
- shard merging for Zoekt is now enabled by default. This reduces MEM requirements for Zoekt webserver and improves performance for some queries. See our documentation for more information.
- search: Add support to all Apex language extensions #64194
- search: Enable improved symbol parsing for large repos (when using Rockskip) #63988
Svelte
- svelte: Improve commit page layout on mobile #63920
- svelte: Change branch and tags page design, including mobile #63914
- svelte: Add support for creating search jobs from search results #64308
- svelte: Improve small screeen behavior #63859
- svelte: Add compare page #63850
- svelte: Add search query syntax introduction #63753
- svelte: Add 'y' shortcut to navigate to permalink #63719
Dotcom
- dotcom: use Enterprise Portal for Cody Gateway usage #63653
Build
- build: Add exhaustruct linter (codeintel POC) #63965
Others
- Add support for precise usagesForSymbol #64126
- Adds support for precise code navigation to the experimental
usagesForSymbol
API, which can be used to implement a reference panel or similar functionality.
- Adds support for precise code navigation to the experimental
- order search filters alphabetically #63976
- show current email during password reset and auto-populate text-box after successful completion #59645
Bazel
- bazel: read binary version info from accompanying files in OCI images instead of stamping //internal/version #63977
Sg
- sg: prototype 'sg start sourcegraph-accounts' #63894
- sg: add 'sg sams client create' #63885
sg sams client create
can now be used to create IdP clients for SAMS.
- sg: support correct completions on 'sg start -cmd' #63861
- Completions for
sg start -cmd
now offer valid suggestions.
- Completions for
- sg: report user os information via analytics #64280
- sg: do not persist external secrets #63890
- sg: allow sg commands to default to local-dev SAMS-dev credentials #63883
sg
commands requiring SAMS client credentials now load shared SAMS-dev client credentials by default.
Cody
- cody: Refactor completions API to use new modelconfig (support more models) #63797Update the Cody APIs for chat or code completions to use the "new style" model configuration. This allows for great flexibility in configuring LLM providers and exposing new models, but also allows Cody Enterprise users to select different models for chats.This will warrant a longer, more detailed changelog entry for the patch release next week. As this unlocks many other exciting features.
- cody: add circuit breaker to handle timed-out requests and rate limit hits #64133
Requestclient
- requestclient: propagate original User-Agent as X-Forwarded-For-User-Agent #64113
Fix
Appliance
- appliance: don't include is_development builds in list of versions #64138
- fix(appliance): don't allow installation of development builds
- appliance: Make Appliance URL envvars strings #64227
- fix(appliance): make environment variables strings to be passed around
Own
- own: Prevent infinite UI update loop in own pages #64312
Docs
- docs: update quickstart guide links #64202
Cody
- cody: use client-provided timeout for completions requests #63875
- Use the provided timeout from request parameters if available; otherwise use the default maximum request duration (8 minutes)
- cody: allow pre-release versions for clients #63913
- cody: remove client check for context filters #63855
Search
- search: correctly handle select:symbol.enum #64170Fix a bug in
select:symbol.enum
filters where they returned no results
Bazel
- bazel: surface error message when gazelle cant process glob expression #64214
Search_jobs
- search_jobs: prevent job state flip-flopping between 'queued' and 'processing' #64098
- search_jobs: remove trailing
*
from URL #63821 - search_jobs: progress reporting #64287
- Show detailed progress only while job is in status "processing"
- Remove dependency of download links on job state
- search_jobs: fail validation for repo searches #64300
- search_jobs: flickering placeholder component #64009
Enterpriseportal
- enterpriseportal: drop old gorm fk constraints #63864
Svelte
- svelte: Properly redirect to cody marketing page #64331
- svelte: Make /cody/dashboard work with the new web app #64295
- svelte: Show correct line numbers in unified diff #63778
- svelte: Fix and cleanup compare page #63928
- svelte: Update top-level route list #64272
- svelte: Ctrl+backspace in fuzzy finder #63804
- svelte: respect default pattern type in toggles #63795
- svelte: Better preloading in file tree #64327
- svelte: Center file tree loading indicator #64309
Ci
- ci: reduce push_all concurrency even further due to ratelimits #64111
- ci: check command out for error when git fails #63993
- ci: reduce push_all concurrency due to ratelimits #64106
- ci: only emit bazel execlog artifact for 'test' commands #63916
Release
- release: check for marker in container files instead of binary #64205
- release: check contiainer directory
/assets-dist
for marker instead of frontend binary
- release: check contiainer directory
Sg
- sg: cloud ephemeral - do no trigger builds on main-dry-run #64190
- sg: deny deployment of
main-dry-run
branches on Cloud Ephemeral.
- sg: deny deployment of
- sg: better err msg for when we fail to insert to bigquery #63873
- sg: provide a better error message when we fail to insert into bigquery
- sg: stop puslishing to bigquery if we get 3 errors in a row
- sg: do not try to publish analytics when it is disabled #63800
- sg - only start the analytics background publisher when analytics are enabled
- sg: return different error types depending on secret failure #63779
- sg: provide suggestions we fail to get local gcp account email address #64325sg - provide steps a user can follow if we fail to get the local gcp email address
- sg: acknowledge command execution state to avoid recursion when executing short running commands #64181
Batches
- batches: switch github app installation handling from redirect flow to webhooks #64036
- When installing a GitHub app for batch changes, the instance now waits for a callback from GitHub to complete the installation to avoid issues from eventual consistency.
- batches: don't request unnecessary info that's likely to cause GH errors #64299
- fix(batches): improve GitHub Apps integration reliability by simplifying the data requested from GitHub
- batches: show warning instead of error when the changeset status is not FAILED #64243
- Batch changes that are still retrying now show a warning instead of an error.
Others
- Try workaround for bad index choice when updating execution logs #64328
- block URLs without a hostname #64248
- uses the same base64 for decoding we use for encoding the UsageCursor #64290
- Don't propagate un-translated source ranges #64263
- Handle sub-repo permissions in CodeGraphData API #64241
- Fixes incorrect highlighting for comments at the start of a file #64235Fixes incorrect syntax highlighting when a comment is present at the start of a file.
- connection pending alert and alert content alignment #64120
- set timeout for web-sveltekit/unit_tests to moderate #63879
- Add Exists method to dbworker Store to avoid COUNT(*) #64297
- Prefer SCIP uploads over LSIF uploads #64217Fixes a bug where old LSIF uploads would also be used for code navigation even when newer SCIP uploads were available for the same language, potentially leading to duplicate results in the reference panel. With this change, scip-go uploads shadow the uploads for lsif-go, and similarly for other indexers following the scip-X/lsif-X naming convention.
- Synchronize access to reads of fields in retry test #63967
- add extra check for code intelligence inference #64083
- De-dup and concurrent-ify file content requests & splitting #64169
- Handle potential nil reference properly #64265
- add commit signing filter to
credentialForGitHubAppExists
#64128 - make invalid token error message visible while adding external services #60876
Telemetry
- telemetry: silence invalid events that we already know about #64084
Chore
Others
- Mark flaky web-sveltekit tests as manual #63874
- Frontend does not need disk #64273
- Make return type more obvious #63651
- Update main occurrence extraction code to allow for symbol-based matching #64082
- Rename Index -> AutoIndexJob #63955
- Reduce frequency of COUNT(*) on lsif_indexes #64288
- Bump version of sourcegraph/log library #64233
- Remove cmd/frontend/external/app #64054
- Remove redis init side-effect of app.NewHandler #64062
- Don't pass nil context #64055
- Move codenav types to lower-level package #64141
- Replace 'dumps' terminology in comments #63775
- Change some APIs to use symbols instead of monikers #64029
- Rename uploadstore packages for clarity #63931
- Remove incorrectly logged warning #64267
- Use binary search over symbols array #64240
- De-duplicate CTE for visible uploads #64232
- Remove unused loghandlers package #64067
- move internal/conf/validation to cmd/frontend #64064
- Init userpasswd provider where we initialize every other authn provider #64061
- remove flaky flag from svelte e2e_test #64123
- Mark flaky test as manual #63968
- Factor out sub-query for locating nearest uploads #64210
- Remove global externalURL watcher #64058
- re-enable e2e tests for web-sveltekit #63910
- Replace QueuedCount -> CountByState with bitset parameter #64302
- Deglobalize oneclickexporter instance #64066
- Make location fetching queries more uniform #64026
- Document tech debt wrt multiple doc traversals #64006
- Unify LsifStore.*SymbolUsages APIs into one #64076
- Add docs for RepoStore methods #64283
- Rename URI -> DocumentPath #63979
- Remove unused TTL in object.Storage config #63947
- Move cmd/frontend/webhooks to cmd/frontend/internal #64157
- Rename type Bytes -> Size #64183
- Unconditionally call endObservation #64150
- move internal/highlight to cmd/frontend #64065
- Bubble precise Usages instead of Locations #64118
- Switch over to fake RepoStore in codenav tests #64284
- move internal/suspiciousnames to cmd/frontend/internal #64071
- Simplify license routines #64068
- Use Option type and rename API #63820
- Bump autoindexing image SHAs #63801
- Move and clean up test code for syntactic usages #64318
- Remove unnecessary _ imports #64158
- remove cmd/frontend/external redirection package #64070
- Consolidate mocks for dbworker/store.Store type #64294
- Consolidate mocks for uploads's Store type #64286
- move cmd/frontend/oneclickexport to cmd/frontend/internal/oneclickexport #64069
- Move authn into cmd/frontend #63648GitLab code host connections were able to sync permissions by mapping Sourcegraph users to GitLab users via the username property of an external OIDC or SAML provider that is shared across Sourcegraph and GitLab. This integration stopped working a long time ago, and it has been removed in this release.
- Replace calls to deprecated ioutil.TempFile #64177
Svelte
- svelte: Add manual entries for repo sub pages to development proxy #64313
- svelte: Disable tests which time out #63844
- svelte: Refactor infinity query implementation #63824
- svelte: fix test by removing duplicate aria-label #63942
- svelte: Commit/diff style and behavior tweaks #63785
- svelte: Refactor repo loaders #63828
- svelte: Clean up dependencies #63777
Enterpriseportal
- enterpriseportal: rewrite subscriptions API tests to be table-driven #63831
- enterpriseportal: simplify display_name constraint #63835
Telemetrygateway
- telemetrygateway: gracefully handle sams introspectToken cancelation #63809
Bazel
- bazel: re-enable remote caching of Copy{File,Directory,ToDirectory} actions #64153
- bazel: emit json profile for image push jobs #64188
- bazel: rework push_all to improve concurrency by avoiding bazel server lock (round 2) #64079
- bazel: emit json profile for image push jobs (properly) #64189
- bazel: disable stamping on rust_binary targets #64007
Config
- config: clarify env var already registered panic #63784
- When conflicting env var are detected, print the two to ease debugging.
Executors
- executors: Native Kubernetes Executors default to use single job pod #64088
Codeintel
- codeintel: Derive TargetPathWithoutRoot dynamically #63986
- codeintel: Move mock generation near interface package #64000
- codeintel: Simplify code using upload filtering #63997
- codeintel: Pass UsageKind instead of raw column names #64003
- codeintel: replaces lsp.Range uses with scip.Range #64178
- codeintel: Rename local variables for clarity #63983
- codeintel: Move RequestState construction to separate func #63998
- codeintel: Rename uploads/../Store -> codegraph/../DataStore #64001
Search
- search: update search API call sites to set the version explicitly #63782
- search: update logging of search durations #64269
Local
- local: clear ambiguity in between sg version|live #64122
sg version
explicitly mentions that it's the CLI version that's printed out, not any instance version.
- local: use //cmd/frontend:frontend_nobundle for bazel commandsets #64085
Search_jobs
- search_jobs: add janitor job #64186The new background job drastically reduces the size of the
exhaustive_*
tables and improves performance of the Search Jobs GQL API. - search_jobs: improve description on main page #63992
- search_jobs: remove label "admin" from contact card #63823
Cody
- cody: allow setting "cody.contextFilters" in site config without feature flag #63881
Frontend
- frontend: use explicit cache for admin analytics #64077
Worker
- worker: move aggregated user stats job to worker #64033
- worker: disable jobs based on ENVs #63853
- worker: move event_logs janitor routines to worker #63981
- worker: move llm token counter to worker #64008
- worker: move refreshAnalyticsCache to worker #64041
Log
- log: remove use of log15 in ghe-feeder #64131
Ci
- ci: emit execlog for image push jobs #64130
Sg
- sg: remove 'sg telemetry' and related docs #63763
sg
: the deprecatedsg telemetry
command for allowlisting export of V1 telemetry from Cloud instances has been removed. Use telemetry V2 instead.
- sg: clean up help formatting #63860
Ci
Others
Perf
Others
- Find syntactic matches concurrently #63937
Refactor
Github
- github: Have a dedicated PublicRepository type #63607
Codeintel
- codeintel: Extracts a MappedIndex abstraction over uploads #63781
Others
- steps the usage cursor provenance state in a single place #64321
- handles Cursor uniformly over all usage provenances #64319
- renames usage cursor and adds fields for future syntactic cursor #64208
Svelte
- svelte: Reduce logo complexity #64274
Reverts
- Revert "Cody: add support for neovim, cody-cli, eclipse, and visualstudio clients #63854
- Revert "chore(ci): post instructions for PR sections in a comment" #64176
Uncategorized
-
feat(code insights): language stats speed improvements by using archive loading #62946
- Language stats queries now request one archive from gitserver instead of individual file requests. This leads to a huge performance improvement. Even extra large repositories like chromium are now able to compute within one minute. Previously they timed out.
-
various improvements to saved searches #63539
- Improved the saved searches feature, which lets you save search queries to easily reuse them later and share them with other people in an organization.
- Added the ability to transfer ownership of a saved search to a user's organizations or from an organization to a user's account.
- Removed a long-deprecated and ineffective settings
search.savedQueries
field. You can manage saved searches in a user's or organization's profile area (e.g., at/user/searches
).
-
Correctly re-map source ranges in new SCIP-based APIs #63630
-
Move internal/session into cmd/frontend/internal #63649
-
subrepo: More explicitly define supported hosts #63650
-
licensecheck: Make proper goroutine #63655
-
Remove old reference to env var that no longer exists #63656
-
schema: Remove unused extension schema file #63657
-
dotcom: Remove dotcom on-by-default Cloudflare trust mode #63658
-
webhooks: Polish UI components #63664
-
webhooks: Deterministically match webhook events to repos #63668
-
gating: Add individual switches for disabling tools features #63686
-
Svelte: implement new reference panel against new Usages API #63724
-
Usages API: implement surroundingContent #63730
-
authz: Drop requirement for installing authz providers in every service #63743
-
make pagination hooks store filter & query params in URL, not just pagination params #63744
-
Update comment and decode bytes instead #63754
-
Svelte: some unrelated cleanups #63757
-
fix/internal/txemail: add timeout for SMTP connection establishment #63759
- Instead of waiting forever, we wait at most 30 seconds before giving up when trying to connect to the configured mail server when sending an email.
-
feat/graphql/access_tokens: send access token creation/deletion emails in background and create special message for dial errors #63760
- When creating or deleting an access token, we no longer wait for the email to be sent before returning to the caller. Instead, we now send it in the background.
-
Add more Completions handler tests #63761NA
-
Search: make 'exclude tests' more general #63762
-
Minor refactoring, fixes #63766NA
-
Svelte: add more general shrinkable path #63770
-
feature/db/sub_repo_perms: add IPs column to sub repo perms #63771
- The sub_repo_permissions table now has an ips column to store the associated IP address associated with each path rule.
-
security: Auto-update package lockfiles for Sourcegraph base images #63776
-
gateway: Don't panic because of duplicate env var registration #63787
-
RFC 969 API boilerplate #63789
-
Structural search: fix precise lang filtering #63791
-
feature: update
sg release cut
to automate stitch graph gen and release branch creation #63794 -
Wolfi image for Sourcegraph Frontend #63798
-
fix(nix/p4-fusion): update p4-fusion helix-api hashes #63805
-
Move Cody Web to beta #63806
-
feat/lib/telemetrygateway: expose simple Dial #63810
-
internal/database/sub_repo_permissions: modify store to be able to insert ip based permissions #63811The sub_repositorypermissions database store can now save and retrieve the IP addresses associated with each path rule.
-
Several fixes around merging modelconfig, and the current Cody Gateway data #63814NA
-
Svelte: optimize
observeIntersection
#63816 -
change model identifier for finetuned deepseek model #63817
-
Syntactic indexing non local refs java #63822
-
feat/sg/msp: helpful error on cloudsqlproxy port conflict #63830
-
feat/sg/enterprise: add 'sg enterprise set-name' #63832
-
updated error messaging for blocked requests due to abuse #63836
-
gitserver: Add option to allow setting custom context line count #63840
-
misc saved searches followups #63841
-
gitserver: Add OctopusMergeBase RPC method #63842
-
pr-auditor: use pr-auditor from devx-service #63847
-
Cody: add access token callback pages for CLI, Eclipse and VS #63849
-
Cody: add support for neovim, cody-cli, eclipse, and visualstudio clients #63851
- Fix HTTP 406 error when using the Neovim Cody plugin with Enterprise instances
-
chore/lib/telemetrygateway: fixup Dial helper #63862
-
Blame: fix some issues with the stream #63865
- Fixed an issue with blame view that can cause retry loops and error pages that block interaction with the rest of the UI
-
docs: Add alternate names and links in GraphQL docs #63867
-
show saved searches in new global navbar #63868
-
factor out PatternConstrainedInput #63869
-
Add configuration for Intent Detection API #63871
-
Prompt Library #63872
- The Prompt Library lets you create, share, and browse chat prompts for use with Cody. Prompts are owned by users or organizations, and site admins can make prompts public so that all users on the instance can see and use them. To use a prompt from your Prompt Library in Cody, select it in the Prompts dropdown in the Cody chat message field.
-
Integrate Cohere re-ranking API #63877
-
Special oauth containers #63880
-
Feature: db connection pinger and validator #63884
-
Update CodyLLMConfiguration GraphQL object to be modelconfig aware #63886NA
-
sg: check for nil multiError #63889
-
Search: add regex support to
repo:has.meta()
#63891repo:has.meta()
predicate now supports regex patterns for keys and values
-
Fixes re: Cody Pro x Sourcegraph-supplied models #63892NA
-
cody-gateway: handle missing Google response #63895cody-gateway: log missing Google response as warning
-
Svelte: fix css selector #63896
-
self hosted models #63899Cody Enterprise: added a new configuration for self-hosting models. Reach out to support if you would like to use this feature as it is in early access.
-
Adds unit tests for syntactic usages #63900
-
[sg] Make rfc command use private RFCs by default #63902
-
Unify naming of used/ignored context #63903
-
track usage stats for saved searches in UTC day increments #63904
-
query Repository.id to support Apollo Client caching #63905
-
withAuthenticatedUser: use react-router-dom hooks & add test #63906
-
show org name not displayName in most places #63907
- The user menu and other filter menus now show the names of organizations, not their "display names", to avoid ambiguity. For example, these menus will now show
abc-corp
notABC Corp
(if the latter was theabc-corp
's display name).
- The user menu and other filter menus now show the names of organizations, not their "display names", to avoid ambiguity. For example, these menus will now show
-
add saved search visibility, draft, and timestamps #63909
- Saved searches can now be made public (by site admins), which means all users can view them. This is a great way to share useful search queries with all users of a Sourcegraph instance.
- Saved searches can be marked as a "draft", which is a gentle indicator that other people shouldn't use it yet.
-
fix(build-tracker): Failed back-compat doesn't count towards branch-locking quota #63911
-
sg: enable alerting by default for production projects #63912
-
Add separate shadow value for hovercards #63918
-
GraphQL: improve query cost violation message #63921
-
fix/frontend/httpapi: improve request reader #63923
-
saved searches & prompt library fixes #63930
-
remove "organizations aren't supported" page on dotcom #63932
-
prevent orgs from being named "global" on dotcom #63933
-
allow non-site admins to list their orgs' members on dotcom #63934
-
show "Copied" indicator when copying an access token #63936
-
codeintel: GitTreeTranslator rewrite #63938
-
repoupdater: Make batches init jobs dependent on batches.IsEnabled #63939
-
[update] Remove sleep in goroutine for webhook handlers #63940
-
support getting other orgs on dotcom from the GraphQL API #63941
-
misc improvements to graphqlbackend #63943
-
explicitly check viewer access to settings in GraphQL API #63945
-
use the viewerSettings GraphQL API instead of the 5y+-deprecated viewerConfiguration API #63949
-
upgrade vitest to latest #63951
-
Add counter for traced requests to Fireworks #63953
-
Remove references to modelconfig.sourcegraph.pollingInterval #63956NA
-
fix/database/sub_repo_perms: don't mark TestSubRepoPermsStore_GetByUserWithIPs as Parallel #63958
- A race condition in the sub_repo_permissions database store test suite has been fixed.
-
Svelte rollout: add toggles for svelte-enabled pages #63960
-
fix saved searches and prompts list page for anon users #63961
-
various OrgArea fixes #63962
-
allow site admins to list org members & view user/org settings on dotcom #63963
-
Svelte: Fix Safari 17.3 groupBy usage #63964
-
finish removing chromatic #63966
-
cody: correct link to emacs-cody #63974
-
Implement server-side single-repo context fetching for RFC 969 #63980
-
[fix] Fix being unable to add batch changes credentials when rate limited #63984
- Fixed an issue where, when Sourcegraph is applying rate limits, batch change credentials could not be added. Sourcegraph now waits a maximum of 10 seconds to update credentials, and if it times out, it saves the credentials regardless and displays a warning to the user.
-
fix incorrect URL (/new) on saved search and prompt library pages #63995
-
feature/worker/permission syncer: perforce: sync HOST field using IP addresses #64010
- The perforce permissions syncer has been updated to save the IP address associated with each sub_repository_permissions rule.
-
Bring back post-sign-up route to the backend router #64011
-
authz: Compute providers on the fly #64012
-
feat/frontend/dotcom: add toggles for various online license checks #64013
-
Update the legacy link to sg doc #64017
-
Update the outdated link to #dev-experience to #discuss-dev-infra #64018
-
Maintenance Splash Page #64019
-
codeintel: returns surroundingContent from search result #64022
-
codeintel: runs occurrence and symbol search in parallel #64023
-
codeintel: allows batch retrieval of SCIP documents #64024
-
codeintel: fetches diffs from gitserver in batches #64025
-
Removes the old GitTreeTranslator API #64027
-
Remove dead collaborators invite code #64039
-
Make cody gateway usage worker a periodic routine #64040
-
Unpin openjdk-11 version in blobstore package #64045
-
bug: update version consts in updatecheck handler #64052
-
cleanup: Move azure openai provider config validation to right place #64056
-
security: Auto-update package lockfiles for Sourcegraph base images #64060
-
auth: Fix Found page response when redis is down #64063
-
codeintel: Adds a batch api for fetching multiple documents to MappedIndex #64073
-
Syntactic indexing policy toggle: UI and supporting APIs (with backcompat) #64075
- In site-admin APIs for updating code intelligence policies:
- field
indexingEnabled
is renamed topreciseIndexingEnabled
- a required
syntacticIndexingEnabled
is added (only takes effect if experimental feature is enabled) - field
forIndexing
is renamed toforPreciseIndexing
- field
- In site-admin APIs for updating code intelligence policies:
-
codeintel: Speed up syntactic and search-based usages using batch APIs #64078
-
scip-syntax: uses
.starts_with
to check reference capture #64081 -
feat/worker/permission syncing: make sub repo permissions re-insertion fall back to original paths if ips not added yet #64086
-
Enable p4-fusion by default for Perforce code host connections #64101
- For Perforce code host connections,
p4-fusion
is now always enabled and the option for the much slower and unreliablegit p4
no longer exists.
- For Perforce code host connections,
-
gerrit: Add support for repositoryPathPattern #64102Added support for the
repositoryPathPattern
setting for Gerrit code host connections. -
msp: use BUILDKITE_BUILD_CREATOR as fallback #64104
-
msp: remove old author variable #64107
-
Blob search: Fix incorrect icons in the blob search bar #64108
-
gomod: update zoekt for guardrails perf experiment #64109
-
Svelte Navigation: hide teams when own is not enabled #64110
-
search-blitz: adjust limit for snippetAttribution to match gateway #64119
-
observability: Adds useful data to traces from gosyntect.Highlight #64121
-
scip-syntax: Simplifies to two visibilities #64124
-
gomod: update zoekt to include improvement to experiment #64125
-
Support detecting search and edit intent #64129
-
SvelteKit: Add 'Tools' Menu item back to global navigation #64134
-
Svelte: do not show path section if empty #64135
-
SvelteKit: fix issue where clicking link with no href refreshed the page #64136
-
fix/internal/requestclient: read all instances of x-forwarded-for header, not just the first #64137
-
bug: parse v in target versions #64139
-
codeintel: document that pagination for usages might return extra results #64142
-
bug: fix default version #64143
-
chore(syntax-highlighter): Some cleanup for locals detection #64144
-
Bump cody web to most recent package @sourcegraph/cody-web #64149
-
docs: Specify matching behavior for usagesForSymbol(range:) #64151
-
Svelte: Bump cody web to most recent package @sourcegraph/cody-web #64152
-
Nit: adds space between tools menu item and dropdown icon #64154
-
frontend: Remove global conf server variable #64155
-
frontend: Consolidate remaining registry packages #64156
-
Add unit test for modelconfig converting starcoder completion model #64160NA
-
Relax modelconfig name restrictions #64161NA.
-
Svelte: add welcome introduction when enabling svelte for the first time #64163
-
replace modelOverridesRecommendedSettings with selfHostedModels #64164Improved configuration functionality for Cody Enterprise with Self-hosted models.
-
fix autocomplete regression in
main
("various" provider issue) #64165N/A -
Expose ranker relevance score in GraphQL API #64172
-
Policy patch - leave fields unchanged if they're missing from request #64174
-
docs: Weaken guarantees for Usage cursor #64185
-
Code intel: respect provenance when getting usages #64193
-
Bump @sourcegraph/cody-web to 0.3.2 #64195
-
Don't block
frontend
initialization with invalid modelconfig #64200NA -
security: Auto-update package lockfiles for Sourcegraph base images #64204
-
search: apply phrase boosting to more queries #64207
-
sg cloud eph: simplify status #64209
-
Styling updates throughout #64221
-
Svelte: welcome banner followups #64222
-
Cody web: add server-side fetching for URL mentions #64223
-
Bump @sourcegraph/cody-web to 0.3.4 #64224
-
Chore: remove enablePreciseOccurrences feature flag #64229
-
Web: fix git blame for files that have
/stream/
in their path #64230- Fixed an issue where blame view would error when the file contains the path element
/stream/
- Fixed an issue where blame view would error when the file contains the path element
-
codeintel: make usage-range non-optional #64236
-
ephemerals: fix feature flag name #64237
-
Reapply "soap: Fix auto-redirect to IdP when SOAP is enabled" (#64234) #64244
-
gitserver: RawDiff checks if commits exist #64245Fixes a bug where a force push on HEAD of a repository might lead to our unindexed search failing until the indexed search had updated.
-
servicecatalog: remove searcher dep on database #64247
-
Chore: remove non-null assertions #64249
-
Svelte: fix welcome banner flashing on reload #64251
-
Cody Web: Update Cody Web to 0.3.6 [React version] #64254
-
Svelte: make closing the welcome overlay more obvious #64256
-
gomod: update zoekt for shard scanning improvement #64264
-
Update p4-fusion-sg wolfi-package #64266
-
Return 'sourcegraph' as the CodyLLMConfigurationResolver.Provider #64276NA
-
Svelte: remove site admin gate on code intel preview #64277
-
Improving Azure errors for customer containers #64278
-
Update the default Sourcegraph-supplied LLM models #64281NA?
-
Enable SCIP based APIs by default #64285
-
Update wolfi hashes #64289
-
searcher: fix benchmarks #64292
-
Search: re-add support for 'lucky' patterntype #64293
-
Update Cody Web to 0.3.7 #64296
-
Search: boost matches on quoted terms #64298
-
Return model IDs from GraphQL, not model Names #64307NA
-
Svelte: more welcome banner behavior updates #64311
-
Fix Cody Web Svelte Sidebar #64320
-
Center align Cody logo in Cody Web Sidebar #64324
-
upgrade Cody Web, always create a new chat #64334
-
Svelte: enable toggle by default #64340
Untracked
The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
- [Backport-5.5.x]: Move Cody Web to beta (#63806) #63808
- Backport: Blame: fix some issues with the stream (#63865) #63929
- security: Auto-update package lockfiles for Sourcegraph base images #64035
- security: Bump openjdk-11 version in blobstore image #64047
- appliance: backport all recent appliance changes #64182
- Backport all recent appliance changes. The appliance is still pre-release.
- cherry-pick 856e41e with resolved conflicts #64228
v5.5.3956
Reverts
Uncategorized
- [Backport-5.5.x]: Move Cody Web to beta (#63806) #63808
- [Backport 5.5.x] fix(batches): the baseURL for github instance is now updated when creating a GitHub app #63833 Backport 1c40c9e5bccd4f6265945bd3449b70a648022e60 from #63803
- [Backport 5.5.x] Upgrade cody web experimental package to 0.2.5 #63856
- Backport 63870 to 5.5.x #63882
- Adds an experimental feature
commitGraphUpdates
to control how upload visibility is calculated.
- Adds an experimental feature
- [Backport 5.5.x] Upgrade cody web experimental package to 0.2.7 (#63863) #63901
- Backport: Blame: fix some issues with the stream (#63865) #63929
- [Backport 5.5.x] [fix] Only trigger externalAcctSignup event when a new user is created #63975
- Fixed an issue where the
http-header
auth would cause a massive amount of event logs spam Backport cd6595196177b3d307a4e8f76222c6d8c5c9b23f from #63843
- Fixed an issue where the
- [Backport 5.5.x] Publish images for all commits on release branches #63987 Backport b7242d280f37a4b9effebb52ac4301e59635d629 from #63985
- [Backport 5.5.x] [logging] Only record events if a new user was created #64005 Backport 777c7a089956f1ad9c494ab55e8660bbdd781259 from #64004
- [Backport 5.5.x] Integrate security release approval into release pipeline #64030 Backport 9dd901f3c957cf5bf83aa6ac41fc3c6b2744cfd3 from #63990
- security: Auto-update package lockfiles for Sourcegraph base images #64035
- [Backport 5.5.x] fix(source): Fix issue where worker would crash if a Bitbucket Cloud token couldn''t be refreshed #64037
- Fixed an issue where a Bitbucket Cloud OAuth token failing to refresh would crash the
worker
service. Backport bc036ad2bafc9a09d80646d30d26335359a28fd1 from #64028
- Fixed an issue where a Bitbucket Cloud OAuth token failing to refresh would crash the
- security: Bump openjdk-11 version in blobstore image #64047
- [Backport 5.5.x] ci: make internal+promote release higher priority in runtypes #64050 Backport 0309564f9362ea24e248aa5189d66f89826ccecf from #64049
- [Backport 5.5.x] fix: Fix Chrome stack overflow during highlighting #64074
- Fixes a Chrome-specific stack overflow when highlighting large files. Backport 2644e242447ac355a415abec7af5cfb8d9849e75 from #64072
- Backport 5ce2eea to 5.5.x #64166
- security: Auto-update package lockfiles for Sourcegraph base images #64180
- [Backport 5.5.x] fix(appliance): cache authorization status #64219 Backport 156aa5a0adec1bc7a1f2142878761d8993dd4c43 from #64213
- [Backport 5.5.x] fix(appliance): reliably redirect to site-admin post-install #64220 Backport e54407d9f50ed11f1a7c27edbb5c42966070f236 from #64216
- cherry-pick 856e41e with resolved conflicts #64228
Untracked
The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
- [Backport 5.5.x] release/bug: generate a new stitched migration graph #63769 Backport cb19d6f0a98f7ecce65629bd117c34a8dc1db8e2 from #63764
- [Backport 5.5.x] Context: return lines around symbol match #63788
- [Backport 5.5.x] fix/alertmanager: downgrade prometheus/common to fix generated config #63793
- Fix Prometheus Alertmanager configuration failing to apply
observability.alerts
from site config Backport ffa873f3adb18e2c5807ca752115a70fcbc493c8 from #63790
- Fix Prometheus Alertmanager configuration failing to apply
- [Backport-5.5.x]: Move Cody Web to beta (#63806) #63808
- [Backport 5.5.x] fix(batches): the baseURL for github instance is now updated when creating a GitHub app #63833 Backport 1c40c9e5bccd4f6265945bd3449b70a648022e60 from #63803
- [Backport 5.5.x] Upgrade cody web experimental package to 0.2.5 #63856
- Backport 63870 to 5.5.x #63882
- Adds an experimental feature
commitGraphUpdates
to control how upload visibility is calculated.
- Adds an experimental feature
- [Backport 5.5.x] Upgrade cody web experimental package to 0.2.7 (#63863) #63901
- Backport: Blame: fix some issues with the stream (#63865) #63929
- [Backport 5.5.x] [fix] Only trigger externalAcctSignup event when a new user is created #63975
- Fixed an issue where the
http-header
auth would cause a massive amount of event logs spam Backport cd6595196177b3d307a4e8f76222c6d8c5c9b23f from #63843
- Fixed an issue where the
- [Backport 5.5.x] Publish images for all commits on release branches #63987 Backport b7242d280f37a4b9effebb52ac4301e59635d629 from #63985
- [Backport 5.5.x] [logging] Only record events if a new user was created #64005 Backport 777c7a089956f1ad9c494ab55e8660bbdd781259 from #64004
- [Backport 5.5.x] Integrate security release approval into release pipeline #64030 Backport 9dd901f3c957cf5bf83aa6ac41fc3c6b2744cfd3 from #63990
- security: Auto-update package lockfiles for Sourcegraph base images #64035
- [Backport 5.5.x] fix(source): Fix issue where worker would crash if a Bitbucket Cloud token couldn''t be refreshed #64037
- Fixed an issue where a Bitbucket Cloud OAuth token failing to refresh would crash the
worker
service. Backport bc036ad2bafc9a09d80646d30d26335359a28fd1 from #64028
- Fixed an issue where a Bitbucket Cloud OAuth token failing to refresh would crash the
- security: Bump openjdk-11 version in blobstore image #64047
- [Backport 5.5.x] ci: make internal+promote release higher priority in runtypes #64050 Backport 0309564f9362ea24e248aa5189d66f89826ccecf from #64049
- [Backport 5.5.x] fix: Fix Chrome stack overflow during highlighting #64074
- Fixes a Chrome-specific stack overflow when highlighting large files. Backport 2644e242447ac355a415abec7af5cfb8d9849e75 from #64072
- Backport 5ce2eea to 5.5.x #64166
- security: Auto-update package lockfiles for Sourcegraph base images #64180
v5.5.3738
Feat
- appliance: backport all recent appliance changes #64182
- Backport all recent appliance changes. The appliance is still pre-release.
Reverts
Uncategorized
- [Backport 5.5.x] fix: Fix Chrome stack overflow during highlighting #64074
- Fixes a Chrome-specific stack overflow when highlighting large files. Backport 2644e242447ac355a415abec7af5cfb8d9849e75 from #64072
- Backport 5ce2eea to 5.5.x #64166
v5.5.2463
Uncategorized
- Backport: Blame: fix some issues with the stream (#63865) #63929
- [Backport 5.5.x] [fix] Only trigger externalAcctSignup event when a new user is created #63975
- Fixed an issue where the
http-header
auth would cause a massive amount of event logs spam Backport cd6595196177b3d307a4e8f76222c6d8c5c9b23f from #63843
- Fixed an issue where the
- [Backport 5.5.x] Publish images for all commits on release branches #63987 Backport b7242d280f37a4b9effebb52ac4301e59635d629 from #63985
- [Backport 5.5.x] [logging] Only record events if a new user was created #64005 Backport 777c7a089956f1ad9c494ab55e8660bbdd781259 from #64004
- [Backport 5.5.x] Integrate security release approval into release pipeline #64030 Backport 9dd901f3c957cf5bf83aa6ac41fc3c6b2744cfd3 from #63990
- security: Auto-update package lockfiles for Sourcegraph base images #64035
- [Backport 5.5.x] fix(source): Fix issue where worker would crash if a Bitbucket Cloud token couldn''t be refreshed #64037
- Fixed an issue where a Bitbucket Cloud OAuth token failing to refresh would crash the
worker
service. Backport bc036ad2bafc9a09d80646d30d26335359a28fd1 from #64028
- Fixed an issue where a Bitbucket Cloud OAuth token failing to refresh would crash the
- security: Bump openjdk-11 version in blobstore image #64047
- [Backport 5.5.x] ci: make internal+promote release higher priority in runtypes #64050 Backport 0309564f9362ea24e248aa5189d66f89826ccecf from #64049
v5.5.1337
Uncategorized
- [Backport 5.5.x] Upgrade cody web experimental package to 0.2.7 (#63863) #63901
v5.5.1220
Uncategorized
- [Backport-5.5.x]: Move Cody Web to beta (#63806) #63808
- [Backport 5.5.x] fix(batches): the baseURL for github instance is now updated when creating a GitHub app #63833 Backport 1c40c9e5bccd4f6265945bd3449b70a648022e60 from #63803
- [Backport 5.5.x] Upgrade cody web experimental package to 0.2.5 #63856
- Backport 63870 to 5.5.x #63882
- Adds an experimental feature
commitGraphUpdates
to control how upload visibility is calculated.
- Adds an experimental feature
v5.5.160
Uncategorized
- [Backport 5.5.x] Context: return lines around symbol match #63788
- [Backport 5.5.x] fix/alertmanager: downgrade prometheus/common to fix generated config #63793
- Fix Prometheus Alertmanager configuration failing to apply
observability.alerts
from site config Backport ffa873f3adb18e2c5807ca752115a70fcbc493c8 from #63790
v5.5.0
Chore
- Change errors.HasType to respect multi-errors #63024
- codenav: Resolve repo and commit in common code #63072
- graph: Add changelog entry for Python scip-ctags fix (second attempt) #63106
- search: Add test case covering hack lang detection behavior #63136
- Add test case for coverage hack lang detection
- msp: document gRPC notes in spec docstrings #63140
- Fix lint error (unparam) #63151
- Validate driver type immediately #63177
- appliance: remove references to embeddings #63185
- Remove references to embeddings from (still unreleased) appliance.
- security: update dependencies #63197
- ci: conditionally stamp genrules #63204
- Avoid invalidating cache in stamped genrules on dev builds.
- schema: Add implementation status for codeGraphData #63219
- Add GitBlobResolver and GitTreeResolver for readability #63223
- Remove dead code for Rust crates #63224
- bazel: bump to 7.2.0 #63226
- changelog: advise contributors of new process #63243
- Advise contributors of new changelog process.
- svelte: Migrate all icons to Lucide/custom icons #63246
- Add binary search function that returns range #63248
- Move deduplicateBy to collections package #63249
- codeintel: Use internal language detection package for insights #63254
- Code clean up to use common language detection mechanism in more places
- remove broken link in README #63256
- Remove unused code paths in lsifstore package #63259
- Add more tests for GetLanguages API #63260
- Simplify location uniquing #63263
- Add specialized function for sorting primitive sets #63269
- Bump go-enry and Zoekt to handle new languages #63281
- Updates the
lang:
filter to add support for languages such as Mojo, Roc, EdgeQL etc.
- Updates the
- ci: remove buildchecker sunday summary posts #63289
- Maintain consistency between languages functions #63292
- local: remove docsite from dotcom commandset #63314
- deps: upgrade grpc, prometheus/common #63328
- deps: upgrade alertmanager package dependency, improve logs and tests #63329
- Add more docs for occurrences GraphQL API #63338
- svelte: Simplify development for dotcom #63341
- svelte: Remove stub logger #63342
- plg: migrate invoices list to react-query #63343
- local: simplify 'sg db' inline help #63344
- ci: instrument push_all.sh commands in honeycomb #63350
- ci: mark web-sveltekit:e2e_test as flaky #63351
- svelte: Update fuzzy finder designs #63354
- Fix inaccurate error message #63361
- remove obsolete tracking code for Cody App downloads #63364
- centralize logic for disabling Batch Changes on dotcom #63370
- Add SymbolUsageKind to GraphQL API #63371
- Add doc comment for DiffOptions.Paths #63385
- deps: replace internal/slices #63386
- Add a collections library to dependencies.
- Refactor and document GitTreeTranslator #63390
- batches: remove visibility options from create batch changes page #63393
- remove visibility options from create batch change page
- enterpriseportal: only use 'revoke' verb for licenses #63407
- bazel: bump rules_js to address permissions denied warning #63419
- ci: emit compact executon log in CI #63420
- batches: remove beta badge from batch changes #63423
- Remove Beta badge from Batch Changes pages.
- enterpriseportal: split database package #63425
- enterpriseportal: properly close DB handle #63426
- codeintel: Differentiate between paths relative to upload root vs repo root #63437
- batches: remove beta badge from Batch Changes page #63441
- the Beta badge is now removed from Batch Changes
- plg: add useEmbeddedUI site config param #63442
- svelte: Properly route to revision agnostic pages #63444
- enterpriseportal: tweak maybeMigrate tracing #63448
- ci: emit compact executon log in CI for test + build commands only #63451
- enterpriseportal: propagate context to migration database context #63455
- svelte: Hide cody nav entries and upsell banner when cody isn't enabled #63463
- Add collection type - OrderedSet #63469
- bazel: don't stamp yq rule for wolfi base images #63470
- bazel: add client/backstage-frontend to bazelignore #63471
- svelte: Upgrade SvelteKit #63490
- enterpriseportal: rename customer admin role in API #63501
- enterpriseportal: add test for iam_model #63503
- codygatewayevents: extract into standalone package for reuse, split up internal/codygateway #63528
- local: add dotcom-cody-e2e commandset #63548
- linearhooks: use MSP rollouts #63556
- analytics: remove Cody characters events from inclusion in pin… #63557
- search: VSCode Search extension: Remove signup link for sourcegraph.com #63558
- Remove links to create an account on sourcegraph.com because it no longer hosts private code.
- search: VSCode Search extension: Remove url and token from configuration #63559
- Remove access token and URL from extension settings because they are managed in the extension now.
- preserve format imposed by bazel #63561
- Add feature flag for new SCIP-based GraphQL APIs #63565
- Simplify path trimming logic in perm checking #63574
- Set scipBasedAPIs to off by default #63575
- Use api.RepoID and api.CommitID in more places #63596
- local: sg warns about opposite default value on dev builds #63612
- local: make sg handle empty secret file gracefully #63614
- local: simplify sg teammate #63667
- svelte: Cleanup dependencies #63691
- drop isGitHubApp field from batch changes credentials #63709
- reword headline from tokens to credentials #63714
- redis: set max active redis connections to 1000 #63718
- redis-pool: set max active clients to 1000
- security: Updated dind image to 27-0-3 #63725
- Upgraded dind to 27.0.3 to patch CVE-2024-24790 vulnerability
- svelte: Update to latest cody web version #63732
- svelte: Use MDI icons for seach input pattern type toggles #63733
- svelte: Update cody web version #63747
- add changelog entry for Batch Changes - GitHub apps integration #63756
- Batch Changes: GitHub apps can now be added as a credential for authentication and interacting with changesets. #31533
Feat
- ci: Adds playwright tests for sveltekit to bazel #62560
- search: Add Syntax Highlighting for Hack Language #62770
- search: Add Syntax Highlighting for Magik language #62919
- Added syntax highlighting for the Magik programming language.
- msp: allow enablement of logical replication features for Datastream #63092
- MSP services can now configure
postgreSQL.logicalReplication
to enable Data Analytics team to replicate selected database tables into BigQuery.
- MSP services can now configure
- search: Support Magik language file filter in search #63110
- Added Magik language to language filters (
lang:magik
)
- Added Magik language to language filters (
- sg: add command to generate a dotcom user gateway access token #63125
- appliance: deploy frontend #63158
- Appliance (still unreleased) can deploy frontend.
- appliance: deploy searcher #63191
- Appliance (as yet unreleased) can deploy Searcher.
- gitserver: don't log memoryObservation error if it occured b/c context cancellation #63210
- Reduce logspam in the gitserver command functionality by ignoring memory observation errors if they occurred due to external context cancellation.
- plg: Add new Checkout flow that uses Stripe's
createToken
API #63213 - gitserver: avoid logspam from deadline exceeded memory tracking errors #63215
- In the gitserver new command logic, logspam from the memory observer when the context error is deadline exceeded will no longer occur.
- plg: Add seats #63227
- Search: Add icon for the Hack language #63233
- Adds icon for the Hack language
- plg: Apply designs to Cody Pro pages #63244
- plg: Use react-query for team management #63267
- ci: Trigger security scanner from release pipeline #63280
- Added security scanner to the release pipeline
- plg: remove accept invite page #63290
- enterpriseportal: UpdateCodyGatewayAccess RPC definition #63307
- enterpriseportal: CreateEnterpriseSubscription RPC definition #63308
- enterpriseportal: add Salesforce metadata at subscription level #63317
- sg: command to add default site-admin with predefined access token #63320
- enterpriseportal: CreateEnterpriseSubscriptionLicense RPC defininition #63323
- enterpriseportal: ArchiveEnterpriseSubscription RPC definition #63330
- enterpriseportal: RevokeEnterpriseSubscriptionLicense RPC definition #63331
- Add id for CodeGraphData #63337
- codeintel: Add precise auto-inferencing for dotnet #63348
- Enable automatic precise indexing of .NET projects
- plg: Update Cody Pro badge deck #63352
- appliance: appliance docker container #63357
- feat(appliance): create docker container
- plg: Tweak invite co-workers flow #63374
- plg: Invite users on Cody Dashboard #63375
- plg: require confirmation before removing user or revoking admin #63388
- svelte: Make fuzzy finder matching more reliable #63397
- Add 'search all' tab
- Support multi-word search
- Support regular expression patterns
- Fix matching reliability
- plg: remove seats from subscription #63408
- sg: add 'sg enterprise' commands for Cody Analytics #63414
- enterpriseportal: validate and normalize instance domains #63415
- appliance: local developer mode #63417
- Local developer mode for appliance config authors.
- enterpriseportal: use UUID type for subscription ID #63452
- enterpriseportal: initialize subscriptions tables #63453
- enterpriseportal: init licenses tables #63454
- enterpriseportal: init Cody Gateway Access table #63457
- dotcom: show subscription UUID in Enterprise Portal format #63482
- sg: add -auto-approve option for 'sg enterprise' updates #63500
- enterpriseportal: make UpdateEnterpriseSubscriptionMembership authoritative #63502
- codeintel: Add scip-ctags support for Magik #63504
- Add symbol browsing support for the Magik language
- enterpriseportal: define GetCodyGatewayUsage RPC, use uint64 for rate limits #63531
- remove experimental label from batches merge changesets action #63542
- enterpriseportal: implement GetCodyGatewayUsage RPC #63555
- search: Make search aware of perforce changelist id mapping #63563
- For perforce depots, support searching within a specific changelist by specifying a ref like
context:global repo:^repo/name$@changelist/83854
- For perforce depots, support searching within a specific changelist by specifying a ref like
- introduce database fields for github apps - batch changes integration, and update database layer #63577
- sg: sqlite-backed local store for sg analytics #63578
- search: remove keyword toggle #63584The keyword search toggle has been removed from the search results page. Keyword search is now enabled by default for all searches in the Sourcegraph web app.
- sg: one-time oauth login to persist user email for analytics #63603
- cody: Expose Sg modelconfig data via HTTP REST API #63604Sourcegraph instances how expose an HTTP endpoint that authenticated users can call to get a list of LLM models supported by the Sourcegraph instance. In the future this will be used to allow Cody users to select the LLM model dynamically, based on what is currently available.
- batches: use "keyword" as default pattern type #63613
- The new (optional) field "version" of batch specs determines how the spec is processed. This allows us to introduce new features while maintaining backward compatability.
- A new version
2
is introduced. Batch specs specifyingversion: 2
will use keyword search as the default pattern type to determine repos/workspaces. Batch specs withversion: 1
or without version field keep using pattern type "standard".
- svelte: Make diff headers on commit page sticky #63615
- implement functionality to create credential GitHub apps #63635
- svelte: Add Cody chat sidebar #63638
- dotcom: add Enterprise Portal auth proxy #63652
- svelte: Add cody button to repo home page #63684
- dotcom: remove per-user Enterprise subscriptions UI #63698
- enterpriseportal: database layer for subscriptions upsert #63703
- svelte: Add reblame support to blame column #63727
- Source: Properly render multi-line changelist messages from Perforce #63728
- Properly render multi-line perforce changelist descriptions
Fix
- appliance: use version for image tags #63075
- Appliance uses requested version as image tag, instead of requiring sha256 digests.
- sg: fix cloud eph suggested commands #63093
- fix suggested cloud ephemeral commands
- show duration till expiry for cloud ephemeral
- release: remove generate-notes from github release creation #63121
- remove
generate-notes
cli flag when promoting releases - push only a single tag
- fix token name used in changelog generation
- remove
- search: Properly handle URLs with file paths that contain route segments #63123
- SCIM: don't allow SCIM users to change fields #63130
- highlighting: Update JSX/TSX highlighting to more properly label tag delimiters #63138
- Update highlighting of JSX/TSX Tags to correctly label delimiters
- highlighting: Improve highlighting for Magik language #63155
- Correctly identify null and symbols in Magik language syntax highlighting
- search: Contributors page errors with empty date string #63182
- tests: Clean up mocks after test #63201
- local: disable bazel remote cache #63203
- search: Copy text from read-only code host configuration input #63239
- plg: Fix "Remove team member" feature #63241
- svelte: scrolling search input #63261
- search: VSCode Search extension: remove auth provider #63262
- Remove interaction between the Sourcegraph Search extension and the Accounts menu.
- search: Better diagnostic message for invalid and incomplete select: filter value #63266
- Show useful valid values when an invalid
select:
value is entered - Do not render empty hover tooltips
- Show useful valid values when an invalid
- search: Improve syntax highlighting of search history entries #63271
- search: Ignore *lock keys for keyboard shortcut matching #63272
- svelte: Add trailing slash to group and directory suggestions #63273
- Source: Fix documentation URLs for code hosts help pages #63274
- Fix in-product documentation links for code hosts to point to updated docs location
- ci: remove broken glob #63277
- Don't mark references in import statements as definitions #63284
- Fixes a bug where import statements in TypeScript code showed up in
type:symbol
search.
- Fixes a bug where import statements in TypeScript code showed up in
- plg: banner styles #63287
- svelte: Fix icon color in search sidebar #63288
- svelte: Open correct file from preview panel line number #63309
- svelte: Reference panel width #63310
- svelte: Fix reference panel loading/error state #63316
- svelte: Properly scope global CSS selector #63332
- svelte: Preserve selected lines in codehost URL #63334
- Line selection is preserved when navigating to GitHub or GitLab external URLs
- File actions are now available in the inline 'at commit' view
- File icon is now rendered in the file header for the inline diff view
- svelte: History suggestions should show immediately when clicking the history button #63335
- batches: disallow retry on deleted changesets #63336
- Disallow auto-retry when a changeset is deleted.
- svelte: Data/code preloading doesn't work when using panels #63339
- svelte: Use correct symbol icon color #63355
- api: only allow a user or site admin to view that user's usage stats #63365
- client: restore paths for extension bundles #63402
- sg: fix mangled log output from
sg start
andsg run
#63405 - enterpriseportal: ListEnterpriseSubscriptions fixes #63412
- svelte: Properly rounded corner for file view hover cards #63446
- analytics: fix broken v1 codeintel event logging #63449
- plg: ensure invite flow is enabled only for embedded UI #63466
- Check (uploadID, path) pairs in bulk #63485
- search: remove "lucky" from default pattern types #63486
- Removed experimental pattern type "lucky" from the list of supported default pattern types.
- sg: reduce max interrupt count and os.Exit always #63516
- sg - Always os.Exit once shutdown hooks have completed
- sg - Reduce max intterupt count from 5 to 2 to hard exit
- batches: remove leading and trailing spaces from batch changes credentials #63517
- Whitespaces in Batch Changes credentials are trimmed before being saved to the database, this prevents 401 errors when using the token to construct an authenticated push URL.
- search: VSCode Search extension: bring back matched lines in search results. #63524
- sg: fix 'sg enterprise' per-command flags #63527
- sg: conditionally show protips #63541
- sg - conditionally show protips when running
sg bazel
- sg - conditionally show protips when running
- search: Token decoration in keyword-enabled query input #63543
- svelte: Reference layout shift while loading data #63546
- batches: fix zero division error resulting in wrong stats computation #63547
- enterpriseportal: forcibly run gorm-incompatible migration in local dev #63549
- telemetrygateway: reduce context cancellation error reports #63551
- search: VSCode Search extension: hide file preview link #63552
- svelte: Fix unplugin icons usage in storybook #63594
- ci: panic using correct err #63599
- ci - use correct err value to panic on
- svelte: Remove rogue console.log statement #63600
- search: Don't show inline cody widget when new cody web is enabled #63608
- actions: update pinned SHA for
pnpm/action-setup
action #63632 - batches: display failure alert depending on github app kind #63633
- svelte: Render correct error page #63663
- svelte: Use 'pointer' pointer for cody button #63665
- svelte: Respect cody ignore settings #63677
- svelte: Fixes excessive 'the hotkey ... has already been registered' messages #63679
- batches: fix broken credential validator #63687
- svelte: Properly load/serve version.json #63688
- codygateway: tweak enterprise-portal dial options #63692
- batches: fix broken
ghauth
import #63693 - svelte: Update cody web #63710
- better alignemnt of github credentials and check success notice #63717
- show success notice in the correct area #63721
- svelte: Prefill search home page query input with (default) context filter #63740
- remove watch path that's gone #63746
- batches: enable check for creating source as non credential #63751
- build: update wolfi image lock for otel #63755
- fix(build): update wolfi lock for otel-collector
Refactor
- cody: Reshape the
CompletionsClient
interface #63358NA, just some under the hood refactoring that shouldn't impact any functionality.
Test
- cody: Add unit tests for the Completions API #63434NA. Just trivial changes and adding more tests.
Reverts
Uncategorized
- gitserver: Sunset Exec endpoint #62774
- gitserver: Cleanup CreateCommitFromPatch #62781
- [React]: Add initial usage of the new web worker-based cody web chat #62792
- gitserver: Framework to support integration testing against gitserver #62801
- feat/internal/memcmd: add internal/memcmd package to allow for memory tracking of exec.Cmd processes #62803This feature adds a package that allows us to track the memory usage of commands invoked via exec.Cmd.
- feat(search/svelte): Add context specific suggestions to repo search input #62880
- feat/cody-gateway: use Enterprise Portal for actor/productsubscriptions #62934
- Reimplement license checks #63068
- Svelte: inject into primary
app.html
#63088 - Syntactic Indexing: add TAR archive indexing mode to scip-syntax CLI #63097
- Add Support for Counting Tokens for Azure Code and Update in Redis #63100
- enterprise-portal: update RPC for subscription domain and members #63105
- Cody Gateway embeddings: powering with generated metadata - take 2 #63112
- fix(Cody Gateway): add model field to Google completion request #63113
- feat/cmd/gitserver: add memory tracking for both linux and macos #63114Adds a new experimental feature to enable track of
git
command memory invocations when theGITSERVER_MEMORY_OBSERVATION_ENABLED
environment variable is true (off by default). - feat/sg-msp-pg: add suggestion to check msp-ops page on perms error #63118
sg msp pg connect
will tell you about your service's generated Notion page if you run into a permissions-looking error during command setup, where there is guidance about the required Entitle requests.
- Svelte: add sentry #63126
- sg: deny cloud ephemeral builds from main #63127
- deny cloud ephemeral deployments triggered from 'main'
- svelte: Add bottom panel close button #63128
- Added bottom panel close button
- Added 'text' variant to Button component
- Added 'actions' slot to Tabs component
- Added Button component stories
- svelte: Migrate repo sidebar toggle button to use lucide icon #63129
- bug: update hard coded consts #63133
- tmp process: update release consts to 5.4.5099
- Reapply "gitserver(client): Reintroduce 500 maximum connections limit" #63134
- scim: Fix user updates when SCIM was previously enabled #63135
- enterprise-portal: rename "scope" to "permission" for query RPC #63137
- enterprise-portal: init database schema and handler store #63139
- Svelte: allow popovers to have external targets #63141
- feat/enterprise-portal: rudimentary audit logging #63142
- build: fixup custom eslint test rule after bump to rules_js 2 #63143
- Remove references to 'rate-limits-exceeded-for-testing' feature flag #63144
- security: Auto-update package lockfiles for Sourcegraph base images #63145
- Svelte: fix tests #63146
- gitserver: Remove comment about error checking #63147
- Adds stubs for usage connection resolver #63156
- feat/enterprise-portal: return all attributes, even when access is disabled #63159
- webhooks: Update payload testdata and type for Bitbucket Server push events #63161
- fix/enterprise-portal: ignore empty hashes for Cody Gateway access tokens #63162
- feat(cody-gateway): add Google Gemini stable models to allowed models #63163
- feat/msp/runtime: PG_QUERY_LOGGING=true for local dev query logging #63164
- MSP runtime users can now set
PG_QUERY_LOGGING=true
to dump queries and arguments from database interactions atDEBUG
level in local dev.
- MSP runtime users can now set
- msp: encode commit_message as base64 #63165
- Cody Gateway: Add support for Google non-streaming endpoint #63166
- Svelte: add Cody upsell banner #63167
- chore/cody-gateway: instrument removeUnseenTokens #63169
- Svelte: add footer links for dotcom #63170
- chore/otel-collector: upgrade to v0.103.0, remove jaegerexporter #63171
- OpenTelemetry Collector: Upgraded OpenTelemetry Collector to v0.103.0
- OpenTelemetry Collector: The deprecated . Users of
exporter: { jaeger: ... }
in the OpenTelemetry Collector should useexporter: { otlp/jaeger: ... }
to send traces directly to Jaeger via its OTLP receiver.- Users of the default Jaeger configurations now need to provide
JAEGER_OTLP_GRPC_PORT
as well as the existingJAEGER_HOST
configuration.
- Users of the default Jaeger configurations now need to provide
- Cody Gateway: handle streams with trailing newline in Gemini response #63172
- enterprise-portal: implement basic MSP IAM and RPCs #63173
- Fix: auth issues with Sourcegraph VSCode extension #63175
- Entering the URL and access token in the UI now works - no more manual editing of
settings.json
- Entering the URL and access token in the UI now works - no more manual editing of
- Adds a search client to the codenav service #63180
- feat(search/svelte): Support more file icons #63181
- dotcom: fix issue with dotcom emails #63183
- fix(search/svelte): Hide diff view when closing bottom panel #63184
- Extend instructions for running CG locally #63186
- enterprise-portal: temporarily disable local DB migrate #63187
- SSC: Fix "Make admin" and "Revoke admin" button actions #63188fix(plg): fixed "Make admin" and "Revoke admin" button actions
- Resolve syntactic symbol at request range #63189
- SSC: Fix checkout links #63190fix(plg): make upgrade links point to the right pages for Teams & Invites
- [Svelte]: Fix standard click-based popover flow #63192
- Fix: querying event logs breaks when "id" column value > int32 #63193
- Address "value out of range" errors when querying the event logs
- sg: cloud eph - improve missing tag/version message #63195
- sg - improve messaging when an image is missing from Cloud ephemeral registry
- Adds function to find candidate occurrences via search #63196
- webhooks: Add support for secrets for Bitbucket Cloud #63198
- context: detect if README is required #63199
- sg: cloud eph - set max deployment name #63202
- sg - set a max length for cloud ephemeral deployment names
- fix/internal/memcmd: fix goroutine leak in linux observer #63206A goroutine leak in the experimental linux memory observation logic has been fixed.
- feat/internal/memcmd: ignore context cancellation errors from Stop() #63208
- Slightly improve logspam from Linux memory observation logic by ignoring context cancellation errors that occur when the user explicitly stopped the observer.
- Use 8B version of llama3 in metadata generation #63212
- fix/internal/memcmd: close the explicit stop channel before cancelling context #63214This PR fixes a logspam bug in the linux memory observer that was due to do slightly faulty synchronizzation logic.
- internal: make adding EventsStore middleware easier #63216
- Codenav: use new occurrences API for symbol definitions #63217
- Svelte: remove v1 telemetry #63220
- Svelte: use Inter font for --font-family-base #63221
- Proof-of-concept for Intent detector API #63228
- Add unit test for saml requests with multiple certs #63229
- chore(search/svelte): Remove dependencies on barrel files to speed up dev build #63230
- PLG: Allow users who are already on a team accept invites #63231
- Svelte: use Roboto Mono as monospace font #63247
- Chore: disable flaky tests #63251
- Svelte: implement keyboard shortcut design #63253
- Svelte: add repo header dropdown menu #63257
- fix(cody-gateway): Improve prompt and request validation for gemini #63258
- Filters candidate matches against syntactic SCIP documents #63268
- PLG: encode URL search params #63275
- Chore: update goldmark #63276
- Cody Gateway: add gemini model to code completion list #63278
- Adding Anthropic messages API support to the Google provider through Google vertex #63282
- adding deepseek and lang specific mixtral for completions ab experiment #63283
- Wraps up syntactic usages in resolvers #63285
- fix(cody-gateway): Disable flagging Google requests #63295
- Svelte: fix sidebar icon alignment #63296
- fix/graphql/database: make count of failed user permissions syncs ignore soft deleted users #63297
- The failed user permission sync count on the permission dashboard now properly ignores syncs from deleted users (which is the expected behavior).
- fix/graphql/database: fix repo permission sync count to ignore soft deleted repositories #63298
- The failed repository permission sync count on the permission dashboard now properly ignores syncs from deleted repository (which is the expected behavior).
- feature/internal/database: add test to ensure that not found errors fulfiill errcode.NotFound #63299
- Added unit tests to ensure that the database userNotFound and RepositoryNotFound error types fulfuill the errcode.NotFound interface.
- Context: simplify file chunk conversion #63301
- fix/frontend/graphql: log and add trace events for all non-not-found errors that occur when fetching permission syncs #63302
- Our graphqlAPI now logs and traces any non-not-found errors that occur when fetching permission sync jobs (as opposed to being silently swallowed).
- feat(cody gateway): code completion support for Google Gemini Flash models #63303feat(cody gateway): code completion support for Google Gemini Flash models
- fix(cody-gateway): Fix Google flagging configuration #63305
- fix(cody-gateway): streaming google endpoint #63306
- syntax-highlighter: Use camino to make handling utf8 paths nicer #63311
- Retry 404 errors from Triton #63315
- Minor: update license wording #63318
- Svelte: repo header followups #63319
- dotcom: Remove on-demand cloning of repositories #63321Dotcom no longer clones repos on demand.
- Chore: remove search console #63322
- wip: Introduce
cody-gateway-config
tool for generating model configuration #63324NA, this is an initial step. A later PR will elaborate on the exciting new feature this is enabling. - V2-telemetry: Simplify sensitive metadata allowlist to accept feature only #63325
- Search: surface pattern type in query input #63326
- code monitors: respect default pattern type #63333
- Use math/rand/v2 #63346
- Cody pro icon was squashed in the upgrade banner #63356
- Refactor the 'getModel' callbacks into their own file #63359NA
- fix/msp/postgresqlroles: wait for databases to be provisioned #63362
- MSP Cloud SQL: Fix race condition between database creation and role grants for the read-only operator access user
- skip highlighting large lockfiles on all instances, not just dotcom #63366
- Syntax highlighting is disabled on lockfiles (such as
package-lock.json
) because it is CPU-intensive on these large files and very rarely desirable.
- Syntax highlighting is disabled on lockfiles (such as
- allow repo access by default on dotcom #63367
- clearer access tokens allow check on dotcom #63368
- nix: use go1.22.4 #63372
- remove extraneous Cody onboarding steps #63373
- Publish images from patch release branches #63379
- plg: Make page headers the same style #63380
- Improve InviteUsers interface #63383
- Cody Gateway: New Claude 3.5 Sonnet model #63395feature(plg): new Claude 3.5 Sonnet model support for Cody Pro users
- Search: expose path matches on FileMatch #63396
- Exposed the matched ranges of a file path via the GraphQL API
- Svelte: Make the byline in the fuzzy finder items bigger #63398
- msp: add
GetFloat
to runtimeEnv
#63399 - fix(cody-gateway): model id for claude 3.5 sonnet #63400
- fix(cody-gateway): getAPIURL before transformBody #63406
- Search: always respect default pattern type #63410
- feat(cody-gateway): add support for Gemini models with context cache #63413
- Rename intent API (add chat reference, make the name more idiomatic) #63416
- Add language ID to private metadata for v2 codeintel events (for in p… #63421
- lib: downgrade GORM to 1.25.6 #63427
- "Cody" in navbar not "Cody AI" #63429
- In the navbar, Cody is now just "Cody" not "Cody AI".
- remove Cody "upsells"—and all Cody links if Cody is disabled #63430
- When Cody is disabled in site config (with
"cody.enabled": false
), all links and UI elements about Cody are hidden from all users. Previously, when Cody was disabled, users would see some links informing them about Cody.
- When Cody is disabled in site config (with
- remove disabled web UI code for embeddings #63432
- remove rule warning about React props spreading #63433
- support fast, simple
sg start single-program-experimental-blame-sqs
for local dev #63435 - config: Various fixes and updating the naming rules for ModelConfig resource IDs #63436
- remove unused CODY_APP esbuild config and entrypoint #63438
- remove old and unused Cody search page #63439
- remove Code Search upsell from Cody page #63440
- scip-syntax: adds strict SCIP symbol parsing and formatting #63443
- fix(code hosts): Use more deterministic API endpoints for GitHub code host connections #63445
- The
"internal"
repositoryQuery for GitHub code host connections now use a more deterministic API that's less susceptible to missing repositories - The
"public"
repositoryQuery for GitHub code host connections now make additional requests to fetch missing repository details, like topics. This fixes an issue where repos added by the"public"
repositoryQuery would have missing repo details
- The
- add back /post-sign-up #63456
- Add v2 telemetry infrastructure to browser extensions and native inte… #63458
- allow more models to be used in Cody Free #63459
- Gateway: forward X-Fireworks-Genie header from client #63460
- Search-based usages for new codenav API #63464
- chore(code-search): disable codemonitoring dotcom (jscontext) #63465
- notebooks: store default pattern type per notebook #63472
- Chore: refactoring occurrence indexing #63473
- Update free tier limits #63474
- Svelte: add debug view for code intel occurrences #63475
- Chore: fix repo stars alignment #63476
- omit go:embed of big assets from
sg start single-program-experimental-blame-sqs
#63477 - fix chopped-off tooltips in code monitor query input #63478
- Fixed an issue when creating or editing a code monitor that obscured helpful tooltips in the query editor.
- add React key to fragments in code monitoring logs #63479
- remove beta labels for code monitoring Slack notifs & logs #63480
- Code monitoring Slack notifications, previously in beta, are now GA. This feature lets you post matching code changes to a Slack channel.
- Code monitoring logs, previously in beta, are now GA. This feature lets you see the status of and activity related to code monitors to troubleshoot issues with finding results and performing configured actions.
- shorter PR template #63481
- cloud: add feature flags to show no edit warning #63484
- saved searches: use default pattern type #63487
- search: fix regexp toggle if regexp is default #63489
- Fix azure completions api #63491
- Enable new Cody Web by default #63493
- msp: split contract into JobContract and ServiceContract #63494
- Svelte: improve contrast for file tree guide line #63495
- fix/internal/observation: make ErrCollector type threadsafe #63496
- Fixed a threadsafety issue in the internal/observation.ErrCollector type
- Fix initial context for Cody Web on the repository page #63497
- Cody Web: Fix Cody page for signed out users #63498
- cloud: update feature flag warning severity #63499n/a
- Svelte: rev picker design updates and addition to commits page #63506
- oops, fix Cody Web enablement #63508
- fix Cody nav link for unauthed dotcom users #63510
- looser eslint rules #63511
- remove unused CTAs #63512
- misc wording and UI tweaks to search contexts pages #63513
- make Cody and Code Search global navbar items one-click #63514
- Code Search and Cody now are one-click links in the global navbar. Other features are in the new "Tools" menu: search contexts, code monitors, search jobs, and notebooks. Your Cody dashboard is linked from your user menu (in the top right).
- Bump
cody-web-experimental
package version #63525 - sg: generate github action subscription matrix dynamically #63526
- backend: Introduce a basic utils package for appliance sourcegraph upgrades #63529
- link to Cody chat on the web from the Cody manage page #63530
- feature: Data types for encoding LLM Model config via Sourcegraph site config #63533
- release: resource def jaeger #63534
- release: resource def grafana #63535
- scip-syntax: implements parallel processing for workspace and tar commands #63536
- add LazyQueryInputFormControl, remove duplicated common pattern #63537
- fetch User.id to suppress GraphQL cache warning #63538
- fix(sg/bazel-do): use ci.sourcegraph.bazelrc with bazel-do #63545
- sg - ensure bazel-do invocations use the ci sourcegraph bazelrc
- (chore)analytics: consistent naming of web code copied events #63550
- update config for workflows 5.10 #63554
- chore(search) VSCode Search extension: Update README and CHANGELOG #63562
- perf(scip-syntax): uses the same parse tree for globals and locals #63564
- make
<Label>
element focus & select at end to match native label behavior #63568 - fix bug preventing site admins from directly adding org members when email.smtp was set #63569
- Fixed a bug where site admins could not directly add users to an organization if (1) email sending was configured for the instance and (2) the user had no verified email address.
- cosmetic improvements to OrgSettingsMemberPage, UserEmail #63570
- Minor cosmetic improvements to the pages for managing organization members and user email addresses.
- narrow NamespaceProps type #63571
- suppress ResizeObserver type error #63572
- Marks search-based usages as definitions or references #63576
- insights: persist patternType in db #63579
- Syntactic indexing produce scip files #63580
- Chore: Calendar Updates #63583
- chore(release): Update calendar events until September
- chore(release): Remove branch cut automation from
calendar.go
- Cody context: fix an issue with anchoring repo names #63585
- Fixes a bug that caused context to be fetched for Cody from irrelevant repos
- feature: migrate maintenance from sourcegraph-operator-ui #63586
- Search: restore snippets to filters sidebar #63587
- Restores search snippets in the search sidebar
- clean up FilteredConnection filter types and code #63590
- Add a better Cody client server-sent configuration mechanism #63591
- fetch NamespaceSelector namespaces from GraphQL (
viewer { affiliatedNamespaces }
) #63592 - Implement UI for Github Apps - Batch Changes integration #63597
- Trivial additions #63601NA
- fix/cody-gateway: use keepalive/idle timeout options for Enterprise Portal #63605
- security: Auto-update package lockfiles for Sourcegraph base images #63606
- remove autocomplete limit from Cody dashboard page #63609
- Adds a test for search-based usages #63610
- fix(perforce) Fix support for p4breaker workaround scripts #63611
- Fixed an issue where Sourcegraph would no longer be able to decode Perforce permissions if
p4broker
is used, provided that the filter script gets adjusted as well.
- Fixed an issue where Sourcegraph would no longer be able to decode Perforce permissions if
- vsce: patch release v2.2.17 #63617
- Add SourcegraphModelConfig.AccessToken #63619NA
- Svelte: add mutation observer to
sizeToFit
#63620 - Pick up CompletionsConfig.User for the AzureOpenAI API Provider #63621NA
- Fix annoying consistency #63623NA
- fix/client/dev: update proxy overwrite to respect authProviders #63624
- codygateway: Use only one redis pool and make REDIS_ENDPOINT a clear requirement in config #63625
- Add GenericProviderConfig.ServiceName #63626NA
- Documents that usages are first bucketed by provenance #63629
- Fix the scheduling interval for syntactic indexing #63634
- Adds Option for codeintel #63637
- docs: Fix inaccuracies in RangeInput GraphQL docs #63640
- Add ModelRef.APIVersionID() #63643NA
- rcache: Explicitly pass redis pool to use #63644
- Remove old cache cleanup method #63645
- Remove unused package #63646
- Unexport some externally irrelevant symbols from uploadstore #63647
- add new "modelConfiguration" schema to site config #63654Changelog entry will come later with proper docs link, when we are ready for customers to use this.
- Convert Appliance Maintenance UI to Bazel #63661
- notebooks: set default pattern type to keyword #63662
- remove long-unused UI routes #63670
- add database.NotFoundError helper type #63671
- improve FilteredConnection filter types #63672
- Bump code-web-experimental version to 0.2.0 #63675
- scheduler: Simplify query for uncloned repos #63681
- phabricator: Move syncer to worker #63682
- React app: bump cody web to 0.2.1 #63694
- Svelte: encode path components in file header #63695
- site config: minor fixes, make modelConfiguration enable new backend models API, initial self-hosted model config #63697N/A
- searcher: Modernize entrypoint and gRPC server #63700
- adding deepseek-v2 and deepseek fine-tuned model trained on symbol graph context #63702
- modelconfig: handle converting site config JSON -> internal data types #63706Has no effect on users unless they opt into the early-access
"modelConfiguration"
site config feature. - symbols: Minor code cleanup #63708
- sg: when in CI we do not need to prompt for an identity #63712
- update changelog: Keyword search GA #63715
- keyword search: remove beta badge #63720
- Cody Web: bump cody web to 0.2.3 #63723
- Backend: add line index #63726
- squirrel: Correctly use request context #63729
- Several refactoring to prepare for rolling out modelconfig #63731NA
- symbols: Make symbols specific code internal #63736
- Chore: remove gorilla/schema #63738
- pass ModelConfigInfo down to client.Get() for self-hosted-models #63739N/A
- Bump cody-web-experimental to 0.2.4 #63742
- feat(sg/cloud): trigger build on cloud-ephemeral pipeline #63748
sg cloud eph
will now trigger builds on thecloud-ephemeral
pipeline
- chore(security) : upgrade src-cli version to address CVE #63750Upgrade src-cli version to 5.4.0 to address CVE-2024-24790 , CVE-2023-45288
v5.4.7765
Reverts
Uncategorized
- 63131 [Backport 5.4.5099] scim: Fix random suffix added to every user on resync
- 63148 [Backport 5.4.5099] fix(release): remove generate-notes from github r…
- remove
generate-notes
cli flag when promoting releases - push only a single tag
- fix token name used in changelog generation
- Tag creation on release is idempotent, even in environments that cache the git repository (e.g. buildkite runners)
- remove
- 63152 [Backport 5.4.5099] chore(release): remind releasers of tag pipeline
- Remind releasers of tag pipeline as final step. Backport 2be933cda9ac893f44d3da308052cce8be70cb7c from #63150
- 63178 [Backport 5.4.5099] release: never use build number in image family Backport 8bb0ab54ebbf4c7d356397dc0da29cb98ea3e14f from #63157
- 63392 [Backport 5.4.5099] chore(tooling): bump Go version to 1.22.4
- Bumped version of Go used to build to 1.22.4 Backport bb178ba729d160d834bf7fcbb4414f0f95e4d0df from #63124