Skip to content

Release v1.0.1

Compare
Choose a tag to compare
@fantavlik fantavlik released this 26 Sep 01:03
· 135 commits to master since this release

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 use waitForJob(job) rather than waitForJob(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. use import { Response } from '@splunkdev/cloud-sdk/services/streams'; NOT import { 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 of const { IdentityService } = require('@splunkdev/cloud-sdk/identity');