All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- 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.
- The
updateShareLink
function now exists
- The
createShareLink
function now exists
- This package no longer supports Node v14.
- The
deleteFolder
anddeleteArchiveRecord
SDK methods now return void (was boolean). - All SDK methods now throw if the server responds with a non-OK status.
- The
HttpResponseError
type now exists.
- The
createArchiveRecord
function no longer uploads files, clients must use the newuploadFile
function for this.
- The
uploadFile
function now exists.
0.5.4 - 2023-04-18
- The
Account.isSftpDeletionEnabled
property is now populated based on the values provided by the Permanent API.
0.5.3 - 2023-04-03
- the
deleteFolder
function now exists. - the
deleteArchiveRecord
function now exists. - the
getAuthenticatedAccount
function now exists. - The
Account
type now exists.
0.5.2 - 2023-03-02
Archive
now has aslug
field.
0.5.1 - 2023-02-28
- Addressed an issue where
null
DisplayDT values returned by the server would cause an error.
0.5.0 - 2023-02-15
- The
createArchiveRecord
function now exists.
Record
has been renamed toArchiveRecord
.RecordType
has been renamed toArchiveRecordType
.getRecord
has been renamed togetArchiveRecord
.File
now has acontentType
field which corresponds to a MIME type.Folder.displayDate
can now be null.
0.4.0 - 2022-12-21
Folders
now have afileSystemCompatibleName
.- The
createFolder
function now exists.
- The
Record.fileName
attribute has been renamed toRecord.fileSystemCompatibleName
0.3.0 - 2022-08-04
Records
now havefileName
which has the full filename associated with a record.- The
getRecord
function, which will return a record associated with an archive.
0.2.1 - 2022-08-01
- Record timestamps are now correctly recognized as UTC.
- The
getFolder
function now actually exists.
0.2.0 - 2022-07-28
- The
getArchiveFolders
function, which will return an array of child Folders associated with an archive. - The
getFolder
function, which will return a folder associated with an archive.
0.1.0 - 2022-07-14
- The
getArchives
function, which will get a list of archives associated with the authorized account. - The
Archive
type. - The
ClientConfig
type which allows an sdk user to specify their credentials and other configuration settings.