Skip to content

chore: release @nestm/better-auth (alpha) - #19

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

chore: release @nestm/better-auth (alpha)#19
kauandotnet merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@nestm/better-auth@0.1.0-alpha.6

Minor Changes

  • af93872: Add a TypeORM database adapter, exported from the new ./typeorm subpath.

    typeormAdapter(dataSource, config?) backs Better Auth with a TypeORM DataSource on
    PostgreSQL, resolving models and fields through EntityMetadata (rateLimitclass RateLimit → table rate_limit, userId → column user_id) with an entities override for
    anything ambiguous. It implements consumeOne and incrementOne natively as single-statement
    compare-and-swaps, and takes a getManager hook so auth writes can join a surrounding unit of
    work.

    The adapter owns the timestamp-column timezone contract end to end — binding dates as
    ISO-8601 UTC and reading them back through AT TIME ZONE 'UTC' — so it is correct on any
    machine without pg.defaults.parseInputDatesAsUTC or a custom OID 1114 parser, and without
    mutating process-global driver state.

    typeorm is an optional peer (^1.1.0), which raises engines.node to >=22.13.

@kauandotnet
kauandotnet merged commit 87a1805 into main Aug 10, 2026
9 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.

1 participant