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