From 1165f601d9f1432bd085e701e3300318bbf1bbe0 Mon Sep 17 00:00:00 2001 From: bquinn Date: Tue, 27 Oct 2020 12:02:43 -0700 Subject: [PATCH] update package.json and CHANGELOG for 2.0.5 release --- CHANGELOG.md | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ef0f3f..7a88d61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 2.0.5 + +- Reinstated variable passing to the sub-document created by `delegateToComponent()`. All variable values will be forwarded to the delegated operation, but only the variable definitions for input types or types that are in the target schema will be forwarded. This prevents errors in certain delegate situations while also allowing valid resolution of args passed as variables. + # 2.0.4 - Fixed the error path on errors surfaced through `delegateToComponent()` calls such that error path takes into account the already traversed path and exclusions diff --git a/package.json b/package.json index d155fa6..3937ab6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "graphql-component", - "version": "2.0.4", + "version": "2.0.5", "description": "Build graphql schema with components", "keywords": [ "graphql",