diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index a27f6eb..4c94b2a 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), ## [Unreleased] +--- + +## [0.5.0] - 2026-03-19 + ### Added - Added support for defining the base URL through the `BASE_URL` environment variable or the `baseURL` option in `createAuth`. This value is used to construct the incoming URL. [#117](https://github.com/aura-stack-ts/auth/pull/117) @@ -20,11 +24,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), - Introduced an `api` object via `createAuth` for retrieving and signing out sessions on the server without calling mounted endpoints, improving resource access in trusted environments. [#112](https://github.com/aura-stack-ts/auth/pull/112) -- Added the `Dropbox` OAuth provider to the supported integrations in Aura Auth. [#59](https://github.com/aura-stack-ts/auth/pull/59) - -- Added the `Notion` OAuth provider to the supported integrations in Aura Auth. [#49](https://github.com/aura-stack-ts/auth/pull/49) - -- Added the `Twitch` OAuth provider to the supported integrations in Aura Auth. [#47](https://github.com/aura-stack-ts/auth/pull/47) +- Introduced a new OAuth provider configuration API that enables passing custom values and properties to the `/authorization`, `/access_token`, and `/userinfo` endpoints of OAuth services, improving flexibility and compatibility when integrating with a broader range of providers. [#109](https://github.com/aura-stack-ts/auth/pull/109) - Added support for loading authentication configuration from environment variables, including `DEBUG`, `LOG_LEVEL`, `TRUSTED_ORIGINS`, and `TRUSTED_PROXY_HEADERS`. Also updated automatic environment variable loading patterns. [#108](https://github.com/aura-stack-ts/auth/pull/108) @@ -32,6 +32,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), - Added `timingSafeEqual` function for constant-time string comparison across runtimes. [#99](https://github.com/aura-stack-ts/auth/pull/99) +- Added the `Atlassian` OAuth provider to the supported integrations in Aura Auth. [#60](https://github.com/aura-stack-ts/auth/pull/60) + +- Added the `Dropbox` OAuth provider to the supported integrations in Aura Auth. [#59](https://github.com/aura-stack-ts/auth/pull/59) + +- Added the `Notion` OAuth provider to the supported integrations in Aura Auth. [#49](https://github.com/aura-stack-ts/auth/pull/49) + +- Added the `Twitch` OAuth provider to the supported integrations in Aura Auth. [#47](https://github.com/aura-stack-ts/auth/pull/47) + ### Changed - Updated logger configuration priority in `createAuth`: direct logger configuration is applied first, followed by `LOG_LEVEL`, and finally the `DEBUG` environment variable. [#120](https://github.com/aura-stack-ts/auth/pull/120) diff --git a/packages/core/deno.json b/packages/core/deno.json index 486f5e5..fcf6e15 100644 --- a/packages/core/deno.json +++ b/packages/core/deno.json @@ -1,14 +1,29 @@ { "name": "@aura-stack/auth", - "version": "0.4.0", + "version": "0.5.0", "license": "MIT", "tasks": { "dev": "deno run --watch src/index.ts" }, "exports": { ".": "./src/index.ts", - "./oauth": "./src/oauth/*.ts", - "./types": "./src/@types/index.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", + "./types": "./src/@types/index.ts", + "./client": "./src/client/index.ts" }, "imports": { "@/": "./src/", diff --git a/packages/core/package.json b/packages/core/package.json index b0d83bb..032be66 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@aura-stack/auth", - "version": "0.4.0", + "version": "0.5.0", "private": false, "type": "module", "description": "Core auth for @aura-stack/auth", diff --git a/packages/core/src/oauth/atlassian.ts b/packages/core/src/oauth/atlassian.ts index 3757dca..2e8f1db 100644 --- a/packages/core/src/oauth/atlassian.ts +++ b/packages/core/src/oauth/atlassian.ts @@ -1,4 +1,4 @@ -import type { LiteralUnion, OAuthProviderCredentials } from "@/@types/index.js" +import type { LiteralUnion, OAuthProviderCredentials } from "@/@types/index.ts" export interface ExtendedProfile { job_title: string diff --git a/packages/core/src/oauth/dropbox.ts b/packages/core/src/oauth/dropbox.ts index d63376b..d9078d2 100644 --- a/packages/core/src/oauth/dropbox.ts +++ b/packages/core/src/oauth/dropbox.ts @@ -1,4 +1,4 @@ -import type { OAuthProviderCredentials } from "@/@types/index.js" +import type { OAuthProviderCredentials } from "@/@types/index.ts" export type AccountType = "basic" | "pro" | "business" diff --git a/packages/jose/CHANGELOG.md b/packages/jose/CHANGELOG.md index 0f6ed6e..68ba882 100644 --- a/packages/jose/CHANGELOG.md +++ b/packages/jose/CHANGELOG.md @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), ## [Unreleased] +--- + +## [0.4.0] - 2026-03-19 + ### Added - Introduced type-safe payloads in `createJWT`, `encodeJWT`, `decodeJWT`, `createJWS`, `signJWS` and `verifyJWS` to provide stronger typing for JWT encoding and decoding, including improved autocompletion for payload attributes during creation and verification. [#116](https://github.com/aura-stack-ts/auth/pull/116) diff --git a/packages/jose/deno.json b/packages/jose/deno.json index 3c2338f..cc73c83 100644 --- a/packages/jose/deno.json +++ b/packages/jose/deno.json @@ -1,6 +1,6 @@ { "name": "@aura-stack/jose", - "version": "0.3.0", + "version": "0.4.0", "license": "MIT", "tasks": { "dev": "deno run --watch src/index.ts", diff --git a/packages/jose/package.json b/packages/jose/package.json index d439df5..8657448 100644 --- a/packages/jose/package.json +++ b/packages/jose/package.json @@ -1,6 +1,6 @@ { "name": "@aura-stack/jose", - "version": "0.3.0", + "version": "0.4.0", "private": false, "type": "module", "description": "JOSE utilities for @aura-stack/auth",