- Fix handling of patterns with leading slash
- Make variables not greedy
let pattern = new RoutePattern('/:id(.json)')
// Before :id was greedy and would consume ".json"
pattern.match('https://remix.run/123.json')
// { params: { id: '123.json' } }
// After
pattern.match('https://remix.run/123.json')
// { params: { id: '123' } }
- Allow search params values to have type
string | number | bigint | boolean
and automatically stringify