Skip to content

v1.0.0-next.16

Pre-release
Pre-release
Compare
Choose a tag to compare
@lukeed lukeed released this 13 Aug 22:14

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