Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nestjs/nest
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8.2.4
Choose a base ref
...
head repository: nestjs/nest
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v8.2.5
Choose a head ref

Commits on Dec 13, 2021

  1. chore(deps): bump body-parser from 1.19.0 to 1.19.1

    Bumps [body-parser](https://github.com/expressjs/body-parser) from 1.19.0 to 1.19.1.
    - [Release notes](https://github.com/expressjs/body-parser/releases)
    - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
    - [Commits](expressjs/body-parser@1.19.0...1.19.1)
    
    ---
    updated-dependencies:
    - dependency-name: body-parser
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Dec 13, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    89b2afb View commit details

Commits on Dec 17, 2021

  1. Verified

    This commit was signed with the committer’s verified signature.
    renovate-bot Mend Renovate
    Copy the full SHA
    9eb1274 View commit details

Commits on Dec 20, 2021

  1. Merge pull request #8803 from nestjs/renovate/node-16.x

    chore(deps): update dependency @types/node to v16.11.14
    kamilmysliwiec authored Dec 20, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    124dbf3 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    renovate-bot Mend Renovate
    Copy the full SHA
    04ae702 View commit details

Commits on Dec 21, 2021

  1. Merge pull request #8810 from nestjs/renovate/lint-staged-12.x

    chore(deps): update dependency lint-staged to v12.1.3
    kamilmysliwiec authored Dec 21, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    775a348 View commit details

Commits on Dec 22, 2021

  1. Verified

    This commit was signed with the committer’s verified signature.
    renovate-bot Mend Renovate
    Copy the full SHA
    b4a9e11 View commit details
  2. Merge pull request #8841 from nestjs/renovate/node-16.x

    chore(deps): update dependency @types/node to v16.11.15
    kamilmysliwiec authored Dec 22, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    411ef5e View commit details
  3. Copy the full SHA
    0fb3233 View commit details

Commits on Dec 23, 2021

  1. chore(deps-dev): bump point-of-view from 4.15.3 to 5.0.0

    Bumps [point-of-view](https://github.com/fastify/point-of-view) from 4.15.3 to 5.0.0.
    - [Release notes](https://github.com/fastify/point-of-view/releases)
    - [Commits](fastify/point-of-view@v4.15.3...v5.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: point-of-view
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Dec 23, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5e1333b View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    fc4be02 View commit details
  3. Merge pull request #8845 from Tony133/sample/update-dependecie-mysql8

    sample(05-sql-typeorm): update dependecie for mysql 8.x and some improvements
    kamilmysliwiec authored Dec 23, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7825c02 View commit details

Commits on Dec 24, 2021

  1. feat: use isObervable from rxjs instead of our own version

    Relying on `isObservable` type guard from RxJS is better as it has less
    false-positives.
    micalevisk committed Dec 24, 2021
    Copy the full SHA
    cbec376 View commit details
  2. refactor(microservices): drop useless type assertion on server

    on every type assertion for `Observable<any>` that is not needed anymore.
    micalevisk committed Dec 24, 2021
    Copy the full SHA
    f1b9b63 View commit details

Commits on Dec 25, 2021

  1. refactor: remove deprecated apis from 3rd-party deps

    Replacie old and deprecated APIs from `rxjs`, `body-parser`
    and NodeJS core (read this guide https://nodejs.org/en/docs/guides/buffer-constructor-deprecation).
    Do notice that the later only touches test files, thus doesn't affect
    production code.
    micalevisk committed Dec 25, 2021
    Copy the full SHA
    fd720e8 View commit details
  2. fix(microservices): right return type when input is observable

    Before this change, when supplying an observable to
    `Server#transformToObservable` method, the return type was wrongly inferred as
    `Observable<Observable<X>>` while the real return is
    `Observable<X>`
    This commits fix this return type.
    micalevisk committed Dec 25, 2021
    Copy the full SHA
    97f2969 View commit details

Commits on Dec 26, 2021

  1. Copy the full SHA
    f54741d View commit details
  2. feat(common,microservices): add isNumber shared util

    Also, add another test for `isString` utility, to clarify that it must
    return `false` for strings made by `String` constructor.
    micalevisk committed Dec 26, 2021
    Copy the full SHA
    de83c0c View commit details

Commits on Dec 27, 2021

  1. Verified

    This commit was signed with the committer’s verified signature.
    renovate-bot Mend Renovate
    Copy the full SHA
    d34bd9a View commit details
  2. Merge pull request #8848 from nestjs/renovate/node-16.x

    chore(deps): update dependency @types/node to v16.11.17
    kamilmysliwiec authored Dec 27, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    14a111f View commit details
  3. chore(deps-dev): bump @types/redis from 2.8.32 to 4.0.11

    Bumps [@types/redis](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/redis) from 2.8.32 to 4.0.11.
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/redis)
    
    ---
    updated-dependencies:
    - dependency-name: "@types/redis"
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Dec 27, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    af72111 View commit details
  4. Merge pull request #8851 from micalevisk/fix-issue-8595

    Use `isObervable` from `rxjs` instead of our own implementation. Drop few deprecated APIs from 3rd-party libs. And other minor refactorings
    kamilmysliwiec authored Dec 27, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    28516d7 View commit details

Commits on Dec 31, 2021

  1. Copy the full SHA
    303c5fa View commit details
  2. Copy the full SHA
    f461030 View commit details
  3. Copy the full SHA
    621b20b View commit details

Commits on Jan 2, 2022

  1. Copy the full SHA
    a6e8ceb View commit details
  2. Copy the full SHA
    9530b11 View commit details

Commits on Jan 3, 2022

  1. Merge pull request #8866 from Tony133/sample-06/update-dependencies

    sample(06-mongoose): removed duplicate dependencie  and not useds
    kamilmysliwiec authored Jan 3, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8ef2461 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c009219 View commit details
  3. Merge pull request #8864 from micalevisk/master

    Minor improvements on issue templates, and add tests to cover few missing cases
    kamilmysliwiec authored Jan 3, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0e7107d View commit details

Commits on Jan 5, 2022

  1. build(deps-dev): bump mongoose from 6.0.15 to 6.1.5

    Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.0.15 to 6.1.5.
    - [Release notes](https://github.com/Automattic/mongoose/releases)
    - [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
    - [Commits](Automattic/mongoose@6.0.15...6.1.5)
    
    ---
    updated-dependencies:
    - dependency-name: mongoose
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Jan 5, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    02aeab0 View commit details

Commits on Jan 6, 2022

  1. chore(license)

    update for 2022
    thiagomini authored Jan 6, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4421532 View commit details

Commits on Jan 7, 2022

  1. Merge pull request #8879 from thiagomini/patch-1

    chore(license)
    kamilmysliwiec authored Jan 7, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    178ce1c View commit details

Commits on Jan 8, 2022

  1. Copy the full SHA
    230302d View commit details
  2. Copy the full SHA
    8729500 View commit details
  3. Copy the full SHA
    46a9286 View commit details

Commits on Jan 10, 2022

  1. Merge pull request #8884 from Tony133/sample-05/remove-dependecies-no…

    …t-used
    
    sample(05-sql-typeorm): removed unused dependencies
    kamilmysliwiec authored Jan 10, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d883db8 View commit details
  2. Merge pull request #8885 from Tony133/sample-10/remove-dependecies-no…

    …t-used
    
    sample(10-fastify): removed unused dependencies
    kamilmysliwiec authored Jan 10, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2122d8d View commit details
  3. Merge pull request #8886 from Tony133/sample-17-mvc-fastify/remove-de…

    …pendecies-not-used
    
    sample(17-mvc-fastify): removed unused dependencies
    kamilmysliwiec authored Jan 10, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    30b75a5 View commit details
  4. chore(deps): bump copy-props from 2.0.4 to 2.0.5

    Bumps [copy-props](https://github.com/gulpjs/copy-props) from 2.0.4 to 2.0.5.
    - [Release notes](https://github.com/gulpjs/copy-props/releases)
    - [Changelog](https://github.com/gulpjs/copy-props/blob/master/CHANGELOG.md)
    - [Commits](gulpjs/copy-props@2.0.4...2.0.5)
    
    ---
    updated-dependencies:
    - dependency-name: copy-props
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Jan 10, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1b77d86 View commit details

Commits on Jan 11, 2022

  1. Verified

    This commit was signed with the committer’s verified signature.
    renovate-bot Mend Renovate
    Copy the full SHA
    0029f52 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    kamilmysliwiec Kamil Mysliwiec
    Copy the full SHA
    cd3a9d6 View commit details
  3. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    kamilmysliwiec Kamil Mysliwiec
    Copy the full SHA
    1839187 View commit details
  4. Merge pull request #8890 from nestjs/dependabot/npm_and_yarn/copy-pro…

    …ps-2.0.5
    
    chore(deps): bump copy-props from 2.0.4 to 2.0.5
    kamilmysliwiec authored Jan 11, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3416baf View commit details
  5. Merge pull request #8873 from nestjs/dependabot/npm_and_yarn/mongoose…

    …-6.1.5
    
    build(deps-dev): bump mongoose from 6.0.15 to 6.1.5
    kamilmysliwiec authored Jan 11, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1cc92c1 View commit details
  6. Merge pull request #8856 from nestjs/renovate/sequelize-4.x

    chore(deps): update dependency @types/sequelize to v4.28.11
    kamilmysliwiec authored Jan 11, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    dd670fe View commit details
  7. Merge pull request #8847 from nestjs/dependabot/npm_and_yarn/point-of…

    …-view-5.0.0
    
    chore(deps-dev): bump point-of-view from 4.15.3 to 5.0.0
    kamilmysliwiec authored Jan 11, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1d487ed View commit details
  8. Merge pull request #8778 from nestjs/dependabot/npm_and_yarn/body-par…

    …ser-1.19.1
    
    chore(deps): bump body-parser from 1.19.0 to 1.19.1
    kamilmysliwiec authored Jan 11, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    fb71093 View commit details
  9. Merge pull request #8768 from nestjs/dependabot/npm_and_yarn/types/re…

    …dis-4.0.11
    
    chore(deps-dev): bump @types/redis from 2.8.32 to 4.0.11
    kamilmysliwiec authored Jan 11, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    12badd4 View commit details

Commits on Jan 12, 2022

  1. chore(deps-dev): bump http-errors from 1.8.1 to 2.0.0

    Bumps [http-errors](https://github.com/jshttp/http-errors) from 1.8.1 to 2.0.0.
    - [Release notes](https://github.com/jshttp/http-errors/releases)
    - [Changelog](https://github.com/jshttp/http-errors/blob/master/HISTORY.md)
    - [Commits](jshttp/http-errors@1.8.1...v2.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: http-errors
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Jan 12, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    55b9dec View commit details
  2. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    kamilmysliwiec Kamil Mysliwiec
    Copy the full SHA
    d3b627f View commit details
Showing with 35,099 additions and 15,774 deletions.
  1. +11 −7 .github/ISSUE_TEMPLATE/Bug_report.yml
  2. +2 −1 .github/ISSUE_TEMPLATE/Feature_request.yml
  3. +2 −1 .github/ISSUE_TEMPLATE/Regression.yml
  4. +2 −2 .github/ISSUE_TEMPLATE/Suggestion_improve_performance.yml
  5. +3 −0 .github/ISSUE_TEMPLATE/config.yml
  6. +1 −1 LICENSE
  7. +13 −0 integration/microservices/e2e/disconnected-client.spec.ts
  8. +5 −5 integration/microservices/src/disconnected.controller.ts
  9. +4 −5 integration/microservices/src/grpc-advanced/advanced.grpc.controller.ts
  10. +4 −4 integration/microservices/src/grpc/grpc.controller.ts
  11. +1 −1 lerna.json
  12. +181 −126 package-lock.json
  13. +7 −7 package.json
  14. +1 −1 packages/common/package.json
  15. +2 −2 packages/common/pipes/default-value.pipe.ts
  16. +33 −2 packages/common/test/utils/shared.utils.spec.ts
  17. +7 −6 packages/common/utils/shared.utils.ts
  18. +2 −2 packages/core/helpers/external-context-creator.ts
  19. +2 −2 packages/core/package.json
  20. +6 −1 packages/core/test/exceptions/exceptions-handler.spec.ts
  21. +12 −0 packages/core/test/injector/module-token-factory.spec.ts
  22. +4 −0 packages/core/test/services/reflector.service.spec.ts
  23. +10 −6 packages/microservices/client/client-rmq.ts
  24. +1 −0 packages/microservices/constants.ts
  25. +2 −7 packages/microservices/context/rpc-proxy.ts
  26. +2 −2 packages/microservices/exceptions/base-rpc-exception-filter.ts
  27. +3 −3 packages/microservices/package.json
  28. +2 −3 packages/microservices/serializers/nats-record.serializer.ts
  29. +4 −4 packages/microservices/server/server-grpc.ts
  30. +1 −1 packages/microservices/server/server-kafka.ts
  31. +3 −2 packages/microservices/server/server-mqtt.ts
  32. +1 −1 packages/microservices/server/server-nats.ts
  33. +1 −1 packages/microservices/server/server-redis.ts
  34. +1 −2 packages/microservices/server/server-rmq.ts
  35. +1 −1 packages/microservices/server/server-tcp.ts
  36. +20 −12 packages/microservices/server/server.ts
  37. +27 −18 packages/microservices/test/client/client-grpc.spec.ts
  38. +4 −4 packages/microservices/test/client/client-mqtt.spec.ts
  39. +8 −8 packages/microservices/test/client/client-proxy.spec.ts
  40. +3 −3 packages/microservices/test/client/client-rmq.spec.ts
  41. +2 −13 packages/microservices/test/context/rpc-proxy.spec.ts
  42. +4 −4 packages/microservices/test/exceptions/rpc-exceptions-handler.spec.ts
  43. +3 −3 packages/microservices/test/server/server-mqtt.spec.ts
  44. +13 −5 packages/microservices/test/server/server.spec.ts
  45. +6 −2 packages/microservices/utils/transform-pattern.utils.ts
  46. +6 −3 packages/platform-express/adapters/express-adapter.ts
  47. +4 −4 packages/platform-express/package.json
  48. +1 −1 packages/platform-fastify/package.json
  49. +1 −1 packages/platform-socket.io/package.json
  50. +2 −2 packages/platform-ws/adapters/ws-adapter.ts
  51. +1 −1 packages/platform-ws/package.json
  52. +1 −1 packages/testing/package.json
  53. +3 −8 packages/websockets/context/ws-proxy.ts
  54. +3 −3 packages/websockets/package.json
  55. +1 −14 packages/websockets/test/context/ws-proxy.spec.ts
  56. +3 −3 sample/01-cats-app/package-lock.json
  57. +1 −1 sample/01-cats-app/package.json
  58. +3 −3 sample/02-gateways/package-lock.json
  59. +1 −1 sample/02-gateways/package.json
  60. +3 −3 sample/03-microservices/package-lock.json
  61. +1 −1 sample/03-microservices/package.json
  62. +3 −3 sample/04-grpc/package-lock.json
  63. +1 −1 sample/04-grpc/package.json
  64. +11,180 −63 sample/05-sql-typeorm/package-lock.json
  65. +7 −8 sample/05-sql-typeorm/package.json
  66. +3,441 −4,694 sample/06-mongoose/package-lock.json
  67. +6 −9 sample/06-mongoose/package.json
  68. +18 −18 sample/07-sequelize/package-lock.json
  69. +2 −2 sample/07-sequelize/package.json
  70. +3 −3 sample/08-webpack/package-lock.json
  71. +1 −1 sample/08-webpack/package.json
  72. +9,544 −28 sample/10-fastify/package-lock.json
  73. +6 −7 sample/10-fastify/package.json
  74. +3 −3 sample/11-swagger/package-lock.json
  75. +1 −1 sample/11-swagger/package.json
  76. +3 −3 sample/12-graphql-schema-first/package-lock.json
  77. +1 −1 sample/12-graphql-schema-first/package.json
  78. +3 −3 sample/13-mongo-typeorm/package-lock.json
  79. +1 −1 sample/13-mongo-typeorm/package.json
  80. +15 −10,274 sample/14-mongoose-base/package-lock.json
  81. +1 −1 sample/14-mongoose-base/package.json
  82. +3 −3 sample/15-mvc/package-lock.json
  83. +1 −1 sample/15-mvc/package.json
  84. +3 −3 sample/16-gateways-ws/package-lock.json
  85. +1 −1 sample/16-gateways-ws/package.json
  86. +10,307 −226 sample/17-mvc-fastify/package-lock.json
  87. +6 −9 sample/17-mvc-fastify/package.json
  88. +3 −3 sample/18-context/package-lock.json
  89. +1 −1 sample/18-context/package.json
  90. +3 −3 sample/19-auth-jwt/package-lock.json
  91. +1 −1 sample/19-auth-jwt/package.json
  92. +3 −3 sample/20-cache/package-lock.json
  93. +1 −1 sample/20-cache/package.json
  94. +3 −3 sample/21-serializer/package-lock.json
  95. +1 −1 sample/21-serializer/package.json
  96. +3 −3 sample/22-graphql-prisma/package-lock.json
  97. +1 −1 sample/22-graphql-prisma/package.json
  98. +3 −3 sample/23-graphql-code-first/package-lock.json
  99. +1 −1 sample/23-graphql-code-first/package.json
  100. +3 −3 sample/24-serve-static/package-lock.json
  101. +1 −1 sample/24-serve-static/package.json
  102. +3 −3 sample/25-dynamic-modules/package-lock.json
  103. +1 −1 sample/25-dynamic-modules/package.json
  104. +3 −3 sample/26-queues/package-lock.json
  105. +1 −1 sample/26-queues/package.json
  106. +3 −3 sample/27-scheduling/package-lock.json
  107. +1 −1 sample/27-scheduling/package.json
  108. +3 −3 sample/28-sse/package-lock.json
  109. +1 −1 sample/28-sse/package.json
  110. +3 −3 sample/29-file-upload/package-lock.json
  111. +1 −1 sample/29-file-upload/package.json
  112. +3 −3 sample/30-event-emitter/package-lock.json
  113. +1 −1 sample/30-event-emitter/package.json
  114. +3 −3 sample/31-graphql-federation-code-first/gateway/package-lock.json
  115. +1 −1 sample/31-graphql-federation-code-first/gateway/package.json
  116. +3 −3 sample/31-graphql-federation-code-first/posts-application/package-lock.json
  117. +1 −1 sample/31-graphql-federation-code-first/posts-application/package.json
  118. +3 −3 sample/31-graphql-federation-code-first/users-application/package-lock.json
  119. +1 −1 sample/31-graphql-federation-code-first/users-application/package.json
  120. +3 −3 sample/32-graphql-federation-schema-first/gateway/package-lock.json
  121. +1 −1 sample/32-graphql-federation-schema-first/gateway/package.json
  122. +3 −3 sample/32-graphql-federation-schema-first/posts-application/package-lock.json
  123. +1 −1 sample/32-graphql-federation-schema-first/posts-application/package.json
  124. +3 −3 sample/32-graphql-federation-schema-first/users-application/package-lock.json
  125. +1 −1 sample/32-graphql-federation-schema-first/users-application/package.json
18 changes: 11 additions & 7 deletions .github/ISSUE_TEMPLATE/Bug_report.yml
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@ body:
If you are not sure that your issue is a bug, you could:

- read the [FAQ's common errors](https://docs.nestjs.com/faq/common-errors) page
- use our [Discord community](https://discord.gg/NestJS)
- use [StackOverflow using the tag `nestjs`](https://stackoverflow.com/questions/tagged/nestjs)
- If it's just a quick question you can ping [our Twitter](https://twitter.com/nestframework)
@@ -20,7 +21,7 @@ body:
- type: checkboxes
attributes:
label: "Is there an existing issue for this?"
description: "Please search [here](https://github.com/nestjs/nest/issues?q=is%3Aissue) to see if an issue already exists for the bug you encountered"
description: "Please search [here](../issues?q=is%3Aissue) to see if an issue already exists for the bug you encountered"
options:
- label: "I have searched the existing issues"
required: true
@@ -37,7 +38,7 @@ body:
required: true
attributes:
label: "Minimum reproduction code"
description: "An URL to some git repository that reproduces this issue. [Wtf is a minimum reproduction?](https://jmcdo29.github.io/wtf-is-a-minimum-reproduction)"
description: "An URL to some Git repository/[StackBlitz](https://stackblitz.com/fork/github/nestjs/typescript-starter)/[CodeSandbox](https://codesandbox.io/s/github/nestjs/typescript-starter/tree/master) project that reproduces your issue. [Wtf is a minimum reproduction?](https://jmcdo29.github.io/wtf-is-a-minimum-reproduction)"
placeholder: "https://github.com/..."

- type: textarea
@@ -47,7 +48,7 @@ body:
How the issue manifests?
You could leave this blank if you alread write this in your reproduction code
placeholder: |
1. `npm i`
1. `npm ci`
2. `npm start:dev`
3. See error...
@@ -104,10 +105,13 @@ body:
required: true
attributes:
label: "Packages versions"
description: "You could leave your whole `package.json` dependencies list here, or just indicates which version of `@nestjs/*` are you using"
placeholder: |
- `@nestjs/common`: 8.1.3
- `@nestjs/platform-express`: 8.1.3
description: |
You could leave your whole `package.json` dependencies list here, or just indicate which version of `@nestjs/*` you are using
**Tip**: run _npx nest info_
value: |
```json
```
- type: input
attributes:
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/Feature_request.yml
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@ body:
If you are not sure that your issue is a bug, you could:

- read the [FAQ's common errors](https://docs.nestjs.com/faq/common-errors) page
- use our [Discord community](https://discord.gg/NestJS)
- use [StackOverflow using the tag `nestjs`](https://stackoverflow.com/questions/tagged/nestjs)
- If it's just a quick question you can ping [our Twitter](https://twitter.com/nestframework)
@@ -18,7 +19,7 @@ body:
- type: checkboxes
attributes:
label: "Is there an existing issue that is already proposing this?"
description: "Please search [here](https://github.com/nestjs/nest/issues?q=is%3Aissue) to see if an issue already exists for the feature you are requesting"
description: "Please search [here](../issues?q=is%3Aissue) to see if an issue already exists for the feature you are requesting"
options:
- label: "I have searched the existing issues"
required: true
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/Regression.yml
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@ body:
If you are not sure that your issue is a bug, you could:

- read the [FAQ's common errors](https://docs.nestjs.com/faq/common-errors) page
- use our [Discord community](https://discord.gg/NestJS)
- use [StackOverflow using the tag `nestjs`](https://stackoverflow.com/questions/tagged/nestjs)
- If it's just a quick question you can ping [our Twitter](https://twitter.com/nestframework)
@@ -28,7 +29,7 @@ body:
- type: checkboxes
attributes:
label: "Is there an existing issue that is already proposing this?"
description: "Please search [here](https://github.com/nestjs/nest/issues?q=is%3Aissue) to see if an issue already exists for the feature you are requesting"
description: "Please search [here](../issues?q=is%3Aissue) to see if an issue already exists for the feature you are requesting"
options:
- label: "I have searched the existing issues"
required: true
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/Suggestion_improve_performance.yml
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ body:
- type: checkboxes
attributes:
label: "Is there an existing issue that is already proposing this?"
description: "Please search [here](https://github.com/nestjs/nest/issues?q=is%3Aissue) to see if an issue already exists for this"
description: "Please search [here](../issues?q=is%3Aissue) to see if an issue already exists for this"
options:
- label: "I have searched the existing issues"
required: true
@@ -34,7 +34,7 @@ body:
- type: textarea
validations:
required: true
required: true
attributes:
label: "Benchmarks result or another proof (eg: POC)"
description: |
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -2,6 +2,9 @@
blank_issues_enabled: false

contact_links:
- name: "\u2049 FAQ"
url: "https://docs.nestjs.com/faq"
about: "Make sure you have read the Frequently Asked Questions page."
- name: "\u2753 Discord Community of NestJS"
url: "https://discord.gg/NestJS"
about: "Please ask support questions or discuss suggestions/enhancements here."
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(The MIT License)

Copyright (c) 2017-2021 Kamil Mysliwiec <https://kamilmysliwiec.com>
Copyright (c) 2017-2022 Kamil Mysliwiec <https://kamilmysliwiec.com>

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
13 changes: 13 additions & 0 deletions integration/microservices/e2e/disconnected-client.spec.ts
Original file line number Diff line number Diff line change
@@ -65,6 +65,19 @@ describe('Disconnected client', () => {
.expect(408);
});

it(`RMQ`, () => {
return request(server)
.post('/')
.send({
transport: Transport.RMQ,
options: {
urls: [`amqp://0.0.0.0:3333`],
queue: 'test',
},
})
.expect(408);
});

afterEach(async () => {
await app.close();
});
10 changes: 5 additions & 5 deletions integration/microservices/src/disconnected.controller.ts
Original file line number Diff line number Diff line change
@@ -15,12 +15,12 @@ export class DisconnectedClientController {
call(@Body() options): Observable<number> {
const client = ClientProxyFactory.create(options);
return client.send<number, number[]>({ cmd: 'none' }, [1, 2, 3]).pipe(
/*tap(
console.log.bind(console, 'data'),
console.error.bind(console, 'error'),
),*/
// tap(
// console.log.bind(console, 'data'),
// console.error.bind(console, 'error'),
// ),
catchError(error => {
const { code } = error || { code: 'CONN_ERR' };
const { code } = error?.err ?? error ?? { code: 'CONN_ERR' };
return throwError(() =>
code === 'ECONNREFUSED' ||
code === 'CONN_ERR' ||
Original file line number Diff line number Diff line change
@@ -134,8 +134,8 @@ export class AdvancedGrpcController {
async streamReq(messages: Observable<any>): Promise<any> {
const s = new Subject();
const o = s.asObservable();
messages.subscribe(
msg => {
messages.subscribe({
next: () => {
s.next({
id: 1,
itemTypes: [1],
@@ -146,9 +146,8 @@ export class AdvancedGrpcController {
},
});
},
null,
() => s.complete(),
);
complete: () => s.complete(),
});
return o;
}

8 changes: 4 additions & 4 deletions integration/microservices/src/grpc/grpc.controller.ts
Original file line number Diff line number Diff line change
@@ -50,16 +50,16 @@ export class GrpcController {
@GrpcStreamMethod('Math')
async sumStream(messages: Observable<any>): Promise<any> {
return new Promise<any>((resolve, reject) => {
messages.subscribe(
msg => {
messages.subscribe({
next: msg => {
resolve({
result: msg.data.reduce((a, b) => a + b),
});
},
err => {
error: err => {
reject(err);
},
);
});
});
}

2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -3,5 +3,5 @@
"packages": [
"packages/*"
],
"version": "8.2.4"
"version": "8.2.5"
}
Loading