Skip to content

Version Packages - #14

Merged
ahmadhuss merged 1 commit into
mainfrom
changeset-release/main
Aug 1, 2026
Merged

Version Packages#14
ahmadhuss merged 1 commit into
mainfrom
changeset-release/main

Conversation

@aizvi-bot

@aizvi-bot aizvi-bot Bot commented Aug 1, 2026

Copy link
Copy Markdown

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@aizvi/auth-postgres@1.1.0

Minor Changes

  • fff1c0f: Add @aizvi/auth-postgres, a PostgreSQL storage adapter for @aizvi/auth, backed by pg.

    postgresAdapter({ connectionString }) opens its own connection pool and creates the users / mobile_auth_sessions tables on first use, mirroring @aizvi/auth-sqlite's sqliteAdapter(). createPostgresAuthAdapter(db) works with any already-open client matching the query(text, params) => { rows } shape, including pg.Pool, pg.Client, and @electric-sql/pglite, so an existing pool can be reused instead of opening a second one. migrate(db) is also exported for running the migration ahead of time.

    Includes a detailed, beginner-friendly README covering quick start, reusing an existing connection, running the migration ahead of time, testing against a real Postgres with @electric-sql/pglite (no server needed), and using this alongside Prisma.

@ahmadhuss
ahmadhuss merged commit 84e0dba into main Aug 1, 2026
1 check passed
@ahmadhuss
ahmadhuss deleted the changeset-release/main branch August 1, 2026 05:31
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.

1 participant