Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Changelog, graphql schema

fowczarekc1c9015fec3f
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4bf78a3d9e..fe82c28ff9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -52,6 +52,7 @@ All notable, unreleased changes to this project will be documented in this file.
- Remove dashboard 2.0 files - #4631 by @dominik-zeglen
- Refactoring of password recovery system - #4617 by @fowczarek
- Added capability to filter attributes per global ID - #4640 by @NyanKiyoshi.
+- Add mutation for change authenticated user password - #4656 by @fowczarek
## 2.8.0
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index a17cae798d..539790a1f9 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -1949,6 +1949,7 @@ type Mutations {
checkoutClearPrivateMetadata(id: ID!, input: MetaPath!): CheckoutClearStoredPrivateMeta
requestPasswordReset(email: String!, redirectUrl: String!): RequestPasswordReset
setPassword(token: String!, email: String!, password: String!): SetPassword
+ passwordChange(newPassword: String!, oldPassword: String!): PasswordChange
userUpdateMetadata(id: ID!, input: MetaInput!): UserUpdateMeta
userClearStoredMetadata(id: ID!, input: MetaPath!): UserClearStoredMeta
accountAddressCreate(input: AddressInput!, type: AddressTypeEnum): AccountAddressCreate
@@ -2342,6 +2343,11 @@ type PageUpdate {
page: Page
}
+type PasswordChange {
+ errors: [Error!]
+ user: User
+}
+
type PasswordReset {
errors: [Error!]
}