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');