All notable changes to this project will be documented in this file.
Additions/Changes
- Added app install and uninstall commands
- Moved hmac signature to header
- Added signature to every outgoing request
- If there is an error during App installation the app will be removed, so that it can be easily reinstalled
- Added shop url to confirmation request and requests for loading iframes
- Renamed
shop
query parameter toshop-url
in registration request - Allowed that
setup
element in manifest file can be omitted, in that case action-buttons, modules and webhooks won't be registered, but it allows themes to work without a registration endpoint - Made
saas_app.path
field in DB store relative file paths instead of absolute once - Added Content-Type
application/json
to webhook requests - Add shop id to all outgoing requests
- Added shop id as first part for the generation of the registration proof
- Made AppLifecycleEvents hookable
- Added permission validation for webhooks
- Removed
apiKey
andsecretKey
from action and webhook requests, if you need to authenticate with the shop save the secrets during registration, where you get those as part of the request to the confirmation url - Removed
accessToken
property from AppDefinition and according DB column from thesaas_app
table - Loosened manifest schema: child elements of
manifest
andsetup
elements can be in any order - Added possibility to ship snippets in apps (works only on Shopware 6.2.3 onwards)
- Fixed bug that Actions for BusinessEvents weren't triggered
- Added
license
field to meta information in the manifest file - Limited number of modules an app can ship to one
- Added compatibility for Shopware 6.3
- Added active state to apps and commands to activate/deactivate apps
- Made the element mandatory in Manifest.xml
- Added the app:verify command to check if a manifest is valid
- Added param
swagShopId
to storefront templates, so app templates can communicate with their app backend using the right shopId - Disallowed declaration of an empty permission element in the manifest
- CustomFieldSets can only be written by the app they belong to
- Made
customer
andcustomer_address
events hookable - Renamed
app_*
events toapp.*
events to fit with the general event naming schema - Renamed
appId
property tosaasAppId
in CustomFieldSetExtension - Changed handshake to use decoded shop-url in generate
shopware-app-signature
Initial Release