Announcing the latest release of
This release includes a few bug fixes, new features (WAI applications nested under endpoints! cookie support!) as well as a big refactoring of the ActionT type and the overall exception system as well as a bunch of new tests. Overall the library should be easier to build upon and evolve going forward.
- Drop support for GHC < 8.10 and modernise the CI pipeline (haskell-ci: drop GHCs older than 8.10 and modernise the workflow by fumieval · Pull Request #300 · scotty-web/scotty · GitHub).
- Adds a new
nestedhandler that allows you to place an entire WAI Application under a Scotty route (Nested WAI Applications under Scotty Routes by sordina · Pull Request #233 · scotty-web/scotty · GitHub).
- Disambiguate request parameters (Ambiguous params, differentiate Capture, Query String and Form Data · Issue #204 · scotty-web/scotty · GitHub). Adjust the
Envtype to have three
[Param]fields instead of one, add
queryParamand the associated
queryParams. Add deprecation notices to
- Change body parsing behaviour such that calls to
nextdon’t result in POST request bodies disappearing (Request body is preserved across 'next' calls #147 by ocramz · Pull Request #308 · scotty-web/scotty · GitHub).
ActionTusing the “ReaderT pattern” (Refactor ActionT to use ReaderT pattern by ocramz · Pull Request #314 · scotty-web/scotty · GitHub) https://www.fpcomplete.com/blog/readert-design-pattern/
Thank you to all contributors who supported and grew this wonderful little web framework throughout the years.