Skip to content

Releases: sourcebot-dev/sourcebot

v2.5.3

28 Nov 21:35
Compare
Choose a tag to compare

What's Changed

  • Added symbol suggestions as suggestion type. (#98)
Screen.Recording.2024-11-28.at.1.11.49.PM.mov

Full Changelog: v2.5.2...v2.5.3

v2.5.2

27 Nov 18:53
Compare
Choose a tag to compare

Fixed

  • Fixed issue where incorrect repository icons were shown occasionally in the filter panel. (#95)
  • Fixed homepage links not resolving correctly when DOMAIN_SUB_PATH is set. (#96)

Full Changelog: v2.5.1...v2.5.2

v2.5.1

27 Nov 06:06
Compare
Choose a tag to compare

Added

  • Added file suggestions as a suggestion type. (#88)
  • Added icon and link support for self-hosted repositories. (#93)

Changed

  • Changed how PostHog telemetry key is passed into the docker image. (#92)

Full Changelog: v2.5.0...v2.5.1

v2.5.0

23 Nov 03:05
Compare
Choose a tag to compare

What's Changed

Added search suggestions 🎉

Screen.Recording.2024-11-21.at.4.22.05.PM.mov

As you type, suggestions will appear for different refinement prefixes (e.g., repo:, case:, etc.) to help you create more complex queries. Additionally, when using the repo: prefix, indexed repositories will be suggested. We have plans on adding suggestions for more prefixes like symbols (sym:) and files (file:) soon.

Full Changelog: v2.4.4...v2.5.0

v2.4.4

20 Nov 22:38
Compare
Choose a tag to compare

Added

  • Added DOMAIN_SUB_PATH environment variable to allow overriding the default domain subpath. (#74)
  • Added option all to the GitLab index schema, allowing for indexing all projects in a self-hosted GitLab instance. (#84)

Full Changelog: v2.4.3...v2.4.4

v2.4.3

18 Nov 19:52
Compare
Choose a tag to compare

Changed

  • Bumped NodeJS version to v20, fixing issue with Array.prototype.toSorted not being defined. (#78)

Full Changelog: v2.4.2...v2.4.3

v2.4.2

15 Nov 06:54
Compare
Choose a tag to compare

Added

  • Added support for syntax highlighting in the search bar. (#66)

Changed

  • Changed the exclude.repo property to support glob patterns. (#70)

Fixed

  • Fixed issue with indexing failing for empty repositories. (#73)
  • Fixed typos in schema. (#71)

New Contributors

Full Changelog: v2.4.1...v2.4.2

v2.4.1

11 Nov 19:37
Compare
Choose a tag to compare

What's Changed

  • Added additional telemetry in #63

Full Changelog: v2.4.0...v2.4.1

v2.4.0

07 Nov 02:48
Compare
Choose a tag to compare

What's Changed

Added support for indexing and searching repositories across multiple revisions (branch or tag). To get started, specify the revisions property in your config:

{
    "$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v2/index.json",
    "repos": [
        {
            "type": "github",
            "revisions": {
                 // Specify branches to index...
                "branches": [
                    "main",
                    "release/*"
                ],
                // ... or specify tags
                "tags": [
                    "v*.*.*"
                ]
            },
            // For each repo (repoa, repob), Sourcebot will index all branches and tags in the repo
            // matching the `branches` and `tags` patterns above. Any branches or tags that don't
            // match the patterns will be ignored and not indexed.
            "repos": [
                "org/repoa",
                "org/repob"
            ]
        }
   ]
}

To search on a specific revision, use the revision filter in the search bar:
revisions_filter_dark

Full Changelog: v2.3.0...v2.4.0

v2.3.0

01 Nov 18:19
Compare
Choose a tag to compare

What's Changed

  • Added support for local directory indexing in #56.

To index local directories, use the local type in your config file:

{
    "$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v2/index.json",
    "repos": [
        {
            "type": "local",
            "path": "/path/to/local/repo",
            "watch": "true",
            "exclude": {
               "paths": [
                  "node_modules",
                  "build"
               ]
            }
        }
    ]
}

When running in Docker, ensure that the directory is mapped to a volume:

docker run -v /path/to/local/repo:/path/to/local/repo /* additional args */ ghcr.io/sourcebot-dev/sourcebot:latest

Full Changelog: v2.2.0...v2.3.0