Releases: sourcebot-dev/sourcebot
Releases · sourcebot-dev/sourcebot
v3.0.0
Sourcebot v3 is here and brings a number of structural changes to the tool's foundation, including a SQL database, parallelized indexing, authentication support, multitenancy, and more. Checkout the migration guide for information on upgrading your instance to v3.
Changed
- [Breaking Change] Changed the config schema such that connection objects are specified in the
connection
map, instead of therepos
array. See migration guide. - Updated the tool's color-palette in dark mode.
Added
- Added parallelized repo indexing and connection syncing via Redis & BullMQ. See the architecture overview.
- Added repo indexing progress indicators in the navbar.
- Added authentication support via OAuth or email/password. For instructions on enabling, see this doc.
- Added the following UI for managing your deployment when auth is enabled:
- connection management: create and manage your JSON configs via a integrated web-editor.
- secrets: import personal access tokens (PAT) into Sourcebot (AES-256 encrypted). Reference secrets in your connection config by name.
- team & invite management: invite users to your instance to give them access. Configure team roles & permissions.
- Added multi-tenancy support. See this doc.
Removed
- [Breaking Change] Removed
db.json
in favour of a Postgres database for transactional workloads. See the architecture overview. - [Breaking Change] Removed local folder & arbitrary .git repo support. If your deployment depended on these features, please open a discussion and let us know.
- [Breaking Chnage] Removed ability to specify a
token
as a string literal from the schema. - [Breaking Change] Removed support for
DOMAIN_SUB_PATH
configuration.
Full Changelog: v2.8.4...v3.0.0
v2.8.4
- Fixed bug where Sourcebot Cloud card is shown to self-hosted users
Full Changelog: v2.8.3...v2.8.4
v2.8.3
What's Changed
- Make syntax reference guide keyboard shortcut hint clickable in #229
Full Changelog: v2.8.2...v2.8.3
v2.8.2
v2.8.1
What's Changed
- Added maxTrigramCount to the config to control the maximum allowable trigrams per document.
{
"$schema": "./schemas/v2/index.json",
"repos": [
{
"type": "github",
"repos": [
"sourcebot-dev/sourcebot"
]
}
],
"settings": {
"maxTrigramCount": 100000
}
}
- Fixed issue with version upgrade toast not appearing without a hard refresh. (#179)
Full Changelog: v2.8.0...v2.8.1
v2.8.0
What's Changed
- Added a syntax reference guide in #169. Use
cmd+/
(ctrl+/
on windows) to open the reference guide.
Syntax.Reference.Guide.mp4
Full Changelog: v2.7.1...v2.8.0
v2.7.1
What's Changed
- Bump next from 14.2.15 to 14.2.21 by @dependabot in #155
- Fixed issue where we crash on startup if the install / upgrade PostHog event fails to send. (#159)
- Fixed issue with broken file links. (#161)
Full Changelog: v2.7.0...v2.7.1
v2.7.0
What's Changed
Happy New Year! 🎉
New Features
- Added support for share links by @brendan-kellam in #149
share_links.mp4
- Implement raw remote git repo support by @msukkari in #152
This allows you to sync with any git repository, regardless if the code host is supported or not. Example config:
{
"$schema": "./schemas/v2/index.json",
"repos": [
{
"type": "git",
"url": "https://my-example-git-host.com/sourcebot.git"
}
]
}
Misc
- Bump nanoid from 3.3.7 to 3.3.8 by @dependabot in #139
- Add footer to homepage by @brendan-kellam in #151
- Bump next from 14.2.15 to 14.2.21 in /packages/web by @dependabot in #153
Full Changelog: v2.6.3...v2.7.0
v2.6.3
Added
- Added config option
settings.reindexInterval
andsettings.resyncInterval
to control how often the index should be re-indexed and re-synced. (#134) - Added
exclude.size
to the GitHub config to allow excluding repositories by size. (#137)
Fixed
- Fixed issue where config synchronization was failing entirely when a single api call fails. (#142)
- Fixed 'directory not found' error in certain scenarios when deleting a repository. (#136)
Full Changelog: v2.6.2...v2.6.3
v2.6.2
Added
- Added syntax highlighting & language icon support to 100+ languages by @KonradStanski 🎉 (#125, #129)

- Added config support for filtering GitLab & GitHub repositories by topic by @brendan-kellam (#121). E.g.,:
{
"$schema": "./schemas/v2/index.json",
"repos": [
{
"type": "github",
"orgs": [
"sourcebot-dev"
],
// Include repositories in `sourcebot-dev` that have at least one of these topics.
"topics": [
"hacktoberfest",
"advent_of_code"
],
"exclude": {
// Explicitly exclude a topic from being indexed.
"topics": [
"TypeScript"
]
}
}
}
}
Changed
- Stale repositories are now automatically deleted from the index. This can be configured via
settings.autoDeleteStaleRepos
in the config by @brendan-kellam (#128). E.g.,:
{
"$schema": "./schemas/v2/index.json",
"settings": {
// Automatically delete stale repositories from the index. Defaults to true.
"autoDeleteStaleRepos": true
},
...
}
- Made language suggestions case insensitive by @brendan-kellam (#124)
Full Changelog: v2.6.1...v2.6.2