From 1b7f0b6aabc9d2e568e74dce9e88f11b47f072b8 Mon Sep 17 00:00:00 2001 From: yaacovCR Date: Tue, 24 Sep 2019 11:54:00 -0400 Subject: [PATCH] chore(changelog) --- CHANGELOG.md | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d53d664824..ff457b22fec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,73 @@ -# Change log +# Changelog All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +# Changes between graphql-tool-fork v6.4.3 and graphql-tools 4.0.5 + +Because changes from upstream repository were rebased onto master, tags are out of date. But we did get a consolidated list of changes from the upstream fork for free: + +## [6.4.3](https://github.com/yaacovCR/graphql-tools-fork/compare/v4.0.5...v6.4.3) (2019-09-24) + + +### ⚠ BREAKING CHANGES + +* **stitching:** This change allows enums and custom scalars to be used as arguments +within merged schemas. It also fixes seralization and deserialization +more generally within merged schemas. If an implementation is available +for a custom scalar within a merged schema (i.e., the schema is local), +the internal representation will be available for use with stitching. +Previously, the merged schema internally used the serialized version. + +### Bug Fixes + +* **cloneSchema:** cloneSchema should preserve extensions ([b78f8a5](https://github.com/yaacovCR/graphql-tools-fork/commit/b78f8a5)) +* **cloneSchema:** healSchema requires a new array for object interfaces and union types. toConfig provides a new map for fields, but not new arrays. ([8c8394c](https://github.com/yaacovCR/graphql-tools-fork/commit/8c8394c)) +* **filterSchema:** should not modify original schema. ([f31f612](https://github.com/yaacovCR/graphql-tools-fork/commit/f31f612)) +* **generate:** addResolversToSchema should update enums and scalars of original schema. ([f2a7483](https://github.com/yaacovCR/graphql-tools-fork/commit/f2a7483)), closes [#19](https://github.com/yaacovCR/graphql-tools-fork/issues/19) +* **healSchema:** healing schema requires reparsing default field values as types are updated. ([e6e8ac3](https://github.com/yaacovCR/graphql-tools-fork/commit/e6e8ac3)) +* **healSchema:** revert 6.3.6 ([7db2bf5](https://github.com/yaacovCR/graphql-tools-fork/commit/7db2bf5)) +* **mocking:** to work with schema stitching ([ea72c6e](https://github.com/yaacovCR/graphql-tools-fork/commit/ea72c6e)) +* **release:** v6.4.0-6.4.2 broken ([fec4f59](https://github.com/yaacovCR/graphql-tools-fork/commit/fec4f59)) +* **stitching:** add default value support ([4624f5c](https://github.com/yaacovCR/graphql-tools-fork/commit/4624f5c)), closes [#1121](https://github.com/yaacovCR/graphql-tools-fork/issues/1121) +* **stitching:** Directive disappears when enum has resolvers ([85b16cc](https://github.com/yaacovCR/graphql-tools-fork/commit/85b16cc)) +* **stitching:** do not convert falsy values to null. ([7d7e930](https://github.com/yaacovCR/graphql-tools-fork/commit/7d7e930)), closes [#10](https://github.com/yaacovCR/graphql-tools-fork/issues/10) +* **stitching:** fix default resolver to execute field if specified as function. ([5fdc97d](https://github.com/yaacovCR/graphql-tools-fork/commit/5fdc97d)) +* **stitching:** fix legacy custom scalar recreation to more closely match pre-v6.0.1 functionality. ([0cba100](https://github.com/yaacovCR/graphql-tools-fork/commit/0cba100)) +* **stitching:** fix lists of enum and custom scalars, closes [#9](https://github.com/yaacovCR/graphql-tools-fork/issues/9) ([2e0241e](https://github.com/yaacovCR/graphql-tools-fork/commit/2e0241e)) +* **stitching:** fix regression ([9005104](https://github.com/yaacovCR/graphql-tools-fork/commit/9005104)) +* **stitching:** fix reparsing of lists ([c5a5b6e](https://github.com/yaacovCR/graphql-tools-fork/commit/c5a5b6e)) +* **stitching:** fixes error mapping with ExtendSchema transform. Also, refactors! ([6cb54c4](https://github.com/yaacovCR/graphql-tools-fork/commit/6cb54c4)) +* **stitching:** include specified directives even when merging of directives is disabled ([0a25e9b](https://github.com/yaacovCR/graphql-tools-fork/commit/0a25e9b)) +* **stitching:** input fields without default value ([db3163b](https://github.com/yaacovCR/graphql-tools-fork/commit/db3163b)), closes [#15](https://github.com/yaacovCR/graphql-tools-fork/issues/15) +* **stitching:** map errors along schema transformation path when extracting fields ([4947051](https://github.com/yaacovCR/graphql-tools-fork/commit/4947051)) +* **stitching:** nested enums ([2211068](https://github.com/yaacovCR/graphql-tools-fork/commit/2211068)) +* **stitching:** observabeToAsyncIterator should preserve graphql errors ([86bf0e3](https://github.com/yaacovCR/graphql-tools-fork/commit/86bf0e3)) +* **stitching:** serialize/deserialize enum/custom scalar values ([d3e0888](https://github.com/yaacovCR/graphql-tools-fork/commit/d3e0888)) +* **stitching:** support stitching unions of types with enums ([faae86a](https://github.com/yaacovCR/graphql-tools-fork/commit/faae86a)), closes [#13](https://github.com/yaacovCR/graphql-tools-fork/issues/13) +* **transforms:** support custom scalar input variables on root fields when transforming. ([a8f2785](https://github.com/yaacovCR/graphql-tools-fork/commit/a8f2785)), closes [#18](https://github.com/yaacovCR/graphql-tools-fork/issues/18) +* **transforms:** VisitSchemaKind.TYPE should have greatest priority ([a8c544a](https://github.com/yaacovCR/graphql-tools-fork/commit/a8c544a)) +* **types:** export OnTypeConflict type ([557a3a1](https://github.com/yaacovCR/graphql-tools-fork/commit/557a3a1)) +* **typo:** typo in import example (: instead of ;) ([#1122](https://github.com/yaacovCR/graphql-tools-fork/issues/1122)) ([747d0ca](https://github.com/yaacovCR/graphql-tools-fork/commit/747d0ca)) +* **visitSchema:** new interfaces should not break schema. ([e1393b8](https://github.com/yaacovCR/graphql-tools-fork/commit/e1393b8)) +* **visitSchema:** visitSchema must reinitialize private variables when updating interfaces. ([925af85](https://github.com/yaacovCR/graphql-tools-fork/commit/925af85)) + + +### Features + +* **cloning:** export methods to shallow clone types and directives and deep clone schemas ([470b9c7](https://github.com/yaacovCR/graphql-tools-fork/commit/470b9c7)) +* **deps:** upgrade dependencies to latest minor version. ([dfafc88](https://github.com/yaacovCR/graphql-tools-fork/commit/dfafc88)) +* **errors:** Pass through all possible errors. ([4de91b8](https://github.com/yaacovCR/graphql-tools-fork/commit/4de91b8)), closes [#743](https://github.com/yaacovCR/graphql-tools-fork/issues/743) [#1037](https://github.com/yaacovCR/graphql-tools-fork/issues/1037) [#1046](https://github.com/yaacovCR/graphql-tools-fork/issues/1046) [apollographql/apollo-server#1582](https://github.com/apollographql/apollo-server/issues/1582) +* **filterSchema:** provide type argument to type filter ([0ce382b](https://github.com/yaacovCR/graphql-tools-fork/commit/0ce382b)) +* **generate:** Allow user-provided buildSchema options ([#1154](https://github.com/yaacovCR/graphql-tools-fork/issues/1154)) ([9d1b033](https://github.com/yaacovCR/graphql-tools-fork/commit/9d1b033)) +* **stitching:** allow delegateToSchema, mergeSchemas and transformSchema to take remote schema configurations as parameters ([48cdd59](https://github.com/yaacovCR/graphql-tools-fork/commit/48cdd59)) +* **stitching:** restore onTypeConflict option to mergeSchemas ([afdd01e](https://github.com/yaacovCR/graphql-tools-fork/commit/afdd01e)) +* **transformers:** TransformQuery transformer adds errorPathTransformer property to properly return errors from transformed queries. ([69b963f](https://github.com/yaacovCR/graphql-tools-fork/commit/69b963f)) +* **transforms:** add dedicated filterSchema function to allow schema filtering without a layer of delegation ([98dafae](https://github.com/yaacovCR/graphql-tools-fork/commit/98dafae)) +* **transforms:** map object fields to new structures ([35bfb04](https://github.com/yaacovCR/graphql-tools-fork/commit/35bfb04)) +* **visitSchema:** export consolidated visitSchema method ([23de82b](https://github.com/yaacovCR/graphql-tools-fork/commit/23de82b)) + +# Granularized changes within from graphql-tools 4.0.5 to graphql-tools-fork v6.4.3: + ### [6.4.3](https://github.com/yaacovCR/graphql-tools-fork/compare/v6.4.2...v6.4.3) (2019-09-19) @@ -264,6 +330,8 @@ Previously, the merged schema internally used the serialized version. * Add transformers to rename, filter, and arbitrarily transform object fields.
Fixes [#819](https://github.com/apollographql/graphql-tools/issues/819). +# Prior changes from graphl-tools: + ### 4.0.5 * Fixes a bug where schemas with scalars could not be merged when passed to