]> gitweb @ CieloNegro.org - Lucu.git/blob - NEWS
Lucu 0.6
[Lucu.git] / NEWS
1 Changes from 0.5 to 0.6
2 -----------------------
3 * New dependency: time-http == 0.1.*
4
5 * Network.HTTP.Lucu.RFC1123DateTime: removed.
6
7
8 Changes from 0.4.2 to 0.5
9 -------------------------
10 * Network.HTTP.Lucu.Config: (Suggested by Voker57)
11
12     - New config parameters:
13       - cnfServerV4Addr (default: Just "0.0.0.0")
14       - cnfServerV6Addr (default: Just "::")
15
16       These are local IP addresses to listen to both HTTP and HTTPS
17       clients. If you set 'cnfServerV4Addr' to Nothing, Lucu will not
18       listen to IPv4 clients. Ditto with 'cnfServerV6Addr'.
19
20     - Type change:
21       - cnfServerPort
22       - sslServerPort
23
24       The type of these params used to be Network.PortID but is now
25       Network.Socket.ServiceName, which means Lucu no longer be able
26       to listen to UNIX domain sockets. I believe no one wants to do
27       that but feel free to blame PHO if you miss it.
28
29
30 Changes from 0.4.1 to 0.4.2
31 ---------------------------
32 * Fixed build failure on GHC 6.12.1. (Thanks: Voker57)
33
34
35 Changes from 0.4 to 0.4.1
36 -------------------------
37 * Network.HTTP.Lucu.Resource: (Thanks: Voker57)
38
39     - getPathInfo now un-escapes the resulting path info. This may
40       break backward compatibility in very confusing way, if your code
41       relies on the previous implementation. Sorry for any
42       inconvenience.
43
44 * Network.HTTP.Lucu.Resource.Tree: (Thanks: Voker57)
45
46     - Fix: mkResTree wasn't working correctly for a resource path
47            [""], which should be treated as same as [] the root.
48
49     - Fix: Greedy resources on the root of resource tree wasn't really
50            greedy.
51
52 * Network.HTTP.Lucu.Resource.Tree:
53
54     - New constant: emptyResource
55
56 Changes from 0.3.3 to 0.4
57 -------------------------
58 * Network.HTTP.Lucu.Resource: (Thanks: Voker57)
59
60     - Bugfix: inputForm was consuming too much memory. The memory
61       usage is still somewhat high, but not insanely high.
62
63     - Changed the type of FormData/fdContent from String to
64       Lazy.ByteString. Sorry for frequent type changes.
65
66 Changes from 0.3.2 to 0.3.3
67 ---------------------------
68 * Network.HTTP.Lucu.Resource: (Thanks: Voker57)
69     - getQueryForm and inputForm now returns [FormData] instead of
70       [(String, String)] to possibly include a name of uploaded file.
71
72 Changes from 0.3.1 to 0.3.2
73 ---------------------------
74 * Network.HTTP.Lucu.Parser:
75     - Reimplemented 'many', 'many1' and 'count' in tail-recursive
76       way. This resolves a stack overflow when a large file is POSTed
77       as a multipart/form-data.
78
79 Changes from 0.3 to 0.3.1
80 -------------------------
81 * Network.HTTP.Lucu.Resource:
82     - Bugfix: getRemoteAddr' didn't work on little-endian architectures. (Thanks: Voker57)
83     - Bugfix: getRemoteAddr' didn't work for IPv6 network.
84     - New function: getRemoteHost
85
86 Changes from 0.2.1 to 0.3
87 -------------------------
88 * Added SSL support:
89     - Network.HTTP.Lucu.Config.Config has a new member:
90         # cnfSSLConfig
91     - Network.HTTP.Lucu.Resource has a new action:
92         # getRemoteCertificate
93     - examples/SSL.hs:
94         an example for accepting HTTPS connections.
95
96 Changes from 0.2 to 0.2.1
97 -------------------------
98 * Fixed incorrect dependency declaration in Lucu.cabal. No semantical
99   changes to the code.
100
101 Changes from 0.1 to 0.2
102 -----------------------
103 * Fixed breakage on GHC 6.10.1. And now it requires 6.10.1...
104 * data/mime.types:
105     - Deleted application/x-wavpack
106     - Deleted application/x-wavpack-correction
107     - Added audio/x-wavpack
108     - Added audio/x-wavpack-correction