Skip to content

Releases: PermanentOrg/permanent-sdk

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.

v0.5.1

28 Feb 21:56
Compare
Choose a tag to compare

Fixed

  • Addressed an issue where null DisplayDT values returned by the server would cause an error.

v0.5.0

15 Feb 19:57
Compare
Choose a tag to compare

Added

  • The createArchiveRecord function now exists.

Changed

  • Record has been renamed to ArchiveRecord.
  • RecordType has been renamed to ArchiveRecordType.
  • getRecord has been renamed to getArchiveRecord.
  • File now has a contentType field which corresponds to a MIME type.
  • Folder.displayDate can now be null.

v0.4.0

21 Dec 20:50
d130057
Compare
Choose a tag to compare

Added

  • Folders now have a fileSystemCompatibleName.
  • The createFolder function now exists.

Changed

  • The Record.fileName attribute has been renamed to Record.fileSystemCompatibleName.

v0.3.0

04 Aug 20:56
Compare
Choose a tag to compare

Added

  • Records now have fileName which has the full filename associated with a record.
  • The getRecord function, which will return a record associated with an archive.