2.5 KiB
2.5 KiB
@saleor/app-sdk
0.36.0
Minor Changes
5744aa4
: Add requiredSaleorVersion field to AppManifest, so Saleor can validate it during installation
0.35.0
Minor Changes
dfd632b
: Add EnvAPL which is a read-only single-tenant APL implementation. It can print AuthData from registration process, but the developer is responsible to configure ENV and pass data to the constructor.f7d38dc
: Added useAuthenticatedFetch hook with can construct decorated window.fetch with pre-defined headers with required AppBridge state. Can be used with createProtectedHandler
Patch Changes
dfd632b
: "domain" field in AuthData is no longer required. It will be set by registerHandler, but if missing, domain can be resolved from saleorApiUrldfd632b
: JWKS field in AuthData is no longer required. registerHandler will try to set it for cache purposes, but not every time it is possible. If JWKS is not found, registerHandler will fetch itf7d38dc
: Remove MANAGE_APPS from possible permissions, because App should not have it. Mutations that requires MANAGE_APPS will not work with App Token even if permission is set
0.34.2
Patch Changes
3786c86
: Original error messages from Upstash in UpstashAPL are now exposed in debug logs172de4a
: Chore: Added template for github feature request1d7af07
: Removed unused @types/node-fetch, since app-sdk no longer uses it (Node 18 has built-in fetch, for older node.js version polyfill is required)
0.34.1
Patch Changes
75eff60
: Exported SyncWebhookResponsesMap so it can be imported by app
0.34.0
Minor Changes
-
9420209
: Add SaleorSyncWebhook classNow app-sdk support both
new SaleorAsyncWebhook()
andnew SaleorSyncWebhook()
.Changes:
Constructor field
subscriptionQueryAst?: ASTNode
inSaleorAsyncWebhook
has been deprecated.Use
query
field instead (query: ASTNode | string
)Constructor field
asyncEvent
has been deprecated. Useevent
instead
0.33.0
Minor Changes
a939281
: Register handler hooks will now respond with errors parsable by the dashboard. "Body" in error was removed, so client code can provide message and status.
Patch Changes
5a93a16
: Fix typo in UpstashAPL docs