Skip to content

v2.3.2

Latest

Choose a tag to compare

@timriley timriley released this 01 Dec 13:45
· 40 commits to main since this release
v2.3.2
c24f544

Fixed

  • Fix a memory leak where the router kept every request path it received in memory. (@aaronmallen in #312)

Security

  • Apply a scope's middleware to all of its paths when it contains a nested scope or slice with its own middleware. Previously, paths in the outer scope that weren't in the nested scope skipped the outer scope's middleware, such as authentication. (@parndt in GHSA-73j7-6jvw-2v7g)
  • Stop concurrent requests to the same route from receiving each other's path params. Matching a route stored the captured params on the route itself, so a thread switch between matching and reading them could give one request another's params. (@parndt in GHSA-wgjv-fq27-94m7)

Compare v2.3.1 ... v2.3.2