All Versions
247
Latest Version
Avg Release Cycle
4 days
Latest Release
-

Changelog History
Page 23

  • v2.9.0-pre0 Changes

    πŸ”„ Changed

    • Search scopes have been consolidated into the "Filters" bar on the search results page.
    • πŸ‘‰ Usernames and organization names of up to 255 characters are allowed. Previously the max length was 38.

    πŸ›  Fixed

    • The target commit ID of a Git tag object (i.e., not lightweight Git tag refs) is now dereferenced correctly. Previously the tag object's OID was given.
    • πŸ›  Fixed an issue where AWS Code Commit would hit the rate limit.
    • πŸ›  Fixed an issue where dismissing the search suggestions dropdown did not unfocus previously highlighted suggestions.
    • πŸ›  Fixed an issue where search suggestions would appear twice.
    • ⏱ Indexed searches now return partial results if they timeout.
    • Git repositories with files whose paths contain .git path components are now usable (via indexed and non-indexed search and code intelligence). These corrupt repositories are rare and generally were created by converting some other VCS repository to Git (the Git CLI will forbid creation of such paths).
    • 🐎 Various diff search performance improvements and bug fixes.
    • πŸ†• New Phabricator extension versions would used cached stylesheets instead of the upgraded version.
    • πŸ›  Fixed an issue where hovers would show an error for Rust and C/C++ files.

    βž• Added

    • 🌲 The sourcegraph/server container now emits the most recent log message when redis terminates to make it easier to debug why redis stopped.
    • Organization invites (which allow users to invite other users to join organizations) are significantly improved. A new accept-invitation page was added.
    • πŸ“š The new help popover allows users to easily file issues in the Sourcegraph public issue tracker and view documentation.
    • An issue where Java files would be highlighted incorrectly if they contained JavaDoc blocks with an uneven number of opening/closing *s.

    βœ‚ Removed

    • πŸ”§ The secretKey site configuration value is no longer needed. It was only used for generating tokens for inviting a user to an organization. The invitation is now stored in the database associated with the recipient, so a secret token is no longer needed.
    • πŸ”§ The experimentalFeatures.searchTimeoutParameter site configuration value has been removed. It defaulted to enabled in 2.8 and it is no longer possible to disable.

    βž• Added

    • Syntax highlighting for:
      • TOML files (including Go Gopkg.lock and Rust Cargo.lock files).
      • Rust files.
      • GraphQL files.
      • Protobuf files.
      • .editorconfig files.
  • v2.8.9 Changes

    πŸ”„ Changed

    • 🚚 The "invite user" site admin page was moved to a sub-page of the users page (/site-admin/users/new).
    • It is now possible for a site admin to create a new user without providing an email address.

    πŸ›  Fixed

    • πŸ‘― Checks for whether a repo is cloned will no longer exhaust open file pools over time.

    βž• Added

    • πŸ‘ The Phabricator extension shows code intelligence status and supports enabling / disabling code intelligence for files.
  • v2.8.8 Changes

    πŸ”„ Changed

    • Queries for repositories (in the explore, site admin repositories, and repository header dropdown) are matched on case-insensitive substrings, not using fuzzy matching logic.
    • HTTP Authorization headers with an unrecognized scheme are ignored; they no longer cause the HTTP request to be rejected with HTTP 401 Unauthorized and an "Invalid Authorization header." error.
    • πŸ“‡ Renamed the max search flag to count. Searches that specify count: will fetch at least that number of results, or the full result set.
    • ⬆️ Bumped lsp-proxy's initialize timeout to 3 minutes for every language.
    • Search results are now sorted by repository and file name.
    • More easily accessible "Show more" button at the top of the search results page.
    • πŸ—„ Results from user satisfaction surveys are now always hosted locally and visible to admins. The "experimentalFeatures": { "hostSurveysLocally" } config option has been deprecated.
    • If the OpenID Connect authentication provider reports that a user's email address is not verified, the authentication attempt will fail.

    πŸ›  Fixed

    • πŸ›  Fixed an issue where the search results page would not update its title.
    • ⚑️ The session cookie name is now sgs (not sg-session) so that Sourcegraph 2.7 and Sourcegraph 2.8 can be run side-by-side temporarily during a rolling update without clearing each other's session cookies.
    • πŸ›  Fixed the default hostnames of the C# and R language servers
    • πŸ›  Fixed an issue where deleting an organization prevented the creation of organizations with the name of the deleted organization.
    • Non-UTF8 encoded files (e.g. ISO-8859-1/Latin1, UTF16, etc) are now displayed as text properly rather than being detected as binary files.
    • πŸ‘Œ Improved error message when lsp-proxy's initalize timeout occurs
    • Fixed compatibility issues and added instructions for using Microsoft ADFS 2.1 and 3.0 for SAML authentication.
    • πŸ›  Fixed an issue where external accounts associated with deleted user accounts would still be returned by the GraphQL API. This caused the site admin external accounts page to fail to render in some cases.
    • Significantly reduced the number of code host requests for non github.com or gitlab.com repositories.

    βž• Added

    • The repository revisions popover now shows the target commit's last-committed/authored date for branches and tags.
    • Setting the env var INSECURE_SAML_LOG_TRACES=1 on the server (or the sourcegraph-frontend pod in Kubernetes) causes all SAML requests and responses to be logged, which helps with debugging SAML.
    • Site admins can now view user satisfaction surveys grouped by user, in addition to chronological order, and aggregate summary values (including the average score and the net promoter score over the last 30 days) are now displayed.
    • The site admin overview page displays the site ID, the primary admin email, and premium feature usage information.
    • βž• Added Haskell as an experimental language server on the code intelligence admin page.
  • v2.8.0 Changes

    πŸ”„ Changed

    • ⚑️ gitMaxConcurrentClones now also limits the concurrency of updates to repos in addition to the initial clone.
    • In the GraphQL API, site.users has been renamed to users, site.orgs has been renamed to organizations, and site.repositories has been renamed to repositories.
    • πŸ“š An authentication provider must be set in site configuration (see authentication provider documentation). Previously the server defaulted to builtin auth if none was set.
    • 🐳 If a process dies inside the Sourcegraph container the whole container will shut down. We suggest operators configure a Docker Restart Policy or a Kubernetes Restart Policy. Previously the container would operate in a degraded mode if a process died.
    • πŸ”„ Changes to the auth.public site config are applied immediately in sourcegraph/server (no restart needed).
    • 0️⃣ The new search timeout behavior is now enabled by default. Set "experimentalFeatures": {"searchTimeoutParameter": "disabled"} in site config to disable it.
    • Search includes files up to 1MB (previous limit was 512KB for unindexed search and 128KB for indexed search).
    • πŸ‘‰ Usernames and email addresses reported by OpenID Connect and SAML auth providers are now trusted, and users will sign into existing Sourcegraph accounts that match on the auth provider's reported username or email.
    • The repository sidebar file tree is much, much faster on massive repositories (200,000+ files)
    • The SAML authentication provider was significantly improved. Users who were signed in using SAML previously will need to reauthenticate via SAML next time they visit Sourcegraph.
    • The SAML serviceProviderCertificate and serviceProviderPrivateKey site config properties are now optional.

    πŸ›  Fixed

    • πŸ›  Fixed an issue where Index Search status page failed to render.
    • πŸ“ˆ User data on the site admin Analytics page is now paginated, filterable by a user's recent activity, and searchable.
    • The link to the root of a repository in the repository header now preserves the revision you're currently viewing.
    • When using the http-header auth provider, signin/signup/signout links are now hidden.
    • Repository paths beginning with go/ are no longer reservered by Sourcegraph.
    • Interpret X-Forwarded-Proto HTTP header when httpToHttpsRedirect is set to load-balanced.
    • Deleting a user account no longer prevents the creation of a new user account with the same username and/or association with authentication provider account (SAML/OpenID/etc.)
    • It is now possible for a user to verify an email address that was previously associated with now-deleted user account.
    • πŸš€ Diff searches over empty repositories no longer fail (this was not an issue for Sourcegraph cluster deployments).
    • Stray tmp_pack_* files from interrupted fetches should now go away.
    • When multiple repo: tokens match the same repo, process @revspec requirements from all of them, not just the first one in the search.

    βœ‚ Removed

    • 🚚 The ssoUserHeader site config property (deprecated since January 2018) has been removed. The functionality was moved to the http-header authentication provider.
    • 🚚 The experiment flag showMissingReposEnabled, which defaulted to enabled, has been removed so it is no longer possible to disable this feature.
    • πŸ”§ Event-level telemetry has been completely removed from self-hosted Sourcegraph instances. As a result, the disableTelemetry site configuration option has been deprecated. The new site-admin Pings page clarifies the only high-level telemetry being sent to Sourcegraph.com.
    • 🚚 The deprecated adminUsernames site config property (deprecated since January 2018) has been removed because it is no longer necessary. Site admins can designate other users as site admins in the site admin area, and the first user to sign into a new instance always becomes a site admin (even when using an external authentication provider).

    βž• Added

    • The new repository contributors page (linked from the repository homepage) displays the top Git commit authors in a repository, with filtering options.
    • πŸ“‡ Custom language servers in the site config may now specify a metadata property containing things like homepage/docs/issues URLs for the language server project, as well as whether or not the language server should be considered experimental (not ready for prime-time). This metadata will be displayed in the UI to better communicate the status of a language server project.
    • Access tokens now have scopes (which define the set of operations they permit). All access tokens still provide full control of all resources associated with the user account (the user:all scope, which is now explicitly displayed).
    • The new access token scope site-admin:sudo allows the holder to perform any action as any other user. Only site admins may create this token.
    • πŸ”— Links to Sourcegraph's changelog have been added to the site admin Updates page and update alert.
    • πŸ”§ If the site configuration is invalid or uses deprecated properties, a global alert will be shown to all site admins.
    • There is now a code intelligence status indicator when viewing files. It contains information about the capabailities of the language server that is providing code intelligence for the file.
    • πŸ‘ Java code intelligence can now be enabled for repositories that aren't automatically supported using a javaconfig.json file. For Gradle plugins, this file can be generated using the Javaconfig Gradle plugin.
    • πŸ—„ The new auth.providers site config is an array of authentication provider objects. Currently only 1 auth provider is supported. The singular auth.provider is deprecated.
    • πŸ‘‰ Users authenticated with OpenID Connect are now able to sign out of Sourcegraph (if the provider supports token revocation or the end-session endpoint).
    • πŸ‘‰ Users can now specify the number of days, weeks, and months of site activity to query through the GraphQL API.
    • βž• Added 14 new experimental language servers on the code intelligence admin page.
    • βž• Added httpStrictTransportSecurity site configuration option to customize the Strict-Transport-Security HTTP header. It defaults to max-age=31536000 (one year).
    • βž• Added nameIDFormat in the saml auth provider to set the SAML NameID format. The default changed from transient to persistent.
    • (This feature has been removed.) Experimental env var expansion in site config JSON: set SOURCEGRAPH_EXPAND_CONFIG_VARS=1 to replace ${var} or $var (based on environment variables) in any string value in site config JSON (except for JSON object property names).
    • The new (optional) SAML serviceProviderIssuer site config property (in an auth.providers array entry with {"type":"saml", ...}) allows customizing the SAML Service Provider issuer name.
    • The site admin area now has an "Auth" section that shows the enabled authentication provider(s) and users' external accounts.
  • v2.7.6 Changes

    πŸ›  Fixed

    • If a user's account is deleted, session cookies for that user are no longer considered valid.
  • v2.7.5 Changes

    πŸ”„ Changed

    • πŸš€ When deploying Sourcegraph to Kubernetes, RBAC is now used by default. Most Kubernetes clusters require it. See the Kubernetes installation instructions for more information (including disabling if needed).
    • ⏱ Increased git ssh connection timeout to 30s from 7s.
    • 🐎 The Phabricator integration no longer requires staging areas, but using them is still recommended because it improves performance.

    πŸ›  Fixed

    • πŸ›  Fixed an issue where language servers that were not enabled would display the "Restart" button in the Code Intelligence management panel.
    • πŸ›  Fixed an issue where the "Update" button in the Code Intelligence management panel would be displayed inconsistently.
    • πŸ›  Fixed an issue where toggling a dynamic search scope would not also remove @rev (if specified)
    • πŸ›  Fixed an issue where where modes that can only be determined by the full filename (not just the file extension) of a path weren't supported (Dockerfiles are the first example of this).
    • πŸ›  Fixed an issue where the GraphiQL console failed when variables are specified.
    • πŸš€ Indexed search no longer maintains its own git clones. For Kubernetes cluster deployments, this significantly reduces disk size requirements for the indexed-search pod.
    • πŸ›  Fixed an issue where language server Docker containers would not be automatically restarted if they crashed (sourcegraph/server only).
    • πŸ›  Fixed an issue where if the first user on a site authenticated via SSO, the site would remain stuck in uninitialized mode.

    βž• Added

    • πŸ‘― More detailed progress information is displayed on pages that are waiting for repositories to clone.
    • πŸ“ˆ Admins can now see charts with daily, weekly, and monthly uniqueΒ user counts by visiting the site-admin Analytics page.
    • πŸ‘€ Admins can now host and see results from Sourcegraph user satisfaction surveys locally by setting the "experimentalFeatures": { "hostSurveysLocally": "enabled"} site config option. This feature will be enabled for all instances once stable.
    • πŸ‘ Access tokens are now supported for all authentication providers (including OpenID Connect and SAML, which were previously not supported).
    • The new motd setting (in global, organization, and user settings) displays specified messages at the top of all pages.
    • Site admins may now view all access tokens site-wide (for all users) and revoke tokens from the new access tokens page in the site admin area.
  • v2.7.0 Changes

    πŸ”„ Changed

    • Missing repositories no longer appear as search results. Instead, a count of repositories that were not found is displayed above the search results. Hovering over the count will reveal the names of the missing repositories.
    • "Show more" on the search results page will now reveal results that have already been fetched (if such results exist) without needing to do a new query.
    • πŸ“„ The bottom panel (on a file) now shows more tabs, including docstrings, multiple definitions, references (as before), external references grouped by repository, implementations (if supported by the language server), and file history.
    • The repository sidebar file tree is much faster on massive repositories (200,000+ files)

    πŸ›  Fixed

    • ⏱ Searches no longer block if the index is unavailable (e.g. after the index pod restarts). Instead, it respects the normal search timeout and reports the situation to the user if the index is not yet available.
    • πŸ‘ Repository results are no longer returned for filters that are not supported (e.g. if file: is part of the search query)
    • πŸ›  Fixed an issue where file tree elements may be scrolled out of view on page load.
    • πŸ›  Fixed an issue that caused "Could not ensure repository updated" log messages when trying to update a large number of repositories from gitolite.
    • πŸ›  When using an HTTP authentication proxy ("auth.provider": "http-header"), usernames are now properly normalized (special characters including . replaced with -). This fixes an issue preventing users from signing in if their username contained these special characters.
    • πŸ›  Fixed an issue where the site-admin Updates page would incorrectly report that update checking was turned off when telemetryDisabled was set, even as it continued to report new updates.
    • repo: filters that match multiple repositories and contain a revision specifier now correctly return partial results even if some of the matching repositories don't have a matching revision.
    • βœ‚ Removed hardcoded list of supported languages for code intelligence. Any language can work now and support is determined from the server response.
    • πŸ›  Fixed an issue where modifying config.json on disk would not correctly mark the server as needing a restart.
    • πŸ›  Fixed an issue where certain diff searches (with very sparse matches in a repository's history) would incorrectly report no results found.
    • πŸ›  Fixed an issue where the langservers field in the site-configuration didn't require both the language and address field to be specified for each entry

    βž• Added

    • πŸ‘‰ Users (and site admins) may now create and manage access tokens to authenticate API clients. The site config auth.disableAccessTokens (renamed to auth.accessTokens in 2.11) disables this new feature. Access tokens are currently only supported when using the builtin and http-header authentication providers (not OpenID Connect or SAML).
    • πŸ‘‰ User and site admin management capabilities for user email addresses are improved.
    • πŸ”§ The user and organization management UI has been greatly improved. Site admins may now administer all organizations (even those they aren't a member of) and may edit profile info and configuration for all users.
    • If SSO is enabled (via OpenID Connect or SAML) and the SSO system provides user avatar images and/or display names, those are now used by Sourcegraph.
    • ⏱ Enable new search timeout behavior by setting "experimentalFeatures": { "searchTimeoutParameter": "enabled"} in your site config.
      • Adds a new timeout: parameter to customize the timeout for searches. It defaults to 10s and may not be set higher than 1m.
      • The value of the timeout: parameter is a string that can be parsed by time.Duration (e.g. "100ms", "2s").
      • When timeout: is not provided, search optimizes for retuning results as soon as possible and will include slower kinds of results (e.g. symbols) only if they are found quickly.
      • When timeout: is provided, all result kinds are given the full timeout to complete.
    • A new user settings tokens page was added that allows users to obtain a token that they can use to authenticate to the Sourcegraph API.
    • Code intelligence indexes are now built for all repositories in the background, regardless of whether or not they are visited directly by a user.
    • 🐳 Language servers are now automatically enabled when visiting a repository. For example, visiting a Go repository will now automatically download and run the relevant Docker container for Go code intelligence.
    • πŸ“ˆ The site admin Analytics page will now display the number of "Code Intelligence" actions each user has made, including hovers, jump to definitions, and find references, on the Sourcegraph webapp or in a code host integration or extension.
    • πŸ”§ An experimental cross repository jump to definition which consults the OSS index on Sourcegraph.com. This is disabled by default; use "experimentalFeatures": { "jumpToDefOSSIndex": "enabled" } in your site configuration to enable it.
    • πŸ‘‰ Users can now view Git branches, tags, and commits, and compare Git branches and revisions on Sourcegraph. (The code host icon in the header takes you to the commit on the code host.)
    • πŸš€ A new admin panel allows you to view and manage language servers. For Docker deployments, it allows you to enable/disable/update/restart language servers at the click of a button. For cluster deployments, it shows the current status of language servers.
    • πŸ‘‰ Users can now tweet their feedback about Sourcegraph when clicking on the feedback smiley located in the navbar and filling out a Twitter feedback form.
    • A new button in the repository header toggles on/off the Git history panel for the current file.
  • v2.6.8 Changes

    πŸ› Bug fixes

    • Searches of type:repo now work correctly with "Show more" and the max parameter.
    • πŸ›  Fixes an issue where the server would crash if the DB was not available upon startup.
  • v2.6.7 Changes

    βž• Added

    • The duration that the frontend waits for the PostgreSQL database to become available is now configurable with the DB_STARTUP_TIMEOUT env var (the value is any valid Go duration string).
    • βœ… Dynamic search filters now suggest exclusions of Go test files, vendored files and node_modules files.
  • v2.6.6 Changes

    βž• Added

    • πŸ‘ Authentication to Bitbucket Server using username-password credentials is now supported (in the bitbucketServer site config username/password options), for servers running Bitbucket Server version 2.4 and older (which don't support personal access tokens).