12 |
7u83 |
1 |
Version 2.20.0 released 2019-07-14
|
|
|
2 |
|
|
|
3 |
* Expand testing matrix to include Erlang/OTP 22.0 and Erlang/OTP 21.3
|
|
|
4 |
* Add support for SameSite=none in cookies
|
|
|
5 |
https://github.com/mochi/mochiweb/pull/225
|
|
|
6 |
* Fix parsing of certain unquoted cookie values
|
|
|
7 |
https://github.com/mochi/mochiweb/pull/212
|
|
|
8 |
|
|
|
9 |
Version 2.19.0 released 2019-01-17
|
|
|
10 |
|
|
|
11 |
* Fix warning in 21.2.3 and crash on incompatible releases
|
|
|
12 |
(21.2, 21.2.1, 21.2.2 have a SSL bug)
|
|
|
13 |
https://github.com/mochi/mochiweb/pull/210
|
|
|
14 |
* Erlang/OTP 21 compatibility
|
|
|
15 |
https://github.com/mochi/mochiweb/pull/198
|
|
|
16 |
https://github.com/mochi/mochiweb/pull/204
|
|
|
17 |
* New `{buffer, Buffer}` socket server option
|
|
|
18 |
https://github.com/mochi/mochiweb/pull/208
|
|
|
19 |
* New `{format, map}` option for mochijson2:decode/2
|
|
|
20 |
https://github.com/mochi/mochiweb/pull/206
|
|
|
21 |
* No longer crash when a socket is closed server-side
|
|
|
22 |
https://github.com/mochi/mochiweb/pull/205
|
|
|
23 |
* Support for SameSite cookie setting
|
|
|
24 |
https://github.com/mochi/mochiweb/pull/203
|
|
|
25 |
|
|
|
26 |
Version 2.18.0 released 2018-05-12
|
|
|
27 |
|
|
|
28 |
* Add the 100.64.0.0/10 private IP shared address range
|
|
|
29 |
https://github.com/mochi/mochiweb/pull/193
|
|
|
30 |
|
|
|
31 |
Version 2.17.0 released 2017-08-12
|
|
|
32 |
|
|
|
33 |
* Fix deprecation warnings for Erlang/OTP 20.0
|
|
|
34 |
https://github.com/mochi/mochiweb/pull/186
|
|
|
35 |
* Updated mochiweb_html singleton tag heuristic for HTML5
|
|
|
36 |
https://github.com/mochi/mochiweb/pull/190
|
|
|
37 |
* Send 400 Bad Request if request line exceeds recbuf (regression fix)
|
|
|
38 |
https://github.com/mochi/mochiweb/pull/191
|
|
|
39 |
|
|
|
40 |
Version 2.16.0 released 2016-12-19
|
|
|
41 |
|
|
|
42 |
* Added support for encoding maps to mochijson2 (where available)
|
|
|
43 |
https://github.com/mochi/mochiweb/pull/184
|
|
|
44 |
* Added missing RFC1918 address spaces to the allowed x-forwarded-for header
|
|
|
45 |
https://github.com/mochi/mochiweb/pull/183
|
|
|
46 |
|
|
|
47 |
Version 2.15.1 released 2016-06-24
|
|
|
48 |
|
|
|
49 |
* Fixed deprecation warnings in Erlang/OTP 19.0
|
|
|
50 |
https://github.com/mochi/mochiweb/pull/177
|
|
|
51 |
|
|
|
52 |
Version 2.15.0 released 2016-05-08
|
|
|
53 |
|
|
|
54 |
* mochiweb_request now normalizes paths such that duplicate slashes are
|
|
|
55 |
discarded (and thus all path segments except the last are non-empty).
|
|
|
56 |
https://github.com/mochi/mochiweb/pull/173
|
|
|
57 |
|
|
|
58 |
Version 2.14.0 released 2016-04-11
|
|
|
59 |
|
|
|
60 |
* mochiweb_html now requires a letter to begin a HTML tag
|
|
|
61 |
https://github.com/mochi/mochiweb/pull/171
|
|
|
62 |
|
|
|
63 |
Version 2.13.2 released 2016-03-18
|
|
|
64 |
|
|
|
65 |
* Allow mochijson2 to handle code points that xmerl_ucs considered
|
|
|
66 |
invalid
|
|
|
67 |
https://github.com/mochi/mochiweb/issues/168
|
|
|
68 |
|
|
|
69 |
Version 2.13.1 released 2016-03-13
|
|
|
70 |
|
|
|
71 |
* Fix mochiweb_html regression parsing invalid charref sequences
|
|
|
72 |
https://github.com/mochi/mochiweb/issues/167
|
|
|
73 |
|
|
|
74 |
Version 2.13.0 released 2016-02-08
|
|
|
75 |
|
|
|
76 |
* Support parsing of UTF-16 surrogate pairs encoded as character
|
|
|
77 |
references in mochiweb_html
|
|
|
78 |
https://github.com/mochi/mochiweb/issues/164
|
|
|
79 |
* Avoid swallowing messages that are not related to the socket
|
|
|
80 |
during request parsing
|
|
|
81 |
https://github.com/mochi/mochiweb/pull/161
|
|
|
82 |
* Ensure correct ordering of Set-Cookie headers: first in, first out
|
|
|
83 |
https://github.com/mochi/mochiweb/issues/162
|
|
|
84 |
* Improve response times by caching a formatted date once per second
|
|
|
85 |
for the response headers with a mochiweb_clock service
|
|
|
86 |
https://github.com/mochi/mochiweb/pull/158
|
|
|
87 |
|
|
|
88 |
Version 2.12.2 released 2015-02-21
|
|
|
89 |
|
|
|
90 |
* Close connections quietly when setopts fails with a closed socket.
|
|
|
91 |
https://github.com/mochi/mochiweb/pull/152
|
|
|
92 |
|
|
|
93 |
Version 2.12.1 released 2015-02-01
|
|
|
94 |
|
|
|
95 |
* Fix active_socket accounting
|
|
|
96 |
https://github.com/mochi/mochiweb/issues/149
|
|
|
97 |
* Added full MIT license preludes to each source file to make it
|
|
|
98 |
easier for mochiweb's code to be used piecemeal
|
|
|
99 |
https://github.com/mochi/mochiweb/pull/148
|
|
|
100 |
|
|
|
101 |
Version 2.12.0 released 2015-01-16
|
|
|
102 |
|
|
|
103 |
* Send "Connection: close" header when the server is going to close
|
|
|
104 |
a Keep-Alive connection, usually due to unread data from the
|
|
|
105 |
client
|
|
|
106 |
https://github.com/mochi/mochiweb/issues/146
|
|
|
107 |
|
|
|
108 |
Version 2.11.2 released 2015-01-16
|
|
|
109 |
|
|
|
110 |
* Fix regression introduced in #147
|
|
|
111 |
https://github.com/mochi/mochiweb/pull/147
|
|
|
112 |
|
|
|
113 |
Version 2.11.1 released 2015-01-16
|
|
|
114 |
|
|
|
115 |
* Accept range end position which exceededs the resource size
|
|
|
116 |
https://github.com/mochi/mochiweb/pull/147
|
|
|
117 |
|
|
|
118 |
Version 2.11.0 released 2015-01-12
|
|
|
119 |
|
|
|
120 |
* Perform SSL handshake after releasing acceptor back into the pool,
|
|
|
121 |
and slow accept rate when file descriptors are not available,
|
|
|
122 |
to mitigate a potential DoS attack. Adds new mochiweb_socket
|
|
|
123 |
functions transport_accept/1 and finish_accept/1 which should be
|
|
|
124 |
used in preference to the now deprecated accept/1 function.
|
|
|
125 |
https://github.com/mochi/mochiweb/issues/138
|
|
|
126 |
|
|
|
127 |
Version 2.10.1 released 2015-01-11
|
|
|
128 |
|
|
|
129 |
* Fixes issue with SSL and mochiweb_websocket. Note that
|
|
|
130 |
mochiweb_websocket is still experimental and the API
|
|
|
131 |
is subject to change in future versions.
|
|
|
132 |
https://github.com/mochi/mochiweb/pull/144
|
|
|
133 |
|
|
|
134 |
Version 2.10.0 released 2014-12-17
|
|
|
135 |
|
|
|
136 |
* Added new `recbuf` option to mochiweb_http to allow the receive
|
|
|
137 |
buffer to be configured.
|
|
|
138 |
https://github.com/mochi/mochiweb/pull/134
|
|
|
139 |
|
|
|
140 |
Version 2.9.2 released 2014-10-16
|
|
|
141 |
|
|
|
142 |
* Add timeouts to SSL connect to prevent DoS by opening a connection
|
|
|
143 |
and not doing anything.
|
|
|
144 |
https://github.com/mochi/mochiweb/pull/140
|
|
|
145 |
* Prevent using ECDH cipher in R16B because it is broken
|
|
|
146 |
https://github.com/mochi/mochiweb/pull/140
|
|
|
147 |
* For default SSL connections, remove usage of sslv3 and not-so-secure
|
|
|
148 |
ciphers.
|
|
|
149 |
https://github.com/mochi/mochiweb/pull/140
|
|
|
150 |
|
|
|
151 |
Version 2.9.1 released 2014-09-29
|
|
|
152 |
|
|
|
153 |
* Fix Makefile rule for building docs
|
|
|
154 |
https://github.com/mochi/mochiweb/issues/135
|
|
|
155 |
* Minimize gen_tcp:send calls to optimize performance.
|
|
|
156 |
https://github.com/mochi/mochiweb/pull/137
|
|
|
157 |
|
|
|
158 |
Version 2.9.0 released 2014-06-24
|
|
|
159 |
|
|
|
160 |
* Increased timeout in test suite for FreeBSD
|
|
|
161 |
https://github.com/mochi/mochiweb/pull/121
|
|
|
162 |
* Updated rebar to v2.5.0 and fixed associated build issues
|
|
|
163 |
https://github.com/mochi/mochiweb/issues/131
|
|
|
164 |
|
|
|
165 |
Version 2.8.0 released 2014-01-01
|
|
|
166 |
|
|
|
167 |
* Websocket support
|
|
|
168 |
https://github.com/mochi/mochiweb/pull/120
|
|
|
169 |
* Force files named "crossdomain.xml" to have MIME type
|
|
|
170 |
text/x-cross-domain-policy.
|
|
|
171 |
https://github.com/mochi/mochiweb/pull/118
|
|
|
172 |
|
|
|
173 |
Version 2.7.0 released 2013-08-01
|
|
|
174 |
|
|
|
175 |
* Fix 0-length range responses
|
|
|
176 |
https://github.com/mochi/mochiweb/pull/87
|
|
|
177 |
* Add support for all possible `erlang:decode_packet/3` responses,
|
|
|
178 |
previously these would just crash.
|
|
|
179 |
https://github.com/mochi/mochiweb/pull/114
|
|
|
180 |
* Makefile fixed to make `make test` work before `make all`
|
|
|
181 |
https://github.com/mochi/mochiweb/pull/116
|
|
|
182 |
* Usage of the crypto module made R16B01+ compatible
|
|
|
183 |
https://github.com/mochi/mochiweb/pull/115
|
|
|
184 |
* Build fixed for R16B01
|
|
|
185 |
https://github.com/mochi/mochiweb/pull/112
|
|
|
186 |
* `mochiweb_socket_server:stop/1` is now a synchronous
|
|
|
187 |
call instead of an asynchronous cast
|
|
|
188 |
* `mochiweb_html:parse_tokens/1` (and `parse/1`) will now create a
|
|
|
189 |
html element to wrap documents that have a HTML5 doctype
|
|
|
190 |
(`<!doctype html>`) but no html element
|
|
|
191 |
https://github.com/mochi/mochiweb/issues/110
|
|
|
192 |
|
|
|
193 |
Version 2.6.0 released 2013-04-15
|
|
|
194 |
|
|
|
195 |
* Enable R15B gen_tcp workaround only on R15B
|
|
|
196 |
https://github.com/mochi/mochiweb/pull/107
|
|
|
197 |
|
|
|
198 |
Version 2.5.0 released 2013-03-04
|
|
|
199 |
|
|
|
200 |
* Replace now() with os:timestamp() in acceptor (optimization)
|
|
|
201 |
https://github.com/mochi/mochiweb/pull/102
|
|
|
202 |
* New mochiweb_session module for managing session cookies.
|
|
|
203 |
NOTE: this module is only supported on R15B02 and later!
|
|
|
204 |
https://github.com/mochi/mochiweb/pull/94
|
|
|
205 |
* New mochiweb_base64url module for base64url encoding
|
|
|
206 |
(URL and Filename safe alphabet, see RFC 4648).
|
|
|
207 |
* Fix rebar.config in mochiwebapp_skel to use {branch, "master"}
|
|
|
208 |
https://github.com/mochi/mochiweb/issues/105
|
|
|
209 |
|
|
|
210 |
Version 2.4.2 released 2013-02-05
|
|
|
211 |
|
|
|
212 |
* Fixed issue in mochiweb_response introduced in v2.4.0
|
|
|
213 |
https://github.com/mochi/mochiweb/pull/100
|
|
|
214 |
|
|
|
215 |
Version 2.4.1 released 2013-01-30
|
|
|
216 |
|
|
|
217 |
* Fixed issue in mochiweb_request introduced in v2.4.0
|
|
|
218 |
https://github.com/mochi/mochiweb/issues/97
|
|
|
219 |
* Fixed issue in mochifmt_records introduced in v2.4.0
|
|
|
220 |
https://github.com/mochi/mochiweb/issues/96
|
|
|
221 |
|
|
|
222 |
Version 2.4.0 released 2013-01-23
|
|
|
223 |
|
|
|
224 |
* Switch from parameterized modules to explicit tuple module calls for
|
|
|
225 |
R16 compatibility (#95)
|
|
|
226 |
* Fix for mochiweb_acceptor crash with extra-long HTTP headers under
|
|
|
227 |
R15B02 (#91)
|
|
|
228 |
* Fix case in handling range headers (#85)
|
|
|
229 |
* Handle combined Content-Length header (#88)
|
|
|
230 |
* Windows security fix for `safe_relative_path`, any path with a
|
|
|
231 |
backslash on any platform is now considered unsafe (#92)
|
|
|
232 |
|
|
|
233 |
Version 2.3.2 released 2012-07-27
|
|
|
234 |
|
|
|
235 |
* Case insensitive match for "Connection: close" (#81)
|
|
|
236 |
|
|
|
237 |
Version 2.3.1 released 2012-03-31
|
|
|
238 |
|
|
|
239 |
* Fix edoc warnings (#63)
|
|
|
240 |
* Fix mochiweb_html handling of invalid charref sequences (unescaped &) (#69).
|
|
|
241 |
* Add a manual garbage collection between requests to avoid worst case behavior
|
|
|
242 |
on keep-alive sockets.
|
|
|
243 |
* Fix dst cookie bug (#73)
|
|
|
244 |
* Removed unnecessary template_dir option, see
|
|
|
245 |
https://github.com/basho/rebar/issues/203
|
|
|
246 |
|
|
|
247 |
Version 2.3.0 released 2011-10-14
|
|
|
248 |
|
|
|
249 |
* Handle ssl_closed message in mochiweb_http (#59)
|
|
|
250 |
* Added support for new MIME types (otf, eot, m4v, svg, svgz, ttc, ttf,
|
|
|
251 |
vcf, webm, webp, woff) (#61)
|
|
|
252 |
* Updated mochiweb_charref to support all HTML5 entities. Note that
|
|
|
253 |
if you are using this module directly, the spec has changed to return
|
|
|
254 |
`[integer()]` for some entities. (#64)
|
|
|
255 |
|
|
|
256 |
Version 2.2.1 released 2011-08-31
|
|
|
257 |
|
|
|
258 |
* Removed `mochiweb_skel` module from the pre-rebar era
|
|
|
259 |
|
|
|
260 |
Version 2.2.0 released 2011-08-29
|
|
|
261 |
|
|
|
262 |
* Added new `mochiweb_http:start_link/1` and
|
|
|
263 |
`mochiweb_socket_server:start_link/1` APIs to explicitly start linked
|
|
|
264 |
servers. Also added `{link, false}` option to the `start/1` variants
|
|
|
265 |
to explicitly start unlinked. This is in expectation that we will
|
|
|
266 |
eventually change the default behavior of `start/1` to be unlinked as you
|
|
|
267 |
would expect it to. See https://github.com/mochi/mochiweb/issues/58 for
|
|
|
268 |
discussion.
|
|
|
269 |
|
|
|
270 |
Version 2.1.0 released 2011-08-29
|
|
|
271 |
|
|
|
272 |
* Added new `mochijson2:decode/2` with `{format, struct | proplist | eep18}`
|
|
|
273 |
options for easy decoding to various proplist formats. Also added encoding
|
|
|
274 |
support for eep18 style objects.
|