@mastra/auth-auth0 0.0.0-ai-v5-20250729181825 → 0.0.0-bundle-studio-cloud-20251222034739

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,106 @@
1
1
  # @mastra/auth-auth0
2
2
 
3
- ## 0.0.0-ai-v5-20250729181825
3
+ ## 0.0.0-bundle-studio-cloud-20251222034739
4
+
5
+ ### Major Changes
6
+
7
+ - Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
8
+
9
+ - Experimental auth -> auth ([#9660](https://github.com/mastra-ai/mastra/pull/9660))
10
+
11
+ - This change introduces **three major breaking changes** to the Auth0 authentication provider. These updates make token verification safer, prevent server crashes, and ensure proper authorization checks. ([#10632](https://github.com/mastra-ai/mastra/pull/10632))
12
+ - `authenticateToken()` now fails safely instead of throwing
13
+ - Empty or invalid tokens are now rejected early
14
+ - `authorizeUser()` now performs meaningful security checks
15
+
16
+ These changes improve stability, prevent runtime crashes, and enforce safer authentication & authorization behavior throughout the system.
17
+
18
+ - Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
19
+
20
+ ### Patch Changes
21
+
22
+ - dependencies updates: ([#10132](https://github.com/mastra-ai/mastra/pull/10132))
23
+ - Updated dependency [`jose@^6.1.1` ↗︎](https://www.npmjs.com/package/jose/v/6.1.1) (from `^6.0.12`, in `dependencies`)
24
+
25
+ - Allow provider to pass through options to the auth config ([#10284](https://github.com/mastra-ai/mastra/pull/10284))
26
+
27
+ ## 1.0.0-beta.3
28
+
29
+ ### Major Changes
30
+
31
+ - This change introduces **three major breaking changes** to the Auth0 authentication provider. These updates make token verification safer, prevent server crashes, and ensure proper authorization checks. ([#10632](https://github.com/mastra-ai/mastra/pull/10632))
32
+ - `authenticateToken()` now fails safely instead of throwing
33
+ - Empty or invalid tokens are now rejected early
34
+ - `authorizeUser()` now performs meaningful security checks
35
+
36
+ These changes improve stability, prevent runtime crashes, and enforce safer authentication & authorization behavior throughout the system.
37
+
38
+ ## 1.0.0-beta.2
39
+
40
+ ### Patch Changes
41
+
42
+ - Allow provider to pass through options to the auth config ([#10284](https://github.com/mastra-ai/mastra/pull/10284))
43
+
44
+ ## 1.0.0-beta.1
45
+
46
+ ### Patch Changes
47
+
48
+ - dependencies updates: ([#10132](https://github.com/mastra-ai/mastra/pull/10132))
49
+ - Updated dependency [`jose@^6.1.1` ↗︎](https://www.npmjs.com/package/jose/v/6.1.1) (from `^6.0.12`, in `dependencies`)
50
+
51
+ ## 1.0.0-beta.0
52
+
53
+ ### Major Changes
54
+
55
+ - Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
56
+
57
+ - Experimental auth -> auth ([#9660](https://github.com/mastra-ai/mastra/pull/9660))
58
+
59
+ - Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
60
+
61
+ ## 0.10.5
62
+
63
+ ### Patch Changes
64
+
65
+ - Update package.json and README ([#7886](https://github.com/mastra-ai/mastra/pull/7886))
66
+
67
+ ## 0.10.5-alpha.0
68
+
69
+ ### Patch Changes
70
+
71
+ - Update package.json and README ([#7886](https://github.com/mastra-ai/mastra/pull/7886))
72
+
73
+ ## 0.10.4
74
+
75
+ ### Patch Changes
76
+
77
+ - de3cbc6: Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
78
+
79
+ ## 0.10.4-alpha.0
80
+
81
+ ### Patch Changes
82
+
83
+ - [#7343](https://github.com/mastra-ai/mastra/pull/7343) [`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e) Thanks [@LekoArts](https://github.com/LekoArts)! - Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
84
+
85
+ ## 0.10.3
86
+
87
+ ### Patch Changes
88
+
89
+ - [`c6113ed`](https://github.com/mastra-ai/mastra/commit/c6113ed7f9df297e130d94436ceee310273d6430) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdpes for @mastra/core
90
+
91
+ ## 0.10.2
92
+
93
+ ### Patch Changes
94
+
95
+ - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
96
+
97
+ ## 0.10.2-alpha.0
98
+
99
+ ### Patch Changes
100
+
101
+ - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
102
+
103
+ ## 0.10.1
4
104
 
5
105
  ### Patch Changes
6
106
 
package/README.md CHANGED
@@ -15,7 +15,7 @@ pnpm add @mastra/auth-auth0
15
15
  ## Usage
16
16
 
17
17
  ```typescript
18
- import { Mastra } from '@mastra/core';
18
+ import { Mastra } from '@mastra/core/mastra';
19
19
  import { MastraAuthAuth0 } from '@mastra/auth-auth0';
20
20
 
21
21
  // Initialize with options
@@ -31,7 +31,7 @@ const auth0Provider = new MastraAuthAuth0();
31
31
  const mastra = new Mastra({
32
32
  ...
33
33
  server: {
34
- experimental_auth: auth0Provider,
34
+ auth: auth0Provider,
35
35
  },
36
36
  });
37
37
  ```
@@ -83,7 +83,3 @@ const isAuthorized = await auth0Provider.authorizeUser(user);
83
83
  - Node.js 16 or higher
84
84
  - Auth0 account and configured application
85
85
  - Valid Auth0 domain and API identifier
86
-
87
- ## License
88
-
89
- MIT