Skip to content

Latest commit

 

History

History
1166 lines (516 loc) · 55.4 KB

CHANGELOG.md

File metadata and controls

1166 lines (516 loc) · 55.4 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.26.0 (2021-04-13)

Bug Fixes

  • graphql,auth,#1026: Fixed auth context on deleteMany (3d4efd4)
  • graphql,auth,#1026: Fixed renamed export (24b1193)
  • graphql,federation,#1051: check for undefined as well (298150a), closes #1051
  • graphql,federation,#1051: return null for references (6cb832e), closes #1051

Features

  • core: Add new setRelations to set oneToMany/manyToMany relations (4c73591)
  • graphql: Expose setRelations mutation (676a4d5)
  • graphql,#1048: added filter-only option to filterable fields (55cb010), closes #1048
  • graphql,auth: Pass operation name to authorizer #1026 (4343821)
  • graphql,auth,#1026: Added convenience fields to auth context (32df50e), closes #1026
  • graphql,auth,#1026: Enable authorization on create methods as well (4c7905e), closes #1026
  • mongoose: Implement setRelations to set many references (3dc8a84)
  • sequelize: Implement setRelations to set many relations (b0c2d2f)
  • typegoose: Implement setRelations to set many references (4ec5fe0)
  • typeorm: Implement setRelations to set many relations (d1109b7)

0.25.1 (2021-04-07)

Bug Fixes

  • mongoose,typegoose,#881: Allow string objectId filters (11098c4), closes #881

0.25.0 (2021-03-31)

Bug Fixes

  • Add consistent sorting for aggregate queries (4ac7a14)
  • deps: update dependency apollo-server-express to v2.22.1 (0a342bd)
  • deps: update dependency apollo-server-express to v2.22.2 (48bafef)
  • deps: update dependency apollo-server-plugin-base to v0.11.0 (a6387ce)
  • deps: update dependency rxjs to v6.6.7 (4708635)
  • deps: update react monorepo to v17.0.2 (11819da)

Features

  • core: Add aggregate group by (d5eb73b)
  • graphql: Add new aggregate groupBy (922e696)
  • mongoose: Update to support new aggregate with groupBy (ccd0438)
  • sequelize: Update to support new aggregate with groupBy (81fdef1)
  • typegoose: Update to support new aggregate with groupBy (90992e1)
  • typeorm: Update to support new aggregate with groupBy (e2a4f30)

0.24.5 (2021-03-19)

Bug Fixes

  • deps: update dependency apollo-server-express to v2.21.2 (8b3b3ec)
  • deps: update dependency graphql-query-complexity to v0.8.0 (99c93e6)
  • deps: update docusaurus monorepo to v2.0.0-alpha.ffe8b6106 (6672092)

0.24.4 (2021-03-18)

Note: Version bump only for package nestjs-query

0.24.3 (2021-03-17)

Features

  • graphql,#609: Allow disabling maxResultSize (a3cd664), closes #609

0.24.2 (2021-03-17)

Bug Fixes

  • graphql,hooks,#957: Fix HookInterceptor not working with custom resolvers (c947b3a)

0.24.1 (2021-03-16)

Bug Fixes

0.24.0 (2021-03-15)

Bug Fixes

  • deps: update dependency apollo-server-express to v2.21.1 (cb43994)

Features

  • graphql: Allow disabling and/or filters (c20fdbd)
  • typegoose: Add typegoose package (#846) (73cf5cd)

0.23.1 (2021-02-26)

Bug Fixes

  • typeorm,#895: Wrap all OR and AND expressions in brackets (838ab16), closes #895

0.23.0 (2021-02-26)

Bug Fixes

  • deps: update dependency apollo-server-express to v2.20.0 (ac3fb92)
  • deps: update dependency apollo-server-express to v2.21.0 (e3039c3)
  • deps: update dependency graphql-tools to v7.0.3 (8e2ef1c)
  • deps: update dependency graphql-tools to v7.0.4 (cba3d4d)
  • deps: update dependency rxjs to v6.6.6 (13e251b)

Features

  • graphql: Added new offset connection with totalCount (2780e7e)
  • graphql: Enabling registering DTOs without auto-generating a resolver (2f18142)
  • graphql,hooks: Provide support for injectable hooks (d100de8)
  • graphql,relations: Revert back to unPagedRelation (cb3dc62)

0.22.0 (2021-02-08)

Bug Fixes

  • deps: update dependency @nestjs/jwt to v7.2.0 (a8845c2)
  • deps: update dependency @nestjs/passport to v7.1.1 (2be7848)
  • deps: update dependency @nestjs/passport to v7.1.2 (4a38d0c)
  • deps: update dependency @nestjs/passport to v7.1.3 (a74b544)
  • deps: update dependency @nestjs/passport to v7.1.4 (84471a4)
  • deps: update dependency @nestjs/passport to v7.1.5 (2bc9164)
  • deps: update dependency apollo-server-express to v2.19.0 (1624f4e)
  • deps: update dependency apollo-server-express to v2.19.1 (63cc89f)
  • deps: update dependency apollo-server-express to v2.19.2 (6035bdd)
  • deps: update dependency apollo-server-plugin-base to v0.10.2 (b39da69)
  • deps: update dependency apollo-server-plugin-base to v0.10.3 (12093ae)
  • deps: update dependency apollo-server-plugin-base to v0.10.4 (7c0e391)
  • deps: update dependency graphql-query-complexity to v0.7.1 (8bd196d)
  • deps: update dependency graphql-query-complexity to v0.7.2 (905f0f5)
  • deps: update dependency graphql-tools to v6.2.6 (c1bba6d)
  • deps: update dependency graphql-tools to v7.0.2 (6b204dc)
  • deps: update dependency pg to v8.4.2 (be2dd88)
  • deps: update dependency pg to v8.5.0 (52e4258)
  • deps: update dependency pg to v8.5.1 (b435a7f)
  • deps: update dependency uuid to v8.3.2 (289f1ed)
  • deps: update docusaurus monorepo to v2.0.0-alpha.68 (31ec621)
  • deps: update docusaurus monorepo to v2.0.0-alpha.69 (6430d84)
  • deps: update docusaurus monorepo to v2.0.0-alpha.fd17476c3 (c34ebf2)
  • deps: Update mongoose and @nestjs/mongoose to latest versions (ca575cf)
  • deps: update react monorepo to v17 (b9a6339)

0.21.2 (2020-10-23)

Bug Fixes

  • deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.66 (0f323ec)
  • deps: update dependency graphql-tools to v6.2.5 (4b491b2)
  • dataloader cacheKeyFn bigint problem (92171dc)
  • codeql: Use language auto-detect (63e4632)
  • deps: update dependency @docusaurus/core to v2.0.0-alpha.66 (5546a6c)

Features

  • core: added two new filter helpers (031012e)

0.21.1 (2020-10-18)

Bug Fixes

  • deps: update dependency uuid to v8.3.1 (a2b7555)
  • deps: update react monorepo to v16.14.0 (60e55d7)

Features

  • graphql, #586: Allow overriding endpoint name (1634e71), closes #586

0.21.0 (2020-10-16)

Bug Fixes

  • core: Look up the proper assembler with inheritance (8bd22c5)
  • deps: update dependency apollo-server-express to v2.18.2 (cb9d708)
  • deps: update dependency pg to v8.4.0 (d8a76bd)
  • deps: update dependency pg to v8.4.1 (d04537b)
  • eslint: Fix eslint to recognize sub packages (13fdd2b)
  • mongodb: Delete unsupported MongoDB soft deletion (22decdf)

Features

  • mongodb: Add basic support for MongoDB (ce4c5e9)
  • mongodb: Add support for all filter operators (9420036)
  • mongodb: Add support for find relations with MongoDB (f4190e6)
  • mongodb: Add support for list of references (bc926a4)
  • mongodb: Allow to customize mongoose document options (46db24a)
  • mongodb: Allow to override filter operators (24e7c0a)
  • mongodb: Include virtuals on document responses (bc407a0)
  • mongodb: Use new filter on typegoose query service (de34e92)
  • mongodb: Use typegoose for MongoDB support (702dc83)
  • mongoose: Add mongo support (ba21ed4)
  • mongoose: Hardening reference support (107bba0)
  • mongoose: Remove unused code (7715ce7)
  • mongoose: Switch to native mongoose support (5cdfa39)

0.20.2 (2020-10-01)

Bug Fixes

  • deps: update dependency graphql-tools to v6.2.4 (d363cbc)
  • filters: Fix bug with incorect parameters in filter (6ada4f4)
  • filters: Fix bug with incorect parameters in filters (9f4e93b)
  • typeorm: fix unit tests after fix filters bug (5f50419)

Features

  • core: parallelize queries within relation query service (b339a2a)

0.20.1 (2020-09-28)

Bug Fixes

  • deps: update dependency apollo-server-express to v2.18.0 (ca28fda)
  • deps: update dependency apollo-server-express to v2.18.1 (b5f9378)
  • deps: update dependency apollo-server-plugin-base to v0.10.1 (735032a)
  • deps: update dependency graphql-tools to v6.2.3 (642c11f)
  • deps: update dependency mysql2 to v2.2.1 (5159077)
  • deps: update dependency mysql2 to v2.2.2 (f9235b2)
  • deps: update dependency mysql2 to v2.2.3 (a2a5afc)
  • deps: update dependency mysql2 to v2.2.5 (b66e6e6)
  • graphql: Fix assemblers type for module passthrough (713c41c)

0.20.0 (2020-09-17)

Bug Fixes

  • deps: update dependency @docusaurus/core to v2.0.0-alpha.64 (ea0a202)
  • deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.64 (3d3dd96)

Features

  • core: Update assemblers to allow transforming create/update dtos (5085d11)
  • core: Update query service decorator to have correct generics (74dc618)

0.19.4 (2020-09-15)

Bug Fixes

  • deps: update dependency graphql-tools to v6.2.2 (8a2253b)

Features

  • graphql: Add keyset connections (36bdbdd)

0.19.3 (2020-09-09)

Bug Fixes

  • deps: update dependency @docusaurus/core to v2.0.0-alpha.63 (631e922)
  • deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.63 (aa95f40)
  • deps: update dependency graphql-tools to v6.2.1 (b1e0833)
  • deps: update dependency rxjs to v6.6.3 (addf2e2)
  • examples: Fix nest-cli.json to reference correct tsconfig (a49d063)
  • graphql,hooks: Allow getting hooks from parent classes (59a0aeb)

0.19.2 (2020-09-03)

Bug Fixes

  • graphql, #505: Less restrictive readResolverOpts for auto crud (b4e6862), closes #505

0.19.1 (2020-09-02)

Bug Fixes

  • deps: update dependency graphql-tools to v6.2.0 (1183fa3)
  • typeorm,#493: Fix uni-directional relation SQL (7887b8c)

0.19.0 (2020-09-01)

Bug Fixes

  • deps: update dependency @docusaurus/core to v2.0.0-alpha.62 (dc773f4)
  • deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.62 (ad5c2d2)
  • deps: update dependency apollo-server-express to v2.17.0 (53398fe)
  • deps: update dependency graphql-tools to v6.1.0 (2394310)
  • deps: update dependency pg to v8.3.2 (1a03710)
  • deps: update dependency pg to v8.3.3 (f471395)
  • example,auth: Fix auth example (b26e1c6)

Features

  • auth: Initial Investigation (8d40636)
  • core: Update QueryService to allow additional filtering (474369b)
  • graphql,auth: Add authorization to resolvers and relations (9d76787)
  • sequelize: Add additional filter options to QueryService (29fdfa7)
  • typeorm: Add additional filter options to QueryService (64241dc)

0.18.1 (2020-08-14)

Bug Fixes

  • core: Fix potential stack overflow with filter comparison (f498802)
  • deps: update dependency graphql-query-complexity to v0.7.0 (d47bba1)
  • deps: update dependency graphql-tools to v6.0.17 (b0d1648)
  • deps: update dependency graphql-tools to v6.0.18 (9678548)
  • tests: Make subTask connections tests order consistently (ab8bab2)

Features

  • core: refactor null compares and improve tests (3582ed2)
  • refactored filter builder to support nested object filters (1ee8dbf)

0.18.0 (2020-08-11)

Bug Fixes

  • deps: update dependency @docusaurus/core to v2.0.0-alpha.61 (c2f03b8)
  • deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.61 (e052793)
  • deps: update dependency graphql-tools to v6.0.16 (df3784d)
  • e2e: Making tests deterministic (175cc2e)
  • tests: Fix tests to be deterministic (5dd6dac)
  • type: Pin dev dependencies (442db4c)
  • workflow: Fix github actions matrix reference (a4d9447)

Features

  • typeorm: Switch to use unioned queries for relations (327c676)

0.17.10 (2020-08-01)

Bug Fixes

  • deps: update dependency @docusaurus/core to v2.0.0-alpha.60 (8982a12)
  • deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.60 (3663b9b)
  • deps: update dependency rxjs to v6.6.2 (7062be9)

0.17.9 (2020-07-29)

Features

  • graphql: Allow specifying fields that are required when querying (a425ba7)

0.17.8 (2020-07-28)

Bug Fixes

  • deps: update dependency @docusaurus/core to v2.0.0-alpha.59 (ffe2ae9)
  • deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.59 (7a80894)
  • deps: update dependency apollo-server-express to v2.16.1 (4989294)

Features

  • graphql: Allow specifying allowed comparisons on filterable fields (ced2792)

0.17.7 (2020-07-27)

Features

  • core: Added applySort, applyPaging and applyQuery #405 (9f9ae0d)

0.17.6 (2020-07-24)

Bug Fixes

  • graphql: Include inherited references and relations (26dd6f9)

0.17.5 (2020-07-24)

Bug Fixes

  • graphql,aggregations: Exclude __typename in aggregations (3897673)

0.17.4 (2020-07-23)

Bug Fixes

  • deps: update dependency graphql-tools to v6.0.15 (a45ece7)

Features

  • graphql,hooks: Add before hooks to graphql mutations (3448955)

0.17.3 (2020-07-17)

Bug Fixes

  • deps: update dependency apollo-server-express to v2.16.0 (0870afe)
  • graphql: Fix filters to transform to expected type #317 (0d28b0b)

0.17.2 (2020-07-17)

Bug Fixes

  • typeorm: Ensure record is entity instance when saving (3cdbbaf), closes #380

0.17.1 (2020-07-17)

Bug Fixes

  • deps: update dependency graphql-tools to v6.0.14 (acb7e48)

Features

  • complexity: Add complexity support for relations (aa85325)

0.17.0 (2020-07-16)

Bug Fixes

  • deps: update dependency graphql-tools to v6.0.13 (802bb5b)

Features

  • aggregations: Add aggregation support to sequelize (c37b7ae)
  • aggregations: Add aggregations interfaces (d67e733)
  • aggregations: Add aggregations to graphql (af075d2)
  • aggregations,relations: Add relation aggregation graphql enpoints (56bb7e0)
  • aggregations,relations,core: Add relation aggregation to core (a489588)
  • aggregations,sequelize: Add relation aggregation to sequelize (93e7c1b)
  • aggregations,sequelize: Fix aggregation on many-to-many relations (db6ecb2)
  • aggregations,typeorm: Add relation aggregation to typeorm (2bf35a9)
  • aggretations: Add aggregations support to typeorm (7233c23)

0.16.2 (2020-07-09)

Bug Fixes

  • deps: update dependency pg to v8.2.2 (cd7fbb5)
  • deps: update dependency pg to v8.3.0 (25c8dcb)
  • imports: Remove additional /src references (9528772)

0.16.1 (2020-07-07)

Bug Fixes

  • typeorm: Fix import path in relation service #363 (0e6d484)

0.16.0 (2020-07-05)

Bug Fixes

  • deps: update dependency apollo-server-express to v2.15.1 (29f2b72)
  • deps: update dependency graphql-tools to v6.0.12 (3048277)
  • deps: update dependency rxjs to v6.6.0 (cc356f9)
  • deps: update dependency sequelize to v5.22.2 (c04d1fc)
  • deps: update dependency sequelize to v5.22.3 (ac288e3)
  • sequelize: Change query to not use sub queries (80c69d6)

Features

  • core: Add type support for nest objects in filter (cd9d0b5)
  • graphql: Enable filtering on ORM relations (60229b8)
  • sequelize: Add support for querying for nested relations (92a51c1)
  • typeorm: Add support for filtering on relations (aa8788c)

0.15.1 (2020-06-27)

Bug Fixes

  • deps: update dependency graphql-tools to v6.0.11 (14416c4)
  • deps: update dependency sequelize to v5.22.1 (6ff765d)

0.15.0 (2020-06-23)

Features

  • graphql,connection: Add totalCount to connections (ed1e84a)

0.14.3 (2020-06-20)

Bug Fixes

  • deps: update dependency @apollo/federation to v0.16.9 (28ac98c)
  • graphql,subscriptions: Expose InjectPubSub decorator (867022e)

0.14.2 (2020-06-19)

Bug Fixes

  • typeorm: Allow using string based typeorm relations (55c157d)

0.14.1 (2020-06-19)

Bug Fixes

  • graphql: Allow custom scalars for comparisons (57cbe38)

0.14.0 (2020-06-18)

Bug Fixes

  • deps: update dependency @apollo/federation to v0.16.8 (01d05c1)
  • deps: update dependency @docusaurus/core to v2.0.0-alpha.58 (1060e05)
  • deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.58 (236cd18)
  • deps: update dependency apollo-server-express to v2.15.0 (355d22b)
  • deps: update dependency graphql-tools to v6.0.10 (005ee15)

Features

  • graphql,paging: Add NONE paging strategy (216d926)

0.13.2 (2020-06-14)

Bug Fixes

  • graphl,filters: Allow for enums when filtering (60dcc30)

0.13.1 (2020-06-12)

Bug Fixes

  • graphql,paging: Fix for #281 paging backwards windowing (c319344)

0.13.0 (2020-06-12)

Bug Fixes

  • deps: update dependency @apollo/federation to v0.16.6 (e51bb37)
  • deps: update dependency apollo-server-express to v2.14.4 (ae31896)
  • deps: update dependency graphql to v15.1.0 (e6362fe)
  • deps: update dependency graphql-tools to v6.0.9 (4d7ccc9)

Features

  • graphql: Add limit offset paging without connections (5fc3e90)

0.12.0 (2020-06-07)

Bug Fixes

  • deps: update dependency @apollo/federation to v0.16.4 (e000230)
  • deps: update dependency apollo-server-express to v2.14.2 [security] (36c9649)
  • deps: update dependency graphql-tools to v6.0.4 (aaa6233)
  • deps: update dependency graphql-tools to v6.0.5 (fe181ae)
  • deps: update dependency graphql-tools to v6.0.8 (27cb278)

Features

  • graphql: Add graphql subscriptions (5dc987f)

0.11.8 (2020-05-30)

Note: Version bump only for package nestjs-query

0.11.7 (2020-05-29)

Bug Fixes

  • deps: update dependency @apollo/federation to v0.16.1 (1fd84e1)
  • deps: update dependency @apollo/federation to v0.16.2 (ad047b3)
  • deps: update dependency @docusaurus/core to v2.0.0-alpha.56 (811d26d)
  • deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.56 (b7fd2af)
  • deps: update dependency apollo-server-express to v2.14.0 (8ca9ee5)
  • deps: update dependency apollo-server-express to v2.14.1 (4776e70)
  • deps: update dependency graphql-tools to v6.0.3 (15429a5)

0.11.6 (2020-05-26)

Bug Fixes

  • deps: update dependency graphql-tools to v6 (b1aeba1)

0.11.5 (2020-05-21)

Bug Fixes

  • deps: update dependency @docusaurus/core to v2.0.0-alpha.55 (8926e12)
  • deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.55 (1ed906f)

0.11.4 (2020-05-19)

Note: Version bump only for package nestjs-query

0.11.3 (2020-05-16)

Bug Fixes

  • deps: update dependency pg to v8.2.1 (4603b85)

0.11.2 (2020-05-14)

Bug Fixes

  • Fix lint issues (c3407c0)
  • deps: update dependency @apollo/federation to v0.16.0 (5a5acd6)
  • deps: update dependency apollo-server-express to v2.13.1 (49d214f)
  • deps: update dependency pg to v8.1.0 (42c7d01)
  • deps: update dependency pg to v8.2.0 (6e20417)

Features

  • graphql,core: Add support for custom services and assemblers (85e8658)

0.11.1 (2020-05-11)

Features

  • graphql: Add support for auto-generated federations (238f641)

0.11.0 (2020-05-09)

Bug Fixes

  • deps: update dependency @apollo/federation to v0.15.0 (b534056)
  • deps: update dependency apollo-server-express to v2.13.0 (7525af5)

Features

  • graphql: Add graphql module (282c421)
  • graphql: Add relation/connection decorators (a75cf96)

0.10.2 (2020-05-04)

Bug Fixes

  • sequelize: Update sequelize package deps to match hoisted (c7f5190)

0.10.1 (2020-05-02)

Bug Fixes

  • graphql: Fix paging to properly check next/previous page (13c7bd9)

0.10.0 (2020-04-29)

Bug Fixes

  • deps: update dependency @docusaurus/core to v2.0.0-alpha.54 (d6b7e6c)
  • deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.54 (fae7683)

Features

  • sequelize: Initial Sequelize support (bfcf436)
  • sequelize: More clean up of code (a72bce5)

0.9.0 (2020-04-26)

Bug Fixes

  • docs: remove unused imports in example page (a67ac24)

Features

  • typeorm: Add support for soft deletes (2ab42fa)

0.8.9 (2020-04-24)

Note: Version bump only for package nestjs-query

0.8.8 (2020-04-23)

Note: Version bump only for package nestjs-query

0.8.7 (2020-04-23)

Bug Fixes

  • deps: update dependency pg to v8.0.3 (6a726e9)

v0.8.6

  • chore(renovate): Renovate to include examples
  • chore(renovate): Renovate set ignorePaths to empty
  • fix(deps): pin dependencies
  • chore(deps): Update package-lock.json
  • chore(deps): Update postgres backing app to 11.7
  • docs(): Update Federation Docs
  • chore(lerna): add hoist to lerna.json
  • chore(deps): update dependency @nestjs/graphql to v7.3.4
  • chore(deps): update dependency @types/node to v13.13.2
  • chore(renovate): Update to automerge devDeps
  • chore(deps): update dependency coveralls to v3.0.13
  • chore(deps): update dependency eslint-config-prettier to v6.11.0

v0.8.5

  • feat(graphql): basic federation support.
  • docs(graphql): federation docs.

v0.8.4

  • docs(typeorm): Call out foreign keys in entity and DTO #84
  • docs(typeorm): Relations on an entity/dto #85
  • chore(): upgrade dependencies.

v0.8.3

  • [FIXED] Add support for extending abstract object types #82

v0.8.2

  • [TESTS] Updated graphql types tests to check schema rather than spies.

v0.8.1

  • [FIXED] Mysql error "LIMIT in subquery" #77
    • Changed nestjs-query/query-typeorm to not use subqueries to fetch relations.

v0.8.0

  • [FIXED] Defining additional UpdateDtos breaks Schema. #72

v0.7.5

  • [FIXED] Tables with composite primary keys are not quoted properly.
  • [DOCS] Added docs for working with multiple connections #73 - @johannesschobel

v0.7.4

  • Fix code formatting
  • Update root package.json with common dependencies

v0.7.3

  • [DOCS] Update docs to include a complete example of custom methods #64
  • [FIXED] Issue where creating or updating allows specifying primary keys #65

v0.7.2

  • [CHORE] Updated to @nestjs/graphql v7.1.3
  • Removed PartialType and PartialInputType in favor of @nestjs/graphql implementation.

v0.7.1

  • [FIXED] Issue where update input DTO was not automatically created

v0.7.0

  • Updated to @nestjs/graphql v7.x.
    • This was a passive change for the library usage however you should still follow the migration guide found here

v0.6.0

  • [FIXED] Get Underlying Entity Object #41
    • Changed TypeOrmQueryService to operate on the Entity
    • Added new AssemblerQueryService to translate between the DTO and Entity
  • [ADDED] New InjectTypeOrmQueryService decorator to auto-create a TypeOrm query service.

v0.5.1

  • [DOCS] Added clarification around individual resolvers and relations with examples #42
  • [ADDED] Exposed Relatable mixin from @nestjs-query/graphql #42

v0.5.0

  • Added decorators option to resolver options to allow providing custom decorators to endpoints #36

v0.4.0

  • Updated all mutations to take a single input argument with custom fields.
    • createOne(input: DTO) -> createOne(input: { [dtoName]: DTO })
    • createMany(input: DTO[]) -> createOne(input: { [pluralDTOName]: DTO[] })
    • updateOne(id: ID, input: UpdateDTO) -> createOne(input: { id: ID, update: UpdateDTO })
    • updateMany(filter: Filter<DTO>, input: UpdateDTO) -> createOne(input: { filter: Filter<DTO>, update: UpdateDTO })
    • deleteOne(input: ID) -> deleteOne(input: {id: ID})
    • deleteMany(input: Filter<DTO>) -> createOne(input: { filter: Filter<DTO> })
  • Updated docs to reflect changes.

v0.3.5

  • [FIXED] Validate Input for Create & Update #19

v0.3.4

  • [FIXED] Can't remove on Many-To-Many relations #31

v0.3.3

  • Update typescript to 3.8.
  • Update dependency versions.

v0.3.2

  • Switched to github actions

v0.3.1

  • Hardened TypeORM querying
    • Added filter for entity ids on relations to prevent querying for too many rows.
    • Qualify all filter and sorting columns, to prevent column name collisions.

v0.3.0

  • Added dataloader support!
  • Fixed issue with loading of many-to-many relations #22

v0.2.1

  • Fixed case where @FilterableField decorator was not passing arguments correctly to @Field decorator #20

v0.2.0

v0.1.0

v0.0.6

  • Dont allow empty filters with updateMany or deleteMany operations.

v0.0.5

  • Add ability to specify query defaults.
    • defaultResultSize - the default number of results to return from a query
    • maxResultsSize - the maximum number of results to return from a query
    • defaultSort - The default sort to apply to queries
    • defaultFilter - The default filter to apply to queries

v0.0.4

  • Add files field to @nestjs-query/core package.json

v0.0.3

  • Fix package READMEs
  • Add security scanning on sub modules.

v0.0.2

  • Add MIT license

v0.0.1

  • Initial Release