Skip to content

Latest commit

 

History

History
788 lines (601 loc) · 53.6 KB

File metadata and controls

788 lines (601 loc) · 53.6 KB

Changelog

All notable changes to this project will be documented in this file.

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

Added

Fixed

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

Changed

  • chore: update workflows from organization #2052 (susnux)
  • chore: align devEngines with current support Node and NPM #2108 (susnux)
  • ci: update workflows from organization #2102 (susnux)

Added

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

Fixed

Changed

Fixed

Changed

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

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

  • chore: update to ESLint v9 and apply new rules #1753 (susnux)
  • Updates for project Nextcloud dialogs library #1757 (transifex-integration)
  • chore: move from dev:watch back to watch #1758 (skjnldsv)
  • Updates for project Nextcloud dialogs library #1776 (transifex-integration)
  • refactor: adjust code to comply with code style (again) #1774 (susnux)
  • chore!: remove spawnDialog in 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 setHTML method #1985 (susnux)

🐛 Fixed bugs

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

Other Changes

🐛 Fixed bugs

🚀 Enhancements

🐛 Fixed bugs

  • fix(FilePickerBuilder): correctly return array / plain value depending on multiselect #1777 (backportbot)

Other Changes

Notes

The export of the file picker Vue component is deprecated and will be removed in the next version. Instead please use the FilePickerBuilder.

The Dialog.hide method is deprecated. Instead only user interaction should close dialogs, for this use the promise returned by Dialog.show which will resolve if the user answered the dialog and rejected if the user aborted (closed) the dialog.

Added

  • feat: allow picking files using the Nextcloud Nodes API #1730 (susnux)

Fixed

  • fix(file-picker): align folder design with Nextcloud files app #1733 (susnux)
  • fix: the nc-vue dialogs function module is called dialog not dialogs #1732 (susnux)
  • perf: do not pre-load folder mime icon #1734 (susnux)

Changed

  • docs: Update README.md #1627 (susnux)
  • chore: update workflows #1609 (susnux)
  • chore: simplify vitest config and fix some build issues #1606 (susnux)
  • chore: supported branches #1608 (susnux)
  • chore: prepare for vue3 migration #1681 (ShGKme)
  • chore: deprecate export of filepicker Vue component #1728 (susnux)
  • chore: Nextcloud 28 is EOL so is nextcloud-dialogs v5 #1729 (susnux)
  • chore: deprecate Dialog.hide #1731 (susnux)
  • chore(deps): Bump axios to 1.8.2
  • chore(deps): Bump webdav to 5.8.0
  • chore(deps): Bump dompurify to 3.2.4
  • chore(deps): Bump @nextcloud/event-bus to 3.3.2
  • chore(deps): Bump @nextcloud/files to 3.10.2
  • chore(deps): Bump @nextcloud/l10n to 3.2.0
  • chore(deps): Bump @vueuse/core to 11.3.0

6.1.1

Full Changelog

Fixed

  • fix(toast): loading svg #1559 (skjnldsv)
  • fixed css output file via @nextcloud/vite-config update

Changed

  • chore(deps): Bump p-queue from 8.0.1 to 8.1.0
  • chore(deps-dev): Bump @nextcloud/vite-config from 1.5.0 to 1.5.1
  • chore(deps-dev): Bump @vitest/coverage-v8 from 2.1.8 to 3.0.3
  • chore(deps-dev): Bump happy-dom from 16.7.1 to 16.7.2
  • chore(deps-dev): Bump vite from 6.0.7 to 6.0.9
  • chore(deps-dev): Bump vite from 6.0.9 to 6.0.11
  • chore(deps-dev): Bump vitest from 2.1.8 to 3.0.3

6.1.0

Full Changelog

Enhancements

Fixed

Changed

  • Updated translations
  • Updated development dependencies

6.0.1

Full Changelog

Fixed

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

Full Changelog

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)
  • Migrate REUSE to TOML format #1386 (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

Full Changelog

Fixed

  • fix(FilePicker): Cleanup DAV handling and properly handle currentFolder #1378 (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

Full Changelog

Fixed

  • fix(FilePicker): Forward update of currentPath to navigatedPath #1370 (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)

Full Changelog

Fixed

  • fix: Use shallowRef instead of shallowReactive 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)
  • refactor: Use sorting function from files library
  • Add SPDX header #1354 (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)

Full Changelog

Fixed

  • fix: Also add current folder to button factory #1351 (susnux)
  • fix(FilePicker): Do not append image preloader to DOM #1340 (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)

Full Changelog

Fixes

  • fix: Close actions after creating directory and enter it automatically #1302 (susnux)
  • fix: Fix incorrect directory contents when navigating quickly #1299 (Pytal)

Changed

  • Dependency updates

v5.3.0 (2024-04-10)

Full Changelog

Enhancements

  • feat: Provide generic dialogs previously provided by OC.dialogs #1297 (susnux)

Changed

  • Updated development dependencies

v5.2.1 (2024-04-09)

Full Changelog

Fixed bug

  • fix(FilePicker): Request all default file props (incl. file id) #1287 (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)

Full Changelog

Enhancements

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)

Full Changelog

🐛 Fixed bugs

  • fix(FilePicker): Allow using on public shares #1241 (susnux)
  • enh: breadcrumbs are now consistant across server #1234 (emoral435)

Changed

  • Updated translations
  • Updated dependencies @nextcloud/router and webdav
  • Updated development dependencies

v5.1.1 (2024-01-26)

Full Changelog

🐛 Fixed bugs

  • fix(FilePicker): Stop default close event in case of button press #1207 (susnux)
  • fix(FilePicker): Export FilePickerClosed error #1198 (susnux)

Changed

  • Updated translations
  • Updated development dependencies

v5.1.0 (2024-01-19)

Full Changelog

🚀 Enhancement

  • enh(FilePickerBuilder): Change error thrown when FilePicker is closed #1166 (susnux)

🐛 Fixed bugs

  • fix(FilePicker): Adjust stylings after migration to NcDialog #1138 (susnux)
  • fix(FilePicker): Set default of path to undefined to allow using the saved path #1137 (susnux)
  • fix(FilePicker): Use Node::path for current path fixing an clicking favorite folders #1165 (susnux)
  • fix(FilePicker): Stop click event on checkbox column to allow multiselect #1192 (susnux)
  • fix(FilePicker): Adjust checkbox position #1193 (susnux)
  • fix(FilePicker): Improve choose button text when selecting multiple #1191 (susnux)
  • Remove unneeded tab, tablist and aria-selected roles from navigation #1180 (JuliaKirschenheuter)
  • Remove aria-label from <div> #1179 (JuliaKirschenheuter)

Changed

  • Updated translations
  • Updated dependencies

v5.0.3 (2023-11-27)

Full Changelog

🐛 Fixed bugs

  • fix(FilePicker): cropImagePreviews is now provided as a prop in FilePreview #1120 (susnux)
  • fix(FilePicker): On button click also emit the current directory if allowPickDirectory is set to true #1121 (susnux)
  • fix: Adjust types for IFilePickerButton to align icon with NcDialogButton #1122 (susnux)
  • fix(build): include ?raw data to bundle #1128 (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)

Full Changelog

🐛 Fixed bugs

  • fix(FilePicker): Listen on update:open rather than closed event from NcDialog #1113 (@susnux)

Changed

  • Updated translations
  • chore(deps): Bump @nextcloud/vue from 8.2.0

v5.0.1 (2023-11-15)

Full Changelog

🐛 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)

Full Changelog

🚀 Enhancement

  • FilePicker: Signal folder creation to files app #1095 (@susnux)

🐛 Fixed bugs

  • fix: Use NcDialog instead of custom dialog component now that it is upstreamed #1101 (@susnux)

Changed

  • Updated translations
  • Updated dependencies
    • Now using stable @nextcloud/vue version 8.0.0
    • Now using stable @nextcloud/files version 3.0.0

v5.0.0-beta.6 (2023-10-17)

Full Changelog

💥 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

  • Get files app config and use it for the file picker #973 (@susnux)

🐛 Fixed bugs

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

v5.0.0-beta.5 (2023-10-03)

Full Changelog

🐛 Fixed bugs

  • fix: breadcrumbs grow #987 (skjnldsv)
  • Fix alignment of file list #993 (susnux)
  • fix(FilePicker): Use search function from webdav 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

Full Changelog

🐛 Fixed bugs

  • fix(FilePicker): Reset selected files if the current directory is changed #964 (susnux)
  • Revert "fix: Patch webdav dependency for invalid exports field un… #984 (skjnldsv)

v5.0.0-beta.3

Full Changelog

🐛 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

  • feat(FilePickerBuilder): Allow to configure the dialog container element #950 (susnux)

🤖 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

Full Changelog

🚀 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

  • Update @nextcloud/files and add unit tests #917 (susnux)

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)
    • This slightly breaks the FilePickerBuilder API:
      • FilePicker.pick now returns a Promise resolving to string[] containing the picked paths
      • FilePicker.constructor parameter order was changed
      • FilePickerBuilder.setModal was removed as it has no effect
      • FilePickerBuilder.setType is deprecated in favor of FilePickerBuilder.addButton
      • FilePickerBuilder.addButton was added which allows to add custom buttons with callbacks on click (so users can now distinguish which button was clicked)

🚀 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)

🐛 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)
  • FilePicker: Request oc:size property for showing the file size #893 (@susnux)
  • FilePicker: Fix exported typings and cleanup file picker files #903 (@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)
  • 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

  • #761 Fix package resolving in webpack projects (@susnux)

Committers: 2

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)

Full Changelog

🐛 Fixed bugs

v4.0.0-beta.1 (2022-11-02)

Full Changelog

🐛 Fixed bugs

  • Do not change css class names when building #694 (skjnldsv)

v4.0.0-beta.0 (2022-10-28)

Full Changelog

🐛 Fixed bugs

Changed

  • Translation updates
  • Dependency updates

v3.2.0 - 2022-08-10

Full Changelog

Changed

  • Update engines to Node 16 with Npm 7 or Npm 8
  • Translation updates
  • Dependency updates

v3.1.4 - 2022-07-21

Full Changelog

Changed

v3.1.3 - 2022-07-21

Full Changelog

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

Full Changelog

Changed

v3.1.1 - 2020-11-13

Full Changelog

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

Full Changelog

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