servant-0.15
support
- Fix javascript function name generation
- Allow servant-0.10
- Extract javascript-obvlious types and helpers to servant-foreign
- Use
text
package instead ofString
- Provide new targets for code generation along with the old jQuery one: vanilla Javascript and Angular.js
- Greatly simplify usage of this library by reducing down the API to just 2 functions:
jsForAPI
andwriteJSForAPI
+ the choice of a code generator - Support for the
HttpVersion
,IsSecure
,RemoteHost
andVault
combinators - Remove matrix params.
Delete
now is likeGet
,Post
,Put
, andPatch
and returns a response body- Extend
HeaderArg
to support more advanced HTTP header handling (https://github.com/haskell-servant/servant-jquery/pull/6) - Support content-type aware combinators (but require that endpoints support JSON)
- Add support for Matrix params (https://github.com/haskell-servant/servant-jquery/pull/11)
- Add functions that directly generate the Javascript code from the API type without having to manually pattern match on the result.
- Fix an issue where toplevel Raw endpoints would generate a JS function with no name (https://github.com/haskell-servant/servant-jquery/issues/2)
- Replace dots by _ in paths (https://github.com/haskell-servant/servant-jquery/issues/1)