All notable changes to this project will be documented in this file.
Full Changelog: https://github.com/nextcloud-libraries/nextcloud-files/compare/v3.3.0...v3.3.1
- fix: Export
NewMenuEntryCategory
from package by @susnux in #960
- feat: Add and export
isFilenameValid
function by @susnux in #951 - feat(files): allow updating attributes by @skjnldsv in #947
- feat(new-menu): Allow to set the category for entries by @susnux in #952
- fix: Update workflows from organization by @susnux in #932
- fix(fileAction): cover parent getter in tests by @skjnldsv in #950
- fix(navigation): files import by @skjnldsv in #949
- fix(dav): Add fallback for owner of dav nodes on public shares by @susnux in #959
- feat(ci): add codecov bundler by @skjnldsv in #948
- chore(deps): Bump @nextcloud/auth from 2.2.1 to 2.3.0 by @dependabot
- chore(deps): Bump @nextcloud/l10n from 2.2.0 to 3.1.0 by @dependabot
- chore(deps): Bump @nextcloud/logger from 2.7.0 to 3.0.2 by @dependabot
- chore(deps): Bump @nextcloud/router from 3.0.0 to 3.0.1 by @dependabot
- chore(deps): Bump is-svg from 5.0.0 to 5.0.1 by @dependabot
- chore(deps): Bump webdav from 5.5.0 to 5.6.0 by @dependabot
Full Changelog: https://github.com/nextcloud-libraries/nextcloud-files/compare/v3.2.1...v3.3.0
- fix: Update NPM version to LTS version 10
- Updated development dependencies
Full Changelog: https://github.com/nextcloud-libraries/nextcloud-files/compare/v3.1.1...v3.2.0
- feat(dav): Make getFavoriteNodes cancelable by @Pytal in #923
- Updated webdav from 5.4.0 to 5.5.0
- Updated development dependencies
- 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
- Update
@nextcloud/router
from 2.2.1 to 3.0.0 - Update
webdav
from 5.3.2 to 5.4.0
- enh(dav): Allow to set custom headers when creating the DAV client by @susnux in #849
- fix(Node): Handle slash as root path for public webdav endpoint by @susnux in #847
- fix(dav): davResultToNode real owner by @skjnldsv in #862
- Update webdav from 5.3.0 to 5.3.1
- Update dev dependencies
- 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
- 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
- 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: https://github.com/nextcloud-libraries/nextcloud-files/compare/v2.1.0...v3.0.0
- Dependency updates
- Browserslist config updated, which means some older browsers are not supported anymore
- Dependency updates
- formatFileSize works without the global OC
- Dependency updates
- Dependency updates
- Update vulnerable packages