Skip to content

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

Changelog

fowczarek61b93b8d70ee
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8a96108971..bd76919f9f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -41,6 +41,18 @@ All notable, unreleased changes to this project will be documented in this file.
- Disabled unneeded reports from uWSGI about broken pipe and write errors from disconnected clients. Preventing from spamming sentry users. - #4596 by @NyanKiyoshi
- Upgraded to django 2.2.4 - #4603 by @NyanKiyoshi
- Invalid IP address in HTTP requests now fallback to the requester's IP address. - #4597 by @NyanKiyoshi
+- Refactor account mutations - #4510 by @fowczarek
+ - split mutations into multiple files
+ - use "Account" prefix for all mutation related to the logged-in user
+ - deprecated mutations:
+ - PasswordReset
+ - CustomerRegister
+ - LoggedUserUpdate
+ - CustomerAddressCreate
+ - CustomerSetDefaultAddress
+ - CustomerPasswordReset
+
+
## 2.8.0
diff --git a/saleor/graphql/account/mutations/account.py b/saleor/graphql/account/mutations/account.py
index 0908aa3d74..6e777d862a 100644
--- a/saleor/graphql/account/mutations/account.py
+++ b/saleor/graphql/account/mutations/account.py
@@ -154,7 +154,6 @@ class AccountAddressCreate(ModelMutation):
class Meta:
description = "Create a new address for the customer."
model = models.Address
- # exclude = ["user_addresses"]
@classmethod
def check_permissions(cls, user):
@@ -182,7 +181,6 @@ class AccountAddressUpdate(BaseAddressUpdate):
class Meta:
description = "Updates an address of the logged-in user."
model = models.Address
- # exclude = ["user_addresses"]
class AccountAddressDelete(BaseAddressDelete):