Skip to content

Commit c51c19b

Browse files
authored
Merge pull request #911 from nextcloud-libraries/chore/prepare-5.0.0-beta-1
chore: Prepare release of 5.0.0-beta.1
2 parents 845b9a7 + 436d2f5 commit c51c19b

File tree

3 files changed

+25
-10
lines changed

3 files changed

+25
-10
lines changed

CHANGELOG.md

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,37 @@
22

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

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)
716

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
822
- Fixed some design flaws in new FilePicker component
923
- Adjust color of placeholder skeletons [\#880](https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/880) ([@susnux](https://github.com/susnux))
1024
- Fix column alignment to be consistent with files app [\#881](https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/881) ([@susnux](https://github.com/susnux))
1125
- 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)\)
1730

1831
### Changed
1932
- 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))
2033
- 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)\)
2136
- Dependency updates
2237

2338
## v4.1.0 (2023-06-23)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nextcloud/dialogs",
3-
"version": "4.2.0-beta.2",
3+
"version": "5.0.0-beta.1",
44
"description": "Nextcloud dialog helpers",
55
"types": "dist/index.d.ts",
66
"main": "dist/index.cjs",

0 commit comments

Comments
 (0)