From c566ea9d22740322b578660726ac149f3ae0e21e Mon Sep 17 00:00:00 2001 From: Andre Wanlin Date: Sat, 2 Aug 2025 13:02:02 -0500 Subject: [PATCH] docs - Added additional properties note Signed-off-by: Andre Wanlin --- docs/releases/v1.40.0.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/releases/v1.40.0.md b/docs/releases/v1.40.0.md index b5ef87ffe1..befaddfd66 100644 --- a/docs/releases/v1.40.0.md +++ b/docs/releases/v1.40.0.md @@ -56,6 +56,16 @@ createTemplateAction({ ``` +:::note + +As the new `zod` format is more strict if there are any additional properties in your Software Template YAML where you define your action it will trigger an `InputError`. Here is an exact example for reference: + +> "InputError: Invalid input passed to action publish:github, instance is not allowed to have the additional property "allowedHosts" + +To fix these you will simply need to remove the extra property details in your Software Template YAML where you define your action. + +::: + The `scaffolder-backend` plugin has been converted to being New Backend System only, which means a lot of the public API has been cleaned up. The `createRouter` and `createBuiltinActions` have been removed as they were only used in the legacy backend system.