Skip to content

Commit b63e0b8

Browse files
authored
Merge pull request #1728 from nextcloud-libraries/chore/filepicker-deprecated
chore: deprecate export of filepicker Vue component
2 parents 11b082d + ad6c6b8 commit b63e0b8

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66

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

9+
## UNRELEASED
10+
### Notes
11+
12+
The export of the file picker Vue component is deprecated and will be removed in the next version.
13+
Instead please use the `FilePickerBuilder`.
14+
915
## 6.1.1
1016
[Full Changelog](https://github.com/nextcloud-libraries/nextcloud-dialogs/compare/v6.1.0...v6.1.1)
1117

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ const paths = await filepicker.pick()
8383
```
8484

8585
#### Use the Vue component directly
86+
87+
> [!WARNING]
88+
> The Vue component is deprecated and will no longer be exported in a future version.
89+
8690
We also provide the `@nextcloud/dialogs/filepicker.js` entry point to allow using the Vue component directly:
8791

8892
```vue

lib/filepicker.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
/**
1+
/*!
22
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
33
* SPDX-License-Identifier: AGPL-3.0-or-later
44
*/
55

66
/**
77
* This entry points provides access to the FilePicker Vue component and its type definitions
8+
*
9+
* @deprecated The file picker Vue export will be removed in a future version. Please only use the file picker builder.
810
*/
911

1012
export { FilePickerVue } from './components/FilePicker/index.js'

0 commit comments

Comments
 (0)