Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ updates:
time: "03:00"
timezone: Europe/Paris
versioning-strategy: increase
open-pull-requests-limit:
open-pull-requests-limit: 10
ignore:
# no major updates on stable branches
- dependency-name: "*"
Expand Down
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,31 @@ All notable changes to this project will be documented in this file.
- SPDX-License-Identifier: MIT
-->

## 6.0.0 - UNRELEASED
### 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:
```js
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.

## 5.3.1 - 2024-12-16

### What's Changed
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,16 @@ This library exports a function that displays a password confirmation dialog whe

| `@nextcloud/password-confirmation` | Maintained | Nextcloud | `@nextcloud/vue` |
| ---------------------------------- | ---------- | ----------- | ---------------- |
| 6.x | ✅ | 30+ | 9.x (Vue 3) |
| 6.x | ✅ | 30+ | *9.x (Vue 3)* ¹ |
| 5.x | ✅ | 28-31 | 8.x |
| 2.x - 4.x | ❌ | 25-27 | 7.x |
| 1.x | ❌ | < 25 | - |

¹: In version 6.x the `@nextcloud/vue` dependency is moved to `dependencies` so you can also use this library
with an old version of `@nextcloud/vue` in your app dependencies if your app still uses Vue 2.
Note that this might increase the bundled app size.
If your app also already uses `@nextcloud/vue` version 9.x and Vue 3 then the bundle size will not increase.

## Installation
```sh
npm install @nextcloud/password-confirmation
Expand Down
Loading
Loading