sourcebot/CHANGELOG.md

326 lines
13 KiB
Markdown
Raw Normal View History

2024-09-29 00:02:44 +00:00
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
2025-04-25 05:28:13 +00:00
## [Unreleased]
### Added
- Added special `*` value for `rev:` to allow searching across all branches. [#281](https://github.com/sourcebot-dev/sourcebot/pull/281)
2025-04-30 21:24:24 +00:00
## [3.1.2] - 2025-04-30
### Added
- Added `exclude.readOnly` and `exclude.hidden` options to Gerrit connection config. [#280](https://github.com/sourcebot-dev/sourcebot/pull/280)
2025-04-30 21:22:41 +00:00
### Fixes
- Fixes regression introduced in v3.1.0 that causes auth errors with GitHub. [#288](https://github.com/sourcebot-dev/sourcebot/pull/288)
2025-04-28 19:23:19 +00:00
## [3.1.1] - 2025-04-28
### Changed
- Changed the filter panel to embed the filter selection state in the query params. [#276](https://github.com/sourcebot-dev/sourcebot/pull/276)
2025-04-25 19:00:33 +00:00
## [3.1.0] - 2025-04-25
2025-04-25 05:28:13 +00:00
### Added
- [Sourcebot EE] Added search contexts, user-defined groupings of repositories that help focus searches on specific areas of a codebase. [#273](https://github.com/sourcebot-dev/sourcebot/pull/273)
- Added support for Bitbucket Cloud and Bitbucket Data Center connections. [#275](https://github.com/sourcebot-dev/sourcebot/pull/275)
2025-04-25 05:28:13 +00:00
2025-04-11 21:21:19 +00:00
## [3.0.4] - 2025-04-12
### Fixes
- Fix issue with gerrit gitiles web urls not being correctly formatted
2025-04-11 03:41:08 +00:00
## [3.0.3] - 2025-04-10
### Fixes
- Prevent database in container from being initialized and started if we're using an external database [#267](https://github.com/sourcebot-dev/sourcebot/pull/267)
### Added
- Add additional logging for repo and connection syncing, and display proper names instead of ids
2025-03-13 20:13:09 +00:00
2025-04-04 07:30:01 +00:00
## [3.0.2] - 2025-04-04
2025-04-02 21:33:39 +00:00
### Fixes
- Change connection manager upsert timeout to 5 minutes
2025-04-03 00:50:48 +00:00
- Fix issue with repo display names being poorly formatted, especially for gerrit. ([#259](https://github.com/sourcebot-dev/sourcebot/pull/259))
2025-04-02 21:33:39 +00:00
2025-04-04 00:51:01 +00:00
### Added
- Added config setting `resyncConnectionIntervalMs` to control how often a connection should be re-synced. ([#260](https://github.com/sourcebot-dev/sourcebot/pull/260))
## [3.0.1] - 2025-04-01
### Fixes
- Fix issue with match highlighting not appearing when first clicking on a search result. ([#255](https://github.com/sourcebot-dev/sourcebot/issues/255))
2025-04-01 21:56:03 +00:00
## [3.0.0] - 2025-04-01
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](https://docs.sourcebot.dev/self-hosting/upgrade/v2-to-v3-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 the `repos` array. [See migration guide](https://docs.sourcebot.dev/self-hosting/upgrade/v2-to-v3-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](https://docs.sourcebot.dev/self-hosting/overview#architecture).
- Added repo indexing progress indicators in the navbar.
- Added authentication support via OAuth or email/password. For instructions on enabling, see [this doc](https://docs.sourcebot.dev/self-hosting/more/authentication).
- Added the following UI for managing your deployment when **[auth is enabled](https://docs.sourcebot.dev/self-hosting/more/authentication)**:
- 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](https://docs.sourcebot.dev/docs/more/roles-and-permissions).
- Added multi-tenancy support. See [this doc](https://docs.sourcebot.dev/self-hosting/more/tenancy).
### Removed
- [**Breaking Change**] Removed `db.json` in favour of a Postgres database for transactional workloads. See the [architecture overview](https://docs.sourcebot.dev/self-hosting/overview#architecture).
- [**Breaking Change**] Removed local folder & arbitrary .git repo support. If your deployment depended on these features, please [open a discussion](https://github.com/sourcebot-dev/sourcebot/discussions/categories/support) 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.
2025-03-14 22:11:54 +00:00
## [2.8.4] - 2025-03-14
### Fixed
- Fixed bug where Sourcebot Cloud card was shown to self-hosted users
2025-03-13 20:13:09 +00:00
## [2.8.3] - 2025-03-13
### Fixed
- Made syntax reference guide keyboard shortcut hints clickable. ([#229](https://github.com/sourcebot-dev/sourcebot/pull/229))
2025-02-20 18:15:35 +00:00
## [2.8.2] - 2025-02-20
### Fixed
- Remove `repo_synced` telemetry event.
2024-09-29 00:02:44 +00:00
2025-01-28 22:47:46 +00:00
## [2.8.1] - 2025-01-28
### Added
- Added `maxTrigramCount` to the config to control the maximum allowable of trigrams per document.
### Fixed
- Fixed issue with version upgrade toast not appearing without a hard refresh. ([#179](https://github.com/sourcebot-dev/sourcebot/pull/179))
2025-01-17 23:23:43 +00:00
## [2.8.0] - 2025-01-17
2025-01-17 22:12:43 +00:00
### Added
- Added a syntax reference guide. The guide can be opened using the hotkey "Cmd + /" ("Ctrl + /" on Windows). ([#169](https://github.com/sourcebot-dev/sourcebot/pull/169))
2025-01-15 17:20:14 +00:00
## [2.7.1] - 2025-01-15
### Fixed
- Fixed issue where we crash on startup if the install / upgrade PostHog event fails to send. ([#159](https://github.com/sourcebot-dev/sourcebot/pull/159))
2025-01-15 00:50:38 +00:00
- Fixed issue with broken file links. ([#161](https://github.com/sourcebot-dev/sourcebot/pull/161))
2025-01-10 22:52:49 +00:00
## [2.7.0] - 2025-01-10
2025-01-07 18:27:42 +00:00
### Added
- Added support for creating share links to snippets of code. ([#149](https://github.com/sourcebot-dev/sourcebot/pull/149))
- Added support for indexing raw remote git repository. ([#152](https://github.com/sourcebot-dev/sourcebot/pull/152))
2025-01-07 18:27:42 +00:00
2024-12-19 03:25:03 +00:00
## [2.6.3] - 2024-12-18
### Added
- Added config option `settings.reindexInterval` and `settings.resyncInterval` to control how often the index should be re-indexed and re-synced. ([#134](https://github.com/sourcebot-dev/sourcebot/pull/134))
- Added `exclude.size` to the GitHub config to allow excluding repositories by size. ([#137](https://github.com/sourcebot-dev/sourcebot/pull/137))
### Fixed
- Fixed issue where config synchronization was failing entirely when a single api call fails. ([#142](https://github.com/sourcebot-dev/sourcebot/pull/142))
2024-12-19 03:25:03 +00:00
- Fixed 'directory not found' error in certain scenarios when deleting a repository. ([#136](https://github.com/sourcebot-dev/sourcebot/pull/136))
2024-12-13 23:37:38 +00:00
## [2.6.2] - 2024-12-13
### Added
- Added config support for filtering GitLab & GitHub repositories by topic. ([#121](https://github.com/sourcebot-dev/sourcebot/pull/121))
2024-12-13 23:37:38 +00:00
- Added additional language syntax support. ([#125](https://github.com/sourcebot-dev/sourcebot/pull/125))
- Added additional language icon support. ([#129](https://github.com/sourcebot-dev/sourcebot/pull/129))
### Changed
- Made language suggestions case insensitive. ([#124](https://github.com/sourcebot-dev/sourcebot/pull/124))
- Stale repositories are now automatically deleted from the index. This can be configured via `settings.autoDeleteStaleRepos` in the config. ([#128](https://github.com/sourcebot-dev/sourcebot/pull/128))
2024-12-09 22:41:30 +00:00
## [2.6.1] - 2024-12-09
### Added
- Added config option `settings.maxFileSize` to control the maximum file size zoekt will index. ([#118](https://github.com/sourcebot-dev/sourcebot/pull/118))
2024-12-09 22:41:30 +00:00
### Fixed
- Fixed syntax highlighting for zoekt query language. ([#115](https://github.com/sourcebot-dev/sourcebot/pull/115))
- Fixed issue with Gerrit repo fetching not paginating. ([#114](https://github.com/sourcebot-dev/sourcebot/pull/114))
- Fixed visual issues with filter panel. ([#105](https://github.com/sourcebot-dev/sourcebot/pull/105))
2024-12-03 00:15:25 +00:00
## [2.6.0] - 2024-12-02
### Added
- Gerrit support. ([#104](https://github.com/sourcebot-dev/sourcebot/pull/104))
2024-11-29 18:48:53 +00:00
## [2.5.4] - 2024-11-29
2024-11-29 18:42:08 +00:00
### Added
- Added search history to the search bar. ([#99](https://github.com/sourcebot-dev/sourcebot/pull/99))
2024-11-28 21:33:04 +00:00
## [2.5.3] - 2024-11-28
2024-11-28 21:26:27 +00:00
### Added
- Added symbol suggestions as suggestion type. ([#98](https://github.com/sourcebot-dev/sourcebot/pull/98))
2024-11-27 18:51:35 +00:00
## [2.5.2] - 2024-11-27
2024-11-27 18:43:41 +00:00
### Fixed
- Fixed issue where incorrect repository icons were shown occasionally in the filter panel. ([#95](https://github.com/sourcebot-dev/sourcebot/issues/95))
- Fixed homepage links not resolving correctly when DOMAIN_SUB_PATH is set. ([#96](https://github.com/sourcebot-dev/sourcebot/issues/96))
2024-11-27 18:43:41 +00:00
2024-11-27 06:03:35 +00:00
## [2.5.1] - 2024-11-26
2024-11-24 21:58:05 +00:00
### Added
- Added file suggestions as a suggestion type. ([#88](https://github.com/sourcebot-dev/sourcebot/pull/88))
- Added icon and link support for self-hosted repositories. ([#93](https://github.com/sourcebot-dev/sourcebot/pull/93))
2024-11-24 21:58:05 +00:00
2024-11-27 06:03:35 +00:00
### Changed
- Changed how PostHog telemetry key is passed into the docker image. ([#92](https://github.com/sourcebot-dev/sourcebot/pull/92))
2024-11-23 02:57:09 +00:00
## [2.5.0] - 2024-11-22
### Added
- Added search suggestions to the search bar. ([#85](https://github.com/sourcebot-dev/sourcebot/pull/85))
2024-11-20 22:36:24 +00:00
## [2.4.4] - 2024-11-20
### Added
- Added `DOMAIN_SUB_PATH` environment variable to allow overriding the default domain subpath. ([#74](https://github.com/sourcebot-dev/sourcebot/pull/74))
- Added option `all` to the GitLab index schema, allowing for indexing all projects in a self-hosted GitLab instance. ([#84](https://github.com/sourcebot-dev/sourcebot/pull/84))
2024-11-18 19:49:37 +00:00
## [2.4.3] - 2024-11-18
### Changed
- Bumped NodeJS version to v20. ([#78](https://github.com/sourcebot-dev/sourcebot/pull/78))
2024-11-15 06:42:41 +00:00
## [2.4.2] - 2024-11-14
### Added
- Added support for syntax highlighting in the search bar. ([#66](https://github.com/sourcebot-dev/sourcebot/pull/66))
2024-11-15 06:42:41 +00:00
### Changed
- Changed the `exclude.repo` property to support glob patterns. ([#70](https://github.com/sourcebot-dev/sourcebot/pull/70))
### Fixed
- Fixed issue with indexing failing for empty repositories. ([#73](https://github.com/sourcebot-dev/sourcebot/pull/73))
- Fixed typos in schema. ([#71](https://github.com/sourcebot-dev/sourcebot/pull/71))
2024-11-11 19:35:27 +00:00
## [2.4.1] - 2024-11-11
2024-11-10 00:40:07 +00:00
### Added
- Added additional telemetry events. ([#63](https://github.com/sourcebot-dev/sourcebot/pull/63))
2024-11-07 02:42:48 +00:00
## [2.4.0] - 2024-11-06
2024-11-07 02:28:10 +00:00
### Added
- Added support for indexing and searching repositories across multiple revisions (tag or branch). ([#58](https://github.com/sourcebot-dev/sourcebot/pull/58))
2024-11-01 18:00:44 +00:00
## [2.3.0] - 2024-11-01
2024-11-01 17:51:14 +00:00
### Added
- Local directory indexing support. ([#56](https://github.com/sourcebot-dev/sourcebot/pull/56))
2024-10-30 20:29:29 +00:00
## [2.2.0] - 2024-10-30
2024-10-28 17:30:29 +00:00
### Added
- Added filtering panel for filtering results by repository and by language. ([#48](https://github.com/sourcebot-dev/sourcebot/pull/48))
2024-10-29 22:14:45 +00:00
### Fixed
- Fixed issue with GitLab sub-projects not being included recursively. ([#54](https://github.com/sourcebot-dev/sourcebot/pull/54))
- Fixed slow rendering performance when rendering a large number of results. ([#52](https://github.com/sourcebot-dev/sourcebot/pull/52))
- Fixed issue with either `star_count` or `fork_count` not being included in the GitLab api response. ([#55](https://github.com/sourcebot-dev/sourcebot/issues/55))
2024-10-29 22:14:45 +00:00
2024-10-25 19:02:09 +00:00
## [2.1.1] - 2024-10-25
### Fixed
- Fixed issue with GitLab projects that are not owned but still visible by the provided `token` _not_ being synchronized. ([#51](https://github.com/sourcebot-dev/sourcebot/pull/51))
2024-10-23 03:07:33 +00:00
## [2.1.0] - 2024-10-22
2024-10-23 03:06:36 +00:00
### Added
- Gitea support ([#45](https://github.com/sourcebot-dev/sourcebot/pull/45))
2024-10-18 19:05:03 +00:00
## [2.0.2] - 2024-10-18
2024-10-18 19:03:13 +00:00
### Added
- Added a toast notification when a new Sourcebot version is available ([#44](https://github.com/sourcebot-dev/sourcebot/pull/44))
2024-10-17 23:30:58 +00:00
## [2.0.1] - 2024-10-17
2024-10-17 23:20:09 +00:00
### Added
- Added support for specifying urls for the `--configPath` option in the backend.
2024-10-17 20:33:09 +00:00
## [2.0.0] - 2024-10-17
### Added
2024-10-17 20:31:18 +00:00
- [**Breaking Change**] Added index schema v2. This new schema brings many quality of life features like clearer syntax, ability to specify individual `repos`, `projects`, `groups`, and `orgs`, and the ability to easily `exclude` repositories.
- Added a `SOURCEBOT_VERSION` build argument to the Docker image. ([#41](https://github.com/sourcebot-dev/sourcebot/pull/41))
- Added the `sourcebot_version` property to all PostHog events for versioned telemetry. ([#41](https://github.com/sourcebot-dev/sourcebot/pull/41)
2024-10-16 00:39:09 +00:00
## [1.0.3] - 2024-10-15
### Fixed
- Fixed issue with unicode characters not being displayed correctly ([#38](https://github.com/sourcebot-dev/sourcebot/pull/38))
2024-10-09 18:50:04 +00:00
## [1.0.2] - 2024-10-09
### Fixed
- Fixed issue with filtering by gitlab groups ([#36](https://github.com/sourcebot-dev/sourcebot/issues/36))
2024-10-03 21:07:45 +00:00
## [1.0.1] - 2024-10-03
### Added
- Added `GITLAB_HOSTNAME` and `GITHUB_HOSTNAME` environment variables to allow overriding the default hostnames for GitLab and GitHub.
2024-10-01 16:25:05 +00:00
## [1.0.0] - 2024-10-01
2024-09-29 00:02:44 +00:00
### Added
- Initial release