question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE REQUEST] Nestjs v8 support

See original GitHub issue

Is your feature request related to a problem? Please describe.

As I upgraded the current version of my nestjs project (schematics and core) to v8, I found this error:

Error: Using the "extends Logger" instruction is not allowed in Nest v8. Please, use "extends ConsoleLogger" instead.

And as mentioned in the docs nextjs v8 adds a breaking change to how the Logger depency is imported and extended.

Describe the solution you’d like

I would like the package to be updated so v8 is supported.

Describe alternatives you’ve considered

Stop using nestjs-pino and use directly the integrated Nestjs logger.

Additional context

"dependencies": {
  "nestjs-pino": "1.4.0",
  "@nestjs/common": "8.0.2",
  "@nestjs/core": "7.6.18",
  "@nestjs/jwt": "8.0.0",
  "@nestjs/platform-express": "7.6.18",
  "@nestjs/schedule": "1.0.0",
  "@nestjs/swagger": "4.8.2",
}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:5
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

9reactions
iamoleggacommented, Aug 23, 2021

update: waiting for some clarification in this issue and after that, I think it will be released in several days

7reactions
iamoleggacommented, Aug 20, 2021

A little update here: just finished PoC for the new version of Nest, but before releasing I would like to do something more:

So please have a little more patience, should be released soon

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migration guide - FAQ - A progressive Node.js framework
This article provides a set of guidelines for migrating from Nest version 8 to version 9. To learn more about the new features...
Read more >
Announcing NestJS 8: What's New - Trilon Consulting
This release brings lots of great features and long-awaited improvements. ... In v8, we added a way to load modules on-demand (lazily).
Read more >
NestJS Step-by-Step: Connecting NestJS with Angular (Part 4)
Start by creating a new Angular v8 app using the Angular CLI. ... The code initiates a POST /auth/login request to the back-end...
Read more >
@nestjs/core - npm
Start using @nestjs/core in your project by running `npm i ... issue list of this repo is exclusively for bug reports and feature...
Read more >
Migration guide | NestJS 中文文档
const request = ctx. ... Eventually, our team decided to reimplement all the features from scratch due to a lack ... This release...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found