scotty-web / scotty

Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp (Official Repository)
http://hackage.haskell.org/package/scotty
BSD 3-Clause "New" or "Revised" License
1.71k stars 132 forks source link

bugfix release v 0.20.1 #326

Closed ocramz closed 9 months ago

ocramz commented 9 months ago

closes #325 , closes #323

RyanGlScott commented 9 months ago

Thanks!

I do think it's worth raising the upper version bounds on base if you don't intend to test pre-8.10 versions of GHC. Otherwise, it's quite easy for build errors to sneak in.

ocramz commented 9 months ago

OK I've also re-added the 'MonadError' instance which is also missing in 0.20, but in a specialized form since ActionT does not use checked exceptions.

ocramz commented 9 months ago

@RyanGlScott could you check the instance implementations when you have a minute? I think the overall new design of exceptions is pretty coherent but I'd love your input on this.

ocramz commented 9 months ago

Thanks @RyanGlScott !