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 express from 4.19.2 to 4.20.0 in /producer #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 24, 2024

Bumps express from 4.19.2 to 4.20.0.

Release notes

Sourced from express's releases.

4.20.0

What's Changed

Important

  • IMPORTANT: The default depth level for parsing URL-encoded data is now 32 (previously was Infinity)
  • Remove link renderization in html while using res.redirect

Other Changes

New Contributors

Full Changelog: expressjs/express@4.19.1...4.20.0

Changelog

Sourced from express's changelog.

4.20.0 / 2024-09-10

  • deps: [email protected]
    • Remove link renderization in html while redirecting
  • deps: [email protected]
    • Remove link renderization in html while redirecting
  • deps: [email protected]
    • add depth option to customize the depth level in the parser
    • IMPORTANT: The default depth level for parsing URL-encoded data is now 32 (previously was Infinity)
  • Remove link renderization in html while using res.redirect
  • deps: [email protected]
    • Adds support for named matching groups in the routes using a regex
    • Adds backtracking protection to parameters without regexes defined
  • deps: encodeurl@~2.0.0
    • Removes encoding of \, |, and ^ to align better with URL spec
  • Deprecate passing options.maxAge and options.expires to res.clearCookie
    • Will be ignored in v5, clearCookie will set a cookie with an expires in the past to instruct clients to delete the cookie
Commits

Dependabot compatibility score

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.

Summary by Sourcery

Build:

  • Update express dependency from version 4.19.2 to 4.20.0 in the producer project.

Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.20.0.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.19.2...4.20.0)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 24, 2024
Copy link

sourcery-ai bot commented Oct 24, 2024

Reviewer's Guide by Sourcery

This PR updates the Express.js dependency from version 4.19.2 to 4.20.0. The update includes several important changes to URL-encoded data parsing, cookie handling, and URL encoding behavior. It also includes security improvements and dependency updates.

Class diagram for updated Express.js dependencies

classDiagram
    class Express {
        - version: 4.19.2
        + version: 4.20.0
    }
    class BodyParser {
        - version: 1.20.2
        + version: 1.20.3
        + depth: int
    }
    class EncodeUrl {
        - version: 1.0.2
        + version: 2.0.0
    }
    class MergeDescriptors {
        - version: 1.0.1
        + version: 1.0.3
    }
    class PathToRegexp {
        - version: 0.1.7
        + version: 0.1.10
    }
    class Send {
        - version: 0.18.0
        + version: 0.19.0
    }
    class ServeStatic {
        - version: 1.15.0
        + version: 1.16.0
    }
    Express --> BodyParser
    Express --> EncodeUrl
    Express --> MergeDescriptors
    Express --> PathToRegexp
    Express --> Send
    Express --> ServeStatic
Loading

File-Level Changes

Change Details Files
Changed default depth level for URL-encoded data parsing
  • Default depth level for parsing URL-encoded data is now 32 (previously was Infinity)
  • Added depth option to customize the parsing depth level
producer/pnpm-lock.yaml
Updated cookie handling behavior
  • Deprecated options.maxAge and options.expires in res.clearCookie
  • In Express v5, clearCookie will set a cookie with expires in the past
producer/pnpm-lock.yaml
Modified URL encoding behavior
  • Removed encoding of ,
, and ^ characters to better align with URL spec
  • Updated encodeurl dependency to version 2.0.0
  • Enhanced route handling capabilities
    • Added support for named matching groups in routes using regex
    • Added backtracking protection to parameters without regexes defined
    • Updated path-to-regexp to version 0.1.10
    producer/pnpm-lock.yaml
    Updated HTML redirect behavior
    • Removed link renderization in HTML while using res.redirect
    • Updated serve-static to version 0.16.0 and send to version 0.19.0
    producer/pnpm-lock.yaml

    Tips and commands

    Interacting with Sourcery

    • Trigger a new review: Comment @sourcery-ai review on the pull request.
    • Continue discussions: Reply directly to Sourcery's review comments.
    • Generate a GitHub issue from a review comment: Ask Sourcery to create an
      issue from a review comment by replying to it.
    • Generate a pull request title: Write @sourcery-ai anywhere in the pull
      request title to generate a title at any time.
    • Generate a pull request summary: Write @sourcery-ai summary anywhere in
      the pull request body to generate a PR summary at any time. You can also use
      this command to specify where the summary should be inserted.

    Customizing Your Experience

    Access your dashboard to:

    • Enable or disable review features such as the Sourcery-generated pull request
      summary, the reviewer's guide, and others.
    • Change the review language.
    • Add, remove or edit custom review instructions.
    • Adjust other review settings.

    Getting Help

    Copy link

    @sourcery-ai sourcery-ai bot left a comment

    Choose a reason for hiding this comment

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

    We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

    Copy link

    sweep-ai bot commented Oct 27, 2024

    Hey @dependabot[bot], here are examples of how you can ask me to improve this pull request:

    @Sweep Fix the CI errors.
    @Sweep Add unit tests to verify the new default `depth` level of 32 for URL-encoded data parsing behaves correctly and doesn't break existing functionality.

    📖 For more information on how to use Sweep, please read our documentation.

    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