Skip to content

BTST 3.1.0

Choose a tag to compare

@olliethedev olliethedev released this 16 Sep 20:26

BTST 3.1.0 promotes the verified 3.1.0 RC runtime to the stable npm channel.

  • Preserve Stack, Auth and router context values when their inputs are unchanged, preventing redundant updates from interrupting prefetched lazy page hydration.
  • Generate stable provider overrides for Next.js, React Router and TanStack Start. Existing route.PageComponent rendering, eager authorization and page code splitting remain supported.
  • Add optional direct guarded blog list, post and tag entry points and the ClientStackOverrides type.
  • Install matching stable packages from the CLI: @btst/stack@3.1.0 and @btst/better-auth-ui@2.0.1. The companion isolates session-driven renders from configuration context.
  • Allow npm publication verification to wait for publish-time scanning without changing its version or integrity checks.

Validation includes stack and CLI unit tests, strict npm/pnpm packed consumers, all three generated-app framework suites, registry checks, docs/playground builds and a deployed consumer preview. Dedicated browser regressions cover visible content during delayed module loading, authorization revocation, current callbacks, failed module loading and unrelated page implementation exclusion.

This addresses redundant context updates. Initial server streaming placeholders and loading caused by meaningful identity/runtime/context changes can still occur. Host integrations must also keep unchanged provider configuration stable.

Install:

pnpm add @btst/stack@3.1.0 @btst/better-auth-ui@2.0.1

PR: #276