chore: release @nestm/better-auth (alpha) - #30
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
August 22, 2026 19:44
0d25c80 to
0dd7404
Compare
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.
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.
mainis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmain.Releases
@nestm/better-auth@0.1.0-alpha.8
Minor Changes
returned by
getManager. This keeps auth mutations atomic with audit and outbox writes madethrough the same scoped manager, while retaining
dataSource.transaction()as the fallback.BetterAuthService.invokeApi()boundary for application-owned Nestcontrollers. It normalizes Node request headers to Web Headers, preserves endpoint result types,
and translates Better Auth API errors into stable Nest HTTP exceptions.
profile/role/ban mutations, token-free active session summaries, safe owned-session-id revocation,
and an opt-in policy closing the raw admin HTTP namespace. Generalize the TypeORM organization
lifecycle coordinator into one namespaced organization/user/platform control-plane coordinator
while preserving the organization-only API. Canonicalize raw request targets before auth mount and
policy matching so encoded dot segments cannot bypass protected routes, and dual-acquire legacy
plus namespaced organization advisory locks for safe rolling upgrades. The guard now rejects
retained sessions for actively banned users while respecting valid expired bans, and expiry-omitted
re-bans no longer retain a previous temporary expiry. Stock-valid hostile profile and session
display fields are projected into explicit bounded/redacted outputs instead of blocking admin
enforcement or safe session revocation. Organization member identity fields use the same bounded,
explicit projection so hostile profile display data cannot block role changes or removals.
BetterAuthSessionService, an injectable application-facing session facade with token-freesummaries, authoritative current-session detection, strict caller-owned id revocation, and bulk
revocation helpers. Add an opt-in
BetterAuthSessionManagementRoutePolicythat blocks BetterAuth's raw token-bearing HTTP session endpoints once an application facade is mounted.
invitation results, ID-bound invitation resend, serialized lifecycle mutations, and raw-route
policy enforcement. Add a PostgreSQL TypeORM coordinator that shares one application-owned
transaction and organization advisory lock with the Better Auth adapter. Active-organization
guards now bypass cookie caches and verify live membership before authorizing a request.
MutationOriginGuardwith strict trusted-origin canonicalization and Fetch Metadata fallback for state-changing controller routes.Patch Changes
so linked-workspace consumers do not need casts when TypeORM is installed at multiple physical
paths.