Releases: splunk/splunk-cloud-sdk-js
Releases · splunk/splunk-cloud-sdk-js
Release v2.0.0
Features
- streams: 'Expression' value exposed as part of the SplCompileRequestSyntax enumeration. (2d58bac)
- identity: ValidateInfoKindEnum exposed as a field in ValidateInfo interface. (2d58bac)
- all: arbitrary query parameters exposed as an optional parameter in all public APIs. (2d58bac)
- examples: updating samples with common formatting around logging, await vs promise chaining, adding teardowns for cleanup. (75370a7)
BREAKING CHANGES
- collect: scalePolicy is now defined as a ScalePolicy model rather than a simple object. (2d58bac)
Release v1.1.0
Features
- search: regenerate search for resultsPreviewAvailable (1a8dd6a)
Release v1.0.1
Features
- Add support for multiple service versions
- Temporary import stubs to keep from breaking clients
- Update service bindings with new catalog index and metric dataset fields
- Add new example for tenant setup
Bug Fixes
- Always return the httpStatusCode for error responses even if missing fields
BREAKING CHANGES
To support clean abstractions of services for multiversion the following have changed:
- The
waitForJob
method now expects a search job as opposed to a search id please usewaitForJob(job)
rather thanwaitForJob(job.sid)
Deprecation warnings - these will be deprecated in future versions
To support clean abstractions of services for multiversion the following have changed:
- Model imports: use
@splunkdev/cloud-sdk/services/<service>
instead of@splunkdev/cloud-sdk/models/<service>
e.g. useimport { Response } from '@splunkdev/cloud-sdk/services/streams';
NOTimport { Response } from '@splunkdev/cloud-sdk/models/streams';
- Service-specific client imports: use
@splunkdev/cloud-sdk/services/<service>
instead of@splunkdev/cloud-sdk/<service>
e.g.const { IdentityService } = require('@splunkdev/cloud-sdk/services/identity');
instead ofconst { IdentityService } = require('@splunkdev/cloud-sdk/identity');
Release v1.0.0
Bug Fixes
- core: always return the httpStatusCode for error responses even if missing fields (6372c23)
Features
Release v1.0.0-beta.0
Initial release