v3.0.0
3.0.0 - 2023-11-08
Breaking
- Node requirements are now node 20 and npm 9
- Lots of new APIs:
Nodestandards: https://nextcloud-libraries.github.io/nextcloud-files/classes/Node.htmlFileAction: https://nextcloud-libraries.github.io/nextcloud-files/classes/FileAction.htmlHeader: https://nextcloud-libraries.github.io/nextcloud-files/classes/Header.htmlView: https://nextcloud-libraries.github.io/nextcloud-files/classes/View.html- Works in sync with
Column: https://nextcloud-libraries.github.io/nextcloud-files/classes/Column.html
- Works in sync with
- Lots of changes with Nextcloud 28, please see server changelog as well
Enhancements
- Add context to getEntries by @skjnldsv in #484
- Add DAV functions for fetching nodes from Nextcloud by @susnux in #706
- Add File and Folder API by @skjnldsv in #501
- Add newFileMenu and refactor library with rollup by @skjnldsv in #420
- Also use context from exposed method by @skjnldsv in #486
- feat: add action title by @skjnldsv in #767
- feat: add FileListHeader by @skjnldsv in #717
- feat: migrate Navigation and update FileAction from server by @skjnldsv in #732
- feat: provide fileList names as newFileMenu handler argument by @skjnldsv in #752
- feat: support nested actions by @skjnldsv in #814
- feat: support new file menu entry order by @skjnldsv in #781
- feat: use Folder as filemenu context by @skjnldsv in #731
- feat(actions): also test doc build on pull requests by @skjnldsv in #621
- feat(dav): Add "recent files" SEARCH payload as an export by @susnux in #710
- feat(FileAction): add file action support by @skjnldsv in #608
- feat(files): add encodedSource by @skjnldsv in #794
- feat(files): add node status by @skjnldsv in #744
- feat(files): update mtime on attributes tampering by @skjnldsv in #602
- feat(node): allow and recommend to provide a specific root by @skjnldsv in #574
- feat(parseFileSize): Added
parseFileSizefunction to parse a human readable file size to number of bytes by @susnux in #769 - feat(permissions): add webdav permissions parser by @skjnldsv in #565
Fixed
- Fix
resultToNodeby adding some documenation how to use by @susnux in #741 - Fix decimal prefixes and add option for binary prefixes per IEC 80000-13 by @Zipdox in #536
- Fix templateName usage and errors strings by @skjnldsv in #494
- fix: allow undefined properties in File and Folder by @skjnldsv in #683
- fix: also export Node by @skjnldsv in #573
- fix: Bring back Typescript definitions by @susnux in #712
- fix: Do not export the declaration of window.OC by @skjnldsv in #667
- fix: do not update mtime if not already defined by @skjnldsv in #709
- fix: fileid definition and fallback by @skjnldsv in #681
- fix: force bundle
is-svgby @skjnldsv in #740 - fix: getNewFileMenuEntries usage by @skjnldsv in #734
- fix: headers and actions empty variable init by @skjnldsv in #724
- fix: Node import type by @skjnldsv in #754
- fix: prevent invalid roots to be defined by @skjnldsv in #577
- fix: use Node and not string for the new file menu handler arg by @skjnldsv in #753
- fix!(humanFileSize): Revert changes to default file sizes by @susnux in #822
- fix(dav): Fix DAV functions to make work with them easier by @susnux in #725
- fix(dav): use of webdav library by @pulsejet in #821
- fix(fileActions): improve typing and add silent actions by @skjnldsv in #625
- fix(formatFileSize): Fix default value for
binaryPrefixesby @susnux in #770 - fix(newfilemenu): better sorting and proper fallback to displayName by @skjnldsv in #806
- fix(newfilemenu): fix handler requirement, deprecate iconClass and fix context by @skjnldsv in #742
- fix(node): allow negative file ids by @skjnldsv in #716
- fix(node): default permissions should be NONE and fix undefined return by @skjnldsv in #630
- Replace deprecated String.prototype.substr() by @CommanderRoot in #390
Full Changelog: v2.1.0...v3.0.0