Skip to content

Commit 8ec7e89

Browse files
committed
Several changes:
- Wt 4.0.1 release notes + version bump - Data unit pedantry: it's kibibyte!
1 parent 5905282 commit 8ec7e89

File tree

5 files changed

+41
-18
lines changed

5 files changed

+41
-18
lines changed

CMakeLists.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ SET(CMAKE_MODULE_PATH
2424

2525
SET(VERSION_SERIES 4)
2626
SET(VERSION_MAJOR 0)
27-
SET(VERSION_MINOR 0)
28-
29-
SET(WT_SOVERSION 43)
30-
SET(WTHTTP_SOVERSION 43)
31-
SET(WTFCGI_SOVERSION 43)
32-
SET(WTISAPI_SOVERSION 19)
33-
SET(WTDBO_SOVERSION 43)
34-
SET(WTDBOSQLITE3_SOVERSION 43)
35-
SET(WTDBOPOSTGRES_SOVERSION 43)
36-
SET(WTDBOFIREBIRD_SOVERSION 43)
37-
SET(WTDBOMYSQL_SOVERSION 43)
38-
SET(WTDBOMSSQLSERVER_SOVERSION 43)
39-
SET(WTTEST_SOVERSION 13)
27+
SET(VERSION_MINOR 1)
28+
29+
SET(WT_SOVERSION 45)
30+
SET(WTHTTP_SOVERSION 45)
31+
SET(WTFCGI_SOVERSION 45)
32+
SET(WTISAPI_SOVERSION 21)
33+
SET(WTDBO_SOVERSION 45)
34+
SET(WTDBOSQLITE3_SOVERSION 45)
35+
SET(WTDBOPOSTGRES_SOVERSION 45)
36+
SET(WTDBOFIREBIRD_SOVERSION 45)
37+
SET(WTDBOMYSQL_SOVERSION 45)
38+
SET(WTDBOMSSQLSERVER_SOVERSION 45)
39+
SET(WTTEST_SOVERSION 15)
4040

4141
IF(NOT SHARED_LIBS)
4242
IF(WIN32)

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ PROJECT_NAME = Wt
3232
# This could be handy for archiving the generated documentation or
3333
# if some version control system is used.
3434

35-
PROJECT_NUMBER = 4.0.0
35+
PROJECT_NUMBER = 4.0.1
3636

3737
# Using the PROJECT_BRIEF tag one can provide an optional one line description
3838
# for a project that appears at the top of each page and should give viewer

ReleaseNotes.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,29 @@ <h1>Wt Release notes</h1>
2222
the way you build Wt, the way you configure Wt or the Wt API and
2323
behaviour.
2424

25+
<h2>Release 4.0.1 (November 2017)</h2>
26+
<p>This is a smaller release with mostly bugfixes, and some new features:</p>
27+
<dl>
28+
<dt>Added <a href="classWt_1_1WContainerWidget.html#acf75dda5024db05cf847c282f8a99117">WContainerWidget::addNew()</a> and similar methods</dt>
29+
<dd>Because writing code like this:
30+
<div class="fragment">
31+
<div class="line"><tt>auto text = root()-&gt;addWidget(std::make_unique&lt;Wt::WText&gt;("Hello!"));</tt></div>
32+
</div>
33+
is a bit verbose, a shorthand was added that creates the widget and adds it to the container in one go:
34+
<div class="fragment">
35+
<div class="line"><tt>auto text = root()-&gt;addNew&lt;Wt::WText&gt;("Hello!");</tt></div>
36+
</div>
37+
<tt>addNew</tt> forwards its arguments to the constructor, just like <tt>std::make_unique</tt>.
38+
Along those lines, we added <a href="classWt_1_1WContainerWidget.html#a5a7e7b9fe21bdc38f7a270193ed83243">WContainerWidget::insertNew()</a> and <a href="classWt_1_1WTemplate.html#a240f910cd1e3d5b7876aa20f6b33767c">WTemplate::bindNew()</a>.
39+
</dd>
40+
<dt>Added the <tt>&lt;max-formdata-size&gt;</tt> configuration option</dt>
41+
<dd>Previously, the maximum size of form data sent by Wt in a single POST request was capped to 5 MiB.
42+
In applications with a large amount of forms with a lot of data, that may not be enough,
43+
so <tt>&lt;max-formdata-size&gt;</tt> can be used to adjust this independently. Note that
44+
the maximum request size (and by consequence, the form data size) is still capped by
45+
<tt>&lt;max-request-size&gt;</tt>.</dd>
46+
</dl>
47+
2548
<h2>Release 4.0.0 (September 19, 2017)</h2>
2649
<p>
2750
This release has all of the added features of Wt 3.3.8, but comes with many notable changes. In general,

examples/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Project related configuration options
55
#---------------------------------------------------------------------------
66
PROJECT_NAME = "Wt examples"
7-
PROJECT_NUMBER = 4.0.0
7+
PROJECT_NUMBER = 4.0.1
88
OUTPUT_DIRECTORY = ../doc/examples
99
CREATE_SUBDIRS = NO
1010
OUTPUT_LANGUAGE = English

wt_config.xml.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
-->
154154
<connector-isapi>
155155

156-
<!-- Maximum Request Size spooled in memory (Kb)
156+
<!-- Maximum Request Size spooled in memory (KiB)
157157

158158
Normally, Wt keeps incoming requests (POST data) in memory.
159159
However, malicious users could send a big POST and as such
@@ -227,14 +227,14 @@
227227
-->
228228
<log-config>* -debug</log-config>
229229

230-
<!-- Maximum HTTP request size (Kb)
230+
<!-- Maximum HTTP request size (KiB)
231231

232232
Maximum size of an incoming POST request. This value must be
233233
increased when the user is allowed to upload files.
234234
-->
235235
<max-request-size>128</max-request-size>
236236

237-
<!-- Maximum form data (Kb)
237+
<!-- Maximum form data (KiB)
238238

239239
Maximum size of the data in a POST request of type
240240
'application/x-www-form-urlencoded' (used for Wt form-field values)

0 commit comments

Comments
 (0)