Skip to content

Update dependency polka to v1.0.0-next.22 - autoclosed#393

Closed
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/polka-1.x
Closed

Update dependency polka to v1.0.0-next.22 - autoclosed#393
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/polka-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Oct 20, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
polka 1.0.0-next.15 -> 1.0.0-next.22 age adoption passing confidence

Release Notes

lukeed/polka

v1.0.0-next.22

Compare Source

Patches

  • (polka) Ensure error.status is numeric before assigning as status code (#​178): 8448ac0
    Thank you @​lovasoa

  • (polka) Ensure error.status is 3-digit status code: 561558b

v1.0.0-next.21

Compare Source

Breaking

  • (polka) Remove code property support for next() errors: f95a5b4
    Previously any errors or custom error-objects could use the code property to set the response status code. However, this could pose a problem with native Error types that set an error code (eg, "ENOENT") which is an invalid status code.

    Now you must use the status property, which was always supported, but took a backseat to code's existence. Express also supports the status property.
    next({
    -- code: 422,
    ++ status: 422,
       message: 'Invalid content',
    });

Chores

  • (@polka/url) Accomodate an updated error message in test expectant: d30d448

v1.0.0-next.20

Compare Source

Breaking

  • (@polka/url): Remove toDecode parameter (#​175): e45fe88
    Apparently no one was using it except for me 😆 so I removed it as it was causing cache/mutation conflicts in rare cases downstream.

v1.0.0-next.19

Compare Source

v1.0.0-next.18

Compare Source

v1.0.0-next.17

Compare Source

Patches

  • (@polka/url): Ensure toDecode value is considered during req._parsedUrl cache match: f64b4bb
    For example, if you parse a URL without decoding it, that previous result should not be reused if you call parse again w/ toDecode set to true this time. Should be true for the reverse situation too.

v1.0.0-next.16

Compare Source

Breaking

  • No longer automatically decodes req.url and req.path values anymore (#​172): 6ef32a6, 363e1f6
    Previously, these properties had already passed through decodeURIComponent, which could affect Polka's own routing (#​142) or external middleware that always expected req.path and/or req.url to remain percent-encoded.

    However, all req.params values are still decoded!

    This change aligns Polka with the default Express decoding behavior.

Chores

  • (url): Mention toDecode parameter in @polka/url README (#​168): 363e1f6

Configuration

📅 Schedule: "before 3am on the first day of the month" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/polka-1.x branch from bda5fbb to 893110f Compare November 19, 2021 20:26
@renovate renovate bot changed the title Update dependency polka to v1.0.0-next.22 Update dependency polka to v1.0.0-next.22 - autoclosed May 8, 2023
@renovate renovate bot closed this May 8, 2023
@renovate renovate bot deleted the renovate/polka-1.x branch May 8, 2023 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant