|
12 | 12 | <title>Wt Release notes</title> |
13 | 13 | </head> |
14 | 14 | <body> |
| 15 | + |
15 | 16 | <h1>Wt Release notes</h1> |
16 | 17 |
|
17 | 18 | This file lists important notes on migrating existing applications to |
18 | 19 | newer version of Wt. It lists changes in the library that may break |
19 | 20 | the way you build Wt, the way you configure Wt or the Wt API and |
20 | 21 | behaviour. |
21 | 22 |
|
| 23 | +<h2>Release 3.1.10 (July 7, 2011)</h2> |
| 24 | + |
| 25 | +<p> |
| 26 | + This release contains a mix of new features and bug fixes |
| 27 | +</p> |
| 28 | + |
| 29 | +<h3>A) New classes:</h3> |
| 30 | + |
| 31 | +<dl> |
| 32 | + <dt> |
| 33 | + <a href="classWt_1_1WAnimation.html">WAnimation</a> |
| 34 | + </dt> |
| 35 | + <dd> |
| 36 | + We have added support for animations to show or hide widgets (used |
| 37 | + in <a href="classWt_1_1WWidget.html#a66bdda41220267a8c7ff9865996e2675">WWidget::setHidden()</a>, |
| 38 | + and <a href="classWt_1_1WStackedWidget.html">WStackedWidget</a>). These |
| 39 | + animations will only be used when the browser supports CSS3 |
| 40 | + animations (at the moment of writing that includes latest Firefox, |
| 41 | + Chrome and Safari releases). |
| 42 | + </dd> |
| 43 | + <dt> |
| 44 | + <a href="classWt_1_1WStreamResource.html">WStreamResource</a> |
| 45 | + </dt> |
| 46 | + <dd> |
| 47 | + Dmitriy Igrishin factored this out of the WFileResource since most |
| 48 | + of its functionality (continuations, range support) could be |
| 49 | + generalized to streaming from a std::istream. |
| 50 | + </dd> |
| 51 | +</dl> |
| 52 | + |
| 53 | +<h3>B) Main improvements:</h3> |
| 54 | + |
| 55 | +<dl> |
| 56 | + <dt> |
| 57 | + Allowing multiple WServer instances. |
| 58 | + </dt> |
| 59 | + <dd> |
| 60 | + Apparently for no good reasons at all, some singletons were still |
| 61 | + around which prevented you from instantiating |
| 62 | + multiple <a href="classWt_1_1WServer">application servers</a>. Now |
| 63 | + you can (but only using the built-in httpd) instantiate multiple |
| 64 | + servers side by side in the same process, which may server the |
| 65 | + same or different web applications over different ports. A feature |
| 66 | + example (<tt>multiple_servers</tt>) shows how that works. |
| 67 | + </dd> |
| 68 | + |
| 69 | + <dt> |
| 70 | + Internal path encoding in WTemplate and WText</a> |
| 71 | + </dt> |
| 72 | + <dd> |
| 73 | + <div> |
| 74 | + The |
| 75 | + new <a href="classWt_1_1WTemplate.html#aeee888e560c519ac0e33bfc1ebb315e2">setInternalPathEncoding()</a> |
| 76 | + method will, if needed, enable reencoding of <a> anchors |
| 77 | + which reference internal paths consistent with how in the |
| 78 | + current session internal paths need to be dealt with (which |
| 79 | + depends on whether the browser supports Ajax and HTML5 History). |
| 80 | + </div> |
| 81 | + <div> |
| 82 | + Since this requires an additional XML parsing step (but the |
| 83 | + rapidxml parser that is used is ... rapid !), it is off by |
| 84 | + default. |
| 85 | + </div> |
| 86 | + </dd> |
| 87 | + |
| 88 | + <dt> |
| 89 | + <a href="classWt_1_1WWApplication.html">WApplication::findWidget()</a> |
| 90 | + </dt> |
| 91 | + <dd> |
| 92 | + Like WWidget::findWidget(), but on the whole application, |
| 93 | + including widgets outside the WApplication::root(). |
| 94 | + </dd> |
| 95 | + |
| 96 | + <dt> |
| 97 | + <a href="classWt_1_1WWApplication.html">WApplication::changeSessionId()</a> |
| 98 | + </dt> |
| 99 | + <dd> |
| 100 | + Generates a new session ID for the application. This is useful to prevent |
| 101 | + session fixation attacks by changing the session ID when a user has |
| 102 | + authenticated successfully. |
| 103 | + </dd> |
| 104 | + |
| 105 | + <dt> |
| 106 | + <a href="classWt_1_1WResource.html">WResource::setDispositionType()</a> |
| 107 | + </dt> |
| 108 | + <dd> |
| 109 | + This method allows to specify how the browser should preferably |
| 110 | + show a (non-HTML) resource. |
| 111 | + </dd> |
| 112 | + |
| 113 | + <dt> |
| 114 | + <a href="classWt_1_1WTable.html">WTable</a> |
| 115 | + </dt> |
| 116 | + <dd> |
| 117 | + Methods were added |
| 118 | + to <a href="classWt_1_1WTable.html#a239d85781509ff321eb964af042bcf57">move |
| 119 | + a row</a> |
| 120 | + or <a href="classWt_1_1WTable.html#a0670b90a05a6c0176c773bf8766a5bf2">a |
| 121 | + column</a>. In addition we added methods |
| 122 | + to <a href="classWt_1_1WTableRow.html">WTableRow</a> |
| 123 | + and <a href="classWt_1_1WTableColumn.html">WTableColumn</a> for |
| 124 | + accessing cells in the given row or column. |
| 125 | + </dd> |
| 126 | + |
| 127 | + <dt> |
| 128 | + <a href="classWt_1_1WTextEdit.html">WTextEdit</a> |
| 129 | + </dt> |
| 130 | + <dd> |
| 131 | + Various improvements to allow more flexible access to TinyMCE |
| 132 | + settings on a per-instance basis. |
| 133 | + </dd> |
| 134 | + |
| 135 | + <dt> |
| 136 | + <a href="classWt_1_1WWidget.html">WWidget::setToolTip()</a> |
| 137 | + </dt> |
| 138 | + <dd> |
| 139 | + An additional argument was added which may specify the use of |
| 140 | + XHTML tooltips, which are implemented using a <div>. |
| 141 | + </dd> |
| 142 | + |
| 143 | + <dt> |
| 144 | + Dbo::collection<T> |
| 145 | + </dt> |
| 146 | + <dd> |
| 147 | + Make insert() and erase() also work for a collection involved in a |
| 148 | + 1-N relation |
| 149 | + </dd> |
| 150 | + |
| 151 | + <dt> |
| 152 | + Dbo::ptr<C> |
| 153 | + </dt> |
| 154 | + <dd> |
| 155 | + Improved modify() behaviour returns a proxy object which marks the |
| 156 | + the object dirty also from its destructor, avoiding situations where |
| 157 | + the transaction is flushed during a modification and remainig changes |
| 158 | + are forgotten. |
| 159 | + </dd> |
| 160 | + |
| 161 | + <dt> |
| 162 | + Dbo::Dbo<C> |
| 163 | + </dt> |
| 164 | + <dd> |
| 165 | + Added setDirty() and self() methods. |
| 166 | + </dd> |
| 167 | + |
| 168 | + <dt> |
| 169 | + Dbo::backend::Sqlite3 |
| 170 | + </dt> |
| 171 | + <dd> |
| 172 | + The packaged sqlite3 version was bumped from 3.6.20 to 3.7.6 |
| 173 | + </dd> |
| 174 | + |
| 175 | +</dl> |
| 176 | + |
| 177 | +<h3>C) Non-backwwards compatible changes</h3> |
| 178 | + |
| 179 | +<dl> |
| 180 | + <dt>The signature of the virtual method WWidget::setHidden() has changed.</dt> |
| 181 | + <dd> |
| 182 | + Probably the biggest breaking change since long, this was needed |
| 183 | + to add support for animations. This will break existing code which |
| 184 | + specializes the WWidget::setHidden() method. This code should be |
| 185 | + updated to pass the WAnimation object. |
| 186 | + </dd> |
| 187 | +</dl> |
| 188 | + |
22 | 189 | <h2>Release 3.1.9 (April 7, 2011)</h2> |
23 | 190 |
|
24 | 191 | <p> |
|
0 commit comments