@mastra/auth 1.0.0-beta.2 → 1.0.0

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,5 +1,28 @@
1
1
  # @mastra/auth
2
2
 
3
+ ## 1.0.0
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
+ - Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
10
+
11
+ ### Patch Changes
12
+
13
+ - Add embedded documentation support for Mastra packages ([#11472](https://github.com/mastra-ai/mastra/pull/11472))
14
+
15
+ Mastra packages now include embedded documentation in the published npm package under `dist/docs/`. This enables coding agents and AI assistants to understand and use the framework by reading documentation directly from `node_modules`.
16
+
17
+ Each package includes:
18
+ - **SKILL.md** - Entry point explaining the package's purpose and capabilities
19
+ - **SOURCE_MAP.json** - Machine-readable index mapping exports to types and implementation files
20
+ - **Topic folders** - Conceptual documentation organized by feature area
21
+
22
+ Documentation is driven by the `packages` frontmatter field in MDX files, which maps docs to their corresponding packages. CI validation ensures all docs include this field.
23
+
24
+ - Allow provider to pass through options to the auth config ([#10284](https://github.com/mastra-ai/mastra/pull/10284))
25
+
3
26
  ## 1.0.0-beta.2
4
27
 
5
28
  ### Patch Changes
@@ -29,4 +29,4 @@ docs/
29
29
  ## Version
30
30
 
31
31
  Package: @mastra/auth
32
- Version: 1.0.0-beta.2
32
+ Version: 1.0.0
@@ -5,7 +5,7 @@ description: Documentation for @mastra/auth. Includes links to type definitions
5
5
 
6
6
  # @mastra/auth Documentation
7
7
 
8
- > **Version**: 1.0.0-beta.2
8
+ > **Version**: 1.0.0
9
9
  > **Package**: @mastra/auth
10
10
 
11
11
  ## Quick Navigation
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-beta.2",
2
+ "version": "1.0.0",
3
3
  "package": "@mastra/auth",
4
4
  "exports": {},
5
5
  "modules": {}
@@ -63,9 +63,7 @@ Once `MastraClient` is configured, you can send authenticated requests from your
63
63
  async function handleClick() {
64
64
  const agent = mastraClient.getAgent("weatherAgent");
65
65
 
66
- const response = await agent.generate({
67
- messages: "Weather in London"
68
- });
66
+ const response = await agent.generate("Weather in London");
69
67
 
70
68
  console.log(response);
71
69
  }
@@ -85,6 +83,7 @@ Once `MastraClient` is configured, you can send authenticated requests from your
85
83
  "messages": "Weather in London"
86
84
  }'
87
85
  ```
86
+
88
87
 
89
88
 
90
89
  ## Creating a JWT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/auth",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -37,9 +37,9 @@
37
37
  "tsup": "^8.5.0",
38
38
  "typescript": "^5.9.3",
39
39
  "vitest": "4.0.16",
40
- "@internal/lint": "0.0.53",
41
- "@mastra/core": "1.0.0-beta.20",
42
- "@internal/types-builder": "0.0.28"
40
+ "@internal/lint": "0.0.54",
41
+ "@internal/types-builder": "0.0.29",
42
+ "@mastra/core": "1.0.0"
43
43
  },
44
44
  "homepage": "https://mastra.ai",
45
45
  "repository": {