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