You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sourcebot V4 introduces authentication, performance improvements and code navigation. Checkout the [migration guide](https://docs.sourcebot.dev/self-hosting/upgrade/v3-to-v4-guide) for information on upgrading your instance to v4.
### Changed
- [**Breaking Change**] Authentication is now required by default. Notes:
- When setting up your instance, email / password login will be the default authentication provider.
- The first user that logs into the instance is given the `owner` role. ([docs](https://docs.sourcebot.dev/docs/more/roles-and-permissions)).
- Subsequent users can request to join the instance. The `owner` can approve / deny requests to join the instance via `Settings` > `Members` > `Pending Requests`.
- If a user is approved to join the instance, they are given the `member` role.
- Additional login providers, including email links and SSO, can be configured with additional environment variables. ([docs](https://docs.sourcebot.dev/self-hosting/configuration/authentication)).
- Clicking on a search result now takes you to the `/browse` view. Files can still be previewed by clicking the "Preview" button or holding `Cmd` / `Ctrl` when clicking on a search result. [#315](#315)
### Added
- [Sourcebot EE] Added search-based code navigation, allowing you to jump between symbol definition and references when viewing source files. [Read the documentation](https://docs.sourcebot.dev/docs/search/code-navigation). [#315](#315)
- Added collapsible filter panel. [#315](#315)
### Fixed
- Improved scroll performance for large numbers of search results. [#315](#315)
- Filenames should always be camelCase. Exception: if there are filenames in the same directory with a format other than camelCase, use that format to keep things consistent.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+21-2Lines changed: 21 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
Sourcebot V4 introduces authentication, performance improvements and code navigation. Checkout the [migration guide](https://docs.sourcebot.dev/self-hosting/upgrade/v3-to-v4-guide) for information on upgrading your instance to v4.
11
+
12
+
### Changed
13
+
-[**Breaking Change**] Authentication is now required by default. Notes:
14
+
- When setting up your instance, email / password login will be the default authentication provider.
15
+
- The first user that logs into the instance is given the `owner` role. ([docs](https://docs.sourcebot.dev/docs/more/roles-and-permissions)).
16
+
- Subsequent users can request to join the instance. The `owner` can approve / deny requests to join the instance via `Settings` > `Members` > `Pending Requests`.
17
+
- If a user is approved to join the instance, they are given the `member` role.
18
+
- Additional login providers, including email links and SSO, can be configured with additional environment variables. ([docs](https://docs.sourcebot.dev/self-hosting/configuration/authentication)).
19
+
- Clicking on a search result now takes you to the `/browse` view. Files can still be previewed by clicking the "Preview" button or holding `Cmd` / `Ctrl` when clicking on a search result. [#315](https://github.com/sourcebot-dev/sourcebot/pull/315)
20
+
21
+
### Added
22
+
-[Sourcebot EE] Added search-based code navigation, allowing you to jump between symbol definition and references when viewing source files. [Read the documentation](https://docs.sourcebot.dev/docs/search/code-navigation). [#315](https://github.com/sourcebot-dev/sourcebot/pull/315)
- Added Sourcebot API key management for external clients. [#311](https://github.com/sourcebot-dev/sourcebot/pull/311)
25
+
26
+
### Fixed
27
+
- Improved scroll performance for large numbers of search results. [#315](https://github.com/sourcebot-dev/sourcebot/pull/315)
28
+
10
29
## [3.2.1] - 2025-05-15
11
30
12
31
### Added
@@ -93,8 +112,8 @@ Sourcebot v3 is here and brings a number of structural changes to the tool's fou
93
112
### Added
94
113
- Added parallelized repo indexing and connection syncing via Redis & BullMQ. See the [architecture overview](https://docs.sourcebot.dev/self-hosting/overview#architecture).
95
114
- Added repo indexing progress indicators in the navbar.
96
-
- Added authentication support via OAuth or email/password. For instructions on enabling, see [this doc](https://docs.sourcebot.dev/self-hosting/more/authentication).
97
-
- Added the following UI for managing your deployment when **[auth is enabled](https://docs.sourcebot.dev/self-hosting/more/authentication)**:
115
+
- Added authentication support via OAuth or email/password. For instructions on enabling, see [this doc](https://docs.sourcebot.dev/self-hosting/configuration/authentication).
116
+
- Added the following UI for managing your deployment when **[auth is enabled](https://docs.sourcebot.dev/self-hosting/configuration/authentication)**:
98
117
- connection management: create and manage your JSON configs via a integrated web-editor.
99
118
- secrets: import personal access tokens (PAT) into Sourcebot (AES-256 encrypted). Reference secrets in your connection config by name.
100
119
- team & invite management: invite users to your instance to give them access. Configure team [roles & permissions](https://docs.sourcebot.dev/docs/more/roles-and-permissions).
- `REVIEW_AGENT_API_KEY`: The Sourcebot API key that the review agent uses to hit the Sourcebot API to fetch code context
56
57
- `REVIEW_AGENT_AUTO_REVIEW_ENABLED` (default: `false`): If enabled, the review agent will automatically review any new or updated PR. If disabled, you must invoke it using the command defined by `REVIEW_AGENT_REVIEW_COMMAND`
57
58
- `REVIEW_AGENT_REVIEW_COMMAND` (default: `review`): The command that invokes the review agent (ex. `/review`) when a user comments on the PR. Don't include the slash character in this value.
58
59
@@ -76,6 +77,7 @@ Before you get started, make sure you have an OpenAPI account that you can creat
Copy file name to clipboardExpand all lines: docs/docs/connections/gitea.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ Next, provide the access token via the `token` property, either as an environmen
82
82
83
83
<Tabs>
84
84
<Tabtitle="Environment Variable">
85
-
<Note>Environment variables are only supported in a [declarative config](/self-hosting/more/declarative-config) and cannot be used in the web UI.</Note>
85
+
<Note>Environment variables are only supported in a [declarative config](/self-hosting/configuration/declarative-config) and cannot be used in the web UI.</Note>
86
86
87
87
1. Add the `token` property to your connection config:
88
88
```json
@@ -107,7 +107,7 @@ Next, provide the access token via the `token` property, either as an environmen
107
107
</Tab>
108
108
109
109
<Tabtitle="Secret">
110
-
<Note>Secrets are only supported when [authentication](/self-hosting/more/authentication) is enabled.</Note>
110
+
<Note>Secrets are only supported when [authentication](/self-hosting/configuration/authentication) is enabled.</Note>
111
111
112
112
1. Navigate to **Secrets** in settings and create a new secret with your PAT:
Copy file name to clipboardExpand all lines: docs/docs/connections/github.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ Next, provide the PAT via the `token` property, either as an environment variabl
111
111
112
112
<Tabs>
113
113
<Tabtitle="Environment Variable">
114
-
<Note>Environment variables are only supported in a [declarative config](/self-hosting/more/declarative-config) and cannot be used in the web UI.</Note>
114
+
<Note>Environment variables are only supported in a [declarative config](/self-hosting/configuration/declarative-config) and cannot be used in the web UI.</Note>
115
115
116
116
1. Add the `token` property to your connection config:
117
117
```json
@@ -136,7 +136,7 @@ Next, provide the PAT via the `token` property, either as an environment variabl
136
136
</Tab>
137
137
138
138
<Tabtitle="Secret">
139
-
<Note>Secrets are only supported when [authentication](/self-hosting/more/authentication) is enabled.</Note>
139
+
<Note>Secrets are only supported when [authentication](/self-hosting/configuration/authentication) is enabled.</Note>
140
140
141
141
1. Navigate to **Secrets** in settings and create a new secret with your PAT:
Copy file name to clipboardExpand all lines: docs/docs/connections/gitlab.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ Next, provide the PAT via the `token` property, either as an environment variabl
116
116
117
117
<Tabs>
118
118
<Tabtitle="Environment Variable">
119
-
<Note>Environment variables are only supported in a [declarative config](/self-hosting/more/declarative-config) and cannot be used in the web UI.</Note>
119
+
<Note>Environment variables are only supported in a [declarative config](/self-hosting/configuration/declarative-config) and cannot be used in the web UI.</Note>
120
120
121
121
1. Add the `token` property to your connection config:
122
122
```json
@@ -141,7 +141,7 @@ Next, provide the PAT via the `token` property, either as an environment variabl
141
141
</Tab>
142
142
143
143
<Tabtitle="Secret">
144
-
<Note>Secrets are only supported when [authentication](/self-hosting/more/authentication) is enabled.</Note>
144
+
<Note>Secrets are only supported when [authentication](/self-hosting/configuration/authentication) is enabled.</Note>
145
145
146
146
1. Navigate to **Secrets** in settings and create a new secret with your PAT:
Copy file name to clipboardExpand all lines: docs/docs/connections/overview.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,11 @@ There are two ways to define connections:
11
11
12
12
<AccordionGroup>
13
13
<Accordiontitle="Declarative configuration file">
14
-
This is only supported when self-hosting, and is the default mechanism to define connections. Connections are defined in a [JSON file](/self-hosting/more/declarative-config)
14
+
This is only supported when self-hosting, and is the default mechanism to define connections. Connections are defined in a [JSON file](/self-hosting/configuration/declarative-config)
15
15
and the path to the file is provided through the `CONFIG_PATH` environment variable
16
16
</Accordion>
17
17
<Accordiontitle="UI connection management">
18
-
This is the only way to define connections when using Sourcebot Cloud, and can be configured when self-hosting by enabling [authentication](/self-hosting/more/authentications).
18
+
This is the only way to define connections when using Sourcebot Cloud, and can be configured when self-hosting by enabling [authentication](/self-hosting/configuration/authentications).
19
19
20
20
In this method, connections are defined and managed within the webapp:
An API Key is required when querying Sourcebot outside the context of the web app client (ex. MCP server, review agent). To create an API key, login to your Sourcebot instance and navigate to
0 commit comments