Changelog for servant-activeresource-0.2.0.0
Revision history for servant-activeresource
0.2.0.0 -- 2025-06-24
-
ResourceData
andStoredResourceData
are now standalone type families. This is valuable if you want to split the definition of your API types from their implementation, for example if you're usingservant-openapi3
to generate OpenAPI documentation for your API, and you don't want to recompile the API modules every time you tweak an endpoint implementation. -
The
Resource
typeclass no longer exists. Instead, a Haskell recordResourceOperations
has been added, which holds the CRUDL operations on a resource.- Added
hoistResourceOperations
to apply a natural transformation to aResourceOperations
.
- Added
-
There is no longer any need for Template Haskell.
makeResourceServerT
has been replaced withmakeResourceRoutesT
, which is a non-TH function that operates onResourceOperations
. -
Added
makeResourceRoutes
, a version ofmakeResourceRoutesT
specialised toHandler
.
0.1.0.0 -- 2024-07-05
- First version. Released on an unsuspecting world.