Releases: nextcloud-libraries/nextcloud-files
Releases · nextcloud-libraries/nextcloud-files
v3.2.1
v3.2.0
v3.1.1 - 2024-03-24
3.1.1 - 2024-03-24
Fixed
- fix(dav): various typings and owner string cast by @skjnldsv in #882
- fix(dav): remove sharing attributes from default dav fetch and change duplicate registration from
error
towarn
by @skjnldsv in #902
Changed
- Update
@nextcloud/router
from 2.2.1 to 3.0.0 - Update
webdav
from 5.3.2 to 5.4.0
v3.1.0
v3.0.0
3.0.0 - 2023-11-08
Breaking
- Node requirements are now node 20 and npm 9
- Lots of new APIs:
Node
standards: 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
parseFileSize
function 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
resultToNode
by 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-svg
by @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
binaryPrefixes
by @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
v3.0.0-beta.27
3.0.0-beta.27 - 2023-11-03
Enhancements
Fixed
- fix(humanFileSize): Revert changes to default file sizes by @susnux in #822
- fix(newfilemenu): better sorting and proper fallback to displayName by @skjnldsv in #806
Dependencies
- chore(deps-dev): Bump @babel/traverse from 7.22.8 to 7.23.2 by @dependabot in #812
- chore(deps-dev): Bump @nextcloud/eslint-config from 8.3.0-beta.2 to 8.3.0 by @dependabot in #787
- chore(deps-dev): Bump @nextcloud/vite-config from 1.0.1 to 1.1.0 by @dependabot in #818
- chore(deps-dev): Bump @rollup-extras/plugin-clean from 1.3.8 to 1.3.9 by @dependabot in #810
- chore(deps-dev): Bump @rollup/plugin-commonjs from 25.0.4 to 25.0.7 by @dependabot in #811
- chore(deps-dev): Bump @rollup/plugin-node-resolve from 15.2.2 to 15.2.3 by @dependabot in #807
- chore(deps-dev): Bump @types/node from 20.8.3 to 20.8.9 by @dependabot in #819
- chore(deps-dev): Bump browserify-sign from 4.2.1 to 4.2.2 by @dependabot in #820
- chore(deps-dev): Bump rollup from 3.29.4 to 4.1.4 by @dependabot in #813
- chore(deps-dev): Bump typedoc from 0.25.1 to 0.25.2 by @dependabot in #808
- chore(deps-dev): Bump vite from 4.4.11 to 4.5.0 by @dependabot in #816
- chore(deps): Bump @nextcloud/router from 2.1.2 to 2.2.0 by @dependabot in #817
v3.0.0-beta.26
3.0.0-beta.26 - 2023-10-11
Enhancements
Dependencies
- chore(deps): Bump postcss from 8.4.27 to 8.4.31 by @dependabot in #796
- chore(deps-dev): Bump @nextcloud/vite-config from 1.0.0-beta.19 to 1.0.1 by @dependabot in #805
- chore(deps-dev): Bump @rollup-extras/plugin-clean from 1.3.7 to 1.3.8 by @dependabot in #797
- chore(deps-dev): Bump @rollup/plugin-node-resolve from 15.2.1 to 15.2.2 by @dependabot in #803
- chore(deps-dev): Bump @rollup/plugin-typescript from 11.1.4 to 11.1.5 by @dependabot in #801
- chore(deps-dev): Bump @types/node from 20.7.2 to 20.8.3 by @dependabot in #804
- chore(deps-dev): Bump fast-xml-parser from 4.3.1 to 4.3.2 by @dependabot in #802
- chore(deps-dev): Bump vite from 4.4.9 to 4.4.11 by @dependabot in #800