Releases: saleor/app-sdk
Releases · saleor/app-sdk
v0.47.0
Minor Changes
-
09b9185: Added optional, experimental
cacheManager
property to CloudAPL constructor. By default it doesn't change any behavior
and it's meant to be used for internal testing. -
f49c63f: Added VercelKvApl. It will use Vercel KV Storage (using Upstash Redis under the hood).
APL requires following env variables:
KV_URL
,KV_REST_API_URL
,KV_REST_API_TOKEN
,KV_REST_API_READ_ONLY_TOKEN
- KV variables that are automatically linked by Vercel when KV is attached to the project.KV_STORAGE_NAMESPACE
- a string identifier that should be unique per app. If more than one app writes with the sameKV_STORAGE_NAMESPACE
, Auth Data will be overwritten and apps can stop working.For now experimental - can be imported with:
import { _experimental_VercelKvApl } from "@saleor/app-sdk/apl";
Patch Changes
v0.46.0
0.46.0
Minor Changes
- ecef61d: Added OTEL spans around several app-sdk methods, like CloudApl and token verification methods.
- 3c68c4c: Added definition for payment and transaction events. From now on, sync webhook factory will autocomplete response expected by Saleor
- 3c68c4c: Added new permission - MANAGE_ORDERS_IMPORT - to Permission type
- 3c68c4c: Added missing payment transactions sync events
v0.45.0
Minor Changes
- d1c30dc: Changed behavior or Saleor Cloud APL - get method. Previously ANY error was catched and method returned "undefined". Now only 404-like errors will return "undefined" and error like 5xx, timeouts, wrong body, etc. will result with thrown error. This is technically a breaking change on function level, but in the end app will fail anyway - if APL is not found, it can't proceed. Now error is thrown earlier. It should help with debugging and better custom error handling.
Patch Changes
- b5c4429: Fixed URLs to docs inline code and errors. Now they point to Saleor Docs website, instead local docs that were removed