--- AnyEvent/Changes 2008/05/24 23:12:43 1.98 +++ AnyEvent/Changes 2008/05/30 08:17:10 1.138 @@ -1,10 +1,84 @@ Revision history for Perl extension AnyEvent. + - INCOMPATIBLE CHANGE: replace ptr by real PTR lookup, provide + reverse_lookup and reverse_verify to replace it, support + v4mapped and v4compat addresses. + - provide more documentation for the resolver class. + - really replace longest run of :0: by :: in format_address, + also properly convert :: and ::1 again. + - support NAPTR record name and decode it. + - implement random weight sampling for SRV records, as per + rfc 2782. + - correctly abort on srv-record targets of ".". + - added AnyEvent::DNS::wait_for_slot. + - in the unlikely event of a virtual circuit connection + being invalidated by a delayed udp reply, AnyEvent::DNS + could die. this has been fixed. + - plug a probable memleak in the DNS vc code. + - use configured timeout also for VC request phase. + +4.1 Thu May 29 05:45:40 CEST 2008 + - INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address + which mirrors their purpose better (old names still available + for a while). Also moved AnyEvent::DNS::addr to + AnyEvent::Socket::resolve_sockaddr. + - implement AnyEvent->time and AnyEvent->now. + - fix IPv6 support in pack_sockaddr. + - officially un-experimentalise all newly introduced code. + - support unix domain sockets everywhere by specifying + a host of "unix/" and the pathname as service. + - implement an activity timeout in AnyEvent::Handle. + - added a regex read type to AnyEvent::Handle. + - added a json read/write type to AnyEvent::Handle. + - always croak in on_error in AnyEvent::Handle. + - document how to subclass AnyEvent::Handle. + - implement AnyEvent::Util::fork_call. + - add support for IPv6 nameservers and nameserver statements. + - work around _yet_ _another_ windows perl bug in where empty + select masks cause errors in the pure perl backend (this + workaround cannot be implemented for the other event loops, + but EV also works around this). + - supply AnyEvent::Socket::address_type and make good use of it. + - clarify and fix the Handle documentation w.r.t $self vs. $handle + vs. callback arguments. + - add some recommends to the META.yml. + +4.05 Mon May 26 19:44:06 CEST 2008 + - some platforms ignore the rfc and prepend an extra sa_len member to + the sockaddr structure, cater for those. also use sockaddr_family, + didn't know it was there, but comes in handy for the workaround. + - undo the import WIN32 hack. + +4.04 Mon May 26 08:03:31 CEST 2008 + - try to work around yet another windows bug: failed connects are reported + as if it were out-of-band data. windows users: you suck. Only + EV, Glib, Event and the pure perl backend can handle this condition. + - optimize write algorithm in AnyEvent::Handle. + - properly parse PERL_ANYEVENT_PROTOCOLS and use the info correctly. + - tcp_connect now properly iterates through all targets. + - check wether IPv6 sockets can actually be created, otherwise, disable ipv6 + support entirely. also hardcode some AF_INET6 constants for the + sake of perl 5.8. + - vastly improved nameserver/suffix detection algorithm for windows + (still a hack...) + - try to use a fallback dns server if no dns servers could be found. + - splatter around some local $SIG{__DIE__}'s to work around bad + die handlers. + +4.03 Sun May 25 05:05:57 CEST 2008 + - work around perl bugs on windows, where perl returns undocumented + error codes for sysread, syswrite etc. - fix AnyEvent::Handle::unshift_read to really unshift and not push. - AnyEvent::Handle could sometimes stumble over 0-byte writes. - - croak, not die, in AnyEvent::Handle; + - fix unpack_sockaddr, now works for AF_INET6 sockaddr's. + - updated documentation. + - lots of workarounds for perl 5.8 quirks. - implement a more flexible type system for both reads and writes in AnyEvent::Handle. + - support IPv6 in tcp_server. + - pass local hostname and port to the prepare callback in tcp_server. + - make types extendable in AnyEvent::Handle. + - croak, not die, in AnyEvent::Handle; 4.0 Sat May 24 19:58:08 CEST 2008 - added (experimental) AnyEvent::DNS module. @@ -20,7 +94,7 @@ - make on_eof optional in AnyEvent::Handle. - support service names in tcp_connect and tcp_server. - work around netbsd/openbsd bug causing unix sockets not to - become writable untill empty. + become writable until empty. - only make a dummy read for error detection when getpeername returns ENOTCONN. - defend AnyEvent::Util::inet_aton against Coro::LWP brutal