Skip to content

Commit 4b60809

Browse files
Update migration.md
1 parent d81f496 commit 4b60809

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/migration.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ This article provides a set of guidelines for migrating from Nest version 9 to v
44
To learn more about the new features we've added in v10, check out this [article](https://trilon.io/blog/nestjs-10-is-now-available).
55
There were some very minor breaking changes that shouldn't affect most users - you can find the full list of them [here](https://github.com/nestjs/nest/releases/tag/v10.0.0).
66

7-
### Upgrading packages
7+
#### Upgrading packages
88

99
While you can upgrade your packages manually, we recommend using [ncu (npm check updates)](https://npmjs.com/package/npm-check-updates).
1010

11-
### Cache module
11+
#### Cache module
1212

1313
The `CacheModule` has been removed from the `@nestjs/common` package and is now available as a standalone package - `@nestjs/cache-manager`. This change was made to avoid unnecessary dependencies in the `@nestjs/common` package. You can learn more about the `@nestjs/cache-manager` package [here](https://docs.nestjs.com/techniques/caching).
1414

15-
### Deprecations
15+
#### Deprecations
1616

1717
All deprecated methods & modules have been removed.
1818

19-
### CLI Plugins and TypeScript >= 4.8
19+
#### CLI Plugins and TypeScript >= 4.8
2020

2121
NestJS CLI Plugins (available for `@nestjs/swagger` and `@nestjs/graphql` packages) will now require TypeScript >= v4.8 and so older versions of TypeScript will no longer be supported. The reason for this change is that in [TypeScript v4.8 introduced several breaking changes](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-8.html#decorators-are-placed-on-modifiers-on-typescripts-syntax-trees) in its Abstract Syntax Tree (AST) which we use to auto-generate OpenAPI and GraphQL schemas.
2222

23-
### Dropping support for Node.js v12
23+
#### Dropping support for Node.js v12
2424

2525
As of NestJS 10, we no longer support Node.js v12, as [v12 went EOL](https://twitter.com/nodejs/status/1524081123579596800) on April 30, 2022. This means that NestJS 10 requires Node.js v16 or higher. This decision was made to allow us to finally set target to `ES2021` in our TypeScript configuration, instead of shipping polyfills as we did in the past.
2626

0 commit comments

Comments
 (0)