@mastra/fastembed 1.0.0-beta.3 → 1.0.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 (62) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/LICENSE.md +15 -0
  3. package/dist/_types/@internal_ai-sdk-v5/dist/index.d.ts +2103 -269
  4. package/dist/{chunk-SG3GRV3O.cjs → chunk-23EXJLET.cjs} +3 -3
  5. package/dist/chunk-23EXJLET.cjs.map +1 -0
  6. package/dist/{chunk-KMQS2YEC.js → chunk-BSDWQEU3.js} +3 -3
  7. package/dist/chunk-BSDWQEU3.js.map +1 -0
  8. package/dist/chunk-EQ4M72KU.js +439 -0
  9. package/dist/chunk-EQ4M72KU.js.map +1 -0
  10. package/dist/{chunk-WC4XBMZT.js → chunk-HJYHDIOC.js} +5 -5
  11. package/dist/chunk-HJYHDIOC.js.map +1 -0
  12. package/dist/{chunk-ZUQPUTTO.cjs → chunk-IDRQZVB4.cjs} +4 -4
  13. package/dist/chunk-IDRQZVB4.cjs.map +1 -0
  14. package/dist/{chunk-YMNW6DEN.cjs → chunk-LIBOSOHM.cjs} +14 -14
  15. package/dist/chunk-LIBOSOHM.cjs.map +1 -0
  16. package/dist/{chunk-MMUHFOCG.js → chunk-RC6RZVYE.js} +4 -4
  17. package/dist/chunk-RC6RZVYE.js.map +1 -0
  18. package/dist/chunk-ZD3BKU5O.cjs +441 -0
  19. package/dist/chunk-ZD3BKU5O.cjs.map +1 -0
  20. package/dist/index.cjs +1153 -465
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.ts +7 -2
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.js +1142 -455
  25. package/dist/index.js.map +1 -1
  26. package/dist/{token-6GSAFR2W-VLY2XUPA.js → token-6GSAFR2W-ABXTQD64.js} +5 -5
  27. package/dist/token-6GSAFR2W-ABXTQD64.js.map +1 -0
  28. package/dist/{token-6GSAFR2W-YCB5SK2Z.cjs → token-6GSAFR2W-TW2P7HCS.cjs} +8 -8
  29. package/dist/token-6GSAFR2W-TW2P7HCS.cjs.map +1 -0
  30. package/dist/{token-6GSAFR2W-K2BTU23I.js → token-APYSY3BW-2DN6RAUY.js} +11 -11
  31. package/dist/token-APYSY3BW-2DN6RAUY.js.map +1 -0
  32. package/dist/{token-6GSAFR2W-JV3TZR4M.cjs → token-APYSY3BW-ZQ7TMBY7.cjs} +14 -14
  33. package/dist/token-APYSY3BW-ZQ7TMBY7.cjs.map +1 -0
  34. package/dist/token-util-NEHG7TUY-GYFEVMWP.cjs +10 -0
  35. package/dist/{token-util-NEHG7TUY-7IL6JUVY.cjs.map → token-util-NEHG7TUY-GYFEVMWP.cjs.map} +1 -1
  36. package/dist/token-util-NEHG7TUY-XQP3QSPX.js +8 -0
  37. package/dist/{token-util-NEHG7TUY-TIJ3LMSH.js.map → token-util-NEHG7TUY-XQP3QSPX.js.map} +1 -1
  38. package/dist/token-util-RMHT2CPJ-6TGPE335.cjs +10 -0
  39. package/dist/token-util-RMHT2CPJ-6TGPE335.cjs.map +1 -0
  40. package/dist/token-util-RMHT2CPJ-RJEA3FAN.js +8 -0
  41. package/dist/token-util-RMHT2CPJ-RJEA3FAN.js.map +1 -0
  42. package/package.json +12 -12
  43. package/dist/chunk-KMQS2YEC.js.map +0 -1
  44. package/dist/chunk-MMUHFOCG.js.map +0 -1
  45. package/dist/chunk-QY6BZOPJ.js +0 -250
  46. package/dist/chunk-QY6BZOPJ.js.map +0 -1
  47. package/dist/chunk-SG3GRV3O.cjs.map +0 -1
  48. package/dist/chunk-W72AYUIF.cjs +0 -252
  49. package/dist/chunk-W72AYUIF.cjs.map +0 -1
  50. package/dist/chunk-WC4XBMZT.js.map +0 -1
  51. package/dist/chunk-YMNW6DEN.cjs.map +0 -1
  52. package/dist/chunk-ZUQPUTTO.cjs.map +0 -1
  53. package/dist/token-6GSAFR2W-JV3TZR4M.cjs.map +0 -1
  54. package/dist/token-6GSAFR2W-K2BTU23I.js.map +0 -1
  55. package/dist/token-6GSAFR2W-VLY2XUPA.js.map +0 -1
  56. package/dist/token-6GSAFR2W-YCB5SK2Z.cjs.map +0 -1
  57. package/dist/token-util-NEHG7TUY-7IL6JUVY.cjs +0 -10
  58. package/dist/token-util-NEHG7TUY-HF7KBP2H.cjs +0 -10
  59. package/dist/token-util-NEHG7TUY-HF7KBP2H.cjs.map +0 -1
  60. package/dist/token-util-NEHG7TUY-KSXDO2NO.js +0 -8
  61. package/dist/token-util-NEHG7TUY-KSXDO2NO.js.map +0 -1
  62. package/dist/token-util-NEHG7TUY-TIJ3LMSH.js +0 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # @mastra/fastembed
2
2
 
3
+ ## 1.0.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - dependencies updates: ([#10195](https://github.com/mastra-ai/mastra/pull/10195))
8
+ - Updated dependency [`fastembed@^2.1.0` ↗︎](https://www.npmjs.com/package/fastembed/v/2.1.0) (from `^1.14.4`, in `dependencies`)
9
+
10
+ - Add `warmup()` export to pre-download fastembed models without creating ONNX sessions. This prevents concurrent download race conditions when multiple consumers call `FlagEmbedding.init()` in parallel, which could corrupt the model archive and cause `Z_BUF_ERROR`. ([#13752](https://github.com/mastra-ai/mastra/pull/13752))
11
+
12
+ ## 1.0.0
13
+
14
+ ### Major Changes
15
+
16
+ - Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
17
+
18
+ - Upgraded to AI SDK v5 (specification version v2) for compatibility with @mastra/core. Default exports now use v2 specification. Legacy v1 exports available for backwards compatibility via `fastembed.smallLegacy` and `fastembed.baseLegacy`. ([#9349](https://github.com/mastra-ai/mastra/pull/9349))
19
+
20
+ - Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
21
+
22
+ ### Patch Changes
23
+
24
+ - Add embedded documentation support for Mastra packages ([#11472](https://github.com/mastra-ai/mastra/pull/11472))
25
+
26
+ 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`.
27
+
28
+ Each package includes:
29
+ - **SKILL.md** - Entry point explaining the package's purpose and capabilities
30
+ - **SOURCE_MAP.json** - Machine-readable index mapping exports to types and implementation files
31
+ - **Topic folders** - Conceptual documentation organized by feature area
32
+
33
+ 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.
34
+
35
+ - Embed AI types to fix peerdeps mismatches ([`9650cce`](https://github.com/mastra-ai/mastra/commit/9650cce52a1d917ff9114653398e2a0f5c3ba808))
36
+
37
+ - Added support for AI SDK v6 embedding models (specification version v3) in memory and vector modules. Fixed TypeScript error where `ModelRouterEmbeddingModel` was trying to implement a union type instead of `EmbeddingModelV2` directly. ([#11362](https://github.com/mastra-ai/mastra/pull/11362))
38
+
3
39
  ## 1.0.0-beta.3
4
40
 
5
41
  ### Patch Changes
package/LICENSE.md CHANGED
@@ -1,3 +1,18 @@
1
+ Portions of this software are licensed as follows:
2
+
3
+ - All content that resides under any directory named "ee/" within this
4
+ repository, including but not limited to:
5
+ - `packages/core/src/auth/ee/`
6
+ - `packages/server/src/server/auth/ee/`
7
+ is licensed under the license defined in `ee/LICENSE`.
8
+
9
+ - All third-party components incorporated into the Mastra Software are
10
+ licensed under the original license provided by the owner of the
11
+ applicable component.
12
+
13
+ - Content outside of the above-mentioned directories or restrictions is
14
+ available under the "Apache License 2.0" as defined below.
15
+
1
16
  # Apache License 2.0
2
17
 
3
18
  Copyright (c) 2025 Kepler Software, Inc.