Skip to content

Releases: IBM/node-sdk-core

v1.1.0

14 Oct 15:22
Compare
Choose a tag to compare

1.1.0 (2019-10-14)

Features

v1.0.0

03 Oct 21:53
Compare
Choose a tag to compare

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

  • drop support for Node versions 6 and 8 (#33) (d47c737)

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 the serviceUrl 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 the baseOptions object, it has been renamed to serviceUrl
  • 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 to Cp4dTokenManager
  • IamTokenManagerV1 renamed to IamTokenManager
  • JwtTokenManagerV1 renamed to JwtTokenManager
  • The public method setAuthorizationInfo is renamed to setClientIdAndSecret
  • The response body is no longer the 2nd callback argument, the detailed response is. The body is located under the result property. The data property is removed.
  • This SDK may no longer work with applications running on Node 6 or 8.

1.0.0-rc5

02 Oct 20:28
Compare
Choose a tag to compare
1.0.0-rc5 Pre-release
Pre-release

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:

For more information about breaking changes and how to migrate your code, see the migration guide.

1.0.0-rc4

30 Sep 17:56
Compare
Choose a tag to compare
1.0.0-rc4 Pre-release
Pre-release

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:

For more information about breaking changes and how to migrate your code, see the migration guide.

1.0.0-rc3

23 Sep 16:36
Compare
Choose a tag to compare
1.0.0-rc3 Pre-release
Pre-release

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:

For more information about breaking changes and how to migrate your code, see the migration guide.

1.0.0-rc2

19 Sep 19:41
Compare
Choose a tag to compare
1.0.0-rc2 Pre-release
Pre-release

Second release candidate for the core. Includes support for new serviceUrl property.

To install this release candidate, use one of the following commands:

For more information about breaking changes and how to migrate your code, see the migration guide.

v0.3.6

16 Sep 20:12
Compare
Choose a tag to compare

0.3.6 (2019-09-16)

Bug Fixes

  • Fix handling of array form parameters. (#43) (bad8960)

v0.3.5

07 Aug 20:42
Compare
Choose a tag to compare

0.3.5 (2019-08-07)

Bug Fixes

  • share service request wrapper instance with token managers (#36) (e7609e2)

v0.3.4

05 Aug 05:21
Compare
Choose a tag to compare

0.3.4 (2019-08-05)

Bug Fixes

  • extend constructor options type to allow additional properties (#35) (70af0c9)

v0.3.3

17 Jul 21:34
Compare
Choose a tag to compare

0.3.3 (2019-07-17)

Bug Fixes

  • add deprecation notice for node versions 6 and 8 (#32) (9e3c667)