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