Skip to content

Commit

Permalink
Several changes:
Browse files Browse the repository at this point in the history
 - Wt 4.0.1 release notes + version bump
 - Data unit pedantry: it's kibibyte!
  • Loading branch information
RockinRoel committed Oct 19, 2017
1 parent 5905282 commit 8ec7e89
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 18 deletions.
26 changes: 13 additions & 13 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ SET(CMAKE_MODULE_PATH

SET(VERSION_SERIES 4)
SET(VERSION_MAJOR 0)
SET(VERSION_MINOR 0)

SET(WT_SOVERSION 43)
SET(WTHTTP_SOVERSION 43)
SET(WTFCGI_SOVERSION 43)
SET(WTISAPI_SOVERSION 19)
SET(WTDBO_SOVERSION 43)
SET(WTDBOSQLITE3_SOVERSION 43)
SET(WTDBOPOSTGRES_SOVERSION 43)
SET(WTDBOFIREBIRD_SOVERSION 43)
SET(WTDBOMYSQL_SOVERSION 43)
SET(WTDBOMSSQLSERVER_SOVERSION 43)
SET(WTTEST_SOVERSION 13)
SET(VERSION_MINOR 1)

SET(WT_SOVERSION 45)
SET(WTHTTP_SOVERSION 45)
SET(WTFCGI_SOVERSION 45)
SET(WTISAPI_SOVERSION 21)
SET(WTDBO_SOVERSION 45)
SET(WTDBOSQLITE3_SOVERSION 45)
SET(WTDBOPOSTGRES_SOVERSION 45)
SET(WTDBOFIREBIRD_SOVERSION 45)
SET(WTDBOMYSQL_SOVERSION 45)
SET(WTDBOMSSQLSERVER_SOVERSION 45)
SET(WTTEST_SOVERSION 15)

IF(NOT SHARED_LIBS)
IF(WIN32)
Expand Down
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ PROJECT_NAME = Wt
# This could be handy for archiving the generated documentation or
# if some version control system is used.

PROJECT_NUMBER = 4.0.0
PROJECT_NUMBER = 4.0.1

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer
Expand Down
23 changes: 23 additions & 0 deletions ReleaseNotes.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,29 @@ <h1>Wt Release notes</h1>
the way you build Wt, the way you configure Wt or the Wt API and
behaviour.

<h2>Release 4.0.1 (November 2017)</h2>
<p>This is a smaller release with mostly bugfixes, and some new features:</p>
<dl>
<dt>Added <a href="classWt_1_1WContainerWidget.html#acf75dda5024db05cf847c282f8a99117">WContainerWidget::addNew()</a> and similar methods</dt>
<dd>Because writing code like this:
<div class="fragment">
<div class="line"><tt>auto text = root()-&gt;addWidget(std::make_unique&lt;Wt::WText&gt;("Hello!"));</tt></div>
</div>
is a bit verbose, a shorthand was added that creates the widget and adds it to the container in one go:
<div class="fragment">
<div class="line"><tt>auto text = root()-&gt;addNew&lt;Wt::WText&gt;("Hello!");</tt></div>
</div>
<tt>addNew</tt> forwards its arguments to the constructor, just like <tt>std::make_unique</tt>.
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>.
</dd>
<dt>Added the <tt>&lt;max-formdata-size&gt;</tt> configuration option</dt>
<dd>Previously, the maximum size of form data sent by Wt in a single POST request was capped to 5 MiB.
In applications with a large amount of forms with a lot of data, that may not be enough,
so <tt>&lt;max-formdata-size&gt;</tt> can be used to adjust this independently. Note that
the maximum request size (and by consequence, the form data size) is still capped by
<tt>&lt;max-request-size&gt;</tt>.</dd>
</dl>

<h2>Release 4.0.0 (September 19, 2017)</h2>
<p>
This release has all of the added features of Wt 3.3.8, but comes with many notable changes. In general,
Expand Down
2 changes: 1 addition & 1 deletion examples/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = "Wt examples"
PROJECT_NUMBER = 4.0.0
PROJECT_NUMBER = 4.0.1
OUTPUT_DIRECTORY = ../doc/examples
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
Expand Down
6 changes: 3 additions & 3 deletions wt_config.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
-->
<connector-isapi>

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

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

<!-- Maximum HTTP request size (Kb)
<!-- Maximum HTTP request size (KiB)

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

<!-- Maximum form data (Kb)
<!-- Maximum form data (KiB)

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

0 comments on commit 8ec7e89

Please sign in to comment.