@opensearch-project/opensearch
Advanced tools
Comparing version 2.9.0 to 2.10.0
@@ -73,2 +73,3 @@ /* | ||
const renderSearchTemplateApi = require('./api/render_search_template'); | ||
const RollupsApi = require('./api/rollups'); | ||
const scriptsPainlessExecuteApi = require('./api/scripts_painless_execute'); | ||
@@ -85,2 +86,3 @@ const scrollApi = require('./api/scroll'); | ||
const termvectorsApi = require('./api/termvectors'); | ||
const TransformsAPi = require('./api/transforms'); | ||
const updateApi = require('./api/update'); | ||
@@ -99,2 +101,3 @@ const updateByQueryApi = require('./api/update_by_query'); | ||
const kNodes = Symbol('Nodes'); | ||
const kRollups = Symbol('Rollups'); | ||
const kSecurity = Symbol('Security'); | ||
@@ -104,2 +107,3 @@ const kShutdown = Symbol('Shutdown'); | ||
const kTasks = Symbol('Tasks'); | ||
const kTransforms = Symbol('Transforms'); | ||
@@ -116,2 +120,3 @@ function OpenSearchAPI(opts) { | ||
this[kNodes] = null; | ||
this[kRollups] = null; | ||
this[kSecurity] = null; | ||
@@ -121,2 +126,3 @@ this[kShutdown] = null; | ||
this[kTasks] = null; | ||
this[kTransforms] = null; | ||
} | ||
@@ -333,2 +339,10 @@ | ||
}, | ||
rollups: { | ||
get() { | ||
if (this[kRollups] === null) { | ||
this[kRollups] = new RollupsApi(this.transport, this[kConfigurationError]); | ||
} | ||
return this[kRollups]; | ||
}, | ||
}, | ||
scripts_painless_execute: { | ||
@@ -386,2 +400,10 @@ get() { | ||
}, | ||
transforms: { | ||
get() { | ||
if (this[kTransforms] === null) { | ||
this[kTransforms] = new TransformsAPi(this.transport, this[kConfigurationError]); | ||
} | ||
return this[kTransforms]; | ||
}, | ||
}, | ||
update_by_query: { | ||
@@ -388,0 +410,0 @@ get() { |
@@ -14,2 +14,20 @@ # CHANGELOG | ||
## [2.10.0] | ||
### Added | ||
- Added Rollups API ([744](https://github.com/opensearch-project/opensearch-js/issues/744)) | ||
- Added Transforms API ([744](https://github.com/opensearch-project/opensearch-js/issues/744)) | ||
### Dependencies | ||
- Bumps `@types/node` from 20.14.0 to 20.14.2 | ||
- Bumps `@babel/eslint-parser` from 7.24.6 to 7.24.7 | ||
- Bumps `prettier` from 3.3.0 to 3.3.1 | ||
## [2.9.1] | ||
### Dependencies | ||
- Bumps `json11` from 1.0.4 to 1.1.2 | ||
- Bumps `graceful-fs` from 4.2.8 to 4.2.10 | ||
- Bumps `picomatch` from 2.3.0 to 2.3.1 | ||
### Security | ||
- [CVE-2024-4068] Bumps `braces` from 3.0.2 to 3.0.3 | ||
- [CVE-2024-4067] Bumps `micromatch` from 4.0.4 to 4.0.7 | ||
## [2.9.0] | ||
@@ -16,0 +34,0 @@ ### Dependencies |
@@ -33,3 +33,3 @@ { | ||
"homepage": "https://www.opensearch.org/", | ||
"version": "2.9.0", | ||
"version": "2.10.0", | ||
"versionCanary": "7.10.0-canary.6", | ||
@@ -79,2 +79,3 @@ "keywords": [ | ||
"eslint-plugin-prettier": "^5.0.0", | ||
"faker": "^5.5.3", | ||
"fast-deep-equal": "^3.1.3", | ||
@@ -103,5 +104,5 @@ "into-stream": "^6.0.0", | ||
"dependencies": { | ||
"json11": "^1.0.4", | ||
"aws4": "^1.11.0", | ||
"debug": "^4.3.1", | ||
"json11": "^1.1.2", | ||
"hpagent": "^1.2.0", | ||
@@ -108,0 +109,0 @@ "ms": "^2.1.3", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1518614
126
37518
34
Updatedjson11@^1.1.2