|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file. |
4 | 4 |
|
5 | | -## v4.2.0-beta.2 (2023-08-11) |
6 | | -### :bug: Fixed bugs |
| 5 | +## v5.0.0-beta.1 (2023-08-18) |
| 6 | + |
| 7 | +### :boom: Breaking |
| 8 | +- A Vue based file picker is provided which uses `@nextcloud/vue` version 8, so this library will only work on Nextcloud 28+ |
| 9 | +- Modernize FilePickerBuilder to directly make use of the Vue based file picker [\#904](https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/904) \([@susnux](https://github.com/susnux)\) |
| 10 | + - This slightly breaks the FilePickerBuilder API: |
| 11 | + - `FilePicker.pick` now returns a Promise resolving to `string[]` containing the picked paths |
| 12 | + - `FilePicker.constructor` parameter order was changed |
| 13 | + - `FilePickerBuilder.setModal` was removed as it has no effect |
| 14 | + - `FilePickerBuilder.setType` is deprecated in favor of `FilePickerBuilder.addButton` |
| 15 | + - `FilePickerBuilder.addButton` was added which allows to add custom buttons with callbacks on click (so users can now distinguish which button was clicked) |
7 | 16 |
|
| 17 | +### :rocket: Enhancement |
| 18 | +- A Vue based FilePicker component was added, which can be used either as a component or using programmatically [\#878](https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/878) ([@susnux](https://github.com/susnux)) |
| 19 | +- FilePickerBuilder: Allow to add custom buttons [\#896](https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/896) \([@susnux](https://github.com/susnux)\) |
| 20 | + |
| 21 | +### :bug: Fixed bugs |
8 | 22 | - Fixed some design flaws in new FilePicker component |
9 | 23 | - Adjust color of placeholder skeletons [\#880](https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/880) ([@susnux](https://github.com/susnux)) |
10 | 24 | - Fix column alignment to be consistent with files app [\#881](https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/881) ([@susnux](https://github.com/susnux)) |
11 | 25 | - Navigation and filter should be on separate rows on mobile [\#882](https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/882) ([@susnux](https://github.com/susnux)) |
12 | | - |
13 | | -## v4.2.0-beta.1 (2023-08-10) |
14 | | - |
15 | | -### :rocket: Enhancement |
16 | | -- A Vue based FilePicker component was added, which can be used either as a component or using programmatically [\#878](https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/878) ([@susnux](https://github.com/susnux)) |
| 26 | + - Adjust filepicker breadcrumbs button for design review [\#892](https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/892) ([@susnux](https://github.com/susnux)) |
| 27 | + - Ensure only the file table is scrolled [\#899](https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/899) \([@susnux](https://github.com/susnux)\) |
| 28 | +- FilePicker: Request `oc:size` property for showing the file size [\#893](https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/893) ([@susnux](https://github.com/susnux)) |
| 29 | +- FilePicker: Fix exported typings and cleanup file picker files [\#903](https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/903) \([@susnux](https://github.com/susnux)\) |
17 | 30 |
|
18 | 31 | ### Changed |
19 | 32 | - The package does no longer contain core-js polyfills as Nextcloud core already provides polyfills [#863](https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/863) ([@susnux](https://github.com/susnux)) |
20 | 33 | - The project was moved to a new Github organization (*nextcloud-libraries*) |
| 34 | +- Add version compatibility section to README [\#891](https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/891) ([@susnux](https://github.com/susnux)) |
| 35 | +- Improved developer documentation [\#906](https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/906) \([@susnux](https://github.com/susnux)\) |
21 | 36 | - Dependency updates |
22 | 37 |
|
23 | 38 | ## v4.1.0 (2023-06-23) |
|
0 commit comments