git.iko.soy/typeable/servant-reflex
on 0.3.5 help sign in
60 lines 2.1 kB history raw
10.3.5
2-----
4 - Require reflex-dom-core >= 0.6 (for internal handling of case-insensitive headers)
5 - Require servant >= 0.16
6 - Eliminate use of deprecated widgets from reflex-dom-core
7 - Bump the version of reflex-platform used in nix-shell and test suite
90.3.4
10-----
12Add selenium-based test suite
140.3.3
15-----
17- Fix encoding issue: Explicitly escape reserved characters from path pieces and query parameters
200.3.2
21-----
23- **Addition of 'Servant.Reflex.Common.Req.ClientOpts'** which
24allows the users to apply a final adjustment to Requests before
25thery are sent, such as setting the 'withCredentials' flag
26or print the Request to the console for debugging
27[PR #47](https://github.com/imalsogreg/servant-reflex/pull/47)
290.3
30---
32- **Addition of the 'Servant.Reflex.Multi' module** which allows the user
33to choose some '(Applicative f, Traversable f) => f' for collecting
34endpoint parameters. The traversable instance is used for passing
35multiple 'XhrRequest's in response to a single event trigger. The
36Applicative instance is used to combine parameters. For example,
37'Capture "id" Name :> QueryParam "greeting" Text :> Get '[JSON] Text'
38will generate a client function:
39`Dynamic t (f Name) -> Dynamic t (f greeting) -> Event t tag ->
40 m (Event t (f (ReqResult tag Text)))`
41Calling that function with 'f' chosen to be list ('[]'), this call
42`clientFun
43(constDyn ["Greg", "Bernie"])
44(constDyn ["Greetings", "Hey"])
45trigger`
46would produce four XhrRequests per 'trigger' event, one for each
47combination of possible parameters, and one response event
48would carry a list of the four responses.
49A 'zip-wise' combination of the parameters can be chosen with
50a different applicative wrapper: 'ZipList'
52- **Event tags**. A new type parameter lets users choose a payload
53value to attach to outgoing requests at the point of triggering,
54and which is embedded in the response, allowing individual
55request-response pairs to be followed. The response's tag has been
56added to each constructor `ReqResult tag a` type.
58- **Improved Unicode support** Thanks to Schell Scivally
59(https://github.com/schell) for identifying and fixing a UTF-8
60encoding bug!