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