v5.0.0-beta.1 (2023-08-18)
Pre-release
Pre-release
v5.0.0-beta.1 (2023-08-18)
💥 Breaking
- A Vue based file picker is provided which uses
@nextcloud/vue
version 8, so this library will only work on Nextcloud 28+ - Modernize FilePickerBuilder to directly make use of the Vue based file picker #904 (@susnux)
- This slightly breaks the FilePickerBuilder API:
FilePicker.pick
now returns a Promise resolving tostring[]
containing the picked pathsFilePicker.constructor
parameter order was changedFilePickerBuilder.setModal
was removed as it has no effectFilePickerBuilder.setType
is deprecated in favor ofFilePickerBuilder.addButton
FilePickerBuilder.addButton
was added which allows to add custom buttons with callbacks on click (so users can now distinguish which button was clicked)
- This slightly breaks the FilePickerBuilder API:
🚀 Enhancement
- A Vue based FilePicker component was added, which can be used either as a component or using programmatically #878 (@susnux)
- FilePickerBuilder: Allow to add custom buttons #896 (@susnux)
🐛 Fixed bugs
- Fixed some design flaws in new FilePicker component
- Adjust color of placeholder skeletons #880 (@susnux)
- Fix column alignment to be consistent with files app #881 (@susnux)
- Navigation and filter should be on separate rows on mobile #882 (@susnux)
- Adjust filepicker breadcrumbs button for design review #892 (@susnux)
- Ensure only the file table is scrolled #899 (@susnux)
- FilePicker: Request
oc:size
property for showing the file size #893 (@susnux) - FilePicker: Fix exported typings and cleanup file picker files #903 (@susnux)
Changed
- The package does no longer contain core-js polyfills as Nextcloud core already provides polyfills #863 (@susnux)
- The project was moved to a new Github organization (nextcloud-libraries)
- Add version compatibility section to README #891 (@susnux)
- Improved developer documentation #906 (@susnux)
- Dependency updates