38 KiB
38 KiB
Changelog
All notable changes to this project will be documented in this file.
6.0.1
Fixed
- fix: Mention supported versions in README by @susnux in https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/1422
- fix: Rate-limit image previews by @susnux in https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/1478
Changed
- Updated translations
- Updated development dependencies
- chore(deps): Bump @nextcloud/auth to 2.4.0
- chore(deps): Bump @vueuse/core to 11.2.0
- chore(deps): Bump @nextcloud/files to 3.9.0
- chore(deps): Bump dompurify to 3.1.6
- chore(deps): Bump @nextcloud/axios to 2.5.1
6.0.0
Breaking
v6.0.0 is only compatible with Nextcloud 29 and newer. Technically this is the same as v5.3.5, but v5.3.3 was a breaking change as it dropped support for Nextcloud 28 and older on public shares.
Changed
- chore: Enhance docs about generic dialogs and export all related types #1380
[susnux](https://github.com/susnux)
- Migrate REUSE to TOML format #1386
[AndyScherzinger](https://github.com/AndyScherzinger)
- chore(deps): Bump @nextcloud/typings to 1.9.1
- chore(deps): Bump @nextcloud/sharing to 0.2.3
- chore(deps): Bump fast-xml-parser to 4.4.1
- chore(deps): Bump @nextcloud/files to 3.8.0
- chore(deps): Bump @vueuse/core to 10.11.1
- chore(deps): Bump webdav to 5.7.1
- chore(deps): Bump axios to 1.7.4
5.3.5
Fixed
- fix(FilePicker): Cleanup DAV handling and properly handle
currentFolder
#1378[susnux](https://github.com/susnux)
Changed
- Updated translations
- chore(deps): Bump @nextcloud/typings from 1.8.0 to 1.9.0
- chore(deps-dev): Bump typedoc from 0.26.0 to 0.26.3
- chore(deps-dev): Bump @zamiell/typedoc-plugin-not-exported from 0.2.0 to 0.3.0
- chore(deps-dev): Bump vite from 5.3.1 to 5.3.2
5.3.4
Fixed
- fix(FilePicker): Forward update of
currentPath
tonavigatedPath
#1370[susnux](https://github.com/susnux)
Changed
- chore(deps-dev): Bump sass to 1.77.6
- chore(deps-dev): Bump @nextcloud/vite-config to 1.3.0
- chore(deps-dev): Bump happy-dom to 14.12.3
- chore(deps-dev): Bump typedoc to 0.26.0
- chore(deps-dev): Bump typescript to 5.5.2
v5.3.3 (2024-06-21)
Fixed
- fix: Use
shallowRef
instead ofshallowReactive
because Vue 2 limitation - fix: Prevent invalid range for skeleton number
Changed
- refactor:
@nextcloud/files
is now aware of public shares also now have@nextcloud/sharing
#1361[susnux](https://github.com/susnux)
- refactor: Use sorting function from files library
- Add SPDX header #1354
[AndyScherzinger](https://github.com/AndyScherzinger)
- chore(deps-dev): Bump braces from 3.0.2 to 3.0.3
- chore(deps): Bump @vueuse/core from 10.10.0 to 10.11.0
- chore(deps-dev): Bump sass from 1.77.4 to 1.77.5
- chore(deps-dev): Bump vite from 5.2.13 to 5.3.1
v5.3.2 (2024-06-10)
Fixed
- fix: Also add current folder to button factory #1351
[susnux](https://github.com/susnux)
- fix(FilePicker): Do not append image preloader to DOM #1340
[susnux](https://github.com/susnux)
Changed
- Updated translations
- chore(deps): Bump webdav to 5.6.0
- chore(deps): Bump @nextcloud/router to 3.0.1
- chore(deps): Bump @nextcloud/auth to 2.3.0
- chore(deps): Bump @nextcloud/axios to 2.5.0
- chore(deps): Bump @nextcloud/initial-state to 2.2.0
- chore(deps): Bump @nextcloud/l10n to 3.1.0
- chore(deps): Bump @nextcloud/event-bus to 3.3.1
- chore(deps): Bump @vueuse/core to 10.10.0
- chore(deps): Bump @nextcloud/files to 3.4.1
v5.3.1 (2024-04-16)
Fixes
- fix: Close actions after creating directory and enter it automatically #1302
[susnux](https://github.com/susnux)
- fix: Fix incorrect directory contents when navigating quickly #1299
[Pytal](https://github.com/Pytal)
Changed
- Dependency updates
v5.3.0 (2024-04-10)
Enhancements
- feat: Provide generic dialogs previously provided by OC.dialogs #1297
[susnux](https://github.com/susnux)
Changed
- Updated development dependencies
v5.2.1 (2024-04-09)
Fixed bug
- fix(FilePicker): Request all default file props (incl. file id) #1287
[susnux](https://github.com/susnux)
Changed
- Updated translations
- Updated development dependencies
- chore(deps): Bump @nextcloud/files from 3.1.0 to 3.1.1
- chore(deps): Bump webdav from 5.4.0 to 5.5.0
v5.2.0 (2024-03-06)
Enhancements
- feat: allow to disable file picker navigation by @skjnldsv in https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/1261
Fixed bug
- fix(FilePicker): Adjust margin of view-selector to be consistent with filter input
Changed
- chore(deps-dev): Bump @vitest/coverage-v8 from 1.3.0 to 1.3.1 by @dependabot
- chore(deps-dev): Bump happy-dom from 13.3.8 to 13.6.2 by @dependabot
- chore(deps-dev): Bump sass from 1.71.0 to 1.71.1 by @dependabot
- chore(deps-dev): Bump typedoc from 0.25.8 to 0.25.9 by @dependabot
- chore(deps-dev): Bump vite from 5.1.3 to 5.1.4 by @dependabot
- chore(deps): Bump @nextcloud/typings from 1.7.0 to 1.8.0 by @dependabot
- chore(deps): Bump @vueuse/core from 10.7.2 to 10.9.0 by @dependabot
- chore(deps): Bump webdav from 5.3.2 to 5.4.0 by @dependabot
- Updates for project Nextcloud dialogs library by @transifex-integration
v5.1.2 (2024-02-25)
🐛 Fixed bugs
- fix(FilePicker): Allow using on public shares #1241
[susnux](https://github.com/susnux)
- enh: breadcrumbs are now consistant across server #1234
[emoral435](https://github.com/emoral435)
Changed
- Updated translations
- Updated dependencies
@nextcloud/router
andwebdav
- Updated development dependencies
v5.1.1 (2024-01-26)
🐛 Fixed bugs
- fix(FilePicker): Stop default close event in case of button press #1207
[susnux](https://github.com/susnux)
- fix(FilePicker): Export
FilePickerClosed
error #1198[susnux](https://github.com/susnux)
Changed
- Updated translations
- Updated development dependencies
v5.1.0 (2024-01-19)
🚀 Enhancement
- enh(FilePickerBuilder): Change error thrown when FilePicker is closed #1166
[susnux](https://github.com/susnux)
🐛 Fixed bugs
- fix(FilePicker): Adjust stylings after migration to
NcDialog
#1138[susnux](https://github.com/susnux)
- fix(FilePicker): Set default of
path
to undefined to allow using the saved path #1137[susnux](https://github.com/susnux)
- fix(FilePicker): Use
Node::path
for current path fixing an clicking favorite folders #1165[susnux](https://github.com/susnux)
- fix(FilePicker): Stop click event on checkbox column to allow multiselect #1192
[susnux](https://github.com/susnux)
- fix(FilePicker): Adjust checkbox position #1193
[susnux](https://github.com/susnux)
- fix(FilePicker): Improve choose button text when selecting multiple #1191
[susnux](https://github.com/susnux)
- Remove unneeded
tab
,tablist
andaria-selected
roles from navigation #1180[JuliaKirschenheuter](https://github.com/JuliaKirschenheuter)
- Remove
aria-label
from<div>
#1179[JuliaKirschenheuter](https://github.com/JuliaKirschenheuter)
Changed
- Updated translations
- Updated dependencies
v5.0.3 (2023-11-27)
🐛 Fixed bugs
- fix(FilePicker):
cropImagePreviews
is now provided as a prop in FilePreview #1120[susnux](https://github.com/susnux)
- fix(FilePicker): On button click also emit the current directory if
allowPickDirectory
is set to true #1121[susnux](https://github.com/susnux)
- fix: Adjust types for IFilePickerButton to align icon with NcDialogButton #1122
[susnux](https://github.com/susnux)
- fix(build): include ?raw data to bundle #1128
[ShGKme](https://github.com/ShGKme)
Changed
- Updated translations
- chore(deps): Bump @vueuse/core from 10.6.0 to 10.6.1
- chore(deps-dev): Bump typescript from 5.2.2 to 5.3.2
v5.0.2 (2023-11-17)
🐛 Fixed bugs
Changed
- Updated translations
- chore(deps): Bump
@nextcloud/vue
from 8.2.0
v5.0.1 (2023-11-15)
🐛 Fixed bugs
Changed
- Updated translations
- chore(deps-dev): Bump @types/gettext-parser from 4.0.3 to 4.0.4
- chore(deps): Bump @vueuse/core from 10.5.0 to 10.6.0
- chore(deps): Bump @types/toastify-js from 1.12.2 to 1.12.3
- chore(deps): Bump axios from 1.4.0 to 1.6.1
v5.0.0 (2023-11-08)
🚀 Enhancement
🐛 Fixed bugs
Changed
- Updated translations
- Updated dependencies
- Now using stable
@nextcloud/vue
version 8.0.0 - Now using stable
@nextcloud/files
version 3.0.0
- Now using stable
v5.0.0-beta.6 (2023-10-17)
💥 Breaking changes
The FilePicker Vue component is no longer exported in the main entry point. Instead it is exported in a filepicker entrypoint, and the FilePicker builder is also now loading it async. This ensures that if a user does not use the filepicker, it gets treeshaken.
🚀 Enhancement
🐛 Fixed bugs
- fix(i18n): Fix spelling of MIME #1041 (@rakekniven)
- fix: Swap sort icons #1058 (@Pytal)
- fix(FilePicker): Make the validity strings more specific #1072 (@susnux)
- fix: Ensure the dialog name can be wrapped if needed #1074 (@susnux)
Changed
- chore: Switch to v8 as code coverage provider, reduces the dependencies #1043 (@susnux)
- Combine vite and vitest config #1070 (@susnux)
- Remove non existing legacy entry point from package.json #1070 (@susnux)
🤖 Dependency updates
- Updated translations
- chore(deps): Bump postcss from 8.4.27 to 8.4.31 #1038
- chore(deps-dev): Bump sass from 1.68.0 to 1.69.0 #1048
- chore(deps-dev): Bump vite from 4.4.9 to 4.4.11 #1046
- chore(deps): Bump @nextcloud/files from 3.0.0-beta.24 to 3.0.0-beta.25 #1047
- chore(deps-dev): Bump @nextcloud/vite-config from 1.0.0-beta.19 to 1.0.1 #1049
- chore(deps): Bump @nextcloud/vue from 8.0.0-beta.7 to 8.0.0-beta.8 #1050
- chore(deps-dev): Bump happy-dom from 12.2.1 to 12.9.0 #1051
- chore(deps): Bump @nextcloud/files from 3.0.0-beta.25 to 3.0.0-beta.26 #1061
- chore(deps): Bump @vueuse/core from 10.4.1 to 10.5.0 #1063
- chore(deps-dev): Bump typedoc from 0.25.1 to 0.25.2 #1062
- chore(deps-dev): Bump @mdi/svg from 7.2.96 to 7.3.67 #1065
- chore(deps-dev): Bump sass from 1.69.0 to 1.69.3 #1064
- chore(deps-dev): Bump happy-dom from 12.9.0 to 12.9.1 #1066
- chore(deps): Bump @babel/traverse from 7.23.0 to 7.23.2 #1069
New Contributors
- @rakekniven made their first contribution in #1041
v5.0.0-beta.5 (2023-10-03)
🐛 Fixed bugs
- fix: breadcrumbs grow #987 (skjnldsv)
- Fix alignment of file list #993 (susnux)
- fix(FilePicker): Use
search
function fromwebdav
package instead of workaround #992 (susnux) - fix(FilePicker): Ensure file list header is shown on top of scrolled content rows #997 (susnux)
🤖 Dependency updates
- chore(deps): Bump @types/toastify-js from 1.12.0 to 1.12.1 #1002
- chore(deps): Bump @nextcloud/vue from 8.0.0-beta.5 to 8.0.0-beta.6 #1004
- chore(deps): Bump @nextcloud/files from 3.0.0-beta.21 to 3.0.0-beta.22 #1013
- chore(deps): Bump @nextcloud/files from 3.0.0-beta.22 to 3.0.0-beta.24 #1021
- chore(deps): Bump @nextcloud/vue from 8.0.0-beta.6 to 8.0.0-beta.7 #1022
- chore: Bump @nextcloud/vue to v8-beta.7 by @Pytal in #1020
v5.0.0-beta.4
🐛 Fixed bugs
- fix(FilePicker): Reset selected files if the current directory is changed #964 (susnux)
- Revert "fix: Patch
webdav
dependency for invalidexports
field un… #984 (skjnldsv)
v5.0.0-beta.3
🐛 Fixed bugs
- fix: Make file list only sortable by one property at the time #949 (susnux)
- fix: styling issues and make the FilePicker height fixed #971 (susnux)
- fix: Use core preview controller for loading file previews and fallback to MDI icons #962 (susnux)
- fix(FilePicker): Fix selecting rows using the keyboard #934 (susnux)
- fix(FilePicker): Only show checkbox skeletons if multiselect was enabled #969 (susnux)
- fix(FilePickerBuilder): Fix paths returned in Promise by
pick
method #963 (susnux) - fix(NcDialog): Make the heading always center aligned on top #965 (susnux) (susnux)
🚀 Enhancement
🤖 Dependency updates
- chore: Update
@nextcloud/files
version #952 (susnux) - chore(deps): Bump @nextcloud/files from 3.0.0-beta.19 to 3.0.0-beta.21
- chore(deps): Bump @nextcloud/vue from 8.0.0-beta.3 to 8.0.0-beta.5
- chore(deps): Bump webdav from 5.2.3 to 5.3.0
v5.0.0-beta.2
🚀 Enhancement
- feat: Add icons for filepicker and allow reactive button based on current path and selection #938 (susnux)
- feat(FilePicker): Always show file extension as a trailing text part #931 (susnux)
- Add empty content when there are no files #930 (susnux)
🐛 Fixed bugs
- fix: The file list should be showed when files are loading #937 (susnux)
- fix(FilePicker): Ensure focus-visible outline is visible for all focusable elements #935 (susnux)
- fix(FilePicker): Do not show checkboxes on single select mode #929 (susnux)
- fix: Add missing defaults to DialogButton #927 (susnux)
- fix(FilePickerBuilder): Revert API change on
pick()
#925 (susnux) - fix(FilePicker): The table height should be max. 100% #921 (susnux)
Changed
v5.0.0-beta.1 (2023-08-18)
💥 Breaking
- A Vue based file picker is provided which uses
@nextcloud/vue
version 8, so this library will only work on Nextcloud 28+ - Modernize FilePickerBuilder to directly make use of the Vue based file picker #904
[@susnux](https://github.com/susnux)
- This slightly breaks the FilePickerBuilder API:
FilePicker.pick
now returns a Promise resolving tostring[]
containing the picked pathsFilePicker.constructor
parameter order was changedFilePickerBuilder.setModal
was removed as it has no effectFilePickerBuilder.setType
is deprecated in favor ofFilePickerBuilder.addButton
FilePickerBuilder.addButton
was added which allows to add custom buttons with callbacks on click (so users can now distinguish which button was clicked)
- This slightly breaks the FilePickerBuilder API:
🚀 Enhancement
- A Vue based FilePicker component was added, which can be used either as a component or using programmatically #878 (@susnux)
- FilePickerBuilder: Allow to add custom buttons #896
[@susnux](https://github.com/susnux)
🐛 Fixed bugs
- Fixed some design flaws in new FilePicker component
- Adjust color of placeholder skeletons #880 (@susnux)
- Fix column alignment to be consistent with files app #881 (@susnux)
- Navigation and filter should be on separate rows on mobile #882 (@susnux)
- Adjust filepicker breadcrumbs button for design review #892 (@susnux)
- Ensure only the file table is scrolled #899
[@susnux](https://github.com/susnux)
- FilePicker: Request
oc:size
property for showing the file size #893 (@susnux) - FilePicker: Fix exported typings and cleanup file picker files #903
[@susnux](https://github.com/susnux)
Changed
- The package does no longer contain core-js polyfills as Nextcloud core already provides polyfills #863 (@susnux)
- The project was moved to a new Github organization (nextcloud-libraries)
- Add version compatibility section to README #891 (@susnux)
- Improved developer documentation #906
[@susnux](https://github.com/susnux)
- Dependency updates
v4.1.0 (2023-06-23)
🐛 Fixed bugs
- Make sure Typescript projects with
node16
module resolution can import the package #845 (@susnux) - Ensure all package dependencies are external #843 (@susnux)
Changed
- Update Node engines to next LTS (version 20)
- Translation updates
- Dependency updates
v4.0.1 (2023-02-16)
🚀 Enhancement
🐛 Bug Fix
Committers: 2
- Ferdinand Thiessen (@susnux)
- Julius Härtl (@juliushaertl)
v4.0.0 (2023-02-13)
💥 Breaking changes
Styles need to be imported differently compared to v3.2.0. Make sure to import them from dist/index.css
:
import '@nextcloud/dialogs/dist/index.css'
🚀 Enhancement
Committers: 2
v4.0.0-beta.2 (2022-11-02)
🐛 Fixed bugs
v4.0.0-beta.1 (2022-11-02)
🐛 Fixed bugs
v4.0.0-beta.0 (2022-10-28)
🐛 Fixed bugs
Changed
- Translation updates
- Dependency updates
v3.2.0 - 2022-08-10
Changed
- Update engines to Node 16 with Npm 7 or Npm 8
- Translation updates
- Dependency updates
v3.1.4 - 2022-07-21
Changed
- Fixed dark mode with Nextcloud 25 - #630 (nickvergessen)
v3.1.3 - 2022-07-21
Added
Changed
- Replace deprecated String.prototype.substr - #553 (CommanderRoot)
- Fix undo toast rendering - #582 (artonge)
- Bump toastify-js and set aria-live default and allow to overwrite it - #622 (nickvergessen)
- Bumped dependencies
- Translations updated
v3.1.2 - 2021-04-12
Changed
- Bump @babel/cli from 7.12.1 to 7.13.14 - #241 #242 #254 #284 #325 (dependabot[bot])
- Bump @babel/core from 7.12.3 to 7.13.14 - #237 #244 #252 #285 #326 (dependabot[bot])
- Bump babel-loader-exclude-node-modules-except from 1.0.3 to 1.1.2 - #288 (dependabot[bot])
- Bump @babel/preset-env from 7.12.1 to 7.13.12 - #240 #253 #256 #279 #308 #324 (dependabot[bot])
- Bump @babel/preset-typescript from 7.12.1 to 7.12.13 - #238 #282 (dependabot[bot])
- Bump core-js from 3.7.0 to 3.9.1 - #243 #251 #262 #309 (dependabot[bot])
- Bump highlight.js from 10.2.0 to 10.4.1 - #245 (dependabot[bot])
- Bump rollup from 2.33.1 to 2.38.5 - #239 #247 #250 #257 #266 #283 (dependabot[bot])
- Bump @rollup/plugin-babel from 5.2.1 to 5.3.0 - #249 #298 (dependabot[bot])
- Bump @rollup/plugin-commonjs from 16.0.0 to 18.0.0 - #248 #323 (dependabot[bot])
- Bump @rollup/plugin-node-resolve from 10.0.0 to 11.2.1 - #246 #258 #319 (dependabot[bot])
- Bump rollup-plugin-typescript2 from 0.29.0 to 0.30.0 - #322 (dependabot[bot])
- Bump ToastifyJS from 1.9.1 to 1.10.0 - #328 (LukasReschke)
- Bump tslib from 2.0.3 to 2.1.0 - #265 (dependabot[bot])
- Bump typescript from 4.0.5 to 4.0.7 - #312 (dependabot[bot])
- Translation updates - #259 #263 #273 #274 #311
v3.1.1 - 2020-11-13
Fixed
- Increased z-index for toast notifications so that they can appear on top of modals as well #236 (PVince81)
v3.1.0 - 2020-10-20
Added
3.0.0 - 2020-10-08
Breaking
- Timeouts are now in milliseconds
Added
- Now exports TOAST_UNDO_TIMEOUT, TOAST_DEFAULT_TIMEOUT and TOAST_PERMANENT_TIMEOUT
Fixed
- Fix timeout of showUndo
2.0.1 - 2020-08-27
Fixed
- Fix timeout of showUndo to 10 seconds
2.0.0 - 2020-08-17
Breaking
- Now you must configure some svg loader for your bundler in project (webpack etc.)
Added
- Undo methods
- SVG icons
Changed
- Timeout value for permanent must be -1 now instead of 0
- Build process with rollup
- Dependency updates
1.4.0 - 2020-06-05
Added
- Nextcloud 19 typings
Changed
- Dependency updates
1.3.1 - 2020-05-27
Changed
- Dependency updates
Fixed
- Toasts not sticky
1.3.0 - 2020-02-04
Changed
- Dependency updates
Fixed
- Persistent notifications
- Broader version ranges for dependencies to prevent bloat
1.2.2 - 2020-03-19
Changed
- Dependency updates
Fixed
- Update vulnerable packages
1.2.1 - 2020-03-06
Fixed
- Use
body
as selector by default, so guest pages work as well
1.2.0 - 2020-03-03
Added
- Configurable Toasts selector (for tests)
1.1.0 - 2020-02-04
Added
- Toasts