chore: remove deprecated backend-postgres and backend-sqlite packages#475
Merged
jamescmartinez merged 2 commits intomainfrom Apr 17, 2026
Merged
chore: remove deprecated backend-postgres and backend-sqlite packages#475jamescmartinez merged 2 commits intomainfrom
jamescmartinez merged 2 commits intomainfrom
Conversation
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.
There was a problem hiding this comment.
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-postgresandpackages/backend-sqliteand dropped them from root TS project references. - Updated examples/benchmarks to import
BackendPostgres/BackendSqlitefromopenworkflow/postgresandopenworkflow/sqlite. - Removed per-workspace
package-lock.jsonfiles and updated example/benchmark dependencies (addingpostgreswhere 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.
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
jamescmartinez
added a commit
that referenced
this pull request
Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove the standalone
@openworkflow/backend-postgresand@openworkflow/backend-sqlitepackages now that their implementations are available as subpath exports on the mainopenworkflowpackage.