Changelog for servant-activeresource-0.2.0.0
Revision history for servant-activeresource
0.2.0.0 -- 2025-06-24
-
ResourceDataandStoredResourceDataare 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-openapi3to generate OpenAPI documentation for your API, and you don't want to recompile the API modules every time you tweak an endpoint implementation. -
The
Resourcetypeclass no longer exists. Instead, a Haskell recordResourceOperationshas been added, which holds the CRUDL operations on a resource.- Added
hoistResourceOperationsto apply a natural transformation to aResourceOperations.
- Added
-
There is no longer any need for Template Haskell.
makeResourceServerThas been replaced withmakeResourceRoutesT, which is a non-TH function that operates onResourceOperations. -
Added
makeResourceRoutes, a version ofmakeResourceRoutesTspecialised toHandler.
0.1.0.0 -- 2024-07-05
- First version. Released on an unsuspecting world.