File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55# Changelog
66
77All notable changes to this project will be documented in this file.
8+ ## [ v7.0.0] ( https://github.com/nextcloud-libraries/nextcloud-dialogs/compare/v6.2.0...v7.0.0-rc.0 )
9+
10+ ### Notes
11+
12+ This package now builds on top of ` @nextcloud/vue ` version 9 using Vue 3.
13+ While this package uses Vue 3 it is also possible to use it within a Vue 2 project,
14+ in this case the Vue dependency will not be shared as the dependency was moved from a peer dependency to a plain dependency.
15+ This also means that if you are using Vue 2 you have to ensure you do not use bundler
16+ configurations that enforce resolving Vue to the same version as this will fail now,
17+ instead let the bundler choose the matching Vue version.
18+
19+ For example if using Webpack this will no longer work in ** Vue 2** apps:
20+ ``` js
21+ resolve: {
22+ alias: {
23+ vue$: path .resolve (' ./node_modules/vue' ),
24+ },
25+ }
26+ ```
27+
28+ For Vue 3 apps nothing changed, meaning the app and this library will share the same Vue dependency as long as the versions are compatible.
29+
30+ ### Breaking
31+
32+ * This package now uses Vue 3 internally.
33+ * The deprecated FilePicker component export was removed to allow using this library in Vue 2 and Vue 3 apps.
34+ * The deprecated ` Dialog.hide ` method was removed, instead await the returned promise and wait for the user interaction.
835
936## [ v6.2.0] ( https://github.com/nextcloud-libraries/nextcloud-dialogs/compare/v6.1.1...v6.2.0 )
1037### Notes
You can’t perform that action at this time.
0 commit comments