Skip to content

Commit 20890c4

Browse files
committed
Prepare release 1.7
1 parent 9a9edb9 commit 20890c4

File tree

7 files changed

+744
-14
lines changed

7 files changed

+744
-14
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ WSAPI CVS and bug tracker are available at its Github page.
3232

3333
# History
3434

35+
## WSAPI 1.7 [26/Feb/2018]
36+
37+
* Lua 5.3 compatibility
38+
* Refactor coxpcall dependency
39+
3540
## WSAPI 1.6.1 [21/Mar/2014]
3641
* Restores Lua 5.1 compatibility (incorrect usage of coxpcall)
3742
* Improvements to wsapi.mock

doc/us/index.html

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ <h2>Download</h2>
7777
<h3>Unix Installer Script</h3>
7878

7979
<p>You can also get an installer script that installs Lua+LuaRocks+WSAPI
80-
<a href="http://www.keplerproject.org/files/wsapi-install-1.6.1.tar.gz">here</a>. See
80+
<a href="https://github.com/keplerproject/wsapi/blob/master/wsapi-install-1.7">here</a>. See
8181
the <a href="manual.html">manual</a> for installation instructions.</p>
8282

8383
<h3>Customizing the installer</h3>
@@ -89,15 +89,15 @@ <h3>Customizing the installer</h3>
8989
<pre class="example">
9090
# Installer parameters
9191

92-
LUA_VERSION=5.2.1
92+
LUA_VERSION=5.3.4
9393
PACKAGE=WSAPI
9494
PACKAGE_OPT=wsapi
9595
PACKAGE_ROCK=wsapi-xavante
96-
INSTALLER_VERSION=0.7
97-
PACKAGE_VERSION=1.6
96+
INSTALLER_VERSION=0.8
97+
PACKAGE_VERSION=1.7
9898
LUAROCKS_REPO=http://luarocks.org/repositories/rocks
99-
LUAROCKS_URL=http://www.luarocks.org/releases/luarocks-2.0.12.tar.gz
100-
LUAROCKS_VERSION=2.0.12
99+
LUAROCKS_URL=http://www.luarocks.org/releases/luarocks-2.4.3.tar.gz
100+
LUAROCKS_VERSION=2.4.3
101101
</pre>
102102

103103

@@ -131,10 +131,19 @@ <h2>Latest Sources and Bug Tracker</h2>
131131

132132
<h2>History</h2>
133133

134-
<p><strong>WSAPI</strong> [unreleased]</p>
134+
<p><strong>WSAPI 1.7</strong> [26/Feb/2018]</p>
135135

136136
<ul>
137-
<li>Refactor coxpcall dependency (Francois Perrad)</li>
137+
<li>Lua 5.3 compatibility</li>
138+
<li>Refactor coxpcall dependency</li>
139+
</ul>
140+
141+
<ul>
142+
<li>Restores Lua 5.1 compatibility (incorrect usage of coxpcall)</li>
143+
<li>Improvements to wsapi.mock</li>
144+
<li>wsapi.request.qs_encode produces proper querystrings</li>
145+
<li>FastCGI fixes</li>
146+
<li>Additional options for cookies such as httponly and max age.</li>
138147
</ul>
139148

140149
<p><strong>WSAPI 1.6.1</strong> [21/Mar/2014]</p>

doc/us/index.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ luarocks install wsapi-xavante
3030
### Unix Installer Script
3131

3232
You can also get an installer script that installs Lua+LuaRocks+WSAPI
33-
[here](http://www.keplerproject.org/files/wsapi-install-1.6.1.tar.gz). See
33+
[here](https://github.com/keplerproject/wsapi/blob/master/wsapi-install-1.7). See
3434
the [manual](manual.html) for installation instructions.
3535

3636
### Customizing the installer
@@ -41,15 +41,15 @@ control the installer:
4141
<pre class="example">
4242
# Installer parameters
4343

44-
LUA_VERSION=5.2.1
44+
LUA_VERSION=5.3.4
4545
PACKAGE=WSAPI
4646
PACKAGE_OPT=wsapi
4747
PACKAGE_ROCK=wsapi-xavante
48-
INSTALLER_VERSION=0.7
49-
PACKAGE_VERSION=1.6
48+
INSTALLER_VERSION=0.8
49+
PACKAGE_VERSION=1.7
5050
LUAROCKS_REPO=http://luarocks.org/repositories/rocks
51-
LUAROCKS_URL=http://www.luarocks.org/releases/luarocks-2.0.12.tar.gz
52-
LUAROCKS_VERSION=2.0.12
51+
LUAROCKS_URL=http://www.luarocks.org/releases/luarocks-2.4.3.tar.gz
52+
LUAROCKS_VERSION=2.4.3
5353
</pre>
5454

5555
To install something else change PACKAGE to the full name of the
@@ -80,6 +80,12 @@ WSAPI sources and bug tracker are available at its [Github](http://github.com/ke
8080

8181
## History
8282

83+
**WSAPI 1.7** [26/Feb/2018]
84+
85+
* Lua 5.3 compatibility
86+
* Refactor coxpcall dependency
87+
* Format status code as integer when building status line
88+
8389
**WSAPI 1.6.1** [21/Mar/2014]
8490

8591
* Restores Lua 5.1 compatibility (incorrect usage of coxpcall)

rockspec/wsapi-1.7-1.rockspec

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
package = "WSAPI"
2+
3+
version = "1.7-1"
4+
5+
description = {
6+
summary = "Lua Web Server API",
7+
detailed = [[
8+
WSAPI is an API that abstracts the web server from Lua web applications. This is the rock
9+
that contains the base WSAPI libraries plus the CGI adapters.
10+
]],
11+
license = "MIT/X11",
12+
homepage = "http://github.com/keplerproject/wsapi"
13+
}
14+
15+
dependencies = { "luafilesystem >= 1.6.2", "rings >= 1.3.0", "coxpcall >= 1.14" }
16+
17+
source = {
18+
url = "git://github.com/keplerproject/wsapi",
19+
tag = "v1.7",
20+
}
21+
22+
build = {
23+
type = "builtin",
24+
modules = {
25+
["wsapi"] = "src/wsapi.lua",
26+
["wsapi.common"] = "src/wsapi/common.lua",
27+
["wsapi.request"] = "src/wsapi/request.lua",
28+
["wsapi.response"] = "src/wsapi/response.lua",
29+
["wsapi.util"] = "src/wsapi/util.lua",
30+
["wsapi.cgi"] = "src/wsapi/cgi.lua",
31+
["wsapi.sapi"] = "src/wsapi/sapi.lua",
32+
["wsapi.ringer"] = "src/wsapi/ringer.lua",
33+
["wsapi.mock"] = "src/wsapi/mock.lua",
34+
},
35+
copy_directories = { "samples", "doc", "tests" },
36+
install = { bin = { "src/launcher/wsapi.cgi" } }
37+
}

rockspec/wsapi-fcgi-1.7-1.rockspec

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
package = "WSAPI-FCGI"
2+
3+
version = "1.7-1"
4+
5+
description = {
6+
summary = "Lua Web Server API FastCGI Adapter",
7+
detailed = [[
8+
WSAPI is an API that abstracts the web server from Lua web applications. This
9+
is the rock that contains the FCGI module lfcgi.
10+
]],
11+
license = "MIT/X11",
12+
homepage = "http://www.keplerproject.org/wsapi"
13+
}
14+
15+
dependencies = { "wsapi >= 1.6.1" }
16+
17+
external_dependencies = {
18+
platforms = {
19+
unix = {
20+
FASTCGI = {
21+
header = "fcgi_stdio.h"
22+
}
23+
}
24+
}
25+
}
26+
27+
source = {
28+
url = "git://github.com/keplerproject/wsapi",
29+
tag = "v1.7",
30+
}
31+
32+
build = {
33+
platforms = {
34+
unix = {
35+
type = "builtin",
36+
modules = {
37+
["wsapi.fastcgi"] = "src/wsapi/fastcgi.lua",
38+
lfcgi = {
39+
sources = "src/fastcgi/lfcgi.c",
40+
libraries = "fcgi",
41+
incdirs = "$(FASTCGI_INCDIR)",
42+
libdirs = "$(FASTCGI_LIBDIR)"
43+
}
44+
},
45+
install = { bin = { "src/launcher/wsapi.fcgi" } }
46+
},
47+
windows = {
48+
type = "builtin",
49+
modules = {
50+
["wsapi.fastcgi"] = "src/wsapi/fastcgi.lua",
51+
lfcgi = {
52+
sources = "src/fastcgi/lfcgi.c",
53+
libraries = { "libfcgi", "ws2_32" },
54+
incdirs = "$(FASTCGI_INCDIR)",
55+
libdirs = "$(FASTCGI_LIBDIR)"
56+
}
57+
},
58+
install = { bin = { "src/launcher/wsapi.fcgi" } }
59+
}
60+
}
61+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
package = "WSAPI-Xavante"
2+
3+
version = "1.7-1"
4+
5+
description = {
6+
summary = "Lua Web Server API - Xavante Handler",
7+
detailed = [[
8+
WSAPI is an API that abstracts the web server from Lua web applications. This is the rock
9+
that contains the Xavante adapter and launcher.
10+
]],
11+
license = "MIT/X11",
12+
homepage = "http://www.keplerproject.org/wsapi"
13+
}
14+
15+
dependencies = { "wsapi >= 1.6.1", "xavante >= 2.3.0" }
16+
17+
source = {
18+
url = "git://github.com/keplerproject/wsapi",
19+
tag = "v1.7",
20+
}
21+
22+
build = {
23+
type = "builtin",
24+
modules = {
25+
["wsapi.xavante"] = "src/wsapi/xavante.lua"
26+
},
27+
install = { bin = { "src/launcher/wsapi" } }
28+
}

0 commit comments

Comments
 (0)