Breaking
-
Changed matching behavior of optional wildcard routes (eg;
/books/*?
): 0f4d4a6
Seeregexparam@3.0
release notes for more info. -
Changed the
context.params
wildcard value key from"wild"
to"*"
: d770b39
Seeregexparam@3.0
release notes for more info.API.add('GET', '/foo/*', (req, context) => { -- let value = context.params.wild; ++ let value = context.params['*']; });
Full Changelog: v0.8.0-next.16...v0.8.0-next.18