Michael Snoyman
a3d9a13abe
Proper handling of impure exceptions within HandlerError values
2016-06-22 18:24:18 +03:00
Erik de Castro Lopo
226c381baa
yesod-core: Make it work with ghc-8.0
...
Use CPP hackery to make it compile with ghc-8.0 and ghc 7.10. If
ghc-7.10 works, I assume earlier supported versions of GHC also
work. All tests pass with both GHC versions.
Unfortunately, the TH changes force changes in the type signature
of Yesod.Routes.TH.RenderRoute.mkRouteCons from:
mkRouteCons :: [ResourceTree Type] -> ([Con], [Dec])
to
mkRouteCons :: [ResourceTree Type] -> Q ([Con], [Dec])
and I can't see a way around that.
2016-04-19 14:52:03 +10:00
Michael Snoyman
e663e84caf
Deprecate setHeader, provide addHeader #524
2013-04-03 17:28:44 +03:00
Michael Snoyman
1d0cac6e03
TypedContent
2013-03-11 10:45:01 +02:00
Michael Snoyman
1bd193f642
Initial YesodRequest/YesodRespnse change
2013-03-10 11:58:29 +02:00
Simon Hengel
dfae661878
Adept Hspec tests for forward compatibility
...
* Don't use hspecX, it's deprecated.
* Do not import Test.Hspec.HUnit. It's no longer necessary and may be
removed in the future.
2012-10-16 14:44:58 +02:00
Michael Snoyman
df5018a94c
hspec 1.3
2012-08-03 15:40:36 +03:00
Simon Hengel
653ffd02fb
yesod-core: Adapt tests for hspec-1.1
...
This is not strictly necessary, the `UnevaluatedSpec` is merely
deprecated. But it is a good idea anyway.
2012-05-07 07:43:28 +02:00
Mark Wright
9f4c92f181
yesod-core changes for hspec 1.0
2012-05-06 12:18:49 +10:00
gregwebs
47b89724e8
Revert "fix tests: import Yesod.Core hiding (Session)"
...
This reverts commit f548a4c566 .
2012-03-25 13:31:02 -07:00
gregwebs
f548a4c566
fix tests: import Yesod.Core hiding (Session)
2012-03-25 08:08:19 -07:00
Michael Snoyman
4dd9880389
Approot
2012-02-09 09:08:06 +02:00
Michael Snoyman
95b6678e9f
Changed to new redirect system ( #202 )
2012-01-07 21:53:58 +02:00
Michael Snoyman
09d26f8099
Adding failing test case: headers after redirect
2011-12-06 13:49:26 +02:00
Greg Weber
236d55f00b
fix yesod mega
2011-11-26 10:44:56 -06:00