1 | Revision history for Perl extension AnyEvent. |
1 | Revision history for Perl extension AnyEvent. |
2 | |
2 | |
3 | TODO: inet_aton does not actually deliver ipv6 addresses |
3 | TODO: document TCP_*** constants |
|
|
4 | |
|
|
5 | TODO: AnyEvent::Log |
|
|
6 | 6.01 |
|
|
7 | - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include |
|
|
8 | the TTL as fourth element - this affects ->resolve directly, |
|
|
9 | and ->request and ->dns_unpack indirectly. Convenience functions |
|
|
10 | such as AnyEvent::DNS::{a,txt,mx,srv} are not affected, neither |
|
|
11 | is AnyEvent::Socket. |
|
|
12 | - INCOMPATIBLE CHANGE: backend authors now should not implement |
|
|
13 | one_event or loop, but instead the AnyEvent::CondVar::_wait and _poll |
|
|
14 | methods. |
|
|
15 | - INCOMPATIBLE CHANGE: verbosity levels have been redefined, see |
|
|
16 | AnyEvent (PERL_ANYEVENT_VERBOSE) and AnyEvent::Log for details. |
|
|
17 | - DEPRECIATION: please change |
|
|
18 | "use AnyEvent::Impl::Perl" to "use AnyEvent::Loop" and |
|
|
19 | "AnyEvent::Impl::Perl::loop" to "AnyEvent::Loop::run" |
|
|
20 | in your programs, for future compatibility. |
|
|
21 | - *blush* idle watcher emulation was borked. |
|
|
22 | - AnyEvent::Strict now checks the AE::xxx functions as well. |
|
|
23 | - querying too long domain names would barf deep inside AnyEvent::DNS - since |
|
|
24 | this is hard to avoid for applications, AnyEvent:.DNS::request now checks for |
|
|
25 | for too long domain names explicitly and passes an undef to the callback |
|
|
26 | instead (reported by James Bromberger). |
|
|
27 | - make AnyEvent::Util more robust against EINTR (analyzed by Andrew Suffield). |
|
|
28 | - new functions: AnyEvent::postpone, AnyEvent::log. |
|
|
29 | - new module: AnyEvent::Log, for simple logging needs. |
|
|
30 | - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start |
|
|
31 | a debug shell. |
|
|
32 | - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable |
|
|
33 | watcher instrumentation/wrapping (see AnyEvent::Debug::wrap). |
|
|
34 | - lots of new AnyEvent::Debug functionality. |
|
|
35 | - AnyEvent::Strict now checks for modifications $_ by the callback. |
|
|
36 | - IO::Async sometimes cancels the wrong timer when you call cancel_timer. |
|
|
37 | Invest extra overhead to work around this peculiar behaviour. |
|
|
38 | - split the pure perl backend into a loop module and an impl |
|
|
39 | module (AnyEvent::Loop and AnyEvent::Impl::Perl). |
|
|
40 | - some read types (regex, netstring, json, storable) could |
|
|
41 | errornously keep an AE::Handle object alive on their own |
|
|
42 | (reported by Mohammad Toossi). |
|
|
43 | - add more workarounds around child watcher bugs in IO::Async |
|
|
44 | and (newly introduced) in POE. |
|
|
45 | - use glib child watchers and try to work around its limitations, |
|
|
46 | if possible (based on a patch by Kevin Ryde). |
|
|
47 | - add support for FLTK (fltk2), via AnyEvent::Impl::FLTK2. |
|
|
48 | - many read types in AnyEvent::Handle would malfunction during |
|
|
49 | transitions to TLS because of a "delete $self->{rbuf}". |
|
|
50 | (reported by Gerald Galster). |
|
|
51 | - improve condvar blocking wait performance (probably only noticable |
|
|
52 | with faster backends), also make it easier for event loops that |
|
|
53 | do not support blocking waits. |
|
|
54 | - PERL_ANYEVENT_MODEL now also allows full module names, although |
|
|
55 | the usefulness of this feature is not yet clear. |
|
|
56 | - add tests for all supported event loops, conditional on PERL_ANYEVENT_LOOP_TESTS. |
|
|
57 | - add t/80_ssltext.t. |
|
|
58 | - no longer use AUTOLOAD for the initial loading (for no very good reason). |
|
|
59 | - tcp_server now tries to unlink unix domain sockets when it gets destroyed. |
|
|
60 | - do not run event loop detection multiple times when programs call their cached |
|
|
61 | copies of AnyEvent::detect. |
|
|
62 | - parse_hostport now accepts absolute paths als unix domain sockets. |
|
|
63 | |
|
|
64 | 6.0 (not officially released, but was on CPAN for about 15 minutes :/) |
|
|
65 | |
|
|
66 | 5.34 Thu May 12 09:59:41 CEST 2011 |
|
|
67 | - AE::TLS didn't support both cert_file and key at the same time, |
|
|
68 | due to some copy&paste bug (reported and analyzed by vti). |
|
|
69 | - improve AE::Handle timeout documentation slightly. |
|
|
70 | |
|
|
71 | 5.33 Mon Feb 7 21:51:41 CET 2011 |
|
|
72 | - never appeared on CPAN, for unknown reasons. |
|
|
73 | - AnyEvent::Handle on_connect_error - do not try to destroy a handle |
|
|
74 | object when it's already gone (analyzed by Ryan Bullock). |
|
|
75 | - update idna algorithm(s) to UTS#46 version 6.0.0. |
|
|
76 | - preserve trailing dot in idn_to_ascii - testsuite says to preserve, |
|
|
77 | uts46 says it's an error, and testsuite makes more sense. |
|
|
78 | - remove leading dots in idn_to_ascii - testsuite says to remove, |
|
|
79 | uts46 says it's an error, and testsuite makes more sense. |
|
|
80 | - fixed a bug in idn ignored character processing. |
|
|
81 | - passes the uts46 6.0.0 testsuite except for three cases which |
|
|
82 | apparently are bugs in the testsuite itself. |
|
|
83 | - passes the uts46 6.0.1 testsuite except for eleven cases which |
|
|
84 | apparently are bugs in the testsuite itself. |
|
|
85 | |
|
|
86 | 5.31 Sun Jan 23 11:49:19 CET 2011 |
|
|
87 | - work around a POE bug where POE would first poll for new events and |
|
|
88 | invoke handlers BEFORE handling the message queue. |
|
|
89 | - fix parsing of "domain" statement in resolv.conf (Johannes Plunien). |
|
|
90 | - stop_read now does just that in TLS mode. see its |
|
|
91 | documentation for caveats. |
|
|
92 | - update to common::sense 3.4 warning set (some warnings in perl impose |
|
|
93 | an arbitrary 32kb limit on regex matches, which affects |
|
|
94 | AnyEvent::Handle). |
|
|
95 | - AE::Handle had a broken rbuf_max method and missing wbuf_max method. |
|
|
96 | - new experimental AE::Handle::resettls method. |
|
|
97 | |
|
|
98 | 5.3 Fri Dec 31 05:48:13 CET 2010 |
|
|
99 | - major IOAsync patch by Paul Evans - 0.33 is required, as the major |
|
|
100 | issues with IO::Async have been solved in that version, including |
|
|
101 | the availabilty of a default loop! |
|
|
102 | - implement new wbuf_max parameter for AnyEvent::Handle. |
|
|
103 | - added Cocoa::EventLoop backend by Daisuke Murase. |
|
|
104 | - the default testsuite now honors PERL_ANYEVENT_MODEL (Paul Evans). |
|
|
105 | - clarify handle on_prepare documentation. |
|
|
106 | - set CLOEXEC flag on parent-side fd's in AnyEvent::Util::run_cmd, |
|
|
107 | to avoid leaking them to any child processes. |
|
|
108 | - try to force files into the arch-dependend lib directory, for the |
|
|
109 | half-"turly obsessive compulsive person"(s) that depend on it. |
|
|
110 | |
|
|
111 | 5.29 Sun Dec 5 10:49:21 CET 2010 |
|
|
112 | - convert EV backend to EV 4.00 API (so better upgrade EV too). |
|
|
113 | - AE::Handle: implement dynamic read_size adjustment, add |
|
|
114 | max_read_size parameter, reduce default read_size to 2048. |
|
|
115 | - add some FAQ entries for servers and/or on_eof vs. on_error. |
|
|
116 | - work around OS bugs (cygwin again) when lingering in AE::Handle. |
|
|
117 | - reduce memory usage slightly when connect was used in AE::Handle. |
|
|
118 | - wrok around more segfaults in Tk. |
|
|
119 | - document tls_ctx => undef as valid. |
|
|
120 | - detect WNOHANG value at compiletime. |
|
|
121 | - include some probably linux-only support for building AnyEvent |
|
|
122 | as part of the perl core. |
|
|
123 | - improve compatibility of t/08_idna.t to perl 5.8. |
|
|
124 | - make AnyEvent::Strict truly optional (in case somebody builds a |
|
|
125 | minimal perl...). |
|
|
126 | |
|
|
127 | 5.28 Wed Oct 13 04:14:23 CEST 2010 |
|
|
128 | - due to a glitch, AnyEvent's internal getprotobyname wasn't |
|
|
129 | actually used in tcp_server. |
|
|
130 | - implement AnyEvent::CondVar->new method, which was documented but |
|
|
131 | missing. |
|
|
132 | - support autoloading of read types in unshift_read. |
|
|
133 | - AnyEvent::Strict: do the test for invalid fh arguments differently, |
|
|
134 | resulting in more informative error messages. |
|
|
135 | - new AnyEvent::FAQ manpage. |
|
|
136 | - clarify that you can actually call push_read etc. in on_read. |
|
|
137 | - put keys and certs in /tmp, not into the current directory, |
|
|
138 | and document this in the SECURITY CONSIDERATIONS sections |
|
|
139 | of AnyEvent::TLS. |
|
|
140 | - support ";" as resolv.conf comment character in AnyEvent::DNS, as |
|
|
141 | requested by Ron Isaacson. |
|
|
142 | - document $AnyEvent::DNS::RESOLVER variable. |
|
|
143 | - incorporated major typo patches by Abhijit Menon-Sen. |
|
|
144 | - AnyEvent::Handle now croaks when negative timeouts are passed. |
|
|
145 | - add a shitload of TCP_xxx sockopt name constants to AnyEvent::Util, |
|
|
146 | undocumented, but who knows when they might come in handy. |
|
|
147 | |
|
|
148 | 5.271 Tue Jun 8 12:05:46 CEST 2010 |
|
|
149 | - backport to perl 5.8.x. |
|
|
150 | |
|
|
151 | 5.27 Sun Jun 6 12:12:05 CEST 2010 |
|
|
152 | - postpone differently in AnyEvent::Socket now, as |
|
|
153 | when not, canceling the connection attempt might fail |
|
|
154 | (found by Felix Antonius Wilhelm Ostmann). |
|
|
155 | - explicitly check for non-stream sockets in AE::Handle, too many |
|
|
156 | clueless people fell into the trap of this somehow working. |
|
|
157 | - simplified and reworked the "OTHER MODULES" section. |
|
|
158 | - better/more condvar examples. |
|
|
159 | |
|
|
160 | 5.261 Wed Apr 28 16:13:36 CEST 2010 |
|
|
161 | - AF_INET6 was not properly used from Socket6 during configuration |
|
|
162 | time (found by Andy Grundman). |
|
|
163 | |
|
|
164 | 5.26 Mon Apr 12 04:49:35 CEST 2010 |
|
|
165 | - don't generate spurious readyness notifications when select |
|
|
166 | returns EINTR in the pure perl backend (analysed and testcase |
|
|
167 | by Bas Denissen). |
|
|
168 | - give same examples in SYNOPSIS sections of AnyEvent and AE. |
|
|
169 | - provider faster implementations for AE::time/now/now_update for |
|
|
170 | EV and Perl backends. |
|
|
171 | - provide faster AE::cv and AE::time implementations for all |
|
|
172 | backends. |
|
|
173 | - no longer support lower/mixed-case signal names (this was |
|
|
174 | never documented nor universally supported). |
|
|
175 | - some more memory ยต-optimisations, and somewhat less messy |
|
|
176 | code to cope with both AnyEvent and AE APIs. |
|
|
177 | |
|
|
178 | 5.251 Sat Mar 13 00:58:21 CET 2010 |
|
|
179 | - make test failed if it was run before make install on perl <= |
|
|
180 | 5.8.8, and older versions of perl make our live very difficult, |
|
|
181 | so write constants.pl during Makefile.PL time. |
|
|
182 | |
|
|
183 | 5.25 Sat Mar 13 00:23:14 CET 2010 |
|
|
184 | - fix a race condition in AnyEvent::Handle that would cause |
|
|
185 | a "bio_read: unsupported method" error (in _another_ |
|
|
186 | ssl connection) after user code threw an exception. |
|
|
187 | - added AnyEvent::Handle->destroyed method. |
|
|
188 | - speed up AnyEvent::Socket::format_address and ::format_ipv6. |
|
|
189 | - the AnyEvent::Util::fh_nonblocking function worked only |
|
|
190 | by lucky accident on win32. |
|
|
191 | - smaller and faster AnyEvent::Util::fh_nonblocking. |
|
|
192 | - when the (required!) Time::HiRes module is missing, AnyEvent |
|
|
193 | did not fall back to built-in time properly. |
|
|
194 | - do not load Fcntl at runtime, saving memory and loading time. |
|
|
195 | - precompile a number of constants and use them instead of runtime |
|
|
196 | detection and eval. |
|
|
197 | - free detection code after detection and similar memory optimisations. |
|
|
198 | - Perl backend timer interval best effort drift has been improved |
|
|
199 | (same algorithm as EV). |
|
|
200 | - update unicode idna mapping table. |
|
|
201 | |
|
|
202 | 5.24 Tue Jan 5 11:39:43 CET 2010 |
|
|
203 | - cygwin never reports errors from failed connects. 1.5 just gives |
|
|
204 | you continous readyness and EAGAIN, 1.7 is even more broken and |
|
|
205 | just hangs. work around both issues in a cygwin-specific hack. |
|
|
206 | - improve idle watcher documentation slightly. |
|
|
207 | |
|
|
208 | 5.23 Sun Dec 20 23:48:00 CET 2009 |
|
|
209 | - support IDNs in resolve_sockaddr, and therefore in tcp_connect. |
|
|
210 | - implement punycode_encode/decode, idn_nameprep, |
|
|
211 | idn_to_ascii and idn_to_unicode operations in AnyEvent::Util. |
|
|
212 | - provide $AE::VERSION. |
|
|
213 | - removed traces of "no strict 'refs'". |
|
|
214 | |
|
|
215 | 5.22 Sat Dec 5 03:51:13 CET 2009 |
4 | - downgrade-or-fail in AnyEvent::Handle::push_write, to |
216 | - downgrade-or-fail in AnyEvent::Handle::push_write, to |
5 | diagnose encoding failures earlier and more succinctly. |
217 | diagnose encoding failures earlier and more succinctly. |
6 | (this works around bugs in perl, throwing away encoding info |
218 | (this works around bugs in perl, throwing away encoding info |
7 | when passing scalar data to extensions). |
219 | when passing scalar data to extensions). |
8 | - add more examples to AnyEvent::Socket manpage. |
220 | - add more examples to AnyEvent::Socket manpage. |
9 | - upgrade internal warning set to the same as common::sense 2.03. |
221 | - upgrade internal warning set to the same as common::sense 2.03. |
10 | - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS |
222 | - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS |
11 | (John Beppu). |
223 | (John Beppu). |
|
|
224 | - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented. |
12 | - add google public dns servers to fallback server set and make sure |
225 | - add google public dns servers to fallback server set and make sure |
13 | we load-balance properly between the three sets. also add all |
226 | we load-balance properly between the three sets. also add all |
14 | fallback dns servers, not just a random one, to each dns config. |
227 | fallback dns servers, not just a random one, to each dns config. |
15 | |
228 | |
16 | 5.21 Thu Nov 19 02:48:47 CET 2009 |
229 | 5.21 Thu Nov 19 02:48:47 CET 2009 |
… | |
… | |
368 | 4.3 Fri Oct 3 09:18:43 CEST 2008 |
581 | 4.3 Fri Oct 3 09:18:43 CEST 2008 |
369 | - AnyEvent will now install a no-op signal handler for SIGPIPE, |
582 | - AnyEvent will now install a no-op signal handler for SIGPIPE, |
370 | unless one has been installed already. |
583 | unless one has been installed already. |
371 | - warn about not loaidng AnyEvent::Impl::POE early enough |
584 | - warn about not loaidng AnyEvent::Impl::POE early enough |
372 | (patch by Adam Rosenstein). |
585 | (patch by Adam Rosenstein). |
373 | - fixed a great number of bugs and corner cases in AnyEvent::Handle: |
586 | - fixed a great number of bugs and corner cases in AnyEvent::Handle. |
374 | - fix a bug in where in SSL connect mode, the |
587 | - fix a bug in where in SSL connect mode, the |
375 | client would first wait for some data by the server and |
588 | client would first wait for some data by the server and |
376 | otherwise hang. (reported and analysed in an absolutely |
589 | otherwise hang. (reported and analysed in an absolutely |
377 | exemplary manner by Adam Rosenstein). |
590 | exemplary manner by Adam Rosenstein). |
378 | - fix a bug in where SSL EOF would not be treated |
591 | - fix a bug in where SSL EOF would not be treated |