From f4db4bd4c54851b5d4423fb0dc6aa543223d7279 Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Tue, 10 Oct 2023 18:00:17 +0200 Subject: [PATCH 1/3] chore(README): add versions compatibility Signed-off-by: Grigorii K. Shartsev --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 58c374ee..42720349 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,15 @@ Promise-based password confirmation for Nextcloud. This library exports a function that displays a password confirmation dialog when called and returns a promise. This makes it easier to integrate with other asynchronous operations. +## Versions compatibility + +Nextcloud | @nextcloud/vue | @nextcloud/password-confirmation +------------|----------------|--------------------------------- +28.x | 8.x | 5.x +25.x - 27.x | 7.x | 2.x - 4.x +< 25.x | - | 1.x + + ## Installation ```sh npm add @nextcloud/password-confirmation From a08fce612d4576e60914540f0425c9b4684ede57 Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Tue, 10 Oct 2023 18:11:42 +0200 Subject: [PATCH 2/3] chore(changelog): add v4.1.0 changelog Signed-off-by: Grigorii K. Shartsev --- CHANGELOG.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0199fb4f..fe6c0047 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,23 @@ All notable changes to this project will be documented in this file. +## 4.1.0 - 2023-10-09 + +### Added + +- `isPasswordConfirmationRequired(): boolean` function to replace deprecated `OC.PasswordConfirmation.requiresPasswordConfirmation()` + +### Fixed + +- Fix compatibility with `@nextcloud/l10n@^2` + +### Changed + +- Add `package.json/exports` +- Move to `nextcloud-libraries` organization +- Add ESLint for linting files +- Dependency updates + ## 4.0.4 - 2023-02-15 ### Fixed From 8805793196fbf8d3a5270f651b46f783ad3c5b2b Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Tue, 10 Oct 2023 18:13:41 +0200 Subject: [PATCH 3/3] release: v5.0.0 Signed-off-by: Grigorii K. Shartsev --- CHANGELOG.md | 10 ++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fe6c0047..9e216078 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to this project will be documented in this file. +## 5.0.0 - 2023-10-09 + +### Fixed + +- Improve password confirmation dialog design and accessibility + +### Changed + +- Major update `@nextcloud/vue` to v8.0.0-beta.7 + ## 4.1.0 - 2023-10-09 ### Added diff --git a/package-lock.json b/package-lock.json index 24be7880..4e7b7554 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@nextcloud/password-confirmation", - "version": "4.0.4", + "version": "5.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@nextcloud/password-confirmation", - "version": "4.0.4", + "version": "5.0.0", "license": "MIT", "dependencies": { "@nextcloud/axios": "^2.4.0", diff --git a/package.json b/package.json index 5f17ac35..80ecf3c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nextcloud/password-confirmation", - "version": "4.0.4", + "version": "5.0.0", "description": "Password confirmation for Nextcloud", "main": "./dist/index.cjs", "types": "./dist/index.d.ts",