Skip to content

Upgrade to 1.0.0-beta1 ​

Version 1.0.0-beta1 is a complete architectural refactor with breaking changes to the Python runtime, frontend, local storage, and integrations. It provides an explicit user-data migration path; old Python imports, internal APIs, and frontend endpoints are not compatibility contracts.

What changes for an existing installation ​

Area1.0.0-beta1 upgrade requirement
RuntimeUse Python 3.12 or newer; install into a fresh environment
Entry pointsUse paperseek serve and the current six-command CLI; update scripts that call retired commands
IntegrationsUpdate clients for /api/v1; install the same-version paperseek-mcp when needed
ConfigurationConvert supported old environment names once, review ignored values, then load the new names into the process
StorageMigrate the 0.2 database explicitly; new SQLite schema changes are managed by Alembic
Running tasksFinish or cancel old work before switching versions; do not assume an unfinished old task or checkpoint can resume under the new workflow

The new application separates the research core, task services, and deployment adapters. Saved runs now use worker leases, events, checkpoints, and artifacts. These changes are described in the changelog and architecture notes.

This guide covers a Community installation. Using PaperSeek online does not require running a local database migration.

Before upgrading ​

  1. Finish or cancel active work, then stop the old application and any worker.
  2. Back up its database, artifacts, and configuration outside the checkout.
  3. Install 1.0.0-beta1 in a separate environment.
  4. Test the migrated copy before replacing the old installation.

Keep the original backup until you have checked saved questions, result counts, and exports.

Migrate a 0.2 database ​

Use explicit source, destination, and backup paths:

sh
paperseek migrate --from-v0.2 /backup/old-paperseek.db --database /data/paperseek/paperseek.db --backup /backup/old-paperseek.v02.db

Without a separate --database, the command targets the source path. Supplying an explicit destination makes a rehearsal easier to inspect.

Review the migration report. Do not replace the original database with an unverified output.

Convert an old environment file ​

Configuration conversion is a separate operation:

sh
paperseek migrate --legacy-env /backup/old.env --output-env /private/paperseek.env

Inspect converted and ignored settings. The output is not automatically loaded by paperseek serve; export the current variables into its process environment or load them through your service manager.

Do not combine --legacy-env with database-migration flags. Keep real keys and migration reports outside Git.

Verify the new installation ​

sh
paperseek version
paperseek doctor --database /data/paperseek/paperseek.db --json
paperseek serve --database /data/paperseek/paperseek.db

Open history, inspect a saved run, export its results, and make a small new search with your configured provider.

Roll back ​

Stop the new processes first. Restore the complete pre-upgrade data and the corresponding old application environment. Do not point an older runtime at a database that has already been migrated forward.

Open source. Open to exploration. Apache-2.0 licensed.