v7.0.0
v7.0.0
Notes
This package now builds on top of @nextcloud/vue version 9 using Vue 3.
While this package uses Vue 3 it is also possible to use it within a Vue 2 project,
in this case the Vue dependency will not be shared as the dependency was moved from a peer dependency to a plain dependency.
This also means that if you are using Vue 2 you have to ensure you do not use bundler
configurations that enforce resolving Vue to the same version as this will fail now,
instead let the bundler choose the matching Vue version.
For example if using Webpack this will no longer work in Vue 2 apps:
resolve: {
alias: {
vue$: path.resolve('./node_modules/vue'),
},
}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.
Breaking
- This package now uses Vue 3 internally.
- The deprecated FilePicker component export was removed to allow using this library in Vue 2 and Vue 3 apps.
- The deprecated
Dialog.hidemethod was removed, instead await the returned promise and wait for the user interaction. - The deprecated
Dialog.setHTMLmethod was removed. If you need custom HTML content useNcDialogfrom@nextcloud/vue. - The
spawnDialoghelper method was removed, instead use the function provided by@nextcloud/vue
- import { spawnDialog } from '@nextcloud/dialogs'
+ import { spawnDialog } from '@nextcloud/vue/functions/dialog'Added
- feat: add guest auth prompt #1760 (backportbot)
- feat(ConflictPicker): move conflict picker dialog from
@nextcloud/upload#1971 (susnux) - feat(dialogs): allow to quickly show a dialog #1986 (susnux)
Fixed
- fix(FilePickerBuilder): correctly return array / plain value depending on multiselect #1775 (susnux)
- fix: display guest name validity #1836 (skjnldsv)
- fix: return nodes array from smartpicker #1879 (grnd-alt)
- fix(PublicAuthPrompt): change default notice if identified #1880 (backportbot[bot])
- style(toast): adjust colors for Nextcloud 32 #1912 (Antreesy)
- fix(guestName): limit length to 64 characters #1915 (max-nextcloud)
- fix(FilePicker): make move primary and copy secondary #1933 (susnux)
- fix: allow dismiss the undo toast #1944 (luka-nextcloud)
Changed
- chore: update to ESLint v9 and apply new rules #1753 (susnux)
- Updates for project Nextcloud dialogs library #1757 (transifex-integration)
- chore: move from
dev:watchback towatch#1758 (skjnldsv) - Updates for project Nextcloud dialogs library #1776 (transifex-integration)
- refactor: adjust code to comply with code style (again) #1774 (susnux)
- chore!: remove
spawnDialogin favor of version from@nextcloud/vue#1783 (susnux) - refactor: do not use Node internals but @nextcloud/paths package #1752 (susnux)
- Updates for project Nextcloud dialogs library by @transifex-integration[bot]
- chore(deps): @nextcloud family + various upgrades #1905 (skjnldsv)
- chore: fix node version for dependabot #1960 (susnux)
- chore(dialogs)!: remove deprecated
setHTMLmethod #1985 (susnux)