Skip to content

v1.2.0

Latest
Compare
Choose a tag to compare
@jorbriib jorbriib released this 05 May 15:26
· 3 commits to master since this release
7273993

Enhancements

  • Optimize URL generation using strings.Builder package (#24)
  • Deprecates router As method (#25)
  • Generates default route names on the register method and ensures unique key with a name collision strategy (#31)

Features

  • Adds MatchingOptions type for registering routes (#25)
  • Route matching by the host (#26)
  • Adds route matching by URL schemas (#27)
  • Adds matching by headers (#28)
  • Adds route matching by query params and by custom function (#29)
  • Adds a method to serve static files from a directory for a path prefix (#30)
  • Adds configuration for the router and enable head auto-generated false by default (#33)
  • Adds auto method options option to router configuration (#34)
  • Adds configurable option to auto-generate the method not allowed (#35)
  • Adds redirect method to the external or internal path (#36)
  • Adds middleware pipe struct (#39)

Maintenance tasks

  • Adds go 1.15 and 1.16 to Travis build (#32)
  • Enables Codecov metrics on ci build (#38)
  • Adds missing tests to increase the coverage (#40)

Fixes

  • Fixes lexer scan infinite loop when processing Unicode and not allowed special chars (#37)