Skip to content

Releases: PermanentOrg/permanent-sdk

v0.10.1

03 Jun 15:58
cb8a6f0
Compare
Choose a tag to compare

Added

  • SDK clients can now be configured to specify how many retry attempts to make.
  • SDK clients can now be configured to specify a custom retryDelay function.

v0.10.0

02 Apr 21:54
66df9c2
Compare
Choose a tag to compare

Added

  • SDK clients can now be configured to retryOn various HTTP status codes.

v0.9.1

14 Mar 01:47
5952d5f
Compare
Choose a tag to compare

Fixed

  • Stela endpoint response dates are no longer being incorrectly modified by the SDK.

v0.9.0

12 Mar 23:45
b4f7e75
Compare
Choose a tag to compare

Added

  • ClientConfiguration now accepts a stelaBaseUrl

Changed

  • BREAKING CHANGE: Dropped support for Node 18.
  • BREAKING CHANGE: getFolder() now uses stela endpoints, which uses stelaBaseUrl.
  • Added optional failOnDuplicateName parameters to createFolder and createArchiveRecord

v0.8.0

28 Aug 19:29
339691d
Compare
Choose a tag to compare

Changed

  • BREAKING CHANGE: All functions now take either one or two arguments. The first argument is always the ClientConfig object. The second argument, if it is present, is always an object containing the rest of the parameters for the function. Documentation describing each function and its inputs has been added in API.md.

v0.7.0

23 Feb 18:42
5b0b65a
Compare
Choose a tag to compare

Added

  • The updateShareLink function now exists
  • The createShareLink function now exists
  • The HttpResponseError type now exists.

Changed

  • This package no longer supports Node v14.
  • The deleteFolder and deleteArchiveRecord SDK methods now return void (was boolean).
  • All SDK methods now throw if the server responds with a non-OK status.

v0.6.0

18 May 19:47
Compare
Choose a tag to compare

Changed

  • The createArchiveRecord function no longer uploads files, clients must use the new uploadFile function for this.

Added

  • The uploadFile function now exists.

v0.5.4

18 Apr 16:20
Compare
Choose a tag to compare

Fixed

  • The Account.isSftpDeletionEnabled property is now populated based on the values provided by the Permanent API.

v0.5.3

12 Apr 17:21
Compare
Choose a tag to compare

Added

  • the deleteFolder function now exists.
  • the deleteArchiveRecord function now exists.
  • the getAuthenticatedAccount function now exists.
  • The Account type now exists.

v0.5.2

02 Mar 17:48
Compare
Choose a tag to compare

Added

  • Archive now has a slug field.