Skip to content

Releases: sourcebot-dev/sourcebot

v3.0.0

01 Apr 21:59
Compare
Choose a tag to compare

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 the repos 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

14 Mar 22:25
Compare
Choose a tag to compare
  • Fixed bug where Sourcebot Cloud card is shown to self-hosted users

Full Changelog: v2.8.3...v2.8.4

v2.8.3

13 Mar 20:16
Compare
Choose a tag to compare

What's Changed

  • Make syntax reference guide keyboard shortcut hint clickable in #229

Full Changelog: v2.8.2...v2.8.3

v2.8.2

20 Feb 18:21
Compare
Choose a tag to compare

What's Changed

  • Remove spammy repo_synced telemetry event

Full Changelog: v2.8.1...v2.8.2

v2.8.1

28 Jan 22:58
Compare
Choose a tag to compare

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

17 Jan 23:29
Compare
Choose a tag to compare

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

15 Jan 18:57
Compare
Choose a tag to compare

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

10 Jan 23:05
Compare
Choose a tag to compare

What's Changed

Happy New Year! 🎉

New Features

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

Full Changelog: v2.6.3...v2.7.0

v2.6.3

19 Dec 03:32
Compare
Choose a tag to compare

Added

  • Added config option settings.reindexInterval and settings.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

14 Dec 00:03
Compare
Choose a tag to compare

Added

image
  • 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
    },
    ...
}

Full Changelog: v2.6.1...v2.6.2