1 | Revision history for Perl extension AnyEvent. |
1 | Revision history for Perl extension AnyEvent. |
2 | |
2 | |
3 | TODO: document TCP_*** constants |
3 | TODO: document TCP_*** constants |
4 | TODO: add debug/trace logging to some modules |
4 | TODO: add debug/trace logging to some modules |
5 | TODO: use the eval-with-cb-call trick also to speed up JSON? |
5 | TODO: use the eval-with-cb-call trick also to speed up JSON? |
6 | TODO: common pitfalls? invoke-before-return |
6 | TODO: FAQ: common pitfalls? invoke-before-return |
|
|
7 | TODO: FAQ: scope-ids? hosts file order? |
|
|
8 | TODO: AnyEvent::Handle with AnyEvent::IO? |
|
|
9 | TODO: invalid. and localhost. specialcasing inside AEDNS and not AESocket (rfc6761) |
|
|
10 | TODO: maybe implement env variable to give hosts precedence |
|
|
11 | TODO: more formats for parse_ipv6 (single ipv6 address without port, ...p80, ...#80) |
|
|
12 | TODO: inet_aton maybe pack C4? no, add a comment why not |
|
|
13 | TODO: socket prepare callbacks, can they easily signal failure as well? |
|
|
14 | TODO: Олег Г <verdrehung@gmail.com>, empty A record response causes |
|
|
15 | AnyEvent::resolve_sockaddr to eventually call pack_sockaddr with undef - |
|
|
16 | broken dns server, but maybe improve the response. |
|
|
17 | TODO: AnyEvent::Loop should not use POSIIX when ti isn't used. |
|
|
18 | |
|
|
19 | TODO: AnyEvent::Log contexts should have a way to inject log messages received form elsewhere, using timestamp etc. |
|
|
20 | TODO: add some cheta-sheet to log synopsis regarding AE_LOG=AnyEvent::MP=+ |
|
|
21 | TODO: tcp_connect option for AnyEvent::Handle? |
|
|
22 | TODO: hosts files on windows probably contain \r, which is not stripped |
|
|
23 | - AnyEvent::Loop no longer loads the POSIX module if Time::HiRes |
|
|
24 | has monotonic clock support (suggested by Felipe Gasper). |
|
|
25 | - since Net::SSLeay (up to 1.88-1) is _still not ported to openssl 1.1 |
|
|
26 | and many distributions therefore will have a completely broken |
|
|
27 | Net::SSLeay module for the forseeable future, AnyEvent::TLS |
|
|
28 | will now log a warning (that is not seen by default unless you |
|
|
29 | increase log verbosity). |
|
|
30 | - expose error method of AnyEvent::Handle for general use. |
|
|
31 | - add tlsv1_3 disable switch to AnyEvent::TLS. |
|
|
32 | - add experimental "tls" method support for AnyEvent::TLS. |
|
|
33 | - tls methods were lowercase, but documented to be uppercase. |
|
|
34 | fix documentation. |
|
|
35 | - EV backend now uses EV::break when waiting for condvars, |
|
|
36 | making waiting for condvars more efficient. This might |
|
|
37 | "break" already-broken programs that recursively enter |
|
|
38 | the event loop even more. |
|
|
39 | - add a dependency on Coro 6.57 if the installed version is older, |
|
|
40 | to avoid an incompatibility. |
|
|
41 | - upgrade to UTS-46:13.0.0 ("Unicode 13"). |
|
|
42 | |
|
|
43 | 7.17 Wed Sep 18 03:04:49 CEST 2019 |
|
|
44 | - work around antique openssl version in RHEL 7 by formatting |
|
|
45 | dh parameters differently (reported by several people). |
|
|
46 | - add t/13_weaken.t. |
|
|
47 | |
|
|
48 | 7.16 Fri Jul 19 18:00:21 CEST 2019 |
|
|
49 | - add ffdhe group dh parameters from RFC 7919, and use ffdhe3072 |
|
|
50 | as new default, instead of schmorp1539. |
|
|
51 | - AnyEvent::Log did not reassess logging status of |
|
|
52 | AnyEvent::Log::logger's when contexts were changed with |
|
|
53 | ->attach/detach/slaves, causing them to not log even though a |
|
|
54 | recent attach should have caused them to log. |
|
|
55 | - added some more logging configuration examples. |
|
|
56 | - mention RFC 8482 in AnyEvent::DNS. |
|
|
57 | |
|
|
58 | 7.15 Tue Feb 26 03:07:42 CET 2019 |
|
|
59 | - INCOMPATIBLE CHANGE: AnyEvent::Handle's tls_detect documentation gave |
|
|
60 | separate major and minor versions, while code passed only a single |
|
|
61 | value. This version follows the documentation and now passes separate |
|
|
62 | major and minor values. |
|
|
63 | - work around Net::SSLeay not having been ported to openssl 1.1, but many |
|
|
64 | distributions compiling it against openssl 1.1, which unfortunately |
|
|
65 | succeeds and results in a very broken module. |
|
|
66 | - AnyEvent::DNS::dns_unpack now stores the original DNS packet |
|
|
67 | in the __ member, to allow decoding of undecodable resouce records |
|
|
68 | containing compressed domian names. |
|
|
69 | - AnyEvent::Socket::parse_ipv6 would NOT, as advertised, accept ipv4 |
|
|
70 | addresses. It now does and converts them to ipv4 mapped addresses. |
|
|
71 | - support CAA records, based on patch by Steve Atkins. |
|
|
72 | - add freenom and cloudflare nameservers as dns fallback. |
|
|
73 | - AnyEvent::Strict would not properly ward against io watchers |
|
|
74 | on files when the handle passed was a file descriptor. |
|
|
75 | - document "internal" variables used by the dns en-/decoder to allow |
|
|
76 | enterprising users to extend them in a semi-official way. |
|
|
77 | |
|
|
78 | 7.14 Sat Jun 24 01:44:19 CEST 2017 |
|
|
79 | - fix a crash bug in AnyEvent::Handle with openssl 1.1.0 (patched |
|
|
80 | by Paul Howarth and apparently tracked down by Mike McCauley). |
|
|
81 | - AnyEvent::Handle->keepalive was documented (and defined) twice |
|
|
82 | (found by Matt Merhar). |
|
|
83 | - AnyEvent::Socket::tcp_bind/tcp_server would immediately unlink a unix |
|
|
84 | listening socket unless a guard is used. Change this so that no |
|
|
85 | cleanup will be performed unless a guard is used and document this more |
|
|
86 | clearly. |
|
|
87 | - make tcp_bind/tcp_server error messages more regular. |
|
|
88 | - work around latest perl upstream breakage - this time, perl5porters were |
|
|
89 | apparently bullied by a bogus CVE (CVE-2016-1238), and since distros |
|
|
90 | stupidly apply anything that has "security fix" stamped on it, it's likely |
|
|
91 | going to be a problem in practise (and working around it is trivial on |
|
|
92 | windows and unix). |
|
|
93 | - add TCP_FASTOPEN/MSG_FASTOPEN and MSG_NOSIGNAL/MSG_MORE/MSG_DONTWAIT |
|
|
94 | to constants. |
|
|
95 | - update warnings to common::sense 3.74 standards. |
|
|
96 | |
|
|
97 | 7.13 Sat Sep 17 04:31:49 CEST 2016 |
|
|
98 | - Only call tlsext_host_name for non-empty common names (reported |
|
|
99 | by Maxime Soulé). |
|
|
100 | - log a (single) notice message if SNI is not supported. |
|
|
101 | - upgrade to UTS-46:9.0.0 draft and switch to non-transitional |
|
|
102 | behaviour, beating thunderbird, ie, edge, chrome and safari to it :) |
|
|
103 | (see also https://bugzilla.mozilla.org/show_bug.cgi?id=1218179) |
|
|
104 | - turns out the UTS-46 IDNA testcase failures were indeed bugs in the |
|
|
105 | testcases and the specification and not in the code - the post-9.0.0 |
|
|
106 | unicode files have all known problems fixed, so finally the AnyEvent |
|
|
107 | IDNA implementation can pass the full IDNA testsuite - without needing |
|
|
108 | a single fix :) |
|
|
109 | - guarantee (and document) that condvar callbacks will be removed |
|
|
110 | on invocation - important to avoid circular references. |
|
|
111 | |
|
|
112 | 7.12 Wed Jan 27 19:12:26 CET 2016 |
|
|
113 | - use common name as hostname for tls connects, if Net::SSLeay |
|
|
114 | supports SNI. |
|
|
115 | - fix documentation of tls_autostart read type in AnyEvent::Handle, |
|
|
116 | analyzed by Felix Ostmann. |
|
|
117 | |
|
|
118 | 7.11 Thu Jul 16 14:36:00 CEST 2015 |
|
|
119 | - AnyEvent::Socket::parse_ipv6 could accept malformed ipv6 |
|
|
120 | addresses (extra "::" at end and similar cases). |
|
|
121 | - add a more explicit warning to AnyEvent::Handle that it doesn't |
|
|
122 | work on files, people keep getting confused. |
|
|
123 | - new function AnyEvent::Socket::tcp_bind. |
|
|
124 | - new functions AnyEvent::fh_block and AnyEvent::fh_unblock. |
|
|
125 | - aligned ipv6 address formatting with RFC 5952 (by not shortening |
|
|
126 | a single :0: to ::). |
|
|
127 | - added stability canary support. |
|
|
128 | |
|
|
129 | 7.09 Sat May 2 16:38:53 CEST 2015 |
|
|
130 | - AnyEvent::Debug called an internal function (AnyEvent::Log::ft) |
|
|
131 | that was renamed to AnyEvent::Log:format_time. uinder its old name |
|
|
132 | (analyzed by Michael Stovenour). |
|
|
133 | - update AnyEvent::DNS fallback resolver addresses: |
|
|
134 | seems google effectively killed most other free dns resolvers, |
|
|
135 | so remove them, but add cable and wireless (ecrc) since it was |
|
|
136 | stable for 20 years or so, official or not, and there should be |
|
|
137 | an alternative to google. |
|
|
138 | - perl5porters broke windows error codes in 5.20, and mapped |
|
|
139 | WSAEWOULDBLOCK on the (different) EWOULDBLOCK error code, and |
|
|
140 | WSAEINPROGRESS into the incompatible ERINPROGRESS code, probably |
|
|
141 | because they were so cool. They probably broke other error codes |
|
|
142 | for no reason, too, but I didn't care for checking, it's too |
|
|
143 | depressing. This version only works around the WSAEWOULDBLOCK |
|
|
144 | issue, because I don't have a nice way to work around the |
|
|
145 | WSAEINPROGRESS bug. |
|
|
146 | |
|
|
147 | 7.08 Wed Dec 10 05:27:17 CET 2014 |
|
|
148 | - work around a newly introduced bug in Socket 2.011 (an |
|
|
149 | errornous sun_length check) (analyzed by Maxime Soulé). |
|
|
150 | - AnyEvent::TLS didn't load (but refer to) AnyEvent::Socket |
|
|
151 | (analyzed by Ben Magistro). |
|
|
152 | - AnyEvent::Strict will now confess, not croak. This is in line with |
|
|
153 | it being a development/debugging tool. |
|
|
154 | - work around a number of libglib bugs (debug builds of libglib enforce |
|
|
155 | certain undocumented behaviour patterns such as not being able to |
|
|
156 | remove a child watch source after it has fired, which we will try |
|
|
157 | to emulate to avoid "criticals". what where they thinking...). |
|
|
158 | - mention json security issues in AnyEvent::Handle, now that Douglas |
|
|
159 | Crockford has foolishly and incompatibly changed JSON. |
|
|
160 | - changed default dns resolver "max_outstanding" value from 1 to 10, |
|
|
161 | the latter beinfg the intended value all along |
|
|
162 | (reported by Ilya Chesnokov). |
|
|
163 | - added new "AnyEvent::Impl::UV" interface module to the UV event lib |
|
|
164 | (written by Mike Lowell). |
|
|
165 | |
|
|
166 | 7.07 Tue Dec 17 17:45:02 CET 2013 |
|
|
167 | - the documentation for custom tls verify schemes was wrong. make it agree |
|
|
168 | with the code (reported by Maxime Soulé). |
|
|
169 | - added cbor read and write types to AnyEvent::Handle (using CBOR::XS). |
|
|
170 | - work around an API change in openssl that could cause wrong tls connection |
|
|
171 | aborts, likely on windows only (analyzed by sten). |
|
|
172 | - calling AnyEvent->now_update with AnyEvent::Impl::Perl caused an |
|
|
173 | endless loop (reported by Dietrich Rebmann). |
|
|
174 | - add tlsv1_1 and tlsv1_2 protocols to AnyEvent::TLS |
|
|
175 | (patch by Maxime Soulé). |
|
|
176 | - document AnyEvent::Impl::IOAsync::set_loop and |
|
|
177 | $AnyEvent::Impl::IOAsync::LOOP. Though only documented now, this |
|
|
178 | functionality has _always_ been available. |
|
|
179 | - force a toplevel domain name in t/81_hosts.t (analyzed by |
|
|
180 | David Jack Wange Olrik). |
|
|
181 | - document that AnyEvent::Log uses AnyEvent::IO. |
|
|
182 | - warn about AnyEvent::Filesys::Notify performance. |
|
|
183 | - praise the joys of AnyEvent::Fork::*. |
|
|
184 | - time for an =encoding directive. |
|
|
185 | - do no longer use JSON to create a default json coder, use |
|
|
186 | JSON::XS or JSON::PP directly. |
|
|
187 | |
|
|
188 | 7.05 Wed Aug 21 10:38:08 CEST 2013 |
|
|
189 | - uts46data.pl couldn't be found due to wrong naming of the file |
|
|
190 | (reported by Fulko Hew). |
|
|
191 | - handle lone \015's properly in AE::Handle's default line read |
|
|
192 | (reported by various people). |
|
|
193 | - untaint ip addresses found in /etc/hosts (patch by José Micó). |
|
|
194 | - the memleak fix in 7.03 caused resolving via /etc/hosts to always |
|
|
195 | fail on first use (reported and testcase by Andrew Whatson). |
|
|
196 | - expose AnyEvent::Log::format_time, and allow users to redefine it. |
|
|
197 | - expose AnyEvent::Log::default_format, and allow redefinition. |
|
|
198 | - expose AnyEvent::Log::fatal_exit, to allow redefinition. |
|
|
199 | - AnyEvent::Debug shell can now run coro shell commands, if available. |
|
|
200 | - t/63* tests were wrongly in MANIFEST. |
|
|
201 | - kernel.org's finger server went MIA, switch to freebsd.org and |
|
|
202 | icculus.org. |
|
|
203 | - clarify that IO::AIO and AnyEvent::AIO are needed for AnyEvent::IO |
|
|
204 | to function asynchronously (reported by Daniel Carosone). |
|
|
205 | - hard-disable $^W in most tests, it generates too much garbage output. |
|
|
206 | - use a (hopefully) more future-proof method to emulate common::sense. |
|
|
207 | - upgrade to UTS-46:6.2.0. |
|
|
208 | - switch to INSTLIB from INSTLIBDIR, as INSTLIBDIR was wrongly |
|
|
209 | documented. should not affect anything. |
|
|
210 | |
|
|
211 | 7.04 Thu Nov 15 02:23:58 CET 2012 |
|
|
212 | - debugging code left in. |
|
|
213 | |
|
|
214 | 7.03 Thu Nov 15 02:16:11 CET 2012 |
|
|
215 | - AnyEvent::Socket::inet_aton did not work when dns resolution was |
|
|
216 | used to find the addresses (analyzed and patch by Maxime Soulé). |
|
|
217 | - fix a memory leak in the /etc/hosts lookup code when hosts don't |
|
|
218 | resolve and are not in hosts (analyzed by sten). |
|
|
219 | |
|
|
220 | 7.02 Tue Aug 14 04:27:58 CEST 2012 |
|
|
221 | - AnyEvent::Util::run_cmd could block indefinitely (analyzed and test |
|
|
222 | program by Yorhel). |
|
|
223 | - verified that AnyEvent::Socket follows RFC5952. |
|
|
224 | - try to parse "ADDR#PORT" in addition to "ADDR PORT". |
|
|
225 | |
|
|
226 | 7.01 Sun May 13 01:03:17 CEST 2012 |
|
|
227 | - fail with EPROTO in AnyEvent::Handle wqhen TLS is requested but |
|
|
228 | not available, instead of throwing an exception. |
|
|
229 | - use File::Spec to get the tmpdir in t/*, to avoid needless |
|
|
230 | failures on (most, not mine :) windows boxes. |
|
|
231 | - new handle read types: tls_detect and tls_autostart. |
7 | |
232 | |
8 | 7.0 Fri Apr 13 06:33:30 CEST 2012 |
233 | 7.0 Fri Apr 13 06:33:30 CEST 2012 |
9 | - child watchers are broken in POE 1.352 (also many earlier |
234 | - child watchers are broken in POE 1.352 (also many earlier |
10 | versions) and there seems to be no way to work around it, as POE |
235 | versions) and there seems to be no way to work around it, as POE |
11 | itself is inherently racy. Document this regression and add a delay |
236 | itself is inherently racy. Document this regression and add a delay |
… | |
… | |
557 | in the common case. |
782 | in the common case. |
558 | - add AnyEvent::Handle->push_shutdown method. |
783 | - add AnyEvent::Handle->push_shutdown method. |
559 | - add an additional error message parameter to AnyEvent::Handle's |
784 | - add an additional error message parameter to AnyEvent::Handle's |
560 | on_error callback (for TLS, $! is still available). |
785 | on_error callback (for TLS, $! is still available). |
561 | - add AnyEvent::Handle on_starttls/on_stoptls callbacks. |
786 | - add AnyEvent::Handle on_starttls/on_stoptls callbacks. |
562 | - make AnyEvent::Handle more robust against early conenction |
787 | - make AnyEvent::Handle more robust against early connection |
563 | failures (during new), and return C<undef> in that case |
788 | failures (during new), and return C<undef> in that case |
564 | from the constructor. |
789 | from the constructor. |
565 | - AnyEvent::Handle will now try to load only JSON::XS first, |
790 | - AnyEvent::Handle will now try to load only JSON::XS first, |
566 | then fall back to JSON. |
791 | then fall back to JSON. |
567 | - format_ipv4/format_ipv6 are now exported by default, for symmetry, |
792 | - format_ipv4/format_ipv6 are now exported by default, for symmetry, |