aboutsummaryrefslogtreecommitdiff
path: root/NEW
diff options
context:
space:
mode:
Diffstat (limited to 'NEW')
-rw-r--r--NEW69
1 files changed, 51 insertions, 18 deletions
diff --git a/NEW b/NEW
index b84b5fb..7c94368 100644
--- a/NEW
+++ b/NEW
@@ -1,21 +1,54 @@
1What's New 1What's New
2 2
3The big change for the 2.0 (beta3) release was the adoption of the Lua 3There is no big change for the 2.0 (final) release. It is
45.1 package proposal. There were several bug fixes too (a beta is a 4basically a bug fix release. The main improvement is in the
5beta, is a beta). 5non-blocking support.
6 6
7* New compat-5.1 distribution: 7 * New: sample module dispatch.lua implements a coroutine
8 - Instalation uses new directory structure; 8 based dispatcher;
9 - Namespace hierarchy is in now back in use (ex. socket.url instead of url); 9 * New: sample check-links.lua works both in blocking and
10 - All modules call require even for standard libraries; 10 non-blocking mode using coroutines (using the new
11* LTN12 avoids coroutines (so you can go wild on the C side); 11 dispatcher);
12* socket.select wasn't calling tm_markstart; 12 * New: sample forward.lua implements a coroutine based
13* Kludge on wsocket.c:sock_send for Windows timeout issue moved to 13 forward server (using the new dispatcher);
14 buffer.c:sendraw so it's not a kludge anymore; 14 * Improved: tcp:send(data, i, j) to return (i+sent-1). This
15* socket.protect only catches errors thrown by socket.try; 15 is great for non-blocking I/O, but might break some code;
16* Fixed udp:sendto to call sock_sendto instead of sock_send; 16 * Improved: HTTP, SMTP, and FTP functions to accept a new
17* close wasn't returning 1! 17 field create that overrides the function used to create
18* socket.gettime returns time since Unix Epoch 1/1/1970 (UTC) 18 socket objects;
19* socket.sleep is robust to interrupts; 19 * Improved: smtp.message now supports multipart/alternative
20* http.PROXY wasn't working. 20 (for the HTML messages we all love so much);
21* fixed some of the examples 21 * Fixed: smtp.send was hanging on errors returned by LTN12
22 sources;
23 * Fixed: url.absolute() to work when base_url is in parsed
24 form;
25 * Fixed: http.request() not to redirect when the location
26 header is empty (naughty servers...);
27 * Fixed: tcp{client}:shutdown() to check for class instead
28 of group;
29 * Fixed: The manual to stop using socket.try() in place of
30 assert(), since it can't;
31 * Improved: Got rid of package.loaded.base = _G kludge;
32 * Fixed: Parts of the manual referred to require("http")
33 instead of require("socket.http");
34 * Improved: Socket and MIME binaries are called 'core' each
35 inside their directory (ex. "socket/core.dll"). The 'l'
36 prefix was just a bad idea;
37 * Improved: Using bundles in Mac OS X, instead of dylibs;
38 * Fixed: luasocket.h to export luaopen_socket_core;
39 * Fixed: udp:setpeername() so you can "disconnect" an UDP
40 socket;
41 * Fixed: A weird bug in HTTP support that caused some
42 requests to fail (Florian Berger);
43 * Fixed: Bug in socket.select() that caused sockets with
44 descriptor 0 to be ignored (Renato Maia);
45 * Fixed: "Bug" that caused dns.toip() to crash under uLinux
46 (William Trenker);
47 * Fixed: "Bug" that caused gethostbyname to crash under VMS
48 (Renato Maia);
49 * Fixed: tcp:send("") to return 0 bytes sent (Alexander
50 Marinov);
51 * Improved: socket.DEBUG and socket.VERSION became
52 socket._DEBUGs and socket._VERSION for uniformity with other
53 libraries;
54 * Improved: socket.select now works on empty sets on Windows.