Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the nest-js-core group with 4 updates #2277

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 20, 2025

Bumps the nest-js-core group with 4 updates: @nestjs/common, @nestjs/core, @nestjs/platform-express and @nestjs/testing.

Updates @nestjs/common from 10.4.15 to 11.0.3

Release notes

Sourced from @​nestjs/common's releases.

v11.0.0 (2025-01-16)

Article: coming soon 📆 Migration guide: https://docs.nestjs.com/migration-guide 👈 👈 👈

⚠️ Node v16 and v18 are no longer supported (>= v20 is required).

Features

  • common, core, microservices
    • #14142 feat(microservices): add status, unwrap, on methods to microservice transporters (clients/servers) (@​kamilmysliwiec)
  • common, core
    • #13336 feat(core): introduce different module opaque key factories (improve bootstrap performance) (@​kamilmysliwiec)
  • common, core, microservices, platform-express, platform-fastify, platform-socket.io, platform-ws, testing, websockets
    • #14238 chore(deps): upgrade to express v5, fastify v5, add legacy route path converter to minimize breaking changes (@​kamilmysliwiec)

Enhancements

Bug fixes

... (truncated)

Commits

Updates @nestjs/core from 10.4.15 to 11.0.3

Release notes

Sourced from @​nestjs/core's releases.

v11.0.0 (2025-01-16)

Article: coming soon 📆 Migration guide: https://docs.nestjs.com/migration-guide 👈 👈 👈

⚠️ Node v16 and v18 are no longer supported (>= v20 is required).

Features

  • common, core, microservices
    • #14142 feat(microservices): add status, unwrap, on methods to microservice transporters (clients/servers) (@​kamilmysliwiec)
  • common, core
    • #13336 feat(core): introduce different module opaque key factories (improve bootstrap performance) (@​kamilmysliwiec)
  • common, core, microservices, platform-express, platform-fastify, platform-socket.io, platform-ws, testing, websockets
    • #14238 chore(deps): upgrade to express v5, fastify v5, add legacy route path converter to minimize breaking changes (@​kamilmysliwiec)

Enhancements

Bug fixes

... (truncated)

Commits

Updates @nestjs/platform-express from 10.4.15 to 11.0.3

Release notes

Sourced from @​nestjs/platform-express's releases.

v11.0.0 (2025-01-16)

Article: coming soon 📆 Migration guide: https://docs.nestjs.com/migration-guide 👈 👈 👈

⚠️ Node v16 and v18 are no longer supported (>= v20 is required).

Features

  • common, core, microservices
    • #14142 feat(microservices): add status, unwrap, on methods to microservice transporters (clients/servers) (@​kamilmysliwiec)
  • common, core
    • #13336 feat(core): introduce different module opaque key factories (improve bootstrap performance) (@​kamilmysliwiec)
  • common, core, microservices, platform-express, platform-fastify, platform-socket.io, platform-ws, testing, websockets
    • #14238 chore(deps): upgrade to express v5, fastify v5, add legacy route path converter to minimize breaking changes (@​kamilmysliwiec)

Enhancements

Bug fixes

... (truncated)

Commits

Updates @nestjs/testing from 10.4.15 to 11.0.3

Release notes

Sourced from @​nestjs/testing's releases.

v11.0.0 (2025-01-16)

Article: coming soon 📆 Migration guide: https://docs.nestjs.com/migration-guide 👈 👈 👈

⚠️ Node v16 and v18 are no longer supported (>= v20 is required).

Features

  • common, core, microservices
    • #14142 feat(microservices): add status, unwrap, on methods to microservice transporters (clients/servers) (@​kamilmysliwiec)
  • common, core
    • #13336 feat(core): introduce different module opaque key factories (improve bootstrap performance) (@​kamilmysliwiec)
  • common, core, microservices, platform-express, platform-fastify, platform-socket.io, platform-ws, testing, websockets
    • #14238 chore(deps): upgrade to express v5, fastify v5, add legacy route path converter to minimize breaking changes (@​kamilmysliwiec)

Enhancements

Bug fixes

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 20, 2025
@dependabot dependabot bot requested a review from a team as a code owner January 20, 2025 21:18
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/nest-js-core-e18e9c57c1 branch 3 times, most recently from c1ed76e to 19ed08c Compare January 21, 2025 05:34
Bumps the nest-js-core group with 4 updates: [@nestjs/common](https://github.com/nestjs/nest/tree/HEAD/packages/common), [@nestjs/core](https://github.com/nestjs/nest/tree/HEAD/packages/core), [@nestjs/platform-express](https://github.com/nestjs/nest/tree/HEAD/packages/platform-express) and [@nestjs/testing](https://github.com/nestjs/nest/tree/HEAD/packages/testing).


Updates `@nestjs/common` from 10.4.15 to 11.0.3
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits/v11.0.3/packages/common)

Updates `@nestjs/core` from 10.4.15 to 11.0.3
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits/v11.0.3/packages/core)

Updates `@nestjs/platform-express` from 10.4.15 to 11.0.3
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits/v11.0.3/packages/platform-express)

Updates `@nestjs/testing` from 10.4.15 to 11.0.3
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits/v11.0.3/packages/testing)

---
updated-dependencies:
- dependency-name: "@nestjs/common"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: nest-js-core
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: nest-js-core
- dependency-name: "@nestjs/platform-express"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: nest-js-core
- dependency-name: "@nestjs/testing"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: nest-js-core
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/nest-js-core-e18e9c57c1 branch from 19ed08c to b3b6b59 Compare January 21, 2025 05:36
@iamacook iamacook self-assigned this Jan 21, 2025
"@nestjs/schedule": "^4.1.2",
"@nestjs/serve-static": "^4.0.2",
"@nestjs/serve-static": "^5.0.1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to update this here as the package otherwise prevents startup. Internally, it has an unexpected * path, which goes against the new path-to-regexp requirements. This stems from Express v5.

@@ -129,7 +129,7 @@ export class AppModule implements NestModule {
// Excludes the paths under '/' (base url) from being served as static content
// If we do not exclude these paths, the service will try to find the file and
// return 500 for files that do not exist instead of a 404
exclude: ['/(.*)'],
exclude: ['{*any}'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The excluded paths are passed to path-to-regexp, which no longer accepts certain unexpected characters. This stems from Express v5.

@@ -181,6 +181,6 @@ export class AppModule implements NestModule {
// The ClsMiddleware needs to be applied before the LoggerMiddleware
// in order to generate the request ids that will be logged afterward
.apply(ClsMiddleware, NotFoundLoggerMiddleware)
.forRoutes({ path: '*', method: RequestMethod.ALL });
.forRoutes({ path: '{*any}', method: RequestMethod.ALL });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

path-to-regexp no longer accpets unexpected * paths. This stems from Express v5.

@@ -58,6 +59,10 @@ export const DEFAULT_CONFIGURATION: Array<(app: INestApplication) => void> = [
configureCookies,
];

// Not exported outside {@link NestFactoryStatic} as of v11.0.3
// @see https://github.com/nestjs/nest/blob/bab9ed65e8d33d3304204e5c1ed0c74e2b5a90b5/packages/core/nest-factory.ts#L33
export type IEntryNestModule = Parameters<NestFactoryStatic['create']>[0];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not exported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant