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
18 changes: 13 additions & 5 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -20,18 +24,22 @@ 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)

- Added the `User-Agent` header to requests sent to the `/userInfo` endpoint, allowing the service to identify the calling client or application. [#105](https://github.com/aura-stack-ts/auth/pull/105)

- 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)
Expand Down
21 changes: 18 additions & 3 deletions packages/core/deno.json
Original file line number Diff line number Diff line change
@@ -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/",
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.4.0",
"version": "0.5.0",
"private": false,
"type": "module",
"description": "Core auth for @aura-stack/auth",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/oauth/atlassian.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/oauth/dropbox.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { OAuthProviderCredentials } from "@/@types/index.js"
import type { OAuthProviderCredentials } from "@/@types/index.ts"

export type AccountType = "basic" | "pro" | "business"

Expand Down
4 changes: 4 additions & 0 deletions packages/jose/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion packages/jose/deno.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/jose/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Loading