Releases ยท nextcloud-libraries/nextcloud-dialogs

v7.3.0

v7.3.0

Changed

  • Migrated to @nextcloud/files v4.0.0 - reducing dependencies on apps targeting Nextcloud 33+ #2275.
    This also removes cancelable-promise as a dependency by replacing it with native AbortController.
  • Updated development dependencies
  • Updated translations

v7.2.0

What's Changed

๐Ÿš€ Enhancements

๐Ÿ› Fixed bugs

  • fix(filepicker): use @nextcloud/files for name validation by @susnux in #2158
  • fix(conflict-picker): use sub-path import to only import needed parts by @susnux in #2162
  • fix(conflict-picker): pass correct props to component by @susnux in #2159
  • fix(types): resolve Typescript issues and add CI job to check for type issues by @susnux in #2160
  • fix(filepicker): use proper folder icons by @susnux in #2180
  • fix: always use the node displayname prop by @susnux in #2179

Other Changes

  • chore: update workflows from organization by @susnux in #2052
  • ci: update workflows from organization by @susnux in #2102
  • ci: update workflows from organization by @susnux in #2185* Updated translations
  • chore: prepare v7.2.0 by @susnux in #2184

v6.4.2

What's Changed

๐Ÿ› Fixed bugs

  • [stable6] fix(filepicker): use @nextcloud/files for name validation by @backportbot[bot] in #2161
  • [stable6] fix: always use the node displayname prop by @susnux in #2182
  • [stable6] fix(filepicker): use proper folder icons by @backportbot[bot] in #2181

Other Changes

  • [stable6] ci: update workflows from organization by @susnux in #2178
  • refactor: use @nextcloud/paths instead of NodeJS path by @susnux in #2177
  • chore: prepare v6.4.2 by @susnux in #2183

Full Changelog: v6.4.1...v6.4.2

v6.4.1

v6.4.0

What's Changed

๐Ÿš€ Enhancements

  • [stable6] feat(FilePicker): Improve pick and navigation logic to match user expectation by @backportbot[bot] in #2051

Other Changes

  • [stable6] chore: update workflows from organization by @susnux in #1942
  • [stable6] chore: update workflows from organization by @susnux in #2053
  • chore: prepare v6.4.0 by @susnux in #2058

Full Changelog: v6.3.2...v6.4.0

v7.1.0

What's Changed

๐Ÿš€ Enhancements

  • feat(FilePicker): Improve pick and navigation logic to match user expectation by @artonge in #2033

๐Ÿ› Fixed bugs

Other Changes

  • Updates for project Nextcloud dialogs library by @transifex-integration[bot] in #2045
  • chore(deps): Update browserslist by @artonge in #2047
  • chore: prepare v7.1.0 by @artonge in #2047

Full Changelog: v7.0.1...v7.1.0

v7.0.1

v7.0.1

Fixed

Changed

  • docs: adjust changes link for v7.0.0 #2008 (susnux)
  • Updated translations

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.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

v7.0.0-rc.3

v6.3.2

What's Changed

๐Ÿ› Fixed bugs

  • [stable6] fix(PublicAuthPrompt): change default notice if identified by @skjnldsv in #1841
  • [stable6] style(toast): adjust colors for Nextcloud 32 by @backportbot[bot] in #1913
  • [stable6] fix(guestName): limit length to 64 characters by @backportbot[bot] in #1921
  • [stable6] fix(FilePicker): make move primary and copy secondary by @backportbot[bot] in #1935

Other Changes

Full Changelog: v6.3.1...v6.3.2