Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Update dependency @nestjs/graphql to v10 #288

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 10, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@nestjs/graphql 9.1.2 -> 10.0.2 age adoption passing confidence

Release Notes

nestjs/graphql

v10.0.2

Compare Source

v10.0.1

Compare Source

v10.0.0

Compare Source

v10.0.0 (2022-02-10)

  • @nestjs/graphql is now platform-agnostic (plug-in driver you want to use)
  • @nestjs/apollo represents Apollo server integration while @nestjs/mercurius is an adapter for Mercurius lib (fastify)
  • migrate to Lerna monorepo & yarn workspaces & ts project references
  • update to the latest version of graphql-tools (remove schemaDirectives support)
  • expose abstract driver that lets you integrate any GQL compatible server (e.g. express-gql) in a few lines

Migration guide

See https://docs.nestjs.com/graphql/migration-guide

v9.2.1

Compare Source

v9.2.0

Compare Source

Bug Fixes
  • @​nest/graphql: change FieldMiddleware context type (b3ee614)
  • @​nestjs/graphql: fix array type output of generated properties (fe2e1c5)
  • @​nestjs/graphql: fixed fatal error when sec-websocket-protocol isn't exists in request headers using graphql-ws (4ea6609)
  • @​nestjs/graphql: update federation module directive loading (a869eda), closes #​837
  • add all options for ApolloServer to Gateway (5c6e168)
  • add apollo gateway to optional deps (07aba27)
  • add apollo gateway to optional deps (e07aade)
  • add arg type check (code first) (f0235f6)
  • add eager imports to analysed field types (c0ddccd)
  • add enhancer type to the public api (135a396)
  • add field directives on interface types (41ad53a)
  • add is optional to properties detected by plugin (e550426)
  • add missing apolloServer.start() (001fb25)
  • add missing class validator (dev dependency) (dcf1e0d)
  • add missing const (e1fa414)
  • add missing exports (1a713b2)
  • add missing model prefix to plugin (e72921a)
  • add more descriptive message when no type defs found (f5dd302)
  • add more verbose error for code first decorators (08ddc30)
  • add partial to the enum metadata values map (316eece)
  • add property initializers inheritance support (cc8be5c)
  • add require call to loadPackage (7128029)
  • add symbol to query if used as return type #​979 (c6160e9)
  • apollo graphql base adapter is now abstract (9eab0e9)
  • apply default plugins only if playground option defined (22fb449)
  • assign req to object instead of object merge #​830 (1ec9f38)
  • ast: correctly mark fields as nullable when not required (06d001a), closes #​1128
  • avoid adding barrel import (plugin) (1c469fb)
  • await apolloServer.start in registerExpress (54f2489)
  • change description to an optional property (scalar) (c5be8ee)
  • change GatewayModuleOptions interface (1d3ef17)
  • code-first-federation: Add union type resolvers to generateSchema (5431211), closes nestjs/graphql#​886
  • correctly extend options.schema (4757ac4)
  • custom-scalar.interface.ts (0fe9f38)
  • deps: add iterall dependency (91b19f4), closes nestjs#​537
  • deps: pin dependency iterall to 1.2.2 (ce70ea4)
  • deps: pin dependency rimraf to 3.0.0 (5c3b105)
  • deps: pin dependency ts-morph to 3.1.0 (0ffa21a)
  • deps: pin dependency tslib to 1.10.0 (1db02ea)
  • deps: update apollo graphql packages to v2.16.1 (5bc6e27)
  • deps: update dependency @​graphql-tools/merge to v6.2.16 (5036422)
  • deps: update dependency @​graphql-tools/merge to v6.2.17 (041b1f9)
  • deps: update dependency @​graphql-tools/merge to v6.2.5 (db6ad69)
  • deps: update dependency @​graphql-tools/merge to v6.2.6 (6e7c9f3)
  • deps: update dependency @​graphql-tools/merge to v6.2.7 (5a9ce8d)
  • deps: update dependency @​nestjs/mapped-types to v0.0.2 (33617b8)
  • deps: update dependency @​nestjs/mapped-types to v0.0.3 (6eddd40)
  • deps: update dependency @​nestjs/mapped-types to v0.0.4 (5b1b126)
  • deps: update dependency @​nestjs/mapped-types to v0.1.0 (ab443bb)
  • deps: update dependency @​nestjs/mapped-types to v0.1.1 (1bfff4b)
  • deps: update dependency @​nestjs/mapped-types to v0.3.0 (d20746b)
  • deps: update dependency @​nestjs/mapped-types to v0.4.0 (0da5a2c)
  • deps: update dependency @​nestjs/mapped-types to v0.4.1 (e8669ff)
  • deps: update dependency @​nestjs/mapped-types to v1 (5a36644)
  • deps: update dependency chokidar to v2.1.5 (e6365c5)
  • deps: update dependency chokidar to v3 (26c0339)
  • deps: update dependency chokidar to v3.0.1 (d9616a0)
  • deps: update dependency chokidar to v3.0.2 (c6c26f7)
  • deps: update dependency chokidar to v3.3.1 (68775c3)
  • deps: update dependency chokidar to v3.4.0 (ce80058)
  • deps: update dependency chokidar to v3.4.1 (9fa73b2)
  • deps: update dependency chokidar to v3.4.2 (8ec8cfb)
  • deps: update dependency chokidar to v3.4.3 (81850f4)
  • deps: update dependency chokidar to v3.5.0 (467d4ee)
  • deps: update dependency chokidar to v3.5.1 (7ad4af2)
  • deps: update dependency chokidar to v3.5.2 (852c2ab)
  • deps: update dependency fast-glob to v2.2.7 (becf43a)
  • deps: update dependency fast-glob to v3 (c95034d)
  • deps: update dependency fast-glob to v3.1.1 (eb8aef1)
  • deps: update dependency fast-glob to v3.2.1 (118634c)
  • deps: update dependency fast-glob to v3.2.11 (849aa87)
  • deps: update dependency fast-glob to v3.2.2 (4897074)
  • deps: update dependency fast-glob to v3.2.4 (f502698)
  • deps: update dependency fast-glob to v3.2.5 (ca0ca37)
  • deps: update dependency fast-glob to v3.2.6 (f9780b5)
  • deps: update dependency graphql-tools to v4.0.4 (863e5f3)
  • deps: update dependency graphql-tools to v4.0.5 (78cfa4c)
  • deps: update dependency graphql-tools to v4.0.7 (2e1c1d7)
  • deps: update dependency graphql-ws to v5.5.0 (38835ca)
  • deps: update dependency graphql-ws to v5.5.1 (1c6ae5b)
  • deps: update dependency graphql-ws to v5.5.3 (8aff185)
  • deps: update dependency graphql-ws to v5.5.5 (e7640e3)
  • deps: update dependency lodash to v4.17.14 (b8dfdb7)
  • deps: update dependency lodash to v4.17.15 (47440d8)
  • deps: update dependency lodash to v4.17.17 (52747b0)
  • deps: update dependency lodash to v4.17.19 (bb9fb6f)
  • deps: update dependency lodash to v4.17.20 (7131f19)
  • deps: update dependency merge-graphql-schemas to v1.7.4 (6906916)
  • deps: update dependency merge-graphql-schemas to v1.7.6 (19c1dfb)
  • deps: update dependency merge-graphql-schemas to v1.7.7 (d4a4081)
  • deps: update dependency merge-graphql-schemas to v1.7.8 (663c12b)
  • deps: update dependency rimraf to v3.0.2 (6fb29b7)
  • deps: update dependency subscriptions-transport-ws to v0.11.0 (e94b52f)
  • deps: update dependency ts-morph to v1.3.1 (5e56235)
  • deps: update dependency ts-morph to v1.3.2 (32b1044)
  • deps: update dependency ts-morph to v1.3.3 (0e7ac0a)
  • deps: update dependency ts-morph to v3.1.1 (2ee018d)
  • deps: update dependency ts-morph to v3.1.2 (f6cd30c)
  • deps: update dependency ts-morph to v3.1.3 (4087ac1)
  • deps: update dependency ts-morph to v5 (bf13dc3)
  • deps: update dependency tslib to v1.11.1 (3cec64f)
  • deps: update dependency tslib to v1.11.2 (120de2e)
  • deps: update dependency tslib to v2 (20da625)
  • deps: update dependency tslib to v2.0.1 (2852b02)
  • deps: update dependency tslib to v2.0.3 (049ecdd)
  • deps: update dependency tslib to v2.1.0 (7e05867)
  • deps: update dependency tslib to v2.2.0 (85432c8)
  • deps: update dependency tslib to v2.3.0 (0f2a43c)
  • deps: update dependency uuid to v3.3.3 (65a2c70)
  • deps: update dependency uuid to v3.4.0 (e697aa3)
  • deps: update dependency uuid to v7 (6613bb8)
  • deps: update dependency uuid to v7.0.2 (9f6f36c)
  • deps: update dependency uuid to v7.0.3 (507cdcb)
  • deps: update dependency uuid to v8 (ce204e7)
  • deps: update dependency uuid to v8.1.0 (fd181f1)
  • deps: update dependency uuid to v8.2.0 (138180a)
  • deps: update dependency uuid to v8.3.0 (a6022ac)
  • deps: update dependency uuid to v8.3.1 (4d44990)
  • deps: update dependency uuid to v8.3.2 (54d1235)
  • deps: update dependency ws to v8 (a5ac8b8)
  • deps: update dependency ws to v8.2.2 (bb5051d)
  • deps: update dependency ws to v8.2.3 (e9ccfac)
  • deps: update dependency ws to v8.3.0 (c0b9e94)
  • deps: update dependency ws to v8.4.2 (b74e879)
  • deps: update graphql-tools monorepo (2ecced5)
  • deps: update graphql-tools monorepo (dc7c912)
  • deps: update graphql-tools monorepo (f93b2e3)
  • deps: update graphql-tools monorepo to v6.0.10 (00dee50)
  • deps: update graphql-tools monorepo to v6.0.11 (48216ae)
  • deps: update graphql-tools monorepo to v6.0.12 (f60e51f)
  • deps: update graphql-tools monorepo to v6.0.13 (321d3b5)
  • deps: update graphql-tools monorepo to v6.0.5 (fcf69fe)
  • deps: update graphql-tools monorepo to v6.2.4 (1a76ed6)
  • disable enhancers for __resolveType (5463d64)
  • disable enhancers for resolve type, add global middleware support (da4f751)
  • exclude tests dir (npmignore) (e6ab8c7)
  • export BuildService token (cf87ea7)
  • fallback to request property when req does not exist (f557407)
  • fallback type to object instead of undefined (8590822)
  • federation: allow apollo engine config in gateway (bc4be48)
  • federation: apply default options when async config is used (6aa5549)
  • federation: assignment GraphqlSchemaHost#schema in factory (f91c76b), closes nestjs/graphql#​1478
  • federation: avoid using transform schema for federation #​981 (3358899)
  • federation: filter resolvers predication (63fa587)
  • federation: Handle ObjectTypeExtension (2b9129b)
  • federation: import d.ts from @​apollo/federation instead of ts (bf8202a)
  • federation: inherit the date time scalar (from auto generated schema) (02fb373)
  • federation: merge or override auto generated resolvers (555c3f4)
  • federation: override federated resolveType for interfaces (55991b4)
  • federation: remove duplicate types in schema (#​1001) (0e361ee), closes #​981
  • federation: remove duplicate types in schema #​1001 (7dbaa77), closes #​981
  • federation: Remove unused import (6257cf0)
  • federation: respect use global prefix option for gateway #​1158 (2465370)
  • federation: Update overrideOrExtendResolvers for federated unions (3c8e1c6)
  • federation: use resolver reference instead of resolver name (5940608)
  • federation: use type merger from 'merge-graphql-schemas' (77ae270)
  • fix abstract resolvers, field resolver args (fd4e471)
  • fix accidental breaking change (subgraphs import) (73ebdfe)
  • fix adding directives (federation) (1fcb97d)
  • fix args type when used in combination with mapped types (a7c45c9)
  • fix ast definitions generation for federated graph (b03c5ef)
  • fix async context factories (1c5e1c5)
  • fix build issues, update imports (cf23319)
  • fix context auto-wrapping (66ede7a)
  • fix defaults settings (e565b04)
  • fix directives on field resolers (6ed51b1)
  • fix directives on parent classes (01013f3)
  • fix get interfaces fn is undefined #​1384 (f10c95e)
  • fix getters in object types #​673 (faad7cf)
  • Fix handling of multi-level interfaces (171ce0e)
  • fix import issue (dd56bcd)
  • fix incompatibility with apollo/subgraph@0.1.5 (60ee0d0)
  • fix interface name and undefined properties issue (e56512f)
  • fix invalid type of descriptor in resolver metadata (918a068)
  • fix missing peer deps metadata #​1263 (cac02c4)
  • fix optional deps (33790a7)
  • fix orphaned types factory, update e2e test (735f110)
  • fix peer dependencies (b39f4fe)
  • fix precommit hook (dont include fixtures) (7d52e9d)
  • fix small issues (pass options to fastify) (b34981e)
  • fix subscriptions-transport-ws package name (2723544)
  • fix typo in field options interface (9919343)
  • gateway: import d.ts from @​apollo/gateway instead of ts (e751df4)
  • gateway: stop the apollo server (if present) on module destroy hook (20886eb)
  • global prefix fails in some cases (5326950)
  • graphql.factory: use getFullText instead of getText (adb1611)
  • GraphQLFactory: avoid unnecessary overwrites (d25c532)
  • graphql: remove abstract instance getter from base driver (151b41f)
  • ignore Date in type definitions generator (946375b)
  • include default type mapping configuration (0ca398e)
  • inherit complexity from the model definition #​1012 (4f2c366)
  • inherit directive and extensions in type helpers, compile unique directives (8c721d0)
  • inherit metadata (fields) if exists (6b4f8e3)
  • interface type shouldnt require arguments (b843c08)
  • invalid args decorator signature (add overload) (ff44cbe)
  • invert logic for providing your own schema (c8ba590)
  • make default type mapping record partial (0736799)
  • make keys argument readonly (pick type and omit type) (96c9579)
  • make sure to handle undefined case in ResolveTypeFactory (2ef556e)
  • mapped types with renamed fields (c10360c)
  • mapped-types: eagarly load type function (cd66002)
  • mapped-types: fix mapped types (load no target metadata) (3cf8773)
  • mapped-types: fix performance degradation issue (omit and pick types) #​1301 (b5f4122)
  • mapped-types: inherit all fields from the prototype chain (1cc8eec)
  • mercurius: fix subscriptions (a075ad5)
  • merge only plugins array (9cba6cb)
  • merge plugins, update landing page condition (67aff1a)
  • minor deps fixes (0f05cc5)
  • override get type method in gql execution context (f80f287)
  • override req property only if not an object (420be79)
  • platform-fastify: await register call (e9c14e6)
  • platform-fastify: await register call (d238ad4)
  • plugin: add test for optional booleans (strict mode) (278e091)
  • plugin: apply plugin metadata on prototypes (7647e2b)
  • plugin: check version when updating file imports (eb4a0c3)
  • plugin: fallback to an empty object (metadata) (a157e28)
  • plugin: fix adding imports per file (bfc2c64)
  • plugin: fix enums in plugin (a30a3c2)
  • plugin: fix wrong paths resolution on windows (a178553)
  • plugin: recognize boolean properties in strict mode (24dbec5)
  • plugin: support typescript 4.2+ (5bbd70f)
  • remove console log (f6e7263)
  • remove dir directory (ced8f43)
  • remove optional deps (6d0a9ba)
  • remove optional deps (a2d06a5)
  • remove streams (interceptors) on resolve property (489988e)
  • remove temp__ field when schema is initalized (1cf9037)
  • remove unused merge arguments host (4d581e5)
  • revert back release-it update (e563384)
  • revert graphql-tools packages (a680add)
  • run all tests (bac36ee)
  • scalar resolvers (dfa7332)
  • set argument type of parse-literal (a41d05b)
  • set graphql context (8b65823)
  • set line endings of ts-morph according to platform (964ec9c)
  • skip adding existing directive metadata (b97030c)
  • some changes not correctly applied (d6ef0b7)
  • subscription.subscribe() not copied (0e789f5)
  • support Apollo Graph Manager (a5bf10b)
  • support for external resolvers (32f395b)
  • test: fix sorted schema snapshot (b4cf611)
  • tsmorph should be optional (8a1df35)
  • typo (64821fc)
  • typo (bd35661)
  • typo (a946e70)
  • update custom-scalar for strict mode (f97573d)
  • update integration tests (38d54a7)
  • use deep merge to merge default options (568161a)
  • Use default of false for stop termination on signals (2e4a55e), closes #​1560
  • use default value in object types (fc2a157)
  • use name property in code-first (020db1a)
  • use schema directive visitor from graphql-tools (876be36)
Features
  • @​nestjs/graphql: add enumsAsTypes to definitions generator options (d9343fa), closes #​1557
  • @​nestjs/graphql: add mixin type helper (27c555e)
  • @​nestjs/graphql: base exception filter for apollo exceptions (422d392), closes #​1053
  • @​nestjs/graphql: Include graphql schemas from node_modules (ac7ab37)
  • adapters to drivers (2012ade)
  • add additional definitions generator options (6e41314)
  • add async module support to graphql gateway (aba664f)
  • add code-first support for grahql federation (ef2e409)
  • add complexity feature (ee0f8e9)
  • add configurable number scalar (98c6a47)
  • add create union type and register enum type to shim (382877e)
  • Add createTestClient (854e210)
  • add decorator type argument to type utils (6628cea)
  • add dedicated gateway and federation adapters (bdc5818)
  • add default type mapping (95ae089)
  • add executor factory to module options (1c8d821)
  • add extensions feature (0755aa0)
  • add fastify support to federation and gateway modules (ee32547)
  • add field middleware support (f7078f3)
  • add fieldResolverEnhancers property (03f40ae)
  • add graphql schema host (0355721)
  • add lazy metadata storage for type-graphql (4967d13)
  • add path to subscriptions options (f59f95f)
  • add plugin, implement the isolated schema generator (23fa7d6)
  • add separate configuration for subscriptions (1a9e546)
  • Add sortSchema option (4e8cbef)
  • Add support for deprecated enum values (f8e8367)
  • add support for plugins (beae27a)
  • add type helpers functions (dcaea9e)
  • add useGlobalPrefix option (7ae9213)
  • add validation and transformation rules inheritance (29c38dd)
  • allow custom gql-on-ws protocol (3c05658)
  • allow registering global field middleware functions (773d5d8)
  • allow resolvers for interface types (5949d0d)
  • Apply transformSchema to autoSchemaFile (73bca3e)
  • Complexity options on Query and Mutation (1c3a64e)
  • expose type metadata storage instance (66575cf)
  • extract configurations (7e53ce2)
  • extract configurations part 2 (abbcac7)
  • federation: add support for graphql federation typedefs (e5fdeac)
  • federation: extract metadata reference resolver (b090702)
  • federation: graphql federation factory (d98b480)
  • federation: graphql federation module (5948d67)
  • federation: graphql gateway module (ded92ce)
  • federation: interfaces for gateway module options (7e235f9)
  • federation: make getTypesFromPaths method public (2c83518)
  • federation: ResolveReference decorator (f2d5950)
  • load all metadata lazily (67ab808)
  • load metadata lazily by target (4cb9f39)
  • log error if subscription is request-scoped (4c546f2)
  • log type graphql schema generator errors (921984b)
  • migrate to eslint, add commilint, release-it (8b7460a)
  • migrate to graphql tools (remove merge-graphql-schemas) (0bc3daa)
  • migrate to lerna (4f1dd75)
  • minor tweaks, normalize path by default (033ea87)
  • module: Recursive inclusion of modules (4abf52f)
  • override the resolve type of interfaces (af6edc0)
  • plugin: Update plugin with null union support (40a5589)
  • refactor, add more subscriptions settings (+ remove redundant props) (6388dd5)
  • register interface implementations automatically (e74260e)
  • remove directives, update graphql tools monorepo (6ec229e)
  • schema-builder: add TypeDefinitionsStorage.getAllEnumTypeDefinitions (6fe2556)
  • schema-builder: update BuildSchemaOptions.orphanedTypes (e03a71e)
  • schema-builder: update OrphanedTypesFactory.create to include enums (7562228), closes #​1665
  • schema-gen: add scalars param to graphql schema generator (5bd2dad)
  • schema-gen: add scalars param to graphql schema generator (15fb7ba)
  • simplify subscriptions interface (96ed9de)
  • support interface level directives and implements array (5213077)
  • support lazy implements, add comments introspection (aa9ac61)
  • support subscriptions-transport-ws (backward compatibility) (5641df0)
  • typings generation: eslint-disable (39f32a3)
  • update to graphql v15 (4e5bde8)
  • update to the latest version (nest monorepo) (e1f25c5)
  • update to the latest version of graphql (bbafa8d)
  • update to the latest version of mapped types (f572f50)
  • update ts-morph, fix unclosed subs filter (a6505e0)
  • use mapped types library (d6a67ec)
  • use request context id symbol, attach to ctx (f89e205)
  • wrap format error function instead of creating a filter (82d055b)

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/nestjs-graphql-10.x branch from a1ba1bc to 999bd96 Compare February 11, 2022 08:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant