Skip to content

Latest commit

 

History

History
70 lines (37 loc) · 3.62 KB

CHANGELOG.md

File metadata and controls

70 lines (37 loc) · 3.62 KB

2.0.1 (2022-11-22)

Bug Fixes

2.0.0 (2022-11-03)

Features

  • insert/createRouter throws when function specified in the route does not exist in funcs obj (7ebe282)

BREAKING CHANGES

  • insert/createRouter now can throws

1.1.0 (2022-10-28)

Bug Fixes

Features

  • added ignore parameters option (63c4d14)

1.0.1 (2022-10-27)

Bug Fixes

1.0.0 (2022-10-27)

Bug Fixes

  • allow type checking to work with native Node16 Typescript ESM (#10) (3df7c15)

  • do not remove single / when removing trailing slash (2f5d6f0)

  • docs and release variable (c49411c)

  • ignore functional nodes (#12) (39bf05f)

  • refactor!: remove router.lookup all (1698876)

  • feat!: make strict trailing slash opt-in (#17) (961953c), closes #17

  • fix!: use map to access child keys (#15) (36afa3c), closes #15

Features

  • added immobiliarelabs standards (6a8951d)
  • added the possibility to add functions to match the route path (9c683ef)
  • match wildcard param (9498610)
  • named wildcard routes (2c681b4)
  • removed change log (6f3f21c)
  • route matcher (#16) (c84c770)
  • support unnamed placeholders with single * (5900b13)

BREAKING CHANGES

  • lookupAll is not available. use new toMatcher(router).matchAll
  • Ignore trailing slash by default. can be enabled back by passing strictTrailingSlash: true to createRouter options.
  • Internal children type is changed from object to array