Skip to content

chore(deps): bump express, @liaoliaots/nestjs-redis, @nestjs/core, @nestjs/platform-express, @nestjs/swagger and @nestjs/testing#9

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/multi-d8df6057f5
Open

chore(deps): bump express, @liaoliaots/nestjs-redis, @nestjs/core, @nestjs/platform-express, @nestjs/swagger and @nestjs/testing#9
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/multi-d8df6057f5

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Feb 14, 2025

Bumps express to 5.0.1 and updates ancestor dependencies express, @liaoliaots/nestjs-redis, @nestjs/core, @nestjs/platform-express, @nestjs/swagger and @nestjs/testing. These dependencies need to be updated together.

Updates express from 4.18.2 to 5.0.1

Release notes

Sourced from express's releases.

5.0.1

What's Changed

Full Changelog: expressjs/express@v5.0.0...5.0.1

5.0.0

Express v5.0.0

🎉 Express v5 is finally here! 🎉

After years of development, the long-awaited Express v5 has been officially released. This version focuses on simplifying the codebase, improving security, and dropping support for older Node.js versions to enable better performance and maintainability.

For detailed information, please check out the official Express v5 release blog post.

Most relevant details

Major Changes in v5

  • Node.js version support: Dropped support for Node.js versions before v18.
  • Routing changes: Updated to path-to-regexp@8.x, removing sub-expression regex patterns for security reasons (ReDoS mitigation).
  • Promise support: Middleware can now return rejected promises, caught by the router as errors.
  • body-parser changes: Several improvements including the ability to customize urlencoded body depth and defaulting extended to false.
  • Deprecated API methods removed: Removed old, deprecated API method signatures from Express v3/v4.

For a complete list of breaking changes and API deprecations, see the migration guide.

Security Updates

This release includes important security fixes, including improvements to prevent ReDoS attacks and mitigation for CVE-2024-45590. Full details can be found in the security release notes.

Migration

Be sure to check out our migration guide for instructions on how to update your applications from Express v4 to v5.

Security Guidance

For best practices, we recommend reviewing the Threat Model which outlines Express' approach to securing your applications, including tips for user input validation and other critical aspects.

What's Changed

... (truncated)

Changelog

Sourced from express's changelog.

5.0.1 / 2024-10-08

5.0.0 / 2024-09-10

  • remove:
    • path-is-absolute dependency - use path.isAbsolute instead
  • breaking:
    • res.status() accepts only integers, and input must be greater than 99 and less than 1000
      • will throw a RangeError: Invalid status code: ${code}. Status code must be greater than 99 and less than 1000. for inputs outside this range
      • will throw a TypeError: Invalid status code: ${code}. Status code must be an integer. for non integer inputs
    • deps: send@1.0.0
    • res.redirect('back') and res.location('back') is no longer a supported magic string, explicitly use req.get('Referrer') || '/'.
  • change:
    • res.clearCookie will ignore user provided maxAge and expires options
  • deps: cookie-signature@^1.2.1
  • deps: debug@4.3.6
  • deps: merge-descriptors@^2.0.0
  • deps: serve-static@^2.1.0
  • deps: qs@6.13.0
  • deps: accepts@^2.0.0
  • deps: mime-types@^3.0.0
    • application/javascript => text/javascript
  • deps: type-is@^2.0.0
  • deps: content-disposition@^1.0.0
  • deps: finalhandler@^2.0.0
  • deps: fresh@^2.0.0
  • deps: body-parser@^2.0.1
  • deps: send@^1.1.0

5.0.0-beta.3 / 2024-03-25

This incorporates all changes after 4.19.1 up to 4.19.2.

5.0.0-beta.2 / 2024-03-20

This incorporates all changes after 4.17.2 up to 4.19.1.

5.0.0-beta.1 / 2022-02-14

This is the first Express 5.0 beta release, based off 4.17.2 and includes changes from 5.0.0-alpha.8.

  • change:
    • Default "query parser" setting to 'simple'

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by ulisesgascon, a new releaser for express since your current version.


Updates @liaoliaots/nestjs-redis from 9.0.5 to 10.0.0

Release notes

Sourced from @​liaoliaots/nestjs-redis's releases.

v10.0.0

BREAKING CHANGE:

  • This lib require Node.js >= 16.13.0 (first LTS version), NestJS ^10, ioredis ^ 5
  • In some cases InjectRedis and InjectCluster won't handle dependencies correctly(for example: a module import RedisModule and re-export it will cause "Cannot resolve dependency" error) thus leading to errors and there is no better solution so InjectRedis and InjectCluster was removed and please use RedisService & ClusterService instead which is the most stable solution.
  • RedisService & ClusterService has two instance methods:
    • getOrThrow: Retrieves a redis|cluster connection by namespace. However, if the query does not find a connection, it returns ClientNotFoundError: No Connection found error.
    • getOrNil: Retrieves a redis|cluster connection by namespace, if the query does not find a connection, it returns null;

Bug Fixes

Others

  • add exports, type field for modern Node.js
  • bump tslib dependency to 2.7.0

v10.0.0-alpha.3 - Pre Release

  • new TypeScript build options, "module": "Node16", "moduleResolution": "Node16"
  • add exports type field in package.json for modern Node.js
  • this lib requires Node.js>=16.13.0 (the first lts version) or higher
  • publish test

v10.0.0-alpha.2 - Incoming Changes

  • This lib support both node-redis and ioredis, the minimum required version is node-redis^4.1.0, ioredis^5.0.0.
  • In some cases InjectRedis and InjectCluster won't handle dependencies correctly(for example: a module import RedisModule and re-export it will cause "Cannot resolve dependency" error) thus leading to errors and there is no better solution so InjectRedis and InjectCluster will be removed and please use RedisManager&ClusterManager instead which is the most stable solution.
Commits

Updates @nestjs/core from 9.2.1 to 11.0.9

Release notes

Sourced from @​nestjs/core's releases.

v11.0.9 (2025-02-10)

Bug fixes

Committers: 2

v11.0.8 (2025-02-06)

Bug fixes

Committers: 4

v11.0.7 (2025-01-31)

Bug fixes

Committers: 1

v11.0.6 (2025-01-27)

Bug fixes

Committers: 1

v11.0.5 (2025-01-23)

Bug fixes

Committers: 1

... (truncated)

Commits
  • 3c276c9 chore(@​nestjs) publish v11.0.9 release
  • 1414e2c fix: skip root module if undefined
  • fececd2 Update packages/core/scanner.ts
  • 8dca14e test: early return when imports undefined
  • 2bdec35 style: disable no-this-alias for tree-node
  • 1832c9e test: early return when imports undefined
  • 5703250 chore: rename method name
  • 059e817 fix: stop on cycles
  • 3179609 refactor: dont track node depth
  • c743c74 perf(core): use topology tree for calculating distance
  • Additional commits viewable in compare view

Updates @nestjs/platform-express from 9.2.1 to 11.0.9

Release notes

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

v11.0.9 (2025-02-10)

Bug fixes

Committers: 2

v11.0.8 (2025-02-06)

Bug fixes

Committers: 4

v11.0.7 (2025-01-31)

Bug fixes

Committers: 1

v11.0.6 (2025-01-27)

Bug fixes

Committers: 1

v11.0.5 (2025-01-23)

Bug fixes

Committers: 1

... (truncated)

Commits

Updates @nestjs/swagger from 6.1.4 to 11.0.3

Release notes

Sourced from @​nestjs/swagger's releases.

Release 11.0.3

11.0.3 (2025-01-23)

Bug fixes

Committers: 1

Release 11.0.2

Changelog

Release 11.0.1

11.0.1 (2025-01-17)

Dependencies

Release 11.0.0

11.0.0 (2025-01-16)

Breaking changes

This version is only compatible with @nestjs/{core,common,platform-express,platform-fastify,...} >= v11

Enhancements

Dependencies

Committers: 2

Release 8.1.1

Unreleased (2025-01-10)

Bug fixes

  • #3232 fix: missing ApiProperty enum undefined handling (@​nxht)
  • #3223 fix: swagger crashed while using any Param/Query/Body decorator in a monorepo with pnpm (@​winuxx)

Dependencies

... (truncated)

Commits
  • 5966b65 chore(): release v11.0.3
  • 7e6f5bf Merge pull request #3264 from degradingsky746/fix/class-validator-isuuid-casing
  • 3b8ead5 fix: incorrect IsUuid class-validator decorator not generating pattern uuid
  • 5fdc39c chore(deps): update nest monorepo to v11.0.4 (#3263)
  • 945180c chore(deps): update dependency typescript-eslint to v8.21.0 (#3260)
  • cce6ee5 chore(deps): update nest monorepo to v11.0.3 (#3257)
  • 87c914c chore: upgrade to eslint v9
  • ba3f0bf Merge pull request #3256 from nestjs/renovate/nest-monorepo
  • 522a375 chore(deps): update nest monorepo to v11.0.2
  • e5f4794 chore(): release v11.0.2
  • Additional commits viewable in compare view

Updates @nestjs/testing from 9.2.1 to 11.0.9

Release notes

Sourced from @​nestjs/testing's releases.

v11.0.9 (2025-02-10)

Bug fixes

Committers: 2

v11.0.8 (2025-02-06)

Bug fixes

Committers: 4

v11.0.7 (2025-01-31)

Bug fixes

Committers: 1

v11.0.6 (2025-01-27)

Bug fixes

Committers: 1

v11.0.5 (2025-01-23)

Bug fixes

Committers: 1

... (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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

…estjs/platform-express, @nestjs/swagger and @nestjs/testing

Bumps [express](https://github.com/expressjs/express) to 5.0.1 and updates ancestor dependencies [express](https://github.com/expressjs/express), [@liaoliaots/nestjs-redis](https://github.com/liaoliaots/nestjs-redis), [@nestjs/core](https://github.com/nestjs/nest/tree/HEAD/packages/core), [@nestjs/platform-express](https://github.com/nestjs/nest/tree/HEAD/packages/platform-express), [@nestjs/swagger](https://github.com/nestjs/swagger) and [@nestjs/testing](https://github.com/nestjs/nest/tree/HEAD/packages/testing). These dependencies need to be updated together.


Updates `express` from 4.18.2 to 5.0.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.2...5.0.1)

Updates `@liaoliaots/nestjs-redis` from 9.0.5 to 10.0.0
- [Release notes](https://github.com/liaoliaots/nestjs-redis/releases)
- [Commits](liaoliaots/nestjs-redis@v9.0.5...v10.0.0)

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

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

Updates `@nestjs/swagger` from 6.1.4 to 11.0.3
- [Release notes](https://github.com/nestjs/swagger/releases)
- [Changelog](https://github.com/nestjs/swagger/blob/master/.release-it.json)
- [Commits](nestjs/swagger@6.1.4...11.0.3)

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

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
- dependency-name: "@liaoliaots/nestjs-redis"
  dependency-type: direct:production
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
- dependency-name: "@nestjs/platform-express"
  dependency-type: direct:production
- dependency-name: "@nestjs/swagger"
  dependency-type: direct:production
- dependency-name: "@nestjs/testing"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Feb 14, 2025
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants