Changelog for servant-checked-exceptions-2.2.0.1
2.2.0.1
- Fix small import problem in the tests. #38
2.2.0.0
-
Add the
EnvelopeTmonad transformer. #32 -
Add a few combinators for
Envelope:envelopeRemoveenvelopeHandlerelaxEnvelopeliftA2EnvelopebindEnvelope
-
Add an example of using
EnvelopeTinservant-checked-exceptions/example/EnvelopeT.hs. #32
2.1.0.0
- Add support for servant-0.16 and remove support for all previous version of servant. #31 Thanks Schell Carl Scivally!
2.0.0.0
-
Split into two package
servant-checked-exceptions-coreandservant-checked-exceptions. The former defines the core types and functions for using checked exceptions in a servant API; the latter reexports the former and adds instances forHasServerandHasClient. The rationale is described further in issue 25Most users should only depend on
servant-checked-exceptions. But users who need access to core types without incurring a dependency onservant-serverandservant-clientcan depend onservant-checked-exceptions-coreinstead. -
Split
Exceptionsmodule intoEnvelopeandVerbsinservant-checked-exceptions-core, for better module organization. More information in issue 18
1.1.0.0
- Updated the servant dependency to >= 0.12.
1.0.0.0
- Add a
ErrStatusclass that can be used to set the HTTP Status Code. Given an endpoint that returns aEnvelope '[e1, e2] a, you must declare an instance ofErrStatusfore1ande2. This is a breaking change.
0.4.1.0
- Add
NoThrowtype to represent handlers that don't throw any errors, but do return a result wrapped in anEnvelope.