Skip to main content

Changelog

@rtorcato/supabase-next@0.1.6 (2026-10-27)​

Patch Changes​

  • 53c19e2: Add brand banner to package READMEs for npm display.
  • 39fc9c4: Fix the built package. dist/index.js imported a ./policy.js that was never emitted, so any import of the package failed with "Module not found". next/headers is now loaded lazily inside createServerClient, so middleware/proxy files can import updateSession without tripping Next's Server-Components-only check.
  • Updated dependencies [53c19e2]
  • Updated dependencies [bc4f016]
  • Updated dependencies [3fa9fc2]
  • Updated dependencies [d141e90]
  • Updated dependencies [0213bf5]
  • Updated dependencies [71f60da]
    • @rtorcato/supabase-common@1.9.0

@rtorcato/supabase-common@1.9.0 (2026-10-27)​

Minor Changes​

  • bc4f016: Add getAal, needsMfa and getClaim claim helpers, plus the Aal type and typed aal/amr fields on SupabaseClaims, so apps can gate MFA step-up without hand-decoding the JWT.
  • 3fa9fc2: isRetryable now also covers PostgREST's transient connection errors (PGRST000–PGRST003), and toHttpStatus maps them to 503. New withRetry(fn, options?) retries a write that fails with a retryable error (thrown or returned as { error }) with exponential backoff.
  • 71f60da: publicUrl, authenticatedUrl and downloadUrl take an optional { versionId, cacheNonce } argument that adds the same query params @supabase/storage-js uses, for object versioning and cache busting. New UrlVersionOptions type.

Patch Changes​

  • 53c19e2: Add brand banner to package READMEs for npm display.
  • d141e90: Fix the built package. dist/index.js imported ./unwrap.js and the other sibling modules, which were never emitted, so importing the root entry failed with "Cannot find module". Only ./client worked. The root entry is now bundled.
  • 0213bf5: Ship an AGENTS.md in the package with the rules for using it from AI coding tools (Cursor, Copilot, Codex). It is generated from the repo's skills/supabase-common/SKILL.md, which also installs with npx skills add or as a Claude Code plugin.

@rtorcato/supabase-common@1.8.0 (2026-07-23)​

Minor Changes​

  • a40e94b: Add Realtime convention builders — channelName(schema, table, id?) and postgresChangesFilter({ event?, schema?, table, filter? }) (pure, no client). Closes #33.

Patch Changes​

  • de9ed11: Fix build: emit the ./client subpath (dist/client.*) again. Newer @rtorcato/js-tooling no longer auto-derives tsup entries, so src/client.ts is now listed explicitly — the ./client export was unresolvable (broke @rtorcato/supabase-next's build/typecheck).

@rtorcato/supabase-next@0.1.4 (2026-07-19)​

Patch Changes​

  • Updated dependencies [caf77de]
    • @rtorcato/supabase-common@1.7.0

@rtorcato/supabase-common@1.7.0 (2026-07-19)​

Minor Changes​

  • caf77de: Add unverified JWT claim helpers — decodeClaims, getUserId, getRole, isExpired (base64url decode of the access-token payload, no client). Closes #32.

@rtorcato/supabase-next@0.1.1 (2026-07-19)​

Patch Changes​

  • Updated dependencies [45eb614]
    • @rtorcato/supabase-common@1.4.0

@rtorcato/supabase-common@1.4.0 (2026-07-19)​

Minor Changes​

  • 45eb614: Add transformUrl — a pure builder for Supabase's image render endpoint (width/height/resize/quality/format), alongside the existing Storage URL builders.

@rtorcato/supabase-common@1.3.0 (2026-07-17)​

Minor Changes​

  • a045986: Add Storage URL builders: publicUrl, authenticatedUrl, downloadUrl, and storageFolder. Pure string builders (no client, no @supabase/supabase-js dependency) for constructing Supabase Storage object URLs and reading the top-level folder an RLS policy checks via storage.foldername(name)[1].

Bug Fixes​

  • docs: pin typescript to 5.x so TypeDoc build works (0521638)

@rtorcato/supabase-next@0.1.0 (2026-07-17)​

Minor Changes​

  • 7bad3ef: Initial release: Next.js App Router helpers for Supabase SSR — createServerClient (wired to next/headers cookies), updateSession middleware session refresh with a parameterized public-path policy, and a re-exported createBrowserClient. Built on @rtorcato/supabase-common/client; @supabase/ssr, @supabase/supabase-js, and next are peer deps.

Patch Changes​

  • Updated dependencies [a045986]
    • @rtorcato/supabase-common@1.3.0

1.2.1 (2026-07-10)​

Bug Fixes​

  • docs: pin typescript to 5.x so TypeDoc build works (0521638)

1.2.0 (2026-07-10)​

Features​

  • client: framework-agnostic Supabase client factories (db9624c), closes #34

1.1.0 (2026-07-10)​

Bug Fixes​

  • ci: build before semantic-release so dist is published (f2e633f)
  • deps: revert typescript to 5.x (7.0 breaks tsup dts build) (99589df)
  • tsconfig: drop baseUrl removed in TypeScript 7 (5cc241c)
  • update lockfile for demo app deps (b13dbf8)

Features​

  • add pagination, list and error-code helpers (f541467), closes #9

1.0.0 (2026-07-09)​

Bug Fixes​

  • ci: allow core-js/sharp builds so frozen install passes in CI (5a77c51)
  • ci: drop pnpm version input, use packageManager as the single source (e2e7d9a)
  • ci: make knip monorepo-aware and clean docs deps (2dd5e0c)
  • ci: set packageManager so pnpm/action-setup resolves a version (ec4e169)

Features​

  • scaffold supabase-common with unwrap helpers and docs site (e86f569)

Every entry above is generated by semantic-release and published to GitHub Releases, which also lists older versions.