Skip to content

Releases: anuragsoni/routes

0.7.1

23 Mar 04:04
Compare
Choose a tag to compare

CHANGES:

  • Use bisect_ppx to generate coverage reports (#95)
  • Lower version constraint for dune and ocaml. Minimum versions needed are now dune 1.0 and OCaml 4.05.0 (#99, #100)

0.7.0

21 Mar 03:02
Compare
Choose a tag to compare

CHANGES:

This is a breaking release:

  • Reduce the number of combinators to two. '/' and '/?' (#80)
  • Routes are now bi-directional. They can be used for matching, and for printing via a sprintf style function (#80)
  • Its now possible to configure trailing slash on individual routes (#89)
  • Remove HTTP method handling (#92)
  • dune version needs to be >= 2.1

0.6.0

20 Dec 01:56
Compare
Choose a tag to compare

CHANGES:

  • Improve mdx test tules (#73, @NathanReb)
  • Use github actions instead of travis ci (#70, #72)
  • Get human readable route pattern from a route (#64, #74)
  • Allow writing custom path match patterns (#76)

0.5.2

09 Aug 22:09
9caea9f
Compare
Choose a tag to compare

CHANGES:

  • Support custom HTTP methods via Other of string (#58 , @sazarkin)

0.5.1

16 Jul 12:18
d6de1d5
Compare
Choose a tag to compare

CHANGES:

  • Allow user to decide if they want to keep or ignore trailing slash (#50)

0.5.0

16 May 02:38
Compare
Choose a tag to compare

CHANGES:

  • Flatten nested skip-left actions.
  • Group routes based on the HTTP verb.
  • Use a trie based path matcher.
  • Add micro-benchmark suite.

0.4.1

04 May 21:52
Compare
Choose a tag to compare

CHANGES:

0.4.0

01 May 02:16
Compare
Choose a tag to compare

CHANGES:

  • Switch to using an applicative functor as parser. (#27)
  • Have a version of matching without HTTP methods. (#27)
  • Tokenize the path parameters into list of strings. (#27)
  • Add more tests for matchers. (#28)
  • s now returns the string it matches, instead of discarding it. (#29)

0.3.0

21 Apr 03:18
Compare
Choose a tag to compare

CHANGES:

  • Extract string operations to its own module (#14)
  • Drop dependency on astring (#16)
  • Add pretty printers for utop (#18)
  • Accept a request that is in-turn forwarded to handlers (#22)
  • Use mdx to test examples in the readme file (#23)

0.2.0

08 Apr 00:27
Compare
Choose a tag to compare

CHANGES:

  • Switched to a GADT representation of routes
  • Add support for using the same route type for both parsing and a sprintf like function