title | issue | author | author_email | author_github |
---|---|---|---|---|
Fetch logininformation from store |
NEXT-20617 |
Sebastian Franze |
s.franze@shopware.com |
Sebastian Franze |
- Added migration
Migration1650981517RemoveShopwareId
. - Removed system config key
core.store.shopwareId
. - Changed
Shopware\Core\Framework\Store\Services\StoreClient::loginWithShopwareId
. Method will not write system config entrycore.store.shopwareId
anymore. - Changed
Shopware\Core\Framework\Store\Services\FirstRunWizardClient::frwLogin
. Method will not write system config entrycore.store.shopwareId
anymore. - Added new parameter
user_info
toshopware.store_endpoints
.
- Changed Response of
/api/_action/store/checklogin
. Response now contains keyuserInfo
with information about the sw acount.
- Added new global types
ShopwareHttpError
andStoreApiException
. - Added new type
UserInfo
insrc/core/service/api/store.api.service.ts
. - Changed
src/module/sw-extension/page/sw-extension-my-extensions-account/index.js
tosrc/module/sw-extension/page/sw-extension-my-extensions-account/index.ts
. - Deprecated method
loginShopwareUser
insrc/module/sw-extension/page/sw-extension-my-extensions-account/index.ts
. Use Methodlogin
instead - Changed
src/module/sw-extension/service/extension-error-handler.service.js
tosrc/module/sw-extension/service/extension-error-handler.service.ts
. - Added new type
MappedError
insrc/module/sw-extension/service/extension-error-handler.service.ts
. - Added new field
userInfo
inShopwareExtensionsState
. - Added mutation
setUserInfo
inShopwareExtensionsState
. - Deprecated field
shopwareId
inShopwareExtensionsState
. Check existence ofuserInfo
instead. - Deprecated field
loginStatus
inShopwareExtensionsState
Check existence ofuserInfo
instead. - Deprecated mutation
storeShopwareId
inShopwareExtensionsState
. Mutation will be removed without replacement. - Deprecated mutation
setLoginStatus
inShopwareExtensionsState
. Mutation will be removed without replacement.