Skip to content

Latest commit

 

History

History
1435 lines (662 loc) · 72.4 KB

CHANGELOG.md

File metadata and controls

1435 lines (662 loc) · 72.4 KB

1.1.4 (2022-12-04)

Performance Improvements

  • query-typeorm: Use = TRUE instead of IS TRUE so indexes on boolean fields can be used (a4522ab)

1.1.3 (2022-11-25)

Bug Fixes

1.1.2 (2022-10-24)

Bug Fixes

  • docs/lint: update for new @ObjectId decorator - fix linting error (63f8b94)
  • docs: update DTO docs too (bd4a282)
  • query-typegoose: update to new nestjs-typegoose package from m8a (85a4748)

1.1.1 (2022-10-05)

Bug Fixes

  • query-typegoose: Fixed package.json (b947f06)
  • query-typeorm: Fixed some typings (49709ce)

1.0.1 (2022-09-10)

Bug Fixes

  • align @apollo/gateway peer dependencies between @nestjs/graphql & @ptc-org/nestjs-query-graphql (eb3f9a9)
  • query-typeorm: Align fetching of entity metadata with @nestjs/typeorm (545074f)
  • Remove incompatible class-transformer version from peer (00f193d)

2.0.0-alpha.1 (2022-08-28)

Features

  • query-typeorm: Updated Typeorm to 0.3.8 (de00f77)

2.0.0-alpha.0 (2022-08-26)

1.0.0 (2022-08-26)

Features

  • Bump all packages (1d36ee0)
  • Updated some deps + cleanup incorrect changelogs (f877a9c)

BREAKING CHANGES

  • We want the next major release
  • Nothing really but we want to be version 2

1.0.0-alpha.0 (2022-08-26)

Bug Fixes

  • core: fixed filters merged incorrectly causing unexpected behavior (588dbe5)
  • core: Improved workings of getFilterOmitting (28d7e6b)
  • core: Improved workings of getFilterOmitting (cb06762)
  • core: Use correct return types for decorators (d328d2b)
  • deps: update dependency apollo-server-plugin-base to v3.3.0 (26cff92)
  • deps: update dependency apollo-server-plugin-base to v3.4.0 (e3c95f2)
  • deps: update dependency apollo-server-types to v3.3.0 (794c7d0)
  • deps: update dependency apollo-server-types to v3.4.0 (a587a52)
  • deps: update dependency graphql-query-complexity to v0.10.0 (d88ce81)
  • deps: update dependency graphql-query-complexity to v0.11.0 (6ab330b)
  • deps: update dependency mysql2 to v2.3.1 (b41d55e)
  • deps: update dependency mysql2 to v2.3.2 (c67a172)
  • deps: update dependency mysql2 to v2.3.3 (098f83a)
  • deps: update dependency rxjs to v7.3.1 (46e79d4)
  • deps: update dependency rxjs to v7.4.0 (5ffd717)
  • Fixed almost all tests (f614f04)
  • Fixed package.json files (97cbfd2)
  • mongoose,typegoose: fix type errors from bad renovate bot merge (46d9a6f)
  • query-graphql: Do not generate aggregate types if disabled (abd62a5)
  • query-graphql: Fixed between and notBetween types not generated (be4bed6)
  • query-graphql: Fixed ResolveOneRelation interface (e768900)
  • query-graphql: Fixed default sorting/filtering for relations (0877c23)
  • query-graphql: Fixed empty object accepted by required filters (f162cf3), closes doug-martin/nestjs-query#1504
  • query-graphql: Use getById instead of findById to correctly throw not found errors (2b98581)
  • query-typeorm: Fixed deleteMany throwing error when called with filter that contained relations (53c6c6b)
  • query-typeorm: Fixed deleteMany throwing error when called with filter that contained relations (6f8ac0b)
  • query-typeorm: Fixed getManyToManyOwnerMeta (887df20)
  • query-typeorm: Fixed updateMany not supporting relations (93ef5a9)
  • query-typeorm: Fixed group by for aggregated date fields (7ffeaf6)
  • query-typeorm: Use qb directly when adding additional fields (5843ac4)
  • sequelize: fix bad renovate bot merge revert to [email protected] (9225c6f)

chore

  • Update third batch of deps + linting rules (acaff0f)

Code Refactoring

Features

  • Added support for withDeleted in Relation decorator (923d972)
  • allow for passing useSoftDelete in resolver opts (4c59cd8)
  • query-graphql: Added disableFilter and disableSort (80cc8e9)
  • query-graphql: allow descriptions to be defined (568f228)
  • query-graphql: allow descriptions to be defined in relations (0fe9580)

Performance Improvements

  • query-typeorm: Rewrote batchQueryRelations to use one query (c7aa255)
  • query-typeorm: Use existing join alias if there is one (419d5b4)

Reverts

  • Revert "chore(deps): update dependency @nestjs/mongoose to v9.0.1" (9ea465e)
  • Revert "fix(query-typeorm): Fixed deleteOne returning entity without its id" (205fdd0)

BREAKING CHANGES

  • Nothing special, just want the major version bump as we updated a lot of deps
  • Project is moved to NX, deps may still be incorrect

0.30.0 (2021-09-30)

Bug Fixes

  • deps: update apollo graphql packages (6d40b9d)
  • deps: update dependency passport to v0.5.0 (a8a05d1)
  • deps: update docusaurus monorepo to v2.0.0-beta.6 (9015c71)
  • query-graphql: Custom authorizers now behave like auth decorators (ff92b9a)
  • query-graphql: fix eslint errors (73acbc3)
  • query-typeorm: import jest-extended into typeorm query service (f539b29)
  • tests: fix jest-extended typings and eslint problems (6af8af1)
  • typeorm: revert uneeded change to test entity (86f7fd9)

Features

  • query-typeorm: allow deeply nested filters (0bd6b76)

0.29.0 (2021-09-09)

Bug Fixes

  • deps: update dependency @nestjs/passport to v8.0.1 (4ce73e8)
  • deps: update dependency graphql-query-complexity to v0.9.0 (e34d870)
  • deps: update dependency graphql-tools to v8 (5dd27b8)
  • deps: update dependency graphql-tools to v8.1.0 (52f4595)
  • deps: update dependency graphql-tools to v8.2.0 (a31316b)
  • deps: update dependency mysql2 to v2.3.0 (0b243bb)
  • deps: update dependency pg to v8.7.0 (b6c0d42)
  • deps: update dependency pg to v8.7.1 (dee5981)
  • deps: update dependency rxjs to v7.3.0 (70d08c9)
  • query-graphql: adapt createFromPromise typings and add tests for passing additional query params (d81e531)
  • query-graphql: pass original query in keyset pager strategy (07f9e7b)

Features

  • graphql: propagate correct query types throughout paging (348044f)
  • query-typegoose: Adds the ability to use discriminators (#1321) (2a7da59), closes #1320

0.28.1 (2021-07-27)

Bug Fixes

  • deps: update docusaurus monorepo to v2.0.0-beta.3 (65bafa7)
  • query-typegoose: ignore undefined id field in creation dto (#1165) (db5bf44)
  • typegoose: allow undefined id field when updating or creating (c2031aa)

Features

  • graphql,#958,#1160: Enable authorizers on subscriptions (d2f857f), closes #958 #1160

0.28.0 (2021-07-19)

Bug Fixes

  • fix highlight and duplicate example (50b09a0)
  • fix module name (28800dc)
  • used the relevant example (c9e4875)
  • deps: update dependency @nestjs/jwt to v8 (b3eeed3)
  • deps: update dependency @nestjs/passport to v7.1.6 (5f02632)
  • deps: update dependency @nestjs/passport to v8 (f861bf8)
  • deps: update dependency apollo-server-express to v2.24.1 (8f549e5)
  • deps: update dependency apollo-server-express to v2.25.0 (1e14523)
  • deps: update dependency apollo-server-express to v2.25.1 (3ddf4ce)
  • deps: update dependency apollo-server-express to v2.25.2 (5b4e960)
  • deps: update dependency apollo-server-plugin-base to v0.13.0 (aaef654)
  • deps: update dependency rxjs to v7.2.0 (276df90)
  • NestjsQueryGraphqlModuleOpts (984f591)
  • deps: update dependency rxjs to v7.1.0 (99e564d)
  • deps: update docusaurus monorepo to v2.0.0-beta.0 (3370384)

0.27.0 (2021-05-12)

Bug Fixes

  • deps: update dependency apollo-server-express to v2.23.0 (29b4b6c)
  • deps: update dependency apollo-server-express to v2.24.0 (174fd38)
  • deps: update dependency apollo-server-plugin-base to v0.12.0 (7265251)
  • deps: update dependency classnames to v2.3.1 (a94dded)
  • deps: update dependency graphql-query-complexity to v0.8.1 (a8b4764)
  • deps: update dependency graphql-tools to v7.0.5 (1afde63)
  • deps: update dependency pg to v8.6.0 (1b51a6b)
  • deps: update dependency rxjs to v7 (5c54794)
  • deps: update dependency rxjs to v7.0.1 (c9ce5a6)
  • Update examples to use new generated input type names (f987dcd)

Features

  • graphql,#1058: Allow declaration of custom ID scalar type (fb2ed7a), closes #1058

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