Skip to content

v1.2.0

Compare
Choose a tag to compare
@elithrar elithrar released this 17 Jan 07:16

Summary:

  • PathPrefix now supports defining an index path by calling PathPrefix("/foo") and defining a route as /
  • Documented the regex support - capture groups should not be provided.
  • Fix encoded path & variable extraction bugs.

CHANGELOG:

b128961 Merge pull request #199 from wirehead/minor-doc-tweek
34dda71 Merge pull request #215 from ShaneSaww/fix_for_subroutes_with_pathPrefix
b9ff34f Adding some extra tests, to hit all the use cases
293ebe1 Adding in a check for routes with just /
910dd3a Remove unnecessary line from example
239e05f Clarify how route variables work. (#151)
757bef9 Merge pull request #196 from olt/doc-non-capture-groups
14f5df0 document non-capturing groups (closes #143)
0a192a1 Add useEncodedPath option to router and routes (#190)
0b13a92 Simplify extractVars, fixes edge cases. (#185)