1 | # Changelog
|
2 |
|
3 | 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.
|
4 |
|
5 | ### vNext
|
6 |
|
7 | * Fixes a bug where directives are missing when enum is passed to `makeExecutableSchema` resolvers. [@kamilkisiela](https://github.com/kamilkisiela) in [#1150](https://github.com/apollographql/graphql-tools/pull/1150)
|
8 |
|
9 | ### [4.0.5](https://github.com/apollographql/graphql-tools/compare/v4.0.4...v4.0.5) (2019-06-13)
|
10 |
|
11 | * Fixes a bug where schemas with scalars could not be merged when passed to
|
12 | `mergeSchemas` as a string or `GraphQLSchema`. <br/>
|
13 | [@hayes](https://github.com/hayes) in [#1062](https://github.com/apollographql/graphql-tools/pull/1062)
|
14 | * Make `mergeSchemas` optionally merge directive definitions. <br/>
|
15 | [@freiksenet](https://github.com/freiksenet) in [#1003](https://github.com/apollographql/graphql-tools/pull/1003)
|
16 | * Allow user-provided `buildSchema` options. <br/>
|
17 | [@trevor-scheer](https://github.com/trevor-scheer) in [#1154](https://github.com/apollographql/graphql-tools/pull/1154)
|
18 |
|
19 | ### 4.0.4
|
20 |
|
21 | * Make `WrapQuery` work for non-root fields <br />
|
22 | [@mdlavin](https://github.com/mdlavin) in
|
23 | [#1007](https://github.com/apollographql/graphql-tools/pull/1008)
|
24 | * Update resolvers.md to clarify array usage <br />
|
25 | [@alvin777](https://github.com/alvin777) in
|
26 | [#1005](https://github.com/apollographql/graphql-tools/pull/1005)
|
27 | * Add missing property to `mergeSchemas` api reference. <br />
|
28 | [@PlayMa256](https://github.com/PlayMa256) in
|
29 | [#1014](https://github.com/apollographql/graphql-tools/pull/1014)
|
30 | * Documentation updates for mockServer <br/>
|
31 | [@dougshamoo](https://github.com/dougshamoo) in [#1012](https://github.com/apollographql/graphql-tools/pull/1012)
|
32 | * Fix default merged resolver behavior <br/>
|
33 | [@mfix22](https://github.com/mfix22) in [#983](https://github.com/apollographql/graphql-tools/pull/983)
|
34 | * Use `TArgs` generic wherever `IFieldResolver` is used. <br/>
|
35 | [@brikou](https://github.com/brikou) in [#955](https://github.com/apollographql/graphql-tools/pull/955)
|
36 | * Include deprecations from string SDL in mergeSchemas. <br/>
|
37 | [@evans](https://github.com/evans) in [#1041](https://github.com/apollographql/graphql-tools/pull/1041)
|
38 |
|
39 | ### 4.0.3
|
40 |
|
41 | * Replaced broken link in docs homepage with Launchpad example <br />
|
42 | [@kriss1897](https://github.com/kriss1897) in
|
43 | [#965](https://github.com/apollographql/graphql-tools/pull/965)
|
44 | * Fix invalid query in schema delegation example. <br />
|
45 | [@nico29](https://github.com/nico29) in
|
46 | [#980](https://github.com/apollographql/graphql-tools/pull/980)
|
47 | * Update package.json `repository` field. <br />
|
48 | [@dlukeomalley](https://github.com/dlukeomalley) in
|
49 | [#979](https://github.com/apollographql/graphql-tools/pull/979)
|
50 | * Add support for passing a parsed schema ast to `mergeSchemas` <br/>
|
51 | [@ganemone](https://github.com/ganemone) in
|
52 | [#977](https://github.com/apollographql/graphql-tools/pull/977)
|
53 | * Changes to `extractExtensionDefinitions` to support `graphql-js` union and enum extensions. <br/>
|
54 | [@jansuchy](https://github.com/jansuchy) in [#951](https://github.com/apollographql/graphql-tools/pull/951)
|
55 | * Add docs for `mockServer` (closes [#951](https://github.com/apollographql/graphql-tools/issues/94))<br/>
|
56 | [@mfix22](https://github.com/mfix22) in [PR #982](https://github.com/apollographql/graphql-tools/pull/982)
|
57 | * Fix regression where custom scalars were incorrectly replaced while recreating schema with `visitSchema`. <br/>
|
58 | [@tgriesser](https://github.com/tgriesser) in [#985](https://github.com/apollographql/graphql-tools/pull/985)
|
59 |
|
60 | ### 4.0.2
|
61 |
|
62 | * Fix regression in enum input mapping. <br/>
|
63 | [@tgriesser](https://github.com/tgriesser) in [#974](https://github.com/apollographql/graphql-tools/pull/974)
|
64 |
|
65 | ### 4.0.1
|
66 |
|
67 | * Fix [regression](https://github.com/apollographql/graphql-tools/issues/962) in enum internal value mapping. <br/>
|
68 | [@tgriesser](https://github.com/tgriesser) in [#973](https://github.com/apollographql/graphql-tools/pull/973)
|
69 |
|
70 | ### 4.0.0
|
71 |
|
72 | * Support `graphql` and `@types/graphql` 14.x. <br />
|
73 | **NOTE:** `graphql` 14 includes [breaking changes](https://github.com/graphql/graphql-js/releases/tag/v14.0.0). We're bumping the major version of `graphql-tools` to accommodate those breaking changes. If you're planning on using `graphql` 14 with `graphql-tools` 4.0.0, please make sure you've reviewed the `graphql` breaking changes list.
|
74 | [@hwillson](https://github.com/hwillson) in [#953](https://github.com/apollographql/graphql-tools/pull/953)
|
75 | * Fix template strings usage in guessSchemaByRootField error message. <br/>
|
76 | [@nagelflorian](https://github.com/nagelflorian) in [#936](https://github.com/apollographql/graphql-tools/pull/936)
|
77 | * Update `IFieldResolver` to allow typed input args. <br/>
|
78 | [@luk3thomas](https://github.com/luk3thomas) in [#932](https://github.com/apollographql/graphql-tools/pull/932)
|
79 | * Changes to `extractExtensionDefinitions` to properly support `graphql-js` input extensions. <br/>
|
80 | [@jure](https://github.com/jure) in [#948](https://github.com/apollographql/graphql-tools/pull/948)
|
81 | * Stop automatically shallow cloning (via object spread syntax) transformed subscription results. Transformed subscription results are not always objects, which means object spreading can lead to invalid results. <br/>
|
82 | [@ericlewis](https://github.com/ericlewis) in [#928](https://github.com/apollographql/graphql-tools/pull/928)
|
83 | * Re-use errors with an `extensions` property to make compatible with Apollo Server and it's built-in errors. <br/>
|
84 | [@edorsey](https://github.com/edorsey) in [#925](https://github.com/apollographql/graphql-tools/pull/925)
|
85 | * Documentation updates. <br/>
|
86 | [@Amorites](https://github.com/Amorites) in [#944](https://github.com/apollographql/graphql-tools/pull/944) <br/>
|
87 | [@trevor-scheer](https://github.com/trevor-scheer) in [#946](https://github.com/apollographql/graphql-tools/pull/946) <br/>
|
88 | [@dnalborczyk](https://github.com/dnalborczyk) in [#934](https://github.com/apollographql/graphql-tools/pull/934) <br/>
|
89 | [@zcei](https://github.com/zcei) in [#933](https://github.com/apollographql/graphql-tools/pull/933)
|
90 |
|
91 | ### v3.1.1
|
92 |
|
93 | * Revert the added `casual` dependency for mocking, since it was causing issues for people using `graphql-tools` in the browser.
|
94 |
|
95 | ### v3.1.0
|
96 |
|
97 | * Loosens the apollo-link dependency [PR #765](https://github.com/apollographql/graphql-tools/pull/765)
|
98 | * Use `getDescription` from `graphql-js` package [PR #672](https://github.com/apollographql/graphql-tools/pull/672)
|
99 | * Update `IResolvers` to use source & context generics and to support all resolver use cases. [#896](https://github.com/apollographql/graphql-tools/pull/896)
|
100 | * `WrapQuery`'s `wrapper` param can now return a SelectionSet. [PR #902](https://github.com/apollographql/graphql-tools/pull/902) [Issue #901](https://github.com/apollographql/graphql-tools/issues/901)
|
101 | * Add null to return type of directive visitors in the TypeScript definition.
|
102 | * Make sure mergeSchemas keeps Enum descriptions and deprecation status. [PR 898](https://github.com/apollographql/graphql-tools/pull/898/)
|
103 | * Add `inheritResolversFromInterfaces` option to `mergeSchemas` [PR #812](https://github.com/apollographql/graphql-tools/pull/812)
|
104 | * Added filtering of empty selection sets in FilterToSchema [#827](https://github.com/apollographql/graphql-tools/pull/827)
|
105 | * Add support for overlapping fragments in ReplaceFieldWithFragment. [#894](https://github.com/apollographql/graphql-tools/issues/894)
|
106 | * `delegateToSchema` now behaves like `info.mergeInfo.delegateToSchema` for fragment handling [Issue #876](https://github.com/apollographql/graphql-tools/issues/876) [PR #885](https://github.com/apollographql/graphql-tools/pull/885)
|
107 | * Make schema transforms work with subscriptions, make it so that subscription errors don't disappear when using mergeSchemas [#793](https://github.com/apollographql/graphql-tools/issues/793) [#780](https://github.com/apollographql/graphql-tools/issues/780)
|
108 |
|
109 | ### v3.0.5
|
110 |
|
111 | * Update apollo-link to 1.2.2 [#785](https://github.com/apollographql/graphql-tools/pull/785)
|
112 |
|
113 | ### v3.0.4
|
114 |
|
115 | * Make sure `dist/generate` isn't excluded when published.
|
116 |
|
117 | ### v3.0.3
|
118 |
|
119 | * Pass on operation name when stitching schemas.
|
120 | [Issue #522](https://github.com/apollographql/graphql-tools/issues/522)
|
121 | [PR #849](https://github.com/apollographql/graphql-tools/pull/849)
|
122 | * Fixed errors that occurred when a fragment field argument used a variable
|
123 | defined in the parent query.
|
124 | [Issue #753](https://github.com/apollographql/graphql-tools/issues/753)
|
125 | [PR #806](https://github.com/apollographql/graphql-tools/pull/806)
|
126 |
|
127 | ### v3.0.2
|
128 |
|
129 | * Fixed duplicate fragments getting added during transform in `FilterToSchema` [#778](https://github.com/apollographql/graphql-tools/pull/778)
|
130 | * Fixed a visitType error printing the name of the variable typeName rather than its value due to a template string being incorrectly formatted. [#783](https://github.com/apollographql/graphql-tools/pull/783)
|
131 |
|
132 | ### v3.0.1
|
133 |
|
134 | * Fixed an array cloning bug in the `RenameTypes` transform
|
135 | [#756](https://github.com/apollographql/graphql-tools/pull/756)
|
136 |
|
137 | * Fixed a fragments bug in the `ReplaceFieldWithFragment` transform
|
138 | [#763](https://github.com/apollographql/graphql-tools/pull/763)
|
139 |
|
140 | ### v3.0.0
|
141 |
|
142 | * Schema transforms and delegation
|
143 |
|
144 | * Substantial rewrite of internals of `mergeSchemas` and `delegateToSchema`
|
145 | * A new API for schema transforms has been introduced: [Docs](https://www.apollographql.com/docs/graphql-tools/schema-transforms.html)
|
146 | * `delegateToSchema` is now a public API: [Docs](https://www.apollographql.com/docs/graphql-tools/schema-delegation.html)
|
147 | * `delegateToSchema` now accepts an object of named parameters; positional arguments are deprecated
|
148 | * `delegateToSchema` no longer accepts `fragmentReplacements`; instead use `transforms`
|
149 | * `info.mergeInfo.delegateToSchema` is now the preferred delegation API, rather than `info.mergeInfo.delegate`
|
150 |
|
151 | * Other changes
|
152 | * Add `commentDescription` to `printSchema` call to match other uses [PR #745](https://github.com/apollographql/graphql-tools/pull/745)
|
153 | * Add `createResolver` option to `makeRemoteExecutableSchema` [PR #734](https://github.com/apollographql/graphql-tools/pull/734)
|
154 |
|
155 | ### v2.24.0
|
156 |
|
157 | * Allow `extend interface` definitions in merged schemas [PR #703](https://github.com/apollographql/graphql-tools/pull/703)
|
158 | * Fix typo in `@deprecated` example in `schema-directives.md` [PR #706](https://github.com/apollographql/graphql-tools/pull/706)
|
159 | * Fix timezone bug in test for `@date` directive [PR #686](https://github.com/apollographql/graphql-tools/pull/686)
|
160 | * Expose `defaultMergedResolver` for schema stitching [PR #685](https://github.com/apollographql/graphql-tools/pull/685)
|
161 | * Add `requireResolversForResolveType` to resolver validation options [PR #698](https://github.com/apollographql/graphql-tools/pull/698)
|
162 | * Add `inheritResolversFromInterfaces` option to `makeExecutableSchema` and `addResolveFunctionsToSchema` [PR #720](https://github.com/apollographql/graphql-tools/pull/720)
|
163 |
|
164 | ### v2.23.0
|
165 |
|
166 | * The `SchemaDirectiveVisitor` abstraction for implementing reusable schema `@directive`s has landed. Read our [blog post](https://dev-blog.apollodata.com/reusable-graphql-schema-directives-131fb3a177d1) about this new functionality, and/or check out the [documentation](https://www.apollographql.com/docs/graphql-tools/schema-directives.html) for even more examples. [PR #640](https://github.com/apollographql/graphql-tools/pull/640)
|
167 |
|
168 | ### v2.22.0
|
169 |
|
170 | * When concatenating errors maintain a reference to the original for use downstream [Issue #480](https://github.com/apollographql/graphql-tools/issues/480) [PR #637](https://github.com/apollographql/graphql-tools/pull/637)
|
171 | * Improve generic typings for several resolver-related interfaces [PR #662](https://github.com/apollographql/graphql-tools/pull/662)
|
172 | * Remove copied apollo-link code [PR #670](https://github.com/apollographql/graphql-tools/pull/670)
|
173 | * Handle undefined path in `getErrorsFromParent` [PR #667](https://github.com/apollographql/graphql-tools/pull/667)
|
174 |
|
175 | ### v2.21.0
|
176 |
|
177 | * Make iterall a runtime dependency [PR #627](https://github.com/apollographql/graphql-tools/pull/627)
|
178 | * Added support for lexical parser options [PR #567](https://github.com/apollographql/graphql-tools/pull/567)
|
179 | * Support `graphql@^0.13.0` [PR #567](https://github.com/apollographql/graphql-tools/pull/567)
|
180 | * Don't use `Symbol` in incompatible envs [Issue #535](https://github.com/apollographql/graphql-tools/issues/535) [PR #631](https://github.com/apollographql/graphql-tools/pull/631)
|
181 |
|
182 | ### v2.20.2
|
183 |
|
184 | * Pass through apollo-link-http errors to originalError [PR #621](https://github.com/apollographql/graphql-tools/pull/621)
|
185 |
|
186 | ### v2.20.1
|
187 |
|
188 | * Fix `error.path` could be `undefined` for schema stitching [PR #617](https://github.com/apollographql/graphql-tools/pull/617)
|
189 |
|
190 | ### v2.20.0
|
191 |
|
192 | * Recreate enums and scalars for more consistent behaviour of merged schemas [PR #613](https://github.com/apollographql/graphql-tools/pull/613)
|
193 | * `makeExecutableSchema` and `mergeSchema` now accept an array of `IResolver` [PR #612](https://github.com/apollographql/graphql-tools/pull/612) [PR #576](https://github.com/apollographql/graphql-tools/pull/576) [PR #577](https://github.com/apollographql/graphql-tools/pull/577)
|
194 | * Fix `delegateToSchema.ts` to remove duplicate new variable definitions when delegating to schemas [PR #607](https://github.com/apollographql/graphql-tools/pull/607)
|
195 | * Fix duplicate subscriptions for schema stitching [PR #609](https://github.com/apollographql/graphql-tools/pull/609)
|
196 |
|
197 | ### v2.19.0
|
198 |
|
199 | * Also recreate `astNode` property for fields, not only types, when recreating schemas. [PR #580](https://github.com/apollographql/graphql-tools/pull/580)
|
200 | * Fix `delegateToSchema.js` to accept and move forward args with zero or false values [PR #586](https://github.com/apollographql/graphql-tools/pull/586)
|
201 |
|
202 | ### v2.18.0
|
203 |
|
204 | * Fix a bug where inline fragments got filtered in merged schemas when a type implemented multiple interfaces [PR #546](https://github.com/apollographql/graphql-tools/pull/546)
|
205 | * IEnumResolver value can be a `number` type [PR #568](https://github.com/apollographql/graphql-tools/pull/568)
|
206 |
|
207 | ### v2.17.0
|
208 |
|
209 | * Include `astNode` property in schema recreation [PR #569](https://github.com/apollographql/graphql-tools/pull/569)
|
210 |
|
211 | ### v2.16.0
|
212 |
|
213 | * Added GraphQL Subscriptions support for schema stitching and `makeRemoteExecutableSchema` [PR #563](https://github.com/apollographql/graphql-tools/pull/563)
|
214 | * Make `apollo-link` a direct dependency [PR #561](https://github.com/apollographql/graphql-tools/pull/561)
|
215 | * Update tests to use `graphql-js@0.12` docstring format [PR #559](https://github.com/apollographql/graphql-tools/pull/559)
|
216 |
|
217 | ### v2.15.0
|
218 |
|
219 | * Validate query before delegation [PR #551](https://github.com/apollographql/graphql-tools/pull/551)
|
220 |
|
221 | ### v2.14.1
|
222 |
|
223 | * Add guard against invalid schemas being constructed from AST [PR #547](https://github.com/apollographql/graphql-tools/pull/547)
|
224 |
|
225 | ### v2.14.0
|
226 |
|
227 | Update to add support for `graphql@0.12`, and drop versions before `0.11` from the peer dependencies list. The `graphql` package has some breaking changes you might need to be aware of, but there aren't any breaking changes in `graphql-tools` itself, or common usage patterns, so we are shipping this as a minor version. We're also running tests on this package with _both_ `graphql@0.11` and `graphql@0.12` until we confirm most users have updated.
|
228 |
|
229 | * Visit the [`graphql` releases page](https://github.com/graphql/graphql-js/releases) to keep track of for breaking changes to the underlying package.
|
230 | * [PR #541](https://github.com/apollographql/graphql-tools/pull/541)
|
231 |
|
232 | ### v2.13.0
|
233 |
|
234 | * (Experimental) Added support for custom directives on FIELD_DEFINITION that wrap resolvers with custom reusable logic. [Issue #212](https://github.com/apollographql/graphql-tools/issues/212) [PR #518](https://github.com/apollographql/graphql-tools/pull/518) and [PR #529](https://github.com/apollographql/graphql-tools/pull/529)
|
235 |
|
236 | ### v2.12.0
|
237 |
|
238 | * Allow passing in a string `schema` to `makeRemoteExecutableSchema` [PR #521](https://github.com/apollographql/graphql-tools/pull/521)
|
239 |
|
240 | ### v2.11.0
|
241 |
|
242 | * Merge schema now can accept resolvers in a plain object format, mergeInfo added to GraphQLResolveInfo object in merged schema resolvers [PR #511](https://github.com/apollographql/graphql-tools/pull/511)
|
243 |
|
244 | ### v2.10.0
|
245 |
|
246 | * Added basic support for custom Enums [Issue #363](https://github.com/apollographql/graphql-tools/issues/363) [PR #507](https://github.com/apollographql/graphql-tools/pull/507) [Read the docs here](https://www.apollographql.com/docs/graphql-tools/scalars.html#enums)
|
247 |
|
248 | ### v2.9.0
|
249 |
|
250 | * Added basic subscription support for local schemas [Issue #420](https://github.com/apollographql/graphql-tools/issues/420) [PR #463](https://github.com/apollographql/graphql-tools/pull/463)
|
251 | * Fix input object default value not propagating to merged schema [Issue #497](https://github.com/apollographql/graphql-tools/issues/497) [PR #498](PR #463](https://github.com/apollographql/graphql-tools/pull/498)
|
252 |
|
253 | ### v2.8.0
|
254 |
|
255 | * Add the option `resolverValidationOptions.allowResolversNotInSchema` to allow resolvers to be set even when they are not defined in the schemas [PR #444](https://github.com/apollographql/graphql-tools/pull/444)
|
256 | * Fix schema stitching bug when aliases are used with union types and fragments [PR #482](https://github.com/apollographql/graphql-tools/pull/482)
|
257 | * Remove `isTypeOf` guards from merged schemas [PR #484](https://github.com/apollographql/graphql-tools/pull/484)
|
258 |
|
259 | ### v2.7.2
|
260 |
|
261 | * Incompatible fragments are now properly filtered [PR #470](https://github.com/apollographql/graphql-tools/pull/470)
|
262 |
|
263 | ### v2.7.1
|
264 |
|
265 | * Made `resolvers` parameter optional for `mergeSchemas` [Issue #461](https://github.com/apollographql/graphql-tools/issues/461) [PR #462](https://github.com/apollographql/graphql-tools/pull/462)
|
266 | * Make it possible to define interfaces in schema extensions [PR #464](https://github.com/apollographql/graphql-tools/pull/464)
|
267 |
|
268 | ### v2.7.0
|
269 |
|
270 | * Upgraded versions of dependencies
|
271 |
|
272 | ### v2.6.1
|
273 |
|
274 | * Fix one place where `apollo-link` was being used directly
|
275 |
|
276 | ### v2.6.0
|
277 |
|
278 | * Removed direct dependency on Apollo Link, while keeping the API the same, to work around a Launchpad npm installation issue temporarily.
|
279 | * Parse type, field, and argument descriptions in `typeFromAST`. This allows the
|
280 | descriptions to be part of the schema when using helpers like `mergeSchemas()`.
|
281 |
|
282 | ### v2.5.0
|
283 |
|
284 | * Add ability to pass types in extension strings [Issue #427](https://github.com/apollographql/graphql-tools/issues/427) [PR #430](https://github.com/apollographql/graphql-tools/pull/430)
|
285 |
|
286 | ### v2.4.0
|
287 |
|
288 | * Translate errors better in merged schema [Issue #419](https://github.com/apollographql/graphql-tools/issues/419) [PR #425](https://github.com/apollographql/graphql-tools/pull/425)
|
289 |
|
290 | ### v2.3.0
|
291 |
|
292 | * Fix alias issues [Issue #415](https://github.com/apollographql/graphql-tools/issues/415) [PR #418](https://github.com/apollographql/graphql-tools/pull/418)
|
293 | * Make `@types/graphql` a dev dependency and make it's version as flexible as `graphql` [PR #421](https://github.com/apollographql/graphql-tools/pull/421)
|
294 |
|
295 | ### v2.2.1
|
296 |
|
297 | * Fix inability to add recursive queries [PR #413](https://github.com/apollographql/graphql-tools/pull/413)
|
298 |
|
299 | ### v2.2.0
|
300 |
|
301 | * Change link API to pass GraphQL context as `graphqlContext` field of link
|
302 | context to avoid merging problems
|
303 | * Fix alias problems in schema merging [PR #411](https://github.com/apollographql/graphql-tools/pull/411)
|
304 |
|
305 | ### v2.1.0
|
306 |
|
307 | * Added support for passing an Apollo Link instead of a fetcher
|
308 |
|
309 | ### v2.0.0
|
310 |
|
311 | * Add schema merging utilities [PR #382](https://github.com/apollographql/graphql-tools/pull/382)
|
312 |
|
313 | ### v1.2.3
|
314 |
|
315 | * Update package.json to allow GraphQL.js 0.11 [Issue #394](https://github.com/apollographql/graphql-tools/issues/394) [PR #395](https://github.com/apollographql/graphql-tools/pull/395)
|
316 |
|
317 | ### v1.2.1
|
318 |
|
319 | * Fix typings for resolver options: [Issue #372](https://github.com/apollographql/graphql-tools/issues/372) [PR #374](https://github.com/apollographql/graphql-tools/pull/374)
|
320 |
|
321 | ### v.1.2.0
|
322 |
|
323 | * Use defaultFieldResolver from graphql-js package instead of own one [PR #373](https://github.com/apollographql/graphql-tools/pull/373)
|
324 | * Remove `lodash` dependency [PR #356](https://github.com/apollographql/graphql-tools/pull/356)
|
325 |
|
326 | ### v.1.1.0
|
327 |
|
328 | * Improve mocking of union and interface types [PR #332](https://github.com/apollographql/graphql-tools/pull/332)
|
329 |
|
330 | ### v1.0.0
|
331 |
|
332 | * Add argument validation in `addMockFunctionsToSchema` for 'schema' property in parameter object [PR #321](https://github.com/apollographql/graphql-tools/pull/321)
|
333 |
|
334 | ### v0.11.0
|
335 |
|
336 | * Remove dependency on `graphql-subscription` and use an interface for PubSub [PR #295](https://github.com/apollographql/graphql-tools/pull/295)
|
337 | * Support schema AST as a type definition input [PR #300](https://github.com/apollographql/graphql-tools/pull/300)
|
338 | * Update graphql typings to 0.9.0 [PR #298](https://github.com/apollographql/graphql-tools/pull/298)
|
339 |
|
340 | ### v0.10.1
|
341 |
|
342 | * Update dependencies [PR #287](https://github.com/apollographql/graphql-tools/pull/287)
|
343 |
|
344 | ### v0.10.0
|
345 |
|
346 | * Restrict version range of graphql-js peer dependency to ^0.8.0 || ^0.9.0 [PR #266](https://github.com/apollographql/graphql-tools/pull/266)
|
347 |
|
348 | ### v0.9.2
|
349 |
|
350 | * Update graphql-js dependency to include 0.9.0 [PR #264](https://github.com/apollostack/graphql-tools/pull/264)
|
351 | * Fix logErrors option so it logs errors if resolve function returns a promise [PR #262](https://github.com/apollostack/graphql-tools/pull/262)
|
352 |
|
353 | ### v0.9.1
|
354 |
|
355 | * use function reference instead of string for concatenateTypeDefs. [PR #252](https://github.com/apollostack/graphql-tools/pull/252)
|
356 |
|
357 | ### v0.9.0
|
358 |
|
359 | * Migrate from `typed-graphql` to `@types/graphql`. [PR #249](https://github.com/apollostack/graphql-tools/pull/249)
|
360 |
|
361 | ### v0.8.4
|
362 |
|
363 | * `addSchemaLevelResolveFunction` resolves once per operation type and not once globally. [#220](https://github.com/apollostack/graphql-tools/pull/220)
|
364 | * Replace node-uuid with uuid package [#227](https://github.com/apollostack/graphql-tools/pull/227)
|
365 | * Fix issue that prevented usage of custom scalars as arguments [#224](https://github.com/apollostack/graphql-tools/pull/224)
|
366 |
|
367 | ### v0.8.3
|
368 |
|
369 | * Remove peer dependency on `graphql-subscriptions`. [#210](https://github.com/apollostack/graphql-tools/pull/210)
|
370 |
|
371 | ### v0.8.2
|
372 |
|
373 | * Accept an async function for the schema level resolver. ([@ephemer](https://github.com/ephemer) in [#199](https://github.com/apollostack/graphql-tools/pull/199))
|
374 | * Fix for new custom scalar support introduced in `0.8.1`. ([@oricordeau](https://github.com/oricordeau) in [#203](https://github.com/apollostack/graphql-tools/pull/203))
|
375 |
|
376 | ### v0.8.1
|
377 |
|
378 | * Support custom scalar types developed for GraphQL.js, such as [graphql-type-json](https://github.com/taion/graphql-type-json). ([@oricordeau](https://github.com/oricordeau) in [#189](https://github.com/apollostack/graphql-tools/pull/189))
|
379 |
|
380 | ### v0.8.0
|
381 |
|
382 | * Update default resolve function to match the one from GraphQL.js ([@stubailo](https://github.com/stubailo) in [#183](https://github.com/apollostack/graphql-tools/pull/183))
|
383 | * Move `typed-graphql` to `optionalDependencies` ([@stubailo](https://github.com/stubailo) in [#183](https://github.com/apollostack/graphql-tools/pull/183))
|
384 | * Set new defaults for resolver validation to match GraphQL.js so that developers need to opt-in to advanced validation ([@stubailo](https://github.com/stubailo) in [#183](https://github.com/apollostack/graphql-tools/pull/183)):
|
385 | * `requireResolversForArgs = false` \* `requireResolversForNonScalar = false`
|
386 |
|
387 | ### v0.7.2
|
388 |
|
389 | * Eliminated babel and moved to native ES5 compilation. ([@DxCx](https://github.com/DxCx) in [#147](https://github.com/apollostack/graphql-tools/pull/147))
|
390 |
|
391 | ### v0.7.1
|
392 |
|
393 | * Fix dependency on lodash
|
394 |
|
395 | ### v0.7.0
|
396 |
|
397 | * Various Bugfixes ([@DxCx](https://github.com/DxCx) in [#129](https://github.com/apollostack/graphql-tools/pull/129)) - Istanbul coverage was not working well due to Istanbul bug [#549](https://github.com/gotwarlost/istanbul/issues/549) - Bluebird promise was not converted well on tests - "console.warn" got overwritten on tests
|
398 |
|
399 | * Migrated code from Javascript to Typescript ([@DxCx](https://github.com/DxCx) in [#129](https://github.com/apollostack/graphql-tools/pull/129))
|
400 |
|
401 | * Deprecated addConnectorsToContext ([@DxCx](https://github.com/DxCx) in [#129](https://github.com/apollostack/graphql-tools/pull/129))
|
402 |
|
403 | * Removed deprecated aplloServer ([@DxCx](https://github.com/DxCx) in [#129](https://github.com/apollostack/graphql-tools/pull/129))
|
404 |
|
405 | * Removed testing on Node 5 ([@DxCx](https://github.com/DxCx) in [#129](https://github.com/apollostack/graphql-tools/pull/129))
|
406 |
|
407 | * Changed GraphQL typings requirement from peer to standard ([@DxCx](https://github.com/DxCx) in [#129](https://github.com/apollostack/graphql-tools/pull/129))
|
408 |
|
409 | * Change the missing resolve function validator to show a warning instead of an error ([@nicolaslopezj](https://github.com/nicolaslopezj) in [#134](https://github.com/apollostack/graphql-tools/pull/134))
|
410 |
|
411 | * Add missing type annotations to avoid typescript compiler errors when 'noImplicitAny' is enabled ([@almilo](https://github.com/almilo) in [#133](https://github.com/apollostack/graphql-tools/pull/133))
|
412 |
|
413 | ### v0.6.6
|
414 |
|
415 | * Added embedded Typescript definitions ([@DxCx](https://github.com/DxCx) in [#120](https://github.com/apollostack/graphql-tools/pull/120))
|
416 |
|
417 | * Fix issue in addMockFunctionsToSchema when preserveResolvers is true and connector/logger is used. ([@DxCx](https://github.com/DxCx) in [#121](https://github.com/apollostack/graphql-tools/pull/121))
|
418 |
|
419 | * Fix multiple issues in addMockFunctionsToSchema when preserveResolvers is true (support for Promises, and props defined using Object.defineProperty) ([@sebastienbarre](https://github.com/sebastienbarre) in [#115](https://github.com/apollostack/graphql-tools/pull/115))
|
420 |
|
421 | * Make allowUndefinedInResolve true by default ([@jbaxleyiii](https://github.com/jbaxleyiii) in [#117](https://github.com/apollostack/graphql-tools/pull/117))
|
422 |
|
423 | * Add `requireResolversForAllFields` resolver validation option ([@nevir](https://github.com/nevir) in [#107](https://github.com/apollostack/graphql-tools/pull/107))
|
424 |
|
425 | ### v0.6.4
|
426 |
|
427 | * Make mocking partial objects match expected behavior ([@sebastienbarre](https://github.com/sebastienbarre) in [#96](https://github.com/apollostack/graphql-tools/pull/96))
|
428 | * Improved behavior when mocking interfaces & unions ([@itajaja](https://github.com/itajaja) in [#102](https://github.com/apollostack/graphql-tools/pull/102))
|
429 |
|
430 | ### v0.6.3
|
431 |
|
432 | * Unpin babel-core version to solve build problem (PR [#92](https://github.com/apollographql/graphql-tools/pull/92))
|
433 | * Added support for `extend` keyword to schemaGenerator (PR [#90](https://github.com/apollostack/graphql-tools/pull/90))
|
434 |
|
435 | ### v0.6.2
|
436 |
|
437 | * Fix a bug with addSchemaLevelResolveFunction. It now runs once per tick (PR [#91](https://github.com/apollographql/graphql-tools/pull/91))
|
438 |
|
439 | ### v0.5.2
|
440 |
|
441 | * Add addSchemaLevelResolveFunction to exports
|
442 | * Remove dist folder before prepublish to make sure files deleted in source are not included in build
|
443 |
|
444 | ### v0.5.1
|
445 |
|
446 | * Updated GraphQL dependency to 0.6.0
|
447 | * Removed all tracer code, including `Tracer`, `addTracingToResolvers` and `decorateWithTracer`
|