diff options
author | Caleb Maclennan <caleb@alerque.com> | 2022-03-24 21:52:12 +0300 |
---|---|---|
committer | Caleb Maclennan <caleb@alerque.com> | 2022-03-25 10:59:23 +0300 |
commit | b5b60f9d6fd116c377475b3f7431e297ce0e553c (patch) | |
tree | e47813c6f07490d34ce2f5832664754ba124a83b | |
parent | e47d98f401972ea0cb2b9fc181faaba2cce0f336 (diff) | |
download | luasocket-b5b60f9d6fd116c377475b3f7431e297ce0e553c.tar.gz luasocket-b5b60f9d6fd116c377475b3f7431e297ce0e553c.tar.bz2 luasocket-b5b60f9d6fd116c377475b3f7431e297ce0e553c.zip |
chore: Refactor existing news file as a changelog
-rw-r--r-- | CHANGELOG.md | 35 | ||||
-rw-r--r-- | NEW | 44 | ||||
-rw-r--r-- | makefile.dist | 2 |
3 files changed, 36 insertions, 45 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..5db13cb --- /dev/null +++ b/CHANGELOG.md | |||
@@ -0,0 +1,35 @@ | |||
1 | # Changelog | ||
2 | |||
3 | ## [v3.0-rc1](https://github.com/lunarmodules/luasocket/releases/v3.0-rc1) — 2013-06-14 | ||
4 | |||
5 | Main changes for LuaSocket 3.0-rc1 are IPv6 support and Lua 5.2 compatibility. | ||
6 | |||
7 | * Added: Compatible with Lua 5.2 | ||
8 | - Note that unless you define LUA_COMPAT_MODULE, package tables will not be exported as globals! | ||
9 | * Added: IPv6 support; | ||
10 | - Socket.connect and socket.bind support IPv6 addresses; | ||
11 | - Getpeername and getsockname support IPv6 addresses, and return the socket family as a third value; | ||
12 | - URL module updated to support IPv6 host names; | ||
13 | - New socket.tcp6 and socket.udp6 functions; | ||
14 | - New socket.dns.getaddrinfo and socket.dns.getnameinfo functions; | ||
15 | * Added: getoption method; | ||
16 | * Fixed: url.unescape was returning additional values; | ||
17 | * Fixed: mime.qp, mime.unqp, mime.b64, and mime.unb64 could mistaking their own stack slots for functions arguments; | ||
18 | * Fixed: Receiving zero-length datagram is now possible; | ||
19 | * Improved: Hidden all internal library symbols; | ||
20 | * Improved: Better error messages; | ||
21 | * Improved: Better documentation of socket options. | ||
22 | * Fixed: manual sample of HTTP authentication now uses correct "authorization" header (Alexandre Ittner); | ||
23 | * Fixed: failure on bind() was destroying the socket (Sam Roberts); | ||
24 | * Fixed: receive() returns immediatelly if prefix can satisfy bytes requested (M Joonas Pihlaja); | ||
25 | * Fixed: multicast didn't work on Windows, or anywhere else for that matter (Herbert Leuwer, Adrian Sietsma); | ||
26 | * Fixed: select() now reports an error when called with more sockets than FD_SETSIZE (Lorenzo Leonini); | ||
27 | * Fixed: manual links to home.html changed to index.html (Robert Hahn); | ||
28 | * Fixed: mime.unb64() would return an empty string on results that started with a null character (Robert Raschke); | ||
29 | * Fixed: HTTP now automatically redirects on 303 and 307 (Jonathan Gray); | ||
30 | * Fixed: calling sleep() with negative numbers could block forever, wasting CPU. Now it returns immediately (MPB); | ||
31 | * Improved: FTP commands are now sent in upper case to help buggy servers (Anders Eurenius); | ||
32 | * Improved: known headers now sent in canonic capitalization to help buggy servers (Joseph Stewart); | ||
33 | * Improved: Clarified tcp:receive() in the manual (MPB); | ||
34 | * Improved: Decent makefiles (LHF). | ||
35 | * Fixed: RFC links in documentation now point to IETF (Cosmin Apreutesei). | ||
@@ -1,44 +0,0 @@ | |||
1 | What's New | ||
2 | |||
3 | Main changes for LuaSocket 3.0-rc1 are IPv6 support and Lua 5.2 compatibility. | ||
4 | |||
5 | * Added: Compatible with Lua 5.2 | ||
6 | - Note that unless you define LUA_COMPAT_MODULE, package | ||
7 | tables will not be exported as globals! | ||
8 | * Added: IPv6 support; | ||
9 | - Socket.connect and socket.bind support IPv6 addresses; | ||
10 | - Getpeername and getsockname support IPv6 addresses, and | ||
11 | return the socket family as a third value; | ||
12 | - URL module updated to support IPv6 host names; | ||
13 | - New socket.tcp6 and socket.udp6 functions; | ||
14 | - New socket.dns.getaddrinfo and socket.dns.getnameinfo functions; | ||
15 | * Added: getoption method; | ||
16 | * Fixed: url.unescape was returning additional values; | ||
17 | * Fixed: mime.qp, mime.unqp, mime.b64, and mime.unb64 could | ||
18 | mistaking their own stack slots for functions arguments; | ||
19 | * Fixed: Receiving zero-length datagram is now possible; | ||
20 | * Improved: Hidden all internal library symbols; | ||
21 | * Improved: Better error messages; | ||
22 | * Improved: Better documentation of socket options. | ||
23 | * Fixed: manual sample of HTTP authentication now uses correct | ||
24 | "authorization" header (Alexandre Ittner); | ||
25 | * Fixed: failure on bind() was destroying the socket (Sam Roberts); | ||
26 | * Fixed: receive() returns immediatelly if prefix can satisfy | ||
27 | bytes requested (M Joonas Pihlaja); | ||
28 | * Fixed: multicast didn't work on Windows, or anywhere | ||
29 | else for that matter (Herbert Leuwer, Adrian Sietsma); | ||
30 | * Fixed: select() now reports an error when called with more | ||
31 | sockets than FD_SETSIZE (Lorenzo Leonini); | ||
32 | * Fixed: manual links to home.html changed to index.html (Robert Hahn); | ||
33 | * Fixed: mime.unb64() would return an empty string on results that started | ||
34 | with a null character (Robert Raschke); | ||
35 | * Fixed: HTTP now automatically redirects on 303 and 307 (Jonathan Gray); | ||
36 | * Fixed: calling sleep() with negative numbers could | ||
37 | block forever, wasting CPU. Now it returns immediately (MPB); | ||
38 | * Improved: FTP commands are now sent in upper case to | ||
39 | help buggy servers (Anders Eurenius); | ||
40 | * Improved: known headers now sent in canonic | ||
41 | capitalization to help buggy servers (Joseph Stewart); | ||
42 | * Improved: Clarified tcp:receive() in the manual (MPB); | ||
43 | * Improved: Decent makefiles (LHF). | ||
44 | * Fixed: RFC links in documentation now point to IETF (Cosmin Apreutesei). | ||
diff --git a/makefile.dist b/makefile.dist index 83c303e..34914c3 100644 --- a/makefile.dist +++ b/makefile.dist | |||
@@ -112,7 +112,7 @@ DOCS = \ | |||
112 | 112 | ||
113 | dist: | 113 | dist: |
114 | mkdir -p $(DIST) | 114 | mkdir -p $(DIST) |
115 | cp -vf NEW $(DIST) | 115 | cp -vf CHANGELOG.md $(DIST) |
116 | cp -vf LICENSE $(DIST) | 116 | cp -vf LICENSE $(DIST) |
117 | cp -vf README $(DIST) | 117 | cp -vf README $(DIST) |
118 | cp -vf $(MAKE) $(DIST) | 118 | cp -vf $(MAKE) $(DIST) |