@mastra/s3 0.5.0-alpha.0 → 0.5.1-alpha.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,51 @@
1
1
  # @mastra/s3
2
2
 
3
+ ## 0.5.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - dependencies updates: ([#16127](https://github.com/mastra-ai/mastra/pull/16127))
8
+ - Updated dependency [`@aws-sdk/client-s3@^3.1040.0` ↗︎](https://www.npmjs.com/package/@aws-sdk/client-s3/v/3.1040.0) (from `^3.1032.0`, in `dependencies`)
9
+ - Updated dependencies [[`86c0298`](https://github.com/mastra-ai/mastra/commit/86c0298e647306423c842f9d5ac827bd616bd13d), [`7fce309`](https://github.com/mastra-ai/mastra/commit/7fce30912b14170bfc41f0ac736cca0f39fe0cd4), [`7997c2e`](https://github.com/mastra-ai/mastra/commit/7997c2e55ddd121562a4098cd8d2b89c68433bf1), [`e97ccb9`](https://github.com/mastra-ai/mastra/commit/e97ccb900f8b7a390ce82c9f8eb8d6eb2c5e3777), [`c5daf48`](https://github.com/mastra-ai/mastra/commit/c5daf48556e98c46ae06caf00f92c249912007e9), [`cd96779`](https://github.com/mastra-ai/mastra/commit/cd9677937f113b2856dc8b9f3d4bdabcee58bb2e)]:
10
+ - @mastra/core@1.32.0-alpha.2
11
+
12
+ ## 0.5.0
13
+
14
+ ### Minor Changes
15
+
16
+ - Added AWS credential provider chain support to S3Filesystem and S3BlobStore. You can now pass a `credentials` option with a credential provider function (e.g. `fromNodeProviderChain()`) for auto-refreshing credentials on ECS, Lambda, SSO, or AssumeRole deployments. When all credential options are omitted, the AWS SDK default credential provider chain is used automatically instead of falling back to anonymous access. Static `accessKeyId`/`secretAccessKey` credentials continue to work as before. ([#15437](https://github.com/mastra-ai/mastra/pull/15437))
17
+
18
+ **New `credentials` option**
19
+
20
+ ```typescript
21
+ import { S3Filesystem } from '@mastra/s3';
22
+ import { fromNodeProviderChain } from '@aws-sdk/credential-providers';
23
+
24
+ // Auto-refreshing credentials (ECS task role, SSO, etc.)
25
+ const fs = new S3Filesystem({
26
+ bucket: 'my-bucket',
27
+ region: 'us-east-1',
28
+ credentials: fromNodeProviderChain(),
29
+ });
30
+ ```
31
+
32
+ **SDK default credential chain (no credentials needed)**
33
+
34
+ ```typescript
35
+ // Credentials discovered from environment automatically
36
+ const fs = new S3Filesystem({
37
+ bucket: 'my-bucket',
38
+ region: 'us-east-1',
39
+ });
40
+ ```
41
+
42
+ Fixes https://github.com/mastra-ai/mastra/issues/14289
43
+
44
+ ### Patch Changes
45
+
46
+ - Updated dependencies [[`28caa5b`](https://github.com/mastra-ai/mastra/commit/28caa5b032358545af2589ed90636eccb4dd9d2f), [`c1ae974`](https://github.com/mastra-ai/mastra/commit/c1ae97491f6e57378ce880c3a397778c42adcdf1), [`b510d36`](https://github.com/mastra-ai/mastra/commit/b510d368f73dab6be2e2c2bc99035aaef1fb7d7a), [`13b4d7c`](https://github.com/mastra-ai/mastra/commit/13b4d7c16de34dff9095d1cd80f22f544b6cfe75), [`7a7b313`](https://github.com/mastra-ai/mastra/commit/7a7b3138fb3bcf0b0c740eaea07971e43d330ef3), [`c04417b`](https://github.com/mastra-ai/mastra/commit/c04417ba0a2e4ded66da4352331ef29cd4bd1d79), [`cf25a03`](https://github.com/mastra-ai/mastra/commit/cf25a03132164b9dc1e5dccf7394824e33007c51), [`8a71261`](https://github.com/mastra-ai/mastra/commit/8a71261e3954ae617c6f8e25767b951f99438ab2), [`9e973b0`](https://github.com/mastra-ai/mastra/commit/9e973b010dacfa15ac82b0072897319f5234b90a), [`dd934a0`](https://github.com/mastra-ai/mastra/commit/dd934a0982ce0f78712fbd559e4f2410bf594b39), [`ba6b0c5`](https://github.com/mastra-ai/mastra/commit/ba6b0c51bfce358554fd33c7f2bcd5593633f2ff), [`a6dac0a`](https://github.com/mastra-ai/mastra/commit/a6dac0a40c7181161b1add4e8534f962bcbc9aa7), [`5a4b1ee`](https://github.com/mastra-ai/mastra/commit/5a4b1ee80212969621228104995589c0fa59e575), [`5a4b1ee`](https://github.com/mastra-ai/mastra/commit/5a4b1ee80212969621228104995589c0fa59e575), [`5a4b1ee`](https://github.com/mastra-ai/mastra/commit/5a4b1ee80212969621228104995589c0fa59e575), [`6c8c6c7`](https://github.com/mastra-ai/mastra/commit/6c8c6c71518394321a4692614aa4b11f3bb0a343), [`5a4b1ee`](https://github.com/mastra-ai/mastra/commit/5a4b1ee80212969621228104995589c0fa59e575), [`7d056b6`](https://github.com/mastra-ai/mastra/commit/7d056b6ecf603cacaa0f663ff1df025ed885b6c1), [`9cef83b`](https://github.com/mastra-ai/mastra/commit/9cef83b8a642b8098747772921e3523b492bafbc), [`d30e215`](https://github.com/mastra-ai/mastra/commit/d30e2156c746bc9fd791745cec1cc24377b66789), [`021a60f`](https://github.com/mastra-ai/mastra/commit/021a60f1f3e0135a70ef23c58be7a9b3aaffe6b4), [`73f2809`](https://github.com/mastra-ai/mastra/commit/73f2809721db24e98cdf122539652a455211b450), [`aedeea4`](https://github.com/mastra-ai/mastra/commit/aedeea48a94f728323f040478775076b9574be50), [`26f1f94`](https://github.com/mastra-ai/mastra/commit/26f1f9490574b864ba1ecedf2c9632e0767a23bd), [`8126d86`](https://github.com/mastra-ai/mastra/commit/8126d8638411eacfafdc29036ac998e8757ea66f), [`73b45fa`](https://github.com/mastra-ai/mastra/commit/73b45facdef4fbcb8af710c50f0646f18619dbaa), [`ae97520`](https://github.com/mastra-ai/mastra/commit/ae975206fdb0f6ef03c4d5bf94f7dc7c3f706c02), [`7a7b313`](https://github.com/mastra-ai/mastra/commit/7a7b3138fb3bcf0b0c740eaea07971e43d330ef3), [`441670a`](https://github.com/mastra-ai/mastra/commit/441670a02c9dc7731c52674f55481e7848a84523)]:
47
+ - @mastra/core@1.29.0
48
+
3
49
  ## 0.5.0-alpha.0
4
50
 
5
51
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/s3",
3
- "version": "0.5.0-alpha.0",
3
+ "version": "0.5.1-alpha.0",
4
4
  "description": "S3-compatible filesystem provider for Mastra workspaces (AWS S3, Cloudflare R2, MinIO)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "license": "Apache-2.0",
22
22
  "dependencies": {
23
- "@aws-sdk/client-s3": "^3.1032.0"
23
+ "@aws-sdk/client-s3": "^3.1040.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/node": "22.19.15",
@@ -29,12 +29,12 @@
29
29
  "dotenv": "^17.3.1",
30
30
  "eslint": "^10.2.1",
31
31
  "tsup": "^8.5.1",
32
- "typescript": "^5.9.3",
32
+ "typescript": "^6.0.3",
33
33
  "vitest": "4.1.5",
34
- "@internal/lint": "0.0.86",
35
- "@internal/types-builder": "0.0.61",
36
- "@internal/workspace-test-utils": "0.0.30",
37
- "@mastra/core": "1.29.0-alpha.6"
34
+ "@internal/lint": "0.0.90",
35
+ "@internal/workspace-test-utils": "0.0.34",
36
+ "@mastra/core": "1.32.0-alpha.2",
37
+ "@internal/types-builder": "0.0.65"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@aws-sdk/types": "^3.0.0",