Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"workspace": ["packages/**", "configs/**", "apps/oak", "apps/deno", "apps/supabase/**"]
"workspace": ["packages/**", "!packages/integration", "configs/**", "apps/oak", "apps/deno", "apps/supabase/**"]
}
525 changes: 375 additions & 150 deletions deno.lock

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,27 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),

---

## [0.7.2] - 2026-06-05

### Fixed

- Republished the package to synchronize the `@aura-stack/router` dependency to version `0.7.2`.
> The codebase is identical to `v0.7.1`; differences are limited to synchronized lockfiles (`deno.lock`, `bun.lock`, and `pnpm-lock.yaml`).

---

## [0.7.1] - 2026-06-05

### Added

- Added a `/cookies` entry module for cookie management, providing utilities for authentication integrations and framework-specific packages. [#178](https://github.com/aura-stack-ts/auth/pull/178)

### Changed

- Removed TypeBox compile-time type inference from `createAuthClient` client functions and from the `createAuth` auth instance. Runtime validation with TypeBox remains supported. [#179](https://github.com/aura-stack-ts/auth/pull/179)

---

## [0.7.0] - 2026-05-23

### Added
Expand Down
4 changes: 2 additions & 2 deletions packages/core/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aura-stack/auth",
"version": "0.7.0",
"version": "0.7.2",
"license": "MIT",
"tasks": {
"dev": "deno run --watch src/index.ts"
Expand Down Expand Up @@ -31,7 +31,7 @@
},
"imports": {
"@/": "./src/",
"@aura-stack/router": "npm:@aura-stack/router@^0.7.0",
"@aura-stack/router": "npm:@aura-stack/router@^0.7.2",
"zod": "npm:zod@4.3.5",
"arktype": "npm:arktype@2.2.0",
"valibot": "npm:valibot@1.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aura-stack/auth",
"version": "0.7.0",
"version": "0.7.2",
"private": false,
"type": "module",
"description": "Open-source authentication and authorization library for modern TypeScript and JavaScript applications. Framework-agnostic, runtime-agnostic and built on web standards.",
Expand Down
6 changes: 6 additions & 0 deletions packages/elysia/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),

## [Unreleased]

---

## [0.1.0] - 2026-06-05

### Added

- Added a `/cookies` entry module for cookie management, providing utilities for authentication integrations and framework-specific packages. [#178](https://github.com/aura-stack-ts/auth/pull/178)

- Removed and cleaned up types and functions exported from the index `/` entry point to reduce import noise, and introduced `/identity`, `/crypto`, and `/shared` as direct entry points for specific utilities. [`#141`](https://github.com/aura-stack-ts/auth/pull/141)

- Introduced seamless Elysia integration package that encapsulates the core authentication logic into plugins and handlers for session management and authentication flows. [#140](https://github.com/aura-stack-ts/auth/pull/140)
29 changes: 22 additions & 7 deletions packages/elysia/deno.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,39 @@
{
"name": "@aura-stack/elysia",
"version": "0.0.0",
"version": "0.1.0",
"license": "MIT",
"tasks": {
"dev": "deno run --watch src/index.ts"
},
"exports": {
".": "./src/index.ts",
"./oauth": "./src/oauth/index.ts",
"./identity": "./src/_core/identity.ts",
"./crypto": "./src/_core/crypto.ts",
"./shared": "./src/_core/shared.ts",
"./cookies": "./src/_core/cookies.ts"
"./cookies": "./src/_core/cookies.ts",
"./oauth": "./src/oauth/index.ts",
"./oauth/atlassian": "./src/oauth/atlassian.ts",
"./oauth/bitbucket": "./src/oauth/bitbucket.ts",
"./oauth/discord": "./src/oauth/discord.ts",
"./oauth/dropbox": "./src/oauth/dropbox.ts",
"./oauth/figma": "./src/oauth/figma.ts",
"./oauth/github": "./src/oauth/github.ts",
"./oauth/gitlab": "./src/oauth/gitlab.ts",
"./oauth/mailchimp": "./src/oauth/mailchimp.ts",
"./oauth/notion": "./src/oauth/notion.ts",
"./oauth/pinterest": "./src/oauth/pinterest.ts",
"./oauth/spotify": "./src/oauth/spotify.ts",
"./oauth/strava": "./src/oauth/strava.ts",
"./oauth/twitch": "./src/oauth/twitch.ts",
"./oauth/x": "./src/oauth/x.ts"
},
"imports": {
"@/": "./src/",
"elysia": "npm:elysia@^1.2.22"
"elysia": "npm:elysia@^1.2.22",
"@aura-stack/auth": "npm:@aura-stack/auth@^0.7.2"
},
"publish": {
"include": ["src/**/*.ts", "README.md", "CHANGELOG.md"]
},
"exclude": ["dist", "node_modules"]
"include": ["src/**/*.ts", "src/_core", "src/oauth", "README.md", "CHANGELOG.md"],
"exclude": ["dist", "node_modules"]
}
}
2 changes: 1 addition & 1 deletion packages/elysia/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aura-stack/elysia",
"version": "0.0.0",
"version": "0.1.0",
"private": false,
"type": "module",
"description": "Authentication integration for Elysia applications. Provides middleware, route handlers and session verification powered by Aura Auth.",
Expand Down
6 changes: 6 additions & 0 deletions packages/express/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),

## [Unreleased]

---

## [0.1.0] - 2026-06-05

### Added

- Added a `/cookies` entry module for cookie management, providing utilities for authentication integrations and framework-specific packages. [#178](https://github.com/aura-stack-ts/auth/pull/178)

- Removed and cleaned up types and functions exported from the index `/` entry point to reduce import noise, and introduced `/identity`, `/crypto`, and `/shared` as direct entry points for specific utilities. [`#141`](https://github.com/aura-stack-ts/auth/pull/141)

- Introduced a seamless Express integration package that encapsulates the core authentication logic into middleware and handlers for session management and authentication flows. [#138](https://github.com/aura-stack-ts/auth/pull/138)
26 changes: 21 additions & 5 deletions packages/express/deno.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,39 @@
{
"name": "@aura-stack/express",
"version": "0.0.0",
"version": "0.1.0",
"license": "MIT",
"tasks": {
"dev": "deno run --watch src/index.ts"
},
"exports": {
".": "./src/index.ts",
"./oauth": "./src/oauth/index.ts",
"./identity": "./src/_core/identity.ts",
"./crypto": "./src/_core/crypto.ts",
"./shared": "./src/_core/shared.ts",
"./cookies": "./src/_core/cookies.ts"
"./cookies": "./src/_core/cookies.ts",
"./oauth": "./src/oauth/index.ts",
"./oauth/atlassian": "./src/oauth/atlassian.ts",
"./oauth/bitbucket": "./src/oauth/bitbucket.ts",
"./oauth/discord": "./src/oauth/discord.ts",
"./oauth/dropbox": "./src/oauth/dropbox.ts",
"./oauth/figma": "./src/oauth/figma.ts",
"./oauth/github": "./src/oauth/github.ts",
"./oauth/gitlab": "./src/oauth/gitlab.ts",
"./oauth/mailchimp": "./src/oauth/mailchimp.ts",
"./oauth/notion": "./src/oauth/notion.ts",
"./oauth/pinterest": "./src/oauth/pinterest.ts",
"./oauth/spotify": "./src/oauth/spotify.ts",
"./oauth/strava": "./src/oauth/strava.ts",
"./oauth/twitch": "./src/oauth/twitch.ts",
"./oauth/x": "./src/oauth/x.ts"
},
"imports": {
"@/": "./src/"
"@/": "./src/",
"express": "npm:express@^4.18.2",
"@aura-stack/auth": "npm:@aura-stack/auth@^0.7.2"
},
"publish": {
"include": ["src/**/*.ts", "README.md", "CHANGELOG.md"]
"include": ["src/**/*.ts", "src/_core", "src/oauth", "README.md", "CHANGELOG.md"]
},
"exclude": ["dist", "node_modules"]
}
2 changes: 1 addition & 1 deletion packages/express/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aura-stack/express",
"version": "0.0.0",
"version": "0.1.0",
"private": false,
"type": "module",
"description": "Authentication integration for Express applications. Provides middleware, route handlers and session verification powered by Aura Auth.",
Expand Down
6 changes: 6 additions & 0 deletions packages/hono/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),

## [Unreleased]

---

## [0.1.0] - 2026-06-05

### Added

- Added a `/cookies` entry module for cookie management, providing utilities for authentication integrations and framework-specific packages. [#178](https://github.com/aura-stack-ts/auth/pull/178)

- Removed and cleaned up types and functions exported from the index `/` entry point to reduce import noise, and introduced `/identity`, `/crypto`, and `/shared` as direct entry points for specific utilities. [`#141`](https://github.com/aura-stack-ts/auth/pull/141)

- Introduced a seamless Hono integration package that encapsulates the core authentication logic into middleware and handlers for session management and authentication flows. [#139](https://github.com/aura-stack-ts/auth/pull/139)
25 changes: 20 additions & 5 deletions packages/hono/deno.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,39 @@
{
"name": "@aura-stack/hono",
"version": "0.0.0",
"version": "0.1.0",
"license": "MIT",
"tasks": {
"dev": "deno run --watch src/index.ts"
},
"exports": {
".": "./src/index.ts",
"./oauth": "./src/oauth/index.ts",
"./identity": "./src/_core/identity.ts",
"./crypto": "./src/_core/crypto.ts",
"./shared": "./src/_core/shared.ts",
"./cookies": "./src/_core/cookies.ts"
"./cookies": "./src/_core/cookies.ts",
"./oauth": "./src/oauth/index.ts",
"./oauth/atlassian": "./src/oauth/atlassian.ts",
"./oauth/bitbucket": "./src/oauth/bitbucket.ts",
"./oauth/discord": "./src/oauth/discord.ts",
"./oauth/dropbox": "./src/oauth/dropbox.ts",
"./oauth/figma": "./src/oauth/figma.ts",
"./oauth/github": "./src/oauth/github.ts",
"./oauth/gitlab": "./src/oauth/gitlab.ts",
"./oauth/mailchimp": "./src/oauth/mailchimp.ts",
"./oauth/notion": "./src/oauth/notion.ts",
"./oauth/pinterest": "./src/oauth/pinterest.ts",
"./oauth/spotify": "./src/oauth/spotify.ts",
"./oauth/strava": "./src/oauth/strava.ts",
"./oauth/twitch": "./src/oauth/twitch.ts",
"./oauth/x": "./src/oauth/x.ts"
},
"imports": {
"@/": "./src/",
"hono": "npm:hono@^4.0.0"
"hono": "npm:hono@^4.0.0",
"@aura-stack/auth": "npm:@aura-stack/auth@^0.7.2"
},
"publish": {
"include": ["src/**/*.ts", "README.md", "CHANGELOG.md"]
"include": ["src/**/*.ts", "src/_core", "src/oauth", "README.md", "CHANGELOG.md"]
},
"exclude": ["dist", "node_modules"]
}
2 changes: 1 addition & 1 deletion packages/hono/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aura-stack/hono",
"version": "0.0.0",
"version": "0.1.0",
"private": false,
"type": "module",
"description": "Authentication integration for Hono applications. Provides middleware, route handlers and session verification powered by Aura Auth.",
Expand Down
18 changes: 16 additions & 2 deletions packages/integration/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,25 @@
},
"imports": {
"@/": "./src/",
"./oauth": "./src/oauth/index.ts",
"./identity": "./src/_core/identity.ts",
"./crypto": "./src/_core/crypto.ts",
"./shared": "./src/_core/shared.ts",
"./cookies": "src/_core/cookies.ts"
"./cookies": "./src/_core/cookies.ts",
"./oauth": "./src/oauth/index.ts",
"./oauth/atlassian": "./src/oauth/atlassian.ts",
"./oauth/bitbucket": "./src/oauth/bitbucket.ts",
"./oauth/discord": "./src/oauth/discord.ts",
"./oauth/dropbox": "./src/oauth/dropbox.ts",
"./oauth/figma": "./src/oauth/figma.ts",
"./oauth/github": "./src/oauth/github.ts",
"./oauth/gitlab": "./src/oauth/gitlab.ts",
"./oauth/mailchimp": "./src/oauth/mailchimp.ts",
"./oauth/notion": "./src/oauth/notion.ts",
"./oauth/pinterest": "./src/oauth/pinterest.ts",
"./oauth/spotify": "./src/oauth/spotify.ts",
"./oauth/strava": "./src/oauth/strava.ts",
"./oauth/twitch": "./src/oauth/twitch.ts",
"./oauth/x": "./src/oauth/x.ts"
},
"publish": {
"include": ["src/**/*.ts", "src/**/*.tsx", "README.md", "CHANGELOG.md"]
Expand Down
8 changes: 8 additions & 0 deletions packages/next/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),

## [Unreleased]

---

## [0.1.0] - 2026-06-05

### Added

- Added a `/cookies` entry module for cookie management, providing utilities for authentication integrations and framework-specific packages. [#178](https://github.com/aura-stack-ts/auth/pull/178)

- Added full support for the Pages Router strategy and introduced new entry modules `/pages/client` and `/pages/context` for accessing dedicated features. [#176](https://github.com/aura-stack-ts/auth/pull/176)

- Introduced the `createAuth` function to manage the Next.js Pages Router. It includes the `toHandler` adapter for handling Node.js requests and is accessible from the `/pages` entry module. [#169](https://github.com/aura-stack-ts/auth/pull/169)

- Updated Next.js API functions (`signIn`, `signInCredentials`, `updateSession`, and `signOut`) to align with the standardized core API contracts, including improved conditional return types for redirect flows, consistent cookie synchronization from API response headers, and support for redirect-aware `updateSession` behavior in App Router helpers. [#146](https://github.com/aura-stack-ts/auth/pull/146)
Expand Down
26 changes: 21 additions & 5 deletions packages/next/deno.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,42 @@
{
"name": "@aura-stack/next",
"version": "0.0.0",
"version": "0.1.0",
"license": "MIT",
"exports": {
".": "./src/index.ts",
"./client": "./src/client.ts",
"./oauth": "./src/oauth/index.ts",
"./identity": "./src/_core/identity.ts",
"./crypto": "./src/_core/crypto.ts",
"./shared": "./src/_core/shared.ts",
"./cookies": "./src/_core/cookies.ts",
"./types": "./src/@types/index.ts",
"./pages": "./src/pages/index.ts",
"./pages/client": "./src/pages/client.ts",
"./pages/context": "./src/pages/context.ts"
"./pages/context": "./src/pages/context.tsx",
"./oauth": "./src/oauth/index.ts",
"./oauth/atlassian": "./src/oauth/atlassian.ts",
"./oauth/bitbucket": "./src/oauth/bitbucket.ts",
"./oauth/discord": "./src/oauth/discord.ts",
"./oauth/dropbox": "./src/oauth/dropbox.ts",
"./oauth/figma": "./src/oauth/figma.ts",
"./oauth/github": "./src/oauth/github.ts",
"./oauth/gitlab": "./src/oauth/gitlab.ts",
"./oauth/mailchimp": "./src/oauth/mailchimp.ts",
"./oauth/notion": "./src/oauth/notion.ts",
"./oauth/pinterest": "./src/oauth/pinterest.ts",
"./oauth/spotify": "./src/oauth/spotify.ts",
"./oauth/strava": "./src/oauth/strava.ts",
"./oauth/twitch": "./src/oauth/twitch.ts",
"./oauth/x": "./src/oauth/x.ts"
},
"imports": {
"@/": "./src/",
"next": "npm:next@^16.0.0"
"next": "npm:next@16.1.6",
"react": "npm:react@19.2.3",
"@aura-stack/react": "npm:@aura-stack/react@^0.1.0"
},
"publish": {
"include": ["src/**/*.ts", "README.md", "CHANGELOG.md"]
"include": ["src/**/*.ts", "src/**/*.tsx", "src/_core", "src/oauth", "README.md", "CHANGELOG.md"]
},
"exclude": ["dist", "node_modules"]
}
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aura-stack/next",
"version": "0.0.0",
"version": "0.1.0",
"private": false,
"type": "module",
"description": "Authentication integration for Next.js applications. Supports App Router, Server Components, Route Handlers and client-side authentication powered by Aura Auth.",
Expand Down
Loading
Loading