Releases: IBM/node-sdk-core
v1.1.0
v1.0.0
1.0.0 (2019-10-03)
Bug Fixes
- Move check for serviceUrl to createRequest (#47) (6f04739)
- parse result from response in token managers (6bbe423)
- provide bundlers alternate file for browser support (#58) (88a9d16)
Build System
Code Refactoring
- look for credentials file in working dir before home dir (#46) (c5556de)
- return detailed response as second callback argument (#34) (dc24154)
Features
- add
setServiceUrl
method as a setter for theserviceUrl
property (#41) (cfb188f) - add specific error handling for SSL errors with cloud private instances (#54) (056ec9a)
- export
UserOptions
interface from the BaseService (#50) (4f0075a) - implement new authenticators to handle sdk authentication (#37) (f876b6d)
- refactor core to use Promises instead of callbacks (#55) (9ec8afd)
BREAKING CHANGES
- None of the authenticators or request methods take callbacks as arguments anymore - they return Promises instead.
- Users that have credential files in both the working directory and the home directory will see a change in which one is used.
- The internal property
url
no longer exists on thebaseOptions
object, it has been renamed toserviceUrl
- The old style of passing credentials to the base service will no longer work. An Authenticator instance MUST be passed in to the base service constructor.
- token managers no longer support user access tokens. use BearerTokenAuthenticator instead
- The class names of the token managers have changed.
Icp4dTokenManagerV1
renamed toCp4dTokenManager
IamTokenManagerV1
renamed toIamTokenManager
JwtTokenManagerV1
renamed toJwtTokenManager
- The public method
setAuthorizationInfo
is renamed tosetClientIdAndSecret
- The response body is no longer the 2nd callback argument, the detailed response is. The body is located under the
result
property. Thedata
property is removed. - This SDK may no longer work with applications running on Node 6 or 8.
1.0.0-rc5
Fifth release candidate for the core.
a668ec5 feat: refactor core to use Promises instead of callbacks (#55)
To install this release candidate, use one of the following commands:
$ npm install [email protected]
$ npm install ibm-cloud-sdk-core@next
For more information about breaking changes and how to migrate your code, see the migration guide.
1.0.0-rc4
Fourth release candidate for the core.
cd6a4fe chore: replace @types/is-stream with correct @types/isstream (#52)
6a62f44 feat: add specific error handling for SSL errors with cloud private instances (#54)
4166cab build(deps): upgrade typescript from 2 to 3 (#53)
8dcde61 feat: export UserOptions
interface from the BaseService (#50)
To install this release candidate, use one of the following commands:
$ npm install [email protected]
For more information about breaking changes and how to migrate your code, see the migration guide.
1.0.0-rc3
Third release candidate for the core.
af11518 refactor: refactor validate method to be used across authenticators/token mangers (#49)
529c66e Fix backward compatibility for FileObjects being passed as files in formData. (#48)
To install this release candidate, use one of the following commands:
$ npm install [email protected]
$ npm install ibm-cloud-sdk-core@next
For more information about breaking changes and how to migrate your code, see the migration guide.
1.0.0-rc2
Second release candidate for the core. Includes support for new serviceUrl
property.
To install this release candidate, use one of the following commands:
$ npm install [email protected]
$ npm install ibm-cloud-sdk-core@next
For more information about breaking changes and how to migrate your code, see the migration guide.