All notable changes to this project will be documented in this file.
6.1.0 - 2026-03-18
- feat: use status header on recent Nextcloud versions to detect confirmation error #1359
6.0.3 - 2026-03-06
- fix: Don't apply password policy when trying to confirm a password #1228
- Updated translations
- Updated development dependencies
6.0.2 - 2025-11-06
- fix: add check for validatePromise for passwordless environments #1209 (benjaminfrueh)
- docs: adjust supported versions #1176 (susnux)
- refactor: use css modules and script-setup #1174 (susnux)
- ci: update workflows from organization #1211 (susnux)
6.0.1 - 2025-10-16
6.0.0 - 2025-09-28
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.
- This package now uses Vue 3 internally.
- The legacy common js entry point is removed.
- The legacy, deprecated,
dist/style.cssentry point was removed. If you still use it please adjust as following:
- import '@nextcloud/password-confirmation/dist/style.css'
+ import '@nextcloud/password-confirmation/style.css'- fix: Differentiate non-403 errors by @artonge in #1104
- chore: drop unneeded TS declarations by @susnux in #1020
- Updated translations
- fix: Improve pwd confirmation condition #906 by @artonge in #906
- fix: Use spawnDialog from @nc/dialogs #895 by @artonge in #895
- feat: Expose axios interceptors by @artonge in #881
- chore: Add SPDX license headers by @susnux in #805
- Migrate REUSE to TOML by @AndyScherzinger in #815
- Updates for project Nextcloud password confirmation library by @transifex-integration in #807
- CI. Update dependabot-approve-merge.yml by @AndyScherzinger in #843
- chore(deps): Bump skjnldsv/read-package-engines-version-actions to 3
- chore(deps): Bump actions/setup-node to 4.1.0
- chore(deps): Bump axios to 1.7.4
- chore(deps): Bump @nextcloud/axios to 2.5.1
- chore(deps): Bump pascalgn/automerge-action to 0.16.4
- chore(deps): Bump rollup to 4.22.4
- chore(deps): Bump actions/checkout to 4.2.2
- chore(deps): Bump dompurify to 3.1.7
- fix: Correctly export Typescript types in
exports#795
- Updated translations
- chore(deps): Bump @nextcloud/router to 3.0.1
- chore(deps): Bump @nextcloud/axios to 2.5.0
- chore(deps): Bump @nextcloud/l10n to 3.1.0
- chore(dev-deps): Update development dependencies #794
- chore: Update workflows from organization #797
Full Changelog: https://github.com/nextcloud-libraries/nextcloud-password-confirmation/compare/v5.0.1...v5.1.0
- enh: Migrate to NcDialog by @susnux in #697
- enh: Compress translations to reduce bundle size by @susnux in #698
- fix: Adjust code indention to be consistent (tabs) by @susnux in #692
- fix: Do not translate Exception error message by @susnux in #691
- fix: Adjust peer dependency on
@nextcloud/vueto allow stable version by @susnux in #693
- Updated translations
- Updated
@nextcloud/routerto 3.0.0 - Updated development dependencies
- Update NPM to v10 to align with the version provided by LTS Node 20
- Make package ESM by default by @susnux in #696
- fix: do not mount to hidden modal by @ShGKme in #666
- build: fix dev and watch build by specifying CSS chunk path by @ShGKme in #667
- Setup for Transifex by @ShGKme in #634
- Dependency updates
- Improve password confirmation dialog design and accessibility
- Major update
@nextcloud/vueto v8.0.0-beta.7
isPasswordConfirmationRequired(): booleanfunction to replace deprecatedOC.PasswordConfirmation.requiresPasswordConfirmation()
- Fix compatibility with
@nextcloud/l10n@^2
- Add
package.json/exports - Move to
nextcloud-librariesorganization - Add ESLint for linting files
- Dependency updates
- Do not import the entire vue library to fix package resolution errors
- Dependency updates
- Bump @nextcloud/vue to fix focus trap
- Remove password policy checks completely to fix permanently disabled confirm button
- Bump @nextcloud/vue to remove errors from console
- Document release process
- Dependency updates
- Password strength shown
- Dialog styles must be imported with
import '@nextcloud/password-confirmation/dist/style.css'
- Remove exports field to fix eslint and build errors in dependent environments
- Fix dialog not appearing when another modal is open
- Default export has been dropped, the function must now be imported with
import { confirmPassword } from '@nextcloud/password-confirmation' - Dialog styles must be imported with
import '@nextcloud/password-confirmation/style.css'
- Core password confirmation logic and dialog markup has been ported to this package where previously this package was a thin wrapper over the
OC.PasswordConfirmationglobal js namespace - Use https://github.com/vitejs/vite as the build system
- Drop Babel toolchain
- Add translation files
- Add GitHub workflows
- Dependency updates
- Rewrite in Typescript and provide Typescript typings
- Dependency updates
- Updated to Nextcloud's browserslist config v2
- Dependency updates
- Dependency updates
- Update vulnerable packages