From 53b8cdc1495f0480a04ee90706d84d973a56333a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20=C5=BBuraw?= <9116238+krzysztofzuraw@users.noreply.github.com> Date: Tue, 20 Feb 2024 13:33:14 +0100 Subject: [PATCH] add changeset --- .changeset/large-weeks-switch.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/large-weeks-switch.md diff --git a/.changeset/large-weeks-switch.md b/.changeset/large-weeks-switch.md new file mode 100644 index 00000000..c24e679d --- /dev/null +++ b/.changeset/large-weeks-switch.md @@ -0,0 +1,5 @@ +--- +"@saleor/app-sdk": minor +--- + +Parse the `saleor-schema-version` header and include the parsed version in the contexts of `createHandler` and `webhookFactory`. If the header is absent (Saleor version below 3.15), the version will default to 0. This parsed version enables supporting multiple schemas in a single app, as outlined in the [RFC](https://github.com/saleor/apps/issues/1213).