From 1794469bb5c9d531e892a785f66fc6f1457c0021 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 10 Aug 2026 14:31:04 +0000 Subject: [PATCH] chore: release @nestm/better-auth (alpha) --- .changeset/pre.json | 1 + CHANGELOG.md | 10 ++++++++++ package.json | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 17da35e..b8d76a3 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -7,6 +7,7 @@ "changesets": [ "bright-auth-types", "calm-request-state", + "clever-policies-compose", "initial-release", "public-metadata-interop", "quiet-routes-decide", diff --git a/CHANGELOG.md b/CHANGELOG.md index 647c448..8de67f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # @nestm/better-auth +## 0.1.0-alpha.7 + +### Minor Changes + +- a71a12f: Add ordered, DI-backed HTTP route-policy providers through `@AuthRoutePolicy()` and + `BetterAuthModule.forFeature({ routePolicies })`, including exact/prefix/list/RegExp/predicate + matching and structured `deny()` responses. The existing functional `routePolicy` option remains + supported and runs first for backward compatibility. Untouched policy body recovery is capped by + the configurable `routePolicyBodyLimit` (1 MiB by default) and returns 413 when exceeded. + ## 0.1.0-alpha.6 ### Minor Changes diff --git a/package.json b/package.json index 4057e30..f9e7b34 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nestm/better-auth", - "version": "0.1.0-alpha.6", + "version": "0.1.0-alpha.7", "description": "Better Auth integration for NestJS 12 (ESM)", "license": "BSD-3-Clause", "author": "nestm",