Skip to content

Latest commit

 

History

History
329 lines (270 loc) · 24.4 KB

CHANGELOG.md

File metadata and controls

329 lines (270 loc) · 24.4 KB

Changelog

All notable changes to this project will be documented in this file.

3.10.0 - 2024-10-23

Full changelog

Added

  • feat: Allow cloning a node by @Pytal in #1077
  • feat(FileAction): Allow to set destructive flag by @susnux in #1076

Fixed

  • fix: Document optional user property of FileListFilterChip by @susnux in #1075
  • fix deprecation warning Node.attributes.displayname should be accessed directly on the Node by @dvaerum in #1074

Changed

  • chore(deps-dev): Bump @codecov/vite-plugin from 0.0.1-beta.10 to 0.0.1-beta.12 by @dependabot in #1073
  • chore(deps-dev): Bump @types/node from 22.5.1 to 22.5.4 by @dependabot in #1070
  • chore(deps-dev): Bump @types/node from 22.5.4 to 22.5.5 by @dependabot in #1078
  • chore(deps-dev): Bump @types/node from 22.5.5 to 22.7.4 by @dependabot in #1089
  • chore(deps-dev): Bump @types/node from 22.7.4 to 22.7.5 by @dependabot in #1094
  • chore(deps-dev): Bump @types/node from 22.7.5 to 22.7.6 by @dependabot in #1101
  • chore(deps-dev): Bump @vitest/coverage-istanbul from 2.0.5 to 2.1.1 by @dependabot in #1079
  • chore(deps-dev): Bump @vitest/coverage-istanbul from 2.1.1 to 2.1.2 by @dependabot in #1093
  • chore(deps-dev): Bump @vitest/coverage-istanbul from 2.1.2 to 2.1.3 by @dependabot in #1100
  • chore(deps-dev): Bump fast-xml-parser from 4.4.1 to 4.5.0 by @dependabot in #1072
  • chore(deps-dev): Bump jsdom from 25.0.0 to 25.0.1 by @dependabot in #1091
  • chore(deps-dev): Bump tslib from 2.7.0 to 2.8.0 by @dependabot in #1098
  • chore(deps-dev): Bump typedoc from 0.26.6 to 0.26.7 by @dependabot in #1080
  • chore(deps-dev): Bump typedoc from 0.26.7 to 0.26.8 by @dependabot in #1092
  • chore(deps-dev): Bump typedoc from 0.26.8 to 0.26.9 by @dependabot in #1095
  • chore(deps-dev): Bump typedoc from 0.26.9 to 0.26.10 by @dependabot in #1102
  • chore(deps-dev): Bump typescript from 5.5.4 to 5.6.2 by @dependabot in #1082
  • chore(deps-dev): Bump typescript from 5.6.2 to 5.6.3 by @dependabot in #1096
  • chore(deps-dev): Bump vite from 5.4.2 to 5.4.3 by @dependabot in #1071
  • chore(deps-dev): Bump vite from 5.4.3 to 5.4.5 by @dependabot in #1083
  • chore(deps-dev): Bump vite from 5.4.5 to 5.4.6 by @dependabot in #1085
  • chore(deps-dev): Bump vite from 5.4.6 to 5.4.7 by @dependabot in #1087
  • chore(deps-dev): Bump vite from 5.4.7 to 5.4.8 by @dependabot in #1090
  • chore(deps-dev): Bump vite from 5.4.8 to 5.4.9 by @dependabot in #1103
  • chore(deps): Bump dompurify from 3.1.2 to 3.1.6 by @dependabot in #1084
  • chore(deps): Bump rollup from 4.21.0 to 4.22.4 by @dependabot in #1088

New Contributors

  • @dvaerum made their first contribution in #1074

3.9.0 - 2024-09-04

Full changelog

Added

  • feat: Allow views to be naturally sorted by @Pytal in #1053

Changed

  • chore(deps-dev): Bump @nextcloud/vite-config from 2.1.0 to 2.2.2 by @dependabot in #1048
  • chore(deps-dev): Bump vite from 5.3.5 to 5.4.0 by @dependabot in #1051
  • chore(deps): Bump webdav from 5.7.0 to 5.7.1 by @dependabot in #1049
  • chore(deps-dev): Bump @types/node from 22.1.0 to 22.2.0 by @dependabot in #1050
  • chore(deps): Bump is-svg from 5.0.1 to 5.1.0 by @dependabot in #1052
  • chore(deps): Bump @nextcloud/auth from 2.3.0 to 2.4.0 by @dependabot in #1054
  • chore(deps-dev): Bump vite from 5.4.0 to 5.4.1 by @dependabot in #1055
  • chore(deps-dev): Bump @types/node from 22.2.0 to 22.4.0 by @dependabot in #1056
  • chore(deps-dev): Bump elliptic from 6.5.5 to 6.5.7 by @dependabot in #1057
  • chore(deps-dev): Bump tslib from 2.6.3 to 2.7.0 by @dependabot in #1059
  • chore(deps-dev): Bump @types/node from 22.4.0 to 22.5.0 by @dependabot in #1061
  • chore(deps-dev): Bump typedoc from 0.26.5 to 0.26.6 by @dependabot in #1062
  • chore(deps-dev): Bump vite from 5.4.1 to 5.4.2 by @dependabot in #1060
  • chore(deps-dev): Bump @types/node from 22.5.0 to 22.5.1 by @dependabot in #1064
  • Update dependabot-approve-merge.yml from main org by @AndyScherzinger in #1066
  • chore(deps-dev): Bump jsdom from 24.1.1 to 25.0.0 by @dependabot in #1065

3.8.0 - 2024-08-08

Full changelog

Added

  • feat: Allow registration of load child views callback on view by @Pytal in #1046

Changed

  • chore(deps-dev): Bump @vitest/coverage-istanbul from 2.0.3 to 2.0.4 by @dependabot in #1033
  • chore(deps-dev): Bump typedoc from 0.26.4 to 0.26.5 by @dependabot in #1031
  • chore(deps): Bump @nextcloud/paths from 2.2.0 to 2.2.1 by @dependabot in #1037
  • chore(deps): Bump @nextcloud/sharing from 0.2.2 to 0.2.3 by @dependabot in #1034
  • chore(deps-dev): Bump vite from 5.3.4 to 5.3.5 by @dependabot in #1036
  • chore(deps-dev): Bump jsdom from 24.1.0 to 24.1.1 by @dependabot in #1035
  • chore(deps-dev): Bump @types/node from 20.14.11 to 20.14.12 by @dependabot in #1032
  • chore(deps-dev): Bump typescript from 5.5.3 to 5.5.4 by @dependabot in #1038
  • chore(deps-dev): Bump fast-xml-parser from 4.4.0 to 4.4.1 by @dependabot in #1040
  • chore(deps-dev): Bump @vitest/coverage-istanbul from 2.0.4 to 2.0.5 by @dependabot in #1042
  • chore(deps): Bump webdav from 5.6.0 to 5.7.0 by @dependabot in #1043
  • chore(deps-dev): Bump @types/node from 20.14.12 to 22.1.0 by @dependabot in #1044

3.7.0 - 2024-07-25

Full changelog

Added

  • feat: Implement API for file list filters #1027 (susnux)

Fixed

  • fix(dav): Cast displayname to string in resultToNode #1028 (susnux)
  • fix: Correctly export public API #1026 (susnux)

Changed

  • chore(deps): Bump @nextcloud/paths from 2.1.0 to 2.2.0

3.6.0 - 2024-07-18

Full Changelog

Added

  • feat(filename): Improve filename validation to support Nextcloud 30 capabilities #1013 (susnux)
  • feat(node): Add displayname as top level attribute #1019 (susnux)

Fixed

  • fix: Node.move should also adjust the displayname #1018 (susnux)

Changed

  • Update README.md to add more info about the webDAV client #1007 (StCyr)
  • test: Add missing test case for sorting equal values and ESLint warning #1014 (susnux)
  • Migrate REUSE to TOML format #1012 (AndyScherzinger)
  • Bump @nextcloud/sharing from 0.2.1 to 0.2.2
  • Updated development dependencies

3.5.1 - 2024-06-20

Full Changelog: https://github.com/nextcloud-libraries/nextcloud-files/compare/v3.5.0...v3.5.1

Fixed

  • fix davResultToNode on public shares (#993)
  • fix: make davRootPath and davRemoteURL support public shares (#996)
  • fix(dav): Add displayname and creationdate to default props (#991)
  • fix(sorting): The display name attribute is called displayname not displayName for DAV (#992)

Changed

  • chore(deps-dev): Bump ws from 8.17.0 to 8.17.1
  • chore: Update development dependencies

3.5.0 - 2024-06-17

Full Changelog: https://github.com/nextcloud-libraries/nextcloud-files/compare/v3.4.1...v3.5.0

Added

  • feat: Add filename util getUniqueName to generate a unique name (#986)
  • feat: Export public interfaces of Node, File and Folder (#976)
  • feat(navigation): Allow to listen for active navigation changes (#987)

Fixed

  • fix(dav): Set status in davResultToNode when fileid is negative (#985)
  • fix: When sorting by filename the extension should only be considered if the basename is equal (#984)

Changed

  • Add SPDX headers (#980)
  • Updated development dependencies

3.4.1 - 2024-06-05

Full Changelog: https://github.com/nextcloud-libraries/nextcloud-files/compare/v3.4.0...v3.4.1

Fixed

  • fix(node): remove auto mtime update on attributes change and allow mtime set by @skjnldsv in #974

Changed

  • chore(deps-dev): Bump vite from 5.2.11 to 5.2.12 by @dependabot in #971
  • chore(deps-dev): Bump @types/node from 20.12.12 to 20.13.0 by @dependabot in #970
  • chore(deps-dev): Bump jsdom from 24.0.0 to 24.1.0 by @dependabot in #972

3.4.0 - 2024-05-29

Full Changelog: https://github.com/nextcloud-libraries/nextcloud-files/compare/v3.3.1...v3.4.0

Added

  • feat: Add sortNodes and generic orderBy by @susnux in #961

Fixed

  • fix(Node): Do not drop readonly attributes but only forbid updating them by @susnux in #967

Changed

  • chore(deps-dev): Bump @codecov/vite-plugin from 0.0.1-beta.6 to 0.0.1-beta.8 by @dependabot in #965
  • chore(deps-dev): Bump fast-xml-parser from 4.3.6 to 4.4.0 by @dependabot in #966

3.3.1 - 2024-05-23

Full Changelog: https://github.com/nextcloud-libraries/nextcloud-files/compare/v3.3.0...v3.3.1

Fixed

  • fix: Export NewMenuEntryCategory from package by @susnux in #960

3.3.0 - 2024-05-21

Added

  • 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

Fixed

  • 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

Changed

  • feat(ci): add codecov bundler by @skjnldsv in #948

Dependencies

  • 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

3.2.1 - 2024-04-22

Changed

  • fix: Update NPM version to LTS version 10
  • Updated development dependencies

3.2.0 - 2024-04-15

Full Changelog: https://github.com/nextcloud-libraries/nextcloud-files/compare/v3.1.1...v3.2.0

Enhancements

  • feat(dav): Make getFavoriteNodes cancelable by @Pytal in #923

Changed

  • Updated webdav from 5.4.0 to 5.5.0
  • Updated development dependencies

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 to warn 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

3.1.0 - 2023-12-21

Enhancements

  • enh(dav): Allow to set custom headers when creating the DAV client by @susnux in #849

Fixed

  • fix(Node): Handle slash as root path for public webdav endpoint by @susnux in #847
  • fix(dav): davResultToNode real owner by @skjnldsv in #862

Changed

  • Update webdav from 5.3.0 to 5.3.1
  • Update dev dependencies

3.0.0 - 2023-11-08

Breaking

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: https://github.com/nextcloud-libraries/nextcloud-files/compare/v2.1.0...v3.0.0

2.1.0 – 2021-09-28

Changed

  • Dependency updates

2.0.0 – 2021-04-07

Changed

  • Browserslist config updated, which means some older browsers are not supported anymore
  • Dependency updates

1.1.0 - 2020-06-04

Changed

  • formatFileSize works without the global OC
  • Dependency updates

1.0.1 - 2020-03-19

Changed

  • Dependency updates

Fixed

  • Update vulnerable packages