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