@mastra/elasticsearch 1.1.0-alpha.0 → 1.1.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,36 @@
1
1
  # @mastra/elasticsearch
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - **Added** API key, basic, and bearer authentication options for Elasticsearch connections. ([#11298](https://github.com/mastra-ai/mastra/pull/11298))
8
+
9
+ **Changed** vector IDs now come from Elasticsearch `_id`; stored `id` fields are no longer written (breaking if you relied on `source.id`).
10
+
11
+ **Why** This aligns with Elasticsearch auth best practices and avoids duplicate IDs in stored documents.
12
+
13
+ **Before**
14
+
15
+ ```ts
16
+ const store = new ElasticSearchVector({ url, id: 'my-index' });
17
+ ```
18
+
19
+ **After**
20
+
21
+ ```ts
22
+ const store = new ElasticSearchVector({
23
+ url,
24
+ id: 'my-index',
25
+ auth: { apiKey: process.env.ELASTICSEARCH_API_KEY! },
26
+ });
27
+ ```
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [[`e6fc281`](https://github.com/mastra-ai/mastra/commit/e6fc281896a3584e9e06465b356a44fe7faade65), [`97be6c8`](https://github.com/mastra-ai/mastra/commit/97be6c8963130fca8a664fcf99d7b3a38e463595), [`2770921`](https://github.com/mastra-ai/mastra/commit/2770921eec4d55a36b278d15c3a83f694e462ee5), [`b1695db`](https://github.com/mastra-ai/mastra/commit/b1695db2d7be0c329d499619c7881899649188d0), [`5fe1fe0`](https://github.com/mastra-ai/mastra/commit/5fe1fe0109faf2c87db34b725d8a4571a594f80e), [`4133d48`](https://github.com/mastra-ai/mastra/commit/4133d48eaa354cdb45920dc6265732ffbc96788d), [`5dd01cc`](https://github.com/mastra-ai/mastra/commit/5dd01cce68d61874aa3ecbd91ee17884cfd5aca2), [`13e0a2a`](https://github.com/mastra-ai/mastra/commit/13e0a2a2bcec01ff4d701274b3727d5e907a6a01), [`f6673b8`](https://github.com/mastra-ai/mastra/commit/f6673b893b65b7d273ad25ead42e990704cc1e17), [`cd6be8a`](https://github.com/mastra-ai/mastra/commit/cd6be8ad32741cd41cabf508355bb31b71e8a5bd), [`9eb4e8e`](https://github.com/mastra-ai/mastra/commit/9eb4e8e39efbdcfff7a40ff2ce07ce2714c65fa8), [`c987384`](https://github.com/mastra-ai/mastra/commit/c987384d6c8ca844a9701d7778f09f5a88da7f9f), [`cb8cc12`](https://github.com/mastra-ai/mastra/commit/cb8cc12bfadd526aa95a01125076f1da44e4afa7), [`aa37c84`](https://github.com/mastra-ai/mastra/commit/aa37c84d29b7db68c72517337932ef486c316275), [`62f5d50`](https://github.com/mastra-ai/mastra/commit/62f5d5043debbba497dacb7ab008fe86b38b8de3), [`47eba72`](https://github.com/mastra-ai/mastra/commit/47eba72f0397d0d14fbe324b97940c3d55e5a525)]:
32
+ - @mastra/core@1.2.0
33
+
3
34
  ## 1.1.0-alpha.0
4
35
 
5
36
  ### Minor Changes
@@ -29,4 +29,4 @@ docs/
29
29
  ## Version
30
30
 
31
31
  Package: @mastra/elasticsearch
32
- Version: 1.1.0-alpha.0
32
+ Version: 1.1.0
@@ -5,7 +5,7 @@ description: Documentation for @mastra/elasticsearch. Includes links to type def
5
5
 
6
6
  # @mastra/elasticsearch Documentation
7
7
 
8
- > **Version**: 1.1.0-alpha.0
8
+ > **Version**: 1.1.0
9
9
  > **Package**: @mastra/elasticsearch
10
10
 
11
11
  ## Quick Navigation
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.0-alpha.0",
2
+ "version": "1.1.0",
3
3
  "package": "@mastra/elasticsearch",
4
4
  "exports": {},
5
5
  "modules": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/elasticsearch",
3
- "version": "1.1.0-alpha.0",
3
+ "version": "1.1.0",
4
4
  "description": "ElasticSearch vector store provider for Mastra",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -29,10 +29,10 @@
29
29
  "tsup": "^8.5.1",
30
30
  "typescript": "^5.9.3",
31
31
  "vitest": "4.0.16",
32
- "@internal/lint": "0.0.56",
33
- "@internal/types-builder": "0.0.31",
34
- "@internal/storage-test-utils": "0.0.52",
35
- "@mastra/core": "1.2.0-alpha.0"
32
+ "@internal/lint": "0.0.57",
33
+ "@internal/types-builder": "0.0.32",
34
+ "@internal/storage-test-utils": "0.0.53",
35
+ "@mastra/core": "1.2.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@mastra/core": ">=1.0.0-0 <2.0.0-0"