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: AnyEvent::IO |
5 | TODO: use the eval-with-cb-call trick also to speed up JSON? |
|
|
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? |
6 | |
14 | |
7 | - documented Rocco fabricating statements about AnyEvent and me. |
15 | TODO: stuff dns packet into decoded structure |
|
|
16 | TODO: allow client programs to extend the dns encoder/decoder list |
|
|
17 | TODO: Олег Г <verdrehung@gmail.com> test nameserver |
|
|
18 | |
|
|
19 | - INCOMPATIBLE CHANGE: tls_detect documentation gave separate major and |
|
|
20 | minor versions, while code passed only a single value. This version |
|
|
21 | follows the documentation and now passes separate major and minor values. |
|
|
22 | - work around Net::SSLeay not having been ported to openssl 1.1, but many |
|
|
23 | distributions compiling it against openssl 1.1, which unfortunately |
|
|
24 | succeeds and results in a very brfoken module. |
|
|
25 | - AnyEvent::Socket::parse_ipv6 would NOT, as advertised, accept ipv4 |
|
|
26 | addresses. It now does and converts them to ipv4 mapped addresses. |
|
|
27 | - support CAA records, based on patch by Steve Atkins. |
|
|
28 | - add freenom and cloudflare nameservers as dns fallback. |
|
|
29 | - AnyEvent::Strict would not properly ward against io watchers |
|
|
30 | on files when the handle passed was a file descriptor. |
|
|
31 | |
|
|
32 | 7.14 Sat Jun 24 01:44:19 CEST 2017 |
|
|
33 | - fix a crash bug in AnyEvent::Handle with openssl 1.1.0 (patched |
|
|
34 | by Paul Howarth and apparently tracked down by Mike McCauley). |
|
|
35 | - AnyEvent::Handle->keepalive was documented (and defined) twice |
|
|
36 | (found by Matt Merhar). |
|
|
37 | - AnyEvent::Socket::tcp_bind/tcp_server would immediately unlink a unix |
|
|
38 | listening socket unless a guard is used. Change this so that no |
|
|
39 | cleanup will be performed unless a guard is used and document this more |
|
|
40 | clearly. |
|
|
41 | - make tcp_bind/tcp_server error messages more regular. |
|
|
42 | - work around latest perl upstream breakage - this time, perl5porters were |
|
|
43 | apparently bullied by a bogus CVE (CVE-2016-1238), and since distros |
|
|
44 | stupidly apply anything that has "security fix" stamped on it, it's likely |
|
|
45 | going to be a problem in practise (and working around it is trivial on |
|
|
46 | windows and unix). |
|
|
47 | - add TCP_FASTOPEN/MSG_FASTOPEN and MSG_NOSIGNAL/MSG_MORE/MSG_DONTWAIT |
|
|
48 | to constants. |
|
|
49 | - update warnings to common::sense 3.74 standards. |
|
|
50 | |
|
|
51 | 7.13 Sat Sep 17 04:31:49 CEST 2016 |
|
|
52 | - Only call tlsext_host_name for non-empty common names (reported |
|
|
53 | by Maxime Soulé). |
|
|
54 | - log a (single) notice message if SNI is not supported. |
|
|
55 | - upgrade to UTS-46:9.0.0 draft and switch to non-transitional |
|
|
56 | behaviour, beating thunderbird, ie, edge, chrome and safari to it :) |
|
|
57 | (see also https://bugzilla.mozilla.org/show_bug.cgi?id=1218179) |
|
|
58 | - turns out the UTS-46 IDNA testcase failures were indeed bugs in the |
|
|
59 | testcases and the specification and not in the code - the post-9.0.0 |
|
|
60 | unicode files have all known problems fixed, so finally the AnyEvent |
|
|
61 | IDNA implementation can pass the full IDNA testsuite - without needing |
|
|
62 | a single fix :) |
|
|
63 | - guarantee (and document) that condvar callbacks will be removed |
|
|
64 | on invocation - important to avoid circular references. |
|
|
65 | |
|
|
66 | 7.12 Wed Jan 27 19:12:26 CET 2016 |
|
|
67 | - use common name as hostname for tls connects, if Net::SSLeay |
|
|
68 | supports SNI. |
|
|
69 | - fix documentation of tls_autostart read type in AnyEvent::Handle, |
|
|
70 | analyzed by Felix Ostmann. |
|
|
71 | |
|
|
72 | 7.11 Thu Jul 16 14:36:00 CEST 2015 |
|
|
73 | - AnyEvent::Socket::parse_ipv6 could accept malformed ipv6 |
|
|
74 | addresses (extra "::" at end and similar cases). |
|
|
75 | - add a more explicit warning to AnyEvent::Handle that it doesn't |
|
|
76 | work on files, people keep getting confused. |
|
|
77 | - new function AnyEvent::Socket::tcp_bind. |
|
|
78 | - new functions AnyEvent::fh_block and AnyEvent::fh_unblock. |
|
|
79 | - aligned ipv6 address formatting with RFC 5952 (by not shortening |
|
|
80 | a single :0: to ::). |
|
|
81 | - added stability canary support. |
|
|
82 | |
|
|
83 | 7.09 Sat May 2 16:38:53 CEST 2015 |
|
|
84 | - AnyEvent::Debug called an internal function (AnyEvent::Log::ft) |
|
|
85 | that was renamed to AnyEvent::Log:format_time. uinder its old name |
|
|
86 | (analyzed by Michael Stovenour). |
|
|
87 | - update AnyEvent::DNS fallback resolver addresses: |
|
|
88 | seems google effectively killed most other free dns resolvers, |
|
|
89 | so remove them, but add cable and wireless (ecrc) since it was |
|
|
90 | stable for 20 years or so, official or not, and there should be |
|
|
91 | an alternative to google. |
|
|
92 | - perl5porters broke windows error codes in 5.20, and mapped |
|
|
93 | WSAEWOULDBLOCK on the (different) EWOULDBLOCK error code, and |
|
|
94 | WSAEINPROGRESS into the incompatible ERINPROGRESS code, probably |
|
|
95 | because they were so cool. They probably broke other error codes |
|
|
96 | for no reason, too, but I didn't care for checking, it's too |
|
|
97 | depressing. This version only works around the WSAEWOULDBLOCK |
|
|
98 | issue, because I don't have a nice way to work around the |
|
|
99 | WSAEINPROGRESS bug. |
|
|
100 | |
|
|
101 | 7.08 Wed Dec 10 05:27:17 CET 2014 |
|
|
102 | - work around a newly introduced bug in Socket 2.011 (an |
|
|
103 | errornous sun_length check) (analyzed by Maxime Soulé). |
|
|
104 | - AnyEvent::TLS didn't load (but refer to) AnyEvent::Socket |
|
|
105 | (analyzed by Ben Magistro). |
|
|
106 | - AnyEvent::Strict will now confess, not croak. This is in line with |
|
|
107 | it being a development/debugging tool. |
|
|
108 | - work around a number of libglib bugs (debug builds of libglib enforce |
|
|
109 | certain undocumented behaviour patterns such as not being able to |
|
|
110 | remove a child watch source after it has fired, which we will try |
|
|
111 | to emulate to avoid "criticals". what where they thinking...). |
|
|
112 | - mention json security issues in AnyEvent::Handle, now that Douglas |
|
|
113 | Crockford has foolishly and incompatibly changed JSON. |
|
|
114 | - changed default dns resolver "max_outstanding" value from 1 to 10, |
|
|
115 | the latter beinfg the intended value all along |
|
|
116 | (reported by Ilya Chesnokov). |
|
|
117 | - added new "AnyEvent::Impl::UV" interface module to the UV event lib |
|
|
118 | (written by Mike Lowell). |
|
|
119 | |
|
|
120 | 7.07 Tue Dec 17 17:45:02 CET 2013 |
|
|
121 | - the documentation for custom tls verify schemes was wrong. make it agree |
|
|
122 | with the code (reported by Maxime Soulé). |
|
|
123 | - added cbor read and write types to AnyEvent::Handle (using CBOR::XS). |
|
|
124 | - work around an API change in openssl that could cause wrong tls connection |
|
|
125 | aborts, likely on windows only (analyzed by sten). |
|
|
126 | - calling AnyEvent->now_update with AnyEvent::Impl::Perl caused an |
|
|
127 | endless loop (reported by Dietrich Rebmann). |
|
|
128 | - add tlsv1_1 and tlsv1_2 protocols to AnyEvent::TLS |
|
|
129 | (patch by Maxime Soulé). |
|
|
130 | - document AnyEvent::Impl::IOAsync::set_loop and |
|
|
131 | $AnyEvent::Impl::IOAsync::LOOP. Though only documented now, this |
|
|
132 | functionality has _always_ been available. |
|
|
133 | - force a toplevel domain name in t/81_hosts.t (analyzed by |
|
|
134 | David Jack Wange Olrik). |
|
|
135 | - document that AnyEvent::Log uses AnyEvent::IO. |
|
|
136 | - warn about AnyEvent::Filesys::Notify performance. |
|
|
137 | - praise the joys of AnyEvent::Fork::*. |
|
|
138 | - time for an =encoding directive. |
|
|
139 | - do no longer use JSON to create a default json coder, use |
|
|
140 | JSON::XS or JSON::PP directly. |
|
|
141 | |
|
|
142 | 7.05 Wed Aug 21 10:38:08 CEST 2013 |
|
|
143 | - uts46data.pl couldn't be found due to wrong naming of the file |
|
|
144 | (reported by Fulko Hew). |
|
|
145 | - handle lone \015's properly in AE::Handle's default line read |
|
|
146 | (reported by various people). |
|
|
147 | - untaint ip addresses found in /etc/hosts (patch by José Micó). |
|
|
148 | - the memleak fix in 7.03 caused resolving via /etc/hosts to always |
|
|
149 | fail on first use (reported and testcase by Andrew Whatson). |
|
|
150 | - expose AnyEvent::Log::format_time, and allow users to redefine it. |
|
|
151 | - expose AnyEvent::Log::default_format, and allow redefinition. |
|
|
152 | - expose AnyEvent::Log::fatal_exit, to allow redefinition. |
|
|
153 | - AnyEvent::Debug shell can now run coro shell commands, if available. |
|
|
154 | - t/63* tests were wrongly in MANIFEST. |
|
|
155 | - kernel.org's finger server went MIA, switch to freebsd.org and |
|
|
156 | icculus.org. |
|
|
157 | - clarify that IO::AIO and AnyEvent::AIO are needed for AnyEvent::IO |
|
|
158 | to function asynchronously (reported by Daniel Carosone). |
|
|
159 | - hard-disable $^W in most tests, it generates too much garbage output. |
|
|
160 | - use a (hopefully) more future-proof method to emulate common::sense. |
|
|
161 | - upgrade to UTS-46:6.2.0. |
|
|
162 | - switch to INSTLIB from INSTLIBDIR, as INSTLIBDIR was wrongly |
|
|
163 | documented. should not affect anything. |
|
|
164 | |
|
|
165 | 7.04 Thu Nov 15 02:23:58 CET 2012 |
|
|
166 | - debugging code left in. |
|
|
167 | |
|
|
168 | 7.03 Thu Nov 15 02:16:11 CET 2012 |
|
|
169 | - AnyEvent::Socket::inet_aton did not work when dns resolution was |
|
|
170 | used to find the addresses (analyzed and patch by Maxime Soulé). |
|
|
171 | - fix a memory leak in the /etc/hosts lookup code when hosts don't |
|
|
172 | resolve and are not in hosts (analyzed by sten). |
|
|
173 | |
|
|
174 | 7.02 Tue Aug 14 04:27:58 CEST 2012 |
|
|
175 | - AnyEvent::Util::run_cmd could block indefinitely (analyzed and test |
|
|
176 | program by Yorhel). |
|
|
177 | - verified that AnyEvent::Socket follows RFC5952. |
|
|
178 | - try to parse "ADDR#PORT" in addition to "ADDR PORT". |
|
|
179 | |
|
|
180 | 7.01 Sun May 13 01:03:17 CEST 2012 |
|
|
181 | - fail with EPROTO in AnyEvent::Handle wqhen TLS is requested but |
|
|
182 | not available, instead of throwing an exception. |
|
|
183 | - use File::Spec to get the tmpdir in t/*, to avoid needless |
|
|
184 | failures on (most, not mine :) windows boxes. |
|
|
185 | - new handle read types: tls_detect and tls_autostart. |
|
|
186 | |
|
|
187 | 7.0 Fri Apr 13 06:33:30 CEST 2012 |
|
|
188 | - child watchers are broken in POE 1.352 (also many earlier |
|
|
189 | versions) and there seems to be no way to work around it, as POE |
|
|
190 | itself is inherently racy. Document this regression and add a delay |
|
|
191 | in t/68_poe_03_child.t for the time being. |
|
|
192 | - new module AnyEvent::IO, that is a frontend to either a pure-perl |
|
|
193 | synchronous I/O implementation (AnyEvent::IO::Perl), or to the |
|
|
194 | asynchronous I/O extension IO::AIO (AnyEvent::IO::IOAIO). |
|
|
195 | - load /etc/hosts only when DNS has no answer. |
|
|
196 | - stat /etc/hosts on every access and reload it if it changed. |
|
|
197 | - load /etc/hosts via AnyEvent::IO - potentially asynchronous. |
|
|
198 | - fix a buggy croak in the dh parameter reading in AnyEvent::TLS. |
|
|
199 | - AnyEvent::Log log_to_file and log_to_path now use AnyEvent::IO. As |
|
|
200 | a side effect, they now use true appending as opposed to libc |
|
|
201 | appending, and the file might not have been opened when the function |
|
|
202 | returns. |
8 | - the default logging level was not properly documented in a variety of |
203 | - the default logging level was not properly documented in a variety of |
9 | places, this has hopefully been rectified. |
204 | places, this has hopefully been rectified. |
10 | - updated uts46data.pl for unicode 6.1.0. |
205 | - updated uts46data.pl for unicode 6.1.0. |
11 | - made log messages genearted by AnyEvent submodules not |
206 | - made log messages generated by AnyEvent submodules not |
12 | include the package name anymore, as it will be logged |
207 | include the package name anymore, as it will be logged |
13 | by default already. |
208 | by default already. |
14 | - upgrade to the trick used by common-sense 3.5 to work |
209 | - upgrade to the trick used by common-sense 3.5 to work |
15 | around extra warning torture/breakage under perl 5.15.x. |
210 | around extra warning torture/breakage under perl 5.15.x. |
|
|
211 | - log messages by anyevent are now ucfirst, are usually full |
|
|
212 | sentences and do no longer include the package name. |
|
|
213 | - the storable read type would sometimes throw an exception instead |
|
|
214 | of causing EBADMSG (analyzed by Maxime Soulé). |
|
|
215 | - work around a bug in openssl 1.0.1 which enforces a minimum rsa |
|
|
216 | keysize (reported by Paul Howarth). |
|
|
217 | - documented Rocco fabricating statements about AnyEvent and me. |
16 | |
218 | |
17 | 6.14 Tue Jan 31 20:00:24 CET 2012 |
219 | 6.14 Tue Jan 31 20:00:24 CET 2012 |
18 | - AnyEvent::Impl::Tk was broken due to a mysterious "die" inside, |
220 | - AnyEvent::Impl::Tk was broken due to a mysterious "die" inside, |
19 | probably an editing mistake (reported by Darin McBride). |
221 | probably an editing mistake (reported by Darin McBride). |
20 | |
222 | |
… | |
… | |
110 | - an empty PERL_ANYEVENT_RESOLV_CONF now selects the default |
312 | - an empty PERL_ANYEVENT_RESOLV_CONF now selects the default |
111 | configuration. |
313 | configuration. |
112 | - env variables can now be specified using AE_xyz instead of |
314 | - env variables can now be specified using AE_xyz instead of |
113 | PERL_ANYEVENT_xyz, subject to some rules. |
315 | PERL_ANYEVENT_xyz, subject to some rules. |
114 | - lots of new AnyEvent::Debug functionality. |
316 | - lots of new AnyEvent::Debug functionality. |
115 | - AnyEvent::Strict now checks for modifications $_ by the callback |
317 | - AnyEvent::Strict now checks for modifications of $_ by the callback |
116 | (by setting it to readonly while executing the callback, if possible). |
318 | (by setting it to readonly while executing the callback, if possible). |
117 | - IO::Async sometimes cancels the wrong timer when you call cancel_timer. |
319 | - IO::Async sometimes cancels the wrong timer when you call cancel_timer. |
118 | Invest extra overhead to work around this peculiar behaviour. |
320 | Invest extra overhead to work around this peculiar behaviour. |
119 | - split the pure perl backend into a loop module and an impl |
321 | - split the pure perl backend into a loop module and an impl |
120 | module (AnyEvent::Loop and AnyEvent::Impl::Perl). |
322 | module (AnyEvent::Loop and AnyEvent::Impl::Perl). |
… | |
… | |
534 | in the common case. |
736 | in the common case. |
535 | - add AnyEvent::Handle->push_shutdown method. |
737 | - add AnyEvent::Handle->push_shutdown method. |
536 | - add an additional error message parameter to AnyEvent::Handle's |
738 | - add an additional error message parameter to AnyEvent::Handle's |
537 | on_error callback (for TLS, $! is still available). |
739 | on_error callback (for TLS, $! is still available). |
538 | - add AnyEvent::Handle on_starttls/on_stoptls callbacks. |
740 | - add AnyEvent::Handle on_starttls/on_stoptls callbacks. |
539 | - make AnyEvent::Handle more robust against early conenction |
741 | - make AnyEvent::Handle more robust against early connection |
540 | failures (during new), and return C<undef> in that case |
742 | failures (during new), and return C<undef> in that case |
541 | from the constructor. |
743 | from the constructor. |
542 | - AnyEvent::Handle will now try to load only JSON::XS first, |
744 | - AnyEvent::Handle will now try to load only JSON::XS first, |
543 | then fall back to JSON. |
745 | then fall back to JSON. |
544 | - format_ipv4/format_ipv6 are now exported by default, for symmetry, |
746 | - format_ipv4/format_ipv6 are now exported by default, for symmetry, |