Skip to content

chore: remove deprecated backend-postgres and backend-sqlite packages#475

Merged
jamescmartinez merged 2 commits intomainfrom
deprecate-backend-pkgs
Apr 17, 2026
Merged

chore: remove deprecated backend-postgres and backend-sqlite packages#475
jamescmartinez merged 2 commits intomainfrom
deprecate-backend-pkgs

Conversation

@jamescmartinez
Copy link
Copy Markdown
Contributor

@jamescmartinez jamescmartinez commented Apr 17, 2026

Remove the standalone @openworkflow/backend-postgres and @openworkflow/backend-sqlite packages now that their implementations are available as subpath exports on the main openworkflow package.

The implementations now live as subpath exports on the main openworkflow
package (openworkflow/postgres, openworkflow/sqlite). Update examples and
benchmarks to import from the new subpaths and add a direct postgres driver
dep where needed. Drop per-workspace package-lock.json files in favor of the
root workspace lockfile, and remove the deleted packages from the root
tsconfig references.
Copilot AI review requested due to automatic review settings April 17, 2026 21:26
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the deprecated standalone Postgres/SQLite backend workspace packages and updates the repo to use the openworkflow package’s subpath backend exports instead (openworkflow/postgres, openworkflow/sqlite), consolidating dependency management under the main package and the root workspace lockfile.

Changes:

  • Removed packages/backend-postgres and packages/backend-sqlite and dropped them from root TS project references.
  • Updated examples/benchmarks to import BackendPostgres / BackendSqlite from openworkflow/postgres and openworkflow/sqlite.
  • Removed per-workspace package-lock.json files and updated example/benchmark dependencies (adding postgres where needed).

Reviewed changes

Copilot reviewed 24 out of 31 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tsconfig.json Drops TS project references to the removed backend workspaces.
packages/backend-sqlite/tsconfig.json Deleted as part of removing the deprecated backend workspace.
packages/backend-sqlite/package.json Deleted as part of removing the deprecated backend workspace.
packages/backend-sqlite/index.ts Deleted shim re-export/warning entrypoint.
packages/backend-sqlite/README.md Deleted deprecated package documentation.
packages/backend-sqlite/CHANGELOG.md Deleted deprecated package changelog.
packages/backend-postgres/tsconfig.json Deleted as part of removing the deprecated backend workspace.
packages/backend-postgres/package.json Deleted as part of removing the deprecated backend workspace.
packages/backend-postgres/index.ts Deleted shim re-export/warning entrypoint.
packages/backend-postgres/README.md Deleted deprecated package documentation.
packages/backend-postgres/CHANGELOG.md Deleted deprecated package changelog.
examples/workflow-discovery/package.json Removes deprecated sqlite-backend dependency.
examples/workflow-discovery/package-lock.json Removed in favor of root workspace lockfile.
examples/workflow-discovery/openworkflow.config.js Switches BackendSqlite import to openworkflow/sqlite.
examples/workflow-discovery/index.ts Switches BackendSqlite import to openworkflow/sqlite.
examples/with-schema-validation/zod.ts Switches BackendPostgres import to openworkflow/postgres.
examples/with-schema-validation/yup.ts Switches BackendPostgres import to openworkflow/postgres.
examples/with-schema-validation/valibot.ts Switches BackendPostgres import to openworkflow/postgres.
examples/with-schema-validation/package.json Drops deprecated backend dep; adds postgres.
examples/with-schema-validation/package-lock.json Removed in favor of root workspace lockfile.
examples/with-schema-validation/arktype.ts Switches BackendPostgres import to openworkflow/postgres.
examples/declare-workflow/package.json Drops deprecated backend dep; adds postgres.
examples/declare-workflow/package-lock.json Removed in favor of root workspace lockfile.
examples/declare-workflow/index.ts Switches BackendPostgres import to openworkflow/postgres.
examples/basic/package.json Drops deprecated backend dep; adds postgres.
examples/basic/package-lock.json Removed in favor of root workspace lockfile.
examples/basic/index.ts Switches BackendPostgres import to openworkflow/postgres.
benchmarks/basic/package.json Drops deprecated backend dep; adds postgres.
benchmarks/basic/package-lock.json Removed in favor of root workspace lockfile.
benchmarks/basic/index.ts Switches BackendPostgres import to openworkflow/postgres.
Files not reviewed (5)
  • benchmarks/basic/package-lock.json: Language not supported
  • examples/basic/package-lock.json: Language not supported
  • examples/declare-workflow/package-lock.json: Language not supported
  • examples/with-schema-validation/package-lock.json: Language not supported
  • examples/workflow-discovery/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 17, 2026

Open in StackBlitz

npm i https://pkg.pr.new/openworkflowdev/openworkflow/@openworkflow/cli@475
npm i https://pkg.pr.new/openworkflowdev/openworkflow/@openworkflow/dashboard@475
npm i https://pkg.pr.new/openworkflowdev/openworkflow@475

commit: a297030

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@jamescmartinez jamescmartinez merged commit 0c1098c into main Apr 17, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants