Skip to content

v7.0.0

Choose a tag to compare

@susnux susnux released this 08 Oct 20:50
· 670 commits to main since this release
57e626b

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.hide method was removed, instead await the returned promise and wait for the user interaction.
  • The deprecated Dialog.setHTML method was removed. If you need custom HTML content use NcDialog from @nextcloud/vue.
  • The spawnDialog helper 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

Changed