Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: syncthing/syncthing
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.2
Choose a base ref
...
head repository: syncthing/syncthing
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.3
Choose a head ref
  • 9 commits
  • 33 files changed
  • 4 contributors

Commits on Aug 18, 2025

  1. Configuration menu
    Copy the full SHA
    66b28e9 View commit details
    Browse the repository at this point in the history
  2. fix(cmd): restore --version flag for compatibility (#10269)

    ### Purpose
    
    This was lost / replaced when introducing the "version" command.
    However, the documentation still lists the flag - actually under the
    serve command, but that can be omitted. Common convention for CLI
    programs is to accept it as a flag.
    
    ### Testing
    
    ```
    $ bin/syncthing --help
    Usage: syncthing <command> [flags]
    
    Flags:
      -h, --help           Show context-sensitive help.
      -C, --config=PATH    Set configuration directory (config and keys) ($STCONFDIR)
      -D, --data=PATH      Set data directory (database and logs) ($STDATADIR)
      -H, --home=PATH      Set configuration and data directory ($STHOMEDIR)
          --version        Show current version, then exit
    
    Commands:
      serve                  Run Syncthing (default)
      cli                    Command line interface for Syncthing
      browser                Open GUI in browser, then exit
      decrypt                Decrypt or verify an encrypted folder
      device-id              Show device ID, then exit
      generate               Generate key and config, then exit
      paths                  Show configuration paths, then exit
      upgrade                Perform or check for upgrade, then exit
      version                Show current version, then exit
      debug                  Various debugging commands
      install-completions    Print commands to install shell completions
    
    Run "syncthing <command> --help" for more information on a command.
    ```
    
    ```
    $ bin/syncthing --version
    syncthing v2.0.3-dev.2.g0f47e944-restore-version-flag "Hafnium Hornet" (go1.24.0 linux-amd64) acolomb@riddo 2025-08-18 19:25:31 UTC
    ```
    
    ### Documentation
    
    Already / *still* listed in the docs under Command Line Operation.
    acolomb authored Aug 18, 2025
    Configuration menu
    Copy the full SHA
    60160db View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2025

  1. chore(slog): re-enable LOGGER_DISCARD (fixes #10262) (#10267)

    ### Purpose
    
    Re-enables LOGGER_DISCARD. See #10262.
    
    ### Documentation
    
    No changes needed, as the docs already mention this variable.
    rasa authored Aug 19, 2025
    Configuration menu
    Copy the full SHA
    3058aa6 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2025

  1. build: use new apt publisher

    calmh committed Aug 20, 2025
    Configuration menu
    Copy the full SHA
    c8f52ba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e6a9b09 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2025

  1. Configuration menu
    Copy the full SHA
    7bfcdfb View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2025

  1. fix(cmd): make database migration more robust to write errors (#10278)

    Two things:
    - We could run into a write error, which would block the progress
    forever without an error. This because the writer routine exited, while
    the reader was just blocked on sending to it.
    - After a failed migration, inserts could fail with unique index
    constraint errors because we are reusing the sequence numbers from the
    original database. Add a drop folder to the start of migration to handle
    this.
    
    Additionally, the drop folder will clear out broken database files due
    to killed migrations.
    calmh authored Aug 22, 2025
    Configuration menu
    Copy the full SHA
    0416103 View commit details
    Browse the repository at this point in the history
  2. fix(cmd): provide temporary GUI/API server during database migration (#…

    …10279)
    
    This adds a temporary GUI/API server during the database migration. It
    responds with 200 OK and some log output for every request. This serves
    two purposes:
    - Primarily, for deployments that use the API as a health check, it
    gives them something positive to accept during the migration, reducing
    the risk of the migration getting killed halfway through and restarted,
    thus never completing.
    - Secondarily, it gives humans who happen to try to load the GUI some
    sort of indication of what's going on.
    
    Obviously, anything that expects a well-formed API response at this
    stage is still going to fail. They were already failing though, as we
    didn't even listen at this point before.
    calmh authored Aug 22, 2025
    Configuration menu
    Copy the full SHA
    d776657 View commit details
    Browse the repository at this point in the history
  3. fix(db): clean files for dropped folders at startup (#10280)

    This adds a cleanup stage to remove database files for folders that no
    longer exist on startup. Folder database files were already removed when
    dropping a folder, assuming that the folder database had been opened at
    that point. This won't be the case though when a folder is removed from
    the config when Syncthing isn't running, or when a folder is dropped and
    re-migrated in a restarted migration.
    calmh authored Aug 22, 2025
    Configuration menu
    Copy the full SHA
    8151bcd View commit details
    Browse the repository at this point in the history
Loading