api
api copied to clipboard
Feature: Upgrade Nestjs to v10
Type of feature
🍕 Feature
Current behavior
The current NestJS version is using the TypeScript compiler which is fine, but we can speed up builds and server starting times with a faster compiler.
Suggested solution
NestJS v10 is using SWC with Nest CLI to significantly speed up the development process.
Note SWC is approximately x20 times faster than the default TypeScript compiler.
Bumps
There are a lot of deps bumps and bug fixes and no big breaking changes.
NestJS packages:
- @nestjs/common (9.4.0) -> v10.0.0
- @nestjs/core (9.4.0) -> v10.0.0
- @nestjs/config (2.3.1) -> v3.0.0
- @nestjs/axios (2.0.0) -> v3.0.0
- @nestjs/platform-fastify (9.4.0) -> v10.0.0
- @nestjs/passport (9.0.3) -> v10.0.0
- @nestjs/swagger (6.3.0) -> v7.1.1
- @nestjs/terminus (9.2.2) -> v10.0.1
- @nestjs/typeorm (9.0.1) -> v10.0.0
- nestjs-pino (3.2.0) -> v3.3.0
- @nestjs/cli (dev-dep)(9.4.2) -> v10.1.8
- @nestjs/schematics (dev-dep)(9.1.0) -> v10.0.1
- @nestjs/testing (dev-dep)(9.4.0) -> v10.0.5
Others:
- typeorm (0.3.15) -> v0.3.17
- @swc/core (dev-dep)(1.3.56) -> v1.3.61
Additional context
cc @brandonroberts :eyes:
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Contributing Docs
- [ ] I agree to follow this project's Contribution Docs