You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

release-notes.html 20KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Vaadin Framework @version@</title>
  6. <link rel="stylesheet" type="text/css" href="css/styles.css" />
  7. <style type="text/css">
  8. .nested-list ol {
  9. counter-reset: item
  10. }
  11. .nested-list li {
  12. display: block
  13. }
  14. .nested-list li:before {
  15. content: counters(item, ".") ". ";
  16. counter-increment: item
  17. }
  18. </style>
  19. </head>
  20. <body>
  21. <div id="header">
  22. <h1>Vaadin &ndash; thinking of U and I</h1>
  23. <div id="version">
  24. <strong>Version @version@</strong>
  25. </div>
  26. </div>
  27. <!-- /header -->
  28. <div id="content">
  29. <p>Version @version@ built on @builddate@.</p>
  30. <h2 id="tableofcontents">Release Notes for Vaadin Framework
  31. @version@</h2>
  32. <ul>
  33. <li><a href="#overview">Overview of Vaadin Framework
  34. @version@ release</a></li>
  35. <li><a href="#changelog">Change Log for Vaadin Framework
  36. @version@</a></li>
  37. <li><a href="#enhancements">Enhancements in Vaadin Framework
  38. @version-minor@</a></li>
  39. <li><a href="#incompatible">Incompatible or Behavior-altering Changes in
  40. @version-minor@</a></li>
  41. <li><a href="#knownissues">Known Issues and Limitations</a></li>
  42. <li><a href="#starting">Getting started with Vaadin Framework</a></li>
  43. <li><a href="#package">Package Contents</a></li>
  44. <li><a href="#migrating">Migrating from Vaadin 7.7</a></li>
  45. <li><a href="#dependencies">Vaadin Framework @version@
  46. dependencies</a></li>
  47. <li><a href="#supportedversions">Supported
  48. Technologies</a></li>
  49. <li><a href="#vaadinontheweb">Vaadin Framework on the Web</a></li>
  50. </ul>
  51. <h2 id="overview">Overview of Vaadin Framework @version@ Release</h2>
  52. <p>
  53. Vaadin Framework @version@ is a
  54. <!-- maintenance release that includes a number of bug fixes, as listed in the <a href="#changelog">change log</a> below. -->
  55. <!-- feature release that includes -->
  56. pre-release for evaluating
  57. a number of new features and bug fixes, as listed in the <a
  58. href="#enhancements">list of enhancements</a> and <a
  59. href="#changelog">change log</a> below.
  60. The API in this alpha version is not considered final and may change based on your feedback.
  61. </p>
  62. <!-- ================================================================ -->
  63. <h3 id="changelog">Change Log for Vaadin Framework @version@</h3>
  64. <!-- @release-notes-changelog@ -->
  65. <p>
  66. You can find the full list of all changes <a
  67. href="https://github.com/vaadin/framework/releases/tag/@version@">in
  68. GitHub</a>.
  69. </p>
  70. <h2 id="enhancements">Enhancements in Vaadin Framework @version-minor@</h2>
  71. <p>Vaadin Framework @version-minor@ includes many major and minor
  72. enhancements. Below is a list of the most notable changes:</p>
  73. <ul>
  74. <li><tt>ComboBox</tt> has a better handling of new items with <tt>NewItemProvider</tt>.</li>
  75. <li><tt>Binding</tt> APIs have been improved to allow more advanced use.</li>
  76. <li>New <tt>ReadOnlyHasValue</tt> wrapper helps to bind any visible element to a data item via <tt>Binder</tt>.</li>
  77. <li>Built-in <tt>StringTo</tt> converters now have an option to use <tt>ErrorMessageProvider</tt>.</li>
  78. <li><tt>Grid</tt> headers and footers now support tooltips.</li>
  79. <li>Added <tt>Tree</tt> and <tt>TreeGrid</tt> recursive expand and collapse methods.</li>
  80. <li><tt>BrowserResizeListener</tt> is called lazily during the resize (previously on each and every event browser fired, causing potentially hundreds of server visits per window resize).</li>
  81. <li><tt>ItemClickEvent</tt> for <tt>Grid</tt> now takes an additional row index parameter.</li>
  82. <li>Support starting downloads and opening URLs from a menu item.</li>
  83. </ul>
  84. </p>
  85. <p>
  86. For enhancements introduced in Vaadin Framework 8.3, see the <a
  87. href="http://vaadin.com/download/release/8.3/8.3.0/release-notes.html">Release
  88. Notes for Vaadin Framework 8.3.0</a>.
  89. For migrating from previous framework versions, see <a href="#incompatible">the list of incompatible changes</a> and <a href="#migrating">how to migrate
  90. to Vaadin Framework 8</a>.
  91. </p>
  92. <h2 id="incompatible">Incompatible or Behavior-altering Changes in @version-minor@</h2>
  93. <li><tt>BrowserWindowOpenerConnector</tt> and <tt>FileDownloaderConnector</tt> now are subclasses of <tt>AbstractEventTriggerExtensionConnector</tt>
  94. <li>Date range limits in <tt>AbstractDateFieldState</tt> are now <tt>String</tt>s instead of <tt>Date</tt>s, some client-side method signatures were changed</li>
  95. <li><tt>BrowserResizeListener</tt> is only called once resizing ends.</li>
  96. <li><tt>ItemClickEvent</tt> for <tt>Grid</tt> now takes an additional row index parameter.</li>
  97. <h2>For incompatible or behavior-altering changes in 8.3, please see <a href="https://vaadin.com/download/release/8.3/8.3.0/release-notes.html#incompatible">8.3 release notes</a></h2>
  98. <h3 id="knownissues">Known Issues and Limitations</h3>
  99. <ul>
  100. <li><tt>@PushStateNavigation</tt> can cause browser to load resources from wrong URLs
  101. (<a href="https://github.com/vaadin/framework/issues/10329">#10329</a>)
  102. </li>
  103. <li>Drag'n'drop in a Table doesn't work on touch devices running
  104. Internet Explorer (Windows Phone, Surface)
  105. (<a href="https://github.com/vaadin/framework/issues/5170">#5170</a>)
  106. </li>
  107. <li>Payload based drop criteria do not work on IE11 - use criteria scripts if IE11 support of drop validation is required</li>
  108. <li>Specifying layout sizes using <tt>em</tt> is currently discouraged, because it results in fractional
  109. components sizes in many cases, which might cause unwanted 1px gaps between components.
  110. </li>
  111. <li>Up-to-date information about configuration needed for push and compatibility issues are available in
  112. <a href="https://vaadin.com/wiki/-/wiki/Main/Configuring+push+for+your+environment">this wiki page.</a>
  113. <br />
  114. The most prominent limitations are:
  115. <ul>
  116. <li>Push is currently not supported in portals (See <a
  117. href="https://github.com/vaadin/framework/issues/3741">#3741</a>)
  118. </li>
  119. <li>Transport mode WEBSOCKET does not support invalidating the session on Tomcat 7,
  120. nor setting cookies for the session. The new transport mode WEBSOCKET_XHR can be
  121. used to bypass these limitations.
  122. <br />
  123. See tickets <a href="https://github.com/vaadin/framework/issues/3911">#3911</a> and
  124. <a href="https://github.com/vaadin/framework/issues/3861">#3861</a>
  125. </li>
  126. </ul>
  127. </li>
  128. <li>The Maven GWT compilation for <tt>Vaadin7WidgetSet</tt> requires at least 1G of memory, when using the <tt>vaadin-client-compatibility</tt> package. If compiled inside Eclipse, possibly even more.</li>
  129. </ul>
  130. <h2 id="starting">Getting started with Vaadin Framework</h2>
  131. <p>
  132. <b>Vaadin Framework</b> is a Java framework for building modern web
  133. applications that look great, perform well and make you and
  134. your users happy. <b>The Framework</b> is available under the
  135. Apache License, Version 2.0 (see the
  136. <tt>license.html</tt>
  137. in the Vaadin Framework ZIP package).
  138. </p>
  139. <p>
  140. The easiest ways to start using <b>Vaadin Framework</b> are:
  141. </p>
  142. <ul>
  143. <li><strong>Maven dependency.</strong>If using Maven, define it as a dependency or use
  144. any of the available archetypes to create a new project. More information at
  145. <a href="https://vaadin.com/maven">https://vaadin.com/maven</a>
  146. </li>
  147. <li><strong>IDE Plugins.</strong>If using Eclipse, use the
  148. <a href="http://vaadin.com/eclipse">Vaadin Plugin for Eclipse</a>, which automatically
  149. downloads the Framework libraries. For NetBeans 8.0 and 7.4, use the
  150. <a href="http://plugins.netbeans.org/plugin/50531/vaadin-plug-in-for-netbeans">official Vaadin plugin</a>
  151. that provides Maven based wizards and code completion support for Vaadin Framework based development.
  152. </li>
  153. </ul>
  154. <p>
  155. Vaadin Framework is also available as a ZIP package downloadable from <a
  156. href="http://vaadin.com/download">Vaadin Download
  157. page</a>.
  158. </p>
  159. <h3 id="package">Package Contents</h3>
  160. <p>Inside the ZIP installation package you will find:</p>
  161. <ul>
  162. <li>Separate server-side (<tt>vaadin-server</tt>) and
  163. client-side (<tt>vaadin-client</tt>, <tt>vaadin-client-compiler</tt>)
  164. development libraries
  165. </li>
  166. <li>Precompiled widget set (<tt>vaadin-client-compiled</tt>)
  167. for server-side development
  168. </li>
  169. <li>Shared library (<tt>vaadin-shared</tt>) for both
  170. server- and client-side libraries
  171. </li>
  172. <li>Valo theme (the only inbuilt theme) (<tt>vaadin-themes</tt>)
  173. </li>
  174. <li>Dependency libraries provided under the <tt>lib/</tt>
  175. folder
  176. </li>
  177. <li>Vaadin 7 compatible classes for server-side (<tt>vaadin-compatibility-server</tt>,
  178. <tt>vaadin-compatibility-shared</tt>), client-side (<tt>vaadin-compatibility-client</tt>) and themes (<tt>vaadin-compatibility-themes</tt>)
  179. </li>
  180. </ul>
  181. <p>
  182. See the
  183. <tt>README.TXT</tt>
  184. in the installation package for detailed information about
  185. the package contents.
  186. </p>
  187. <p>
  188. For server-side development, copy the
  189. <tt>vaadin-server</tt>
  190. ,
  191. <tt>vaadin-client-compiled</tt>
  192. ,
  193. <tt>vaadin-shared</tt>
  194. , and
  195. <tt>vaadin-themes</tt>
  196. from the main folder and the dependencies from the
  197. <tt>lib</tt>
  198. folder to the
  199. <tt>WEB-INF/lib</tt>
  200. folder of your Vaadin project. (The
  201. <tt>vaadin-client-compiled</tt>
  202. is necessary if you do not wish to compile the widget set by
  203. your own, which you need to do if you use almost any add-on
  204. components.)
  205. </p>
  206. <h2 id="migrating">Migrating from Vaadin Framework 7.7</h2>
  207. <p>
  208. Most Vaadin Framework 7 applications need some changes when migrating
  209. to Vaadin Framework 8. In addition to updating dependencies, all references to
  210. Framework 7 style data binding and components using it need to be
  211. updated either to use new Framework 8 style data binding or to use the
  212. compatibility versions in separate packages.
  213. </p>
  214. <p>
  215. Vaadin Framework 7 compatible versions of the old data binding API and
  216. components (with the exception of Form) are available in the package
  217. com.vaadin.v7 in modules vaadin-compatibility-server,
  218. vaadin-compatibility-shared etc. that can be used instead of
  219. vaadin-server, vaadin-shared etc. The package
  220. vaadin-compatibility-client-compiled contains the widgetset
  221. <tt>com.vaadin.v7.Vaadin7WidgetSet</tt> which can be used instead of
  222. <tt>DefaultWidgetSet</tt>. Please note that the rename to com.vaadin.v7
  223. has only been applied to classes that are only relevant for the
  224. compatibility modules. Some classes have also been renamed while still
  225. being part of the non-compatibility modules.
  226. </p>
  227. <p>
  228. All applications using either <tt>Reindeer</tt>, <tt>Runo</tt>, <tt>Chameleon</tt> or <tt>Base</tt> theme must include the <tt>vaadin-compatibility-themes</tt> package.
  229. </p>
  230. <p>
  231. There is a <a href="https://github.com/vaadin/framework8-migration-tool/">
  232. migration tool</a> which helps with some of the migration steps.
  233. </p>
  234. <p>
  235. Some Vaadin Framework 7 add-ons do not work in version 8 - please check the add-ons in <a
  236. href="http://vaadin.com/directory/">Vaadin Directory</a>
  237. for Framework version 8 support.
  238. </p>
  239. <h3 id="upgrading">Common Upgrade Steps</h3>
  240. <p>Always when upgrading from an earlier Vaadin Framework version, you
  241. must:</p>
  242. <ul>
  243. <li>Recompile your classes using the new Framework
  244. version. Binary compatibility is only guaranteed for
  245. maintenance releases of Framework.</li>
  246. <li>Unless using the precompiled widget set, recompile
  247. your widget set using the new Framework version.</li>
  248. </ul>
  249. <p>Remember also to refresh the project in your IDE to
  250. ensure that the new version of everything is in use.</p>
  251. <p>
  252. By using the "
  253. <tt>?debug</tt>
  254. " URL parameter, you can verify that the version of the
  255. servlet, the theme, and the widget set all match.
  256. </p>
  257. <p>
  258. <b>Eclipse</b> users should always check if there is a new
  259. version of the Eclipse Plug-in available.
  260. </p>
  261. <p>
  262. <b>Maven</b> users should update the Vaadin Framework dependency
  263. version in the
  264. <tt>pom.xml</tt>
  265. .
  266. </p>
  267. <h2 id="dependencies">Vaadin Framework @version@ Dependencies</h2>
  268. <p>When using Maven, Ivy, Gradle, or other dependency
  269. management system, all Framework dependencies are downloaded
  270. automatically. This is also the case when using the Vaadin
  271. Plugin for Eclipse.</p>
  272. <p>
  273. The Vaadin Framework ZIP installation package includes the
  274. dependencies in the
  275. <tt>lib</tt>
  276. subfolder. These need to be copied to the
  277. <tt>WEB-INF/lib</tt>
  278. folder of the web application that uses Vaadin Framework.
  279. </p>
  280. <p>
  281. The dependencies are listed in the <a href="license.html">Licensing
  282. description</a>. Some are explicit dependencies packaged and
  283. distributed as separate JARs, while some are included inside
  284. other libraries.
  285. </p>
  286. <h3>Bean Validation</h3>
  287. <p>
  288. If you use the bean validation feature, you need
  289. a Bean Validation API implementation. You need to install
  290. the implementation JAR in the
  291. <tt>WEB-INF/lib</tt>
  292. directory of the web application that uses validation.
  293. </p>
  294. <h2 id="supportedversions">Supported Technologies</h2>
  295. <p>
  296. Vaadin Framework 8 is compatible with <b>Java 8 and 9</b>. Vaadin Framework
  297. 8 is especially supported on the following <b>operating
  298. systems</b>:
  299. </p>
  300. <ul>
  301. <li>Windows</li>
  302. <li>Linux</li>
  303. <li>Mac OS X</li>
  304. </ul>
  305. <p>
  306. Vaadin Framework 8 requires <b>Java Servlet API 3.0</b> but also
  307. supports later versions and should work with any Java
  308. application server that conforms to the standard. The
  309. following <b>application servers</b> are supported:
  310. </p>
  311. <ul id="supportedservers">
  312. <li>Apache Tomcat 7-8</li>
  313. <li>Apache TomEE 1.7 and 7.0</li>
  314. <li>Oracle WebLogic Server 12.2</li>
  315. <li>IBM WebSphere Application Server 9</li>
  316. <li>JBoss EAP 6</li>
  317. <li>Wildfly 8-11</li>
  318. <li>Jetty 8-9</li>
  319. <li>Glassfish 4</li>
  320. <li>Payara Server 164</li>
  321. </ul>
  322. <p>
  323. Vaadin Framework 8 supports the JSR-286 Portlet specification and all
  324. portals that implement the specification should work provided
  325. they support Java 8 and Servlet 3.0. The following <b>portals</b>
  326. are supported:
  327. </p>
  328. <ul>
  329. <li>Liferay Portal 6.2</li>
  330. <li>Liferay Portal 7.0</li>
  331. </ul>
  332. <p>
  333. Vaadin Framework @version@ supports the following <b>desktop browsers</b>:
  334. </p>
  335. <ul>
  336. <li>Mozilla Firefox (latest version, currently 54)</li>
  337. <li>Mozilla Firefox ESR (latest version, currently 52 ESR)</li>
  338. <li>Internet Explorer 11, Edge (latest version)</li>
  339. <li>Safari 9+</li>
  340. <li>Google Chrome (latest version, currently 59)</li>
  341. </ul>
  342. <p>
  343. Additionally, Vaadin Framework supports the built-in browsers in the
  344. following <b>mobile operating systems</b>:
  345. </p>
  346. <ul>
  347. <li>iOS 9+</li>
  348. <li>Android 4+ with Chrome 42+</li>
  349. </ul>
  350. <h2 id="vaadinontheweb">Vaadin on the Web</h2>
  351. <ul>
  352. <li><a href="http://vaadin.com">vaadin.com - The
  353. developer portal containing everything you need to
  354. know about Vaadin</a></li>
  355. <li><a href="http://vaadin.com/demo">vaadin.com/demo
  356. - A collection of demos for Vaadin Framework</a></li>
  357. <li><a href="http://vaadin.com/learn">vaadin.com/learn
  358. - Getting started with Vaadin Framework</a></li>
  359. <li><a href="http://vaadin.com/forum">vaadin.com/forum
  360. - Forums for Vaadin Framework related discussions</a></li>
  361. <li><a href="http://vaadin.com/book">vaadin.com/book
  362. - Book of Vaadin - everything you need to know about
  363. Vaadin Framework</a></li>
  364. <li><a href="http://vaadin.com/api">vaadin.com/api
  365. - Online javadocs</a></li>
  366. <li><a href="http://vaadin.com/directory">vaadin.com/directory
  367. - Add-ons for Vaadin Framework</a></li>
  368. <li><a href="http://vaadin.com/pro-tools">vaadin.com/pro-tools
  369. - Commercial tools for Vaadin Framework</a></li>
  370. <li><a href="http://vaadin.com/support">vaadin.com/support
  371. - Commercial support for Vaadin Framework</a></li>
  372. <li><a href="http://vaadin.com/services">vaadin.com/services
  373. - Expert services for Vaadin Framework users</a></li>
  374. <li><a href="http://vaadin.com/company">vaadin.com/company
  375. - Information about the company behind Vaadin Framework</a></li>
  376. <li><a href="https://vaadin.com/contribute">vaadin.com/contribute - Contribution quide</a></li>
  377. <li><a href="https://github.com/vaadin/framework/issues">github.com/vaadin/framework - Github repository</a></li>
  378. </ul>
  379. </div>
  380. <!-- /content-->
  381. <div id="footer">
  382. <span class="slogan"><strong>vaadin <em>}></em>
  383. </strong> thinking of U and I<span> <a href="#top">&uarr; Back
  384. to top</a>
  385. </div>
  386. <!-- /footer -->
  387. </body>
  388. </html>
  389. <!-- Keep this comment at the end of the file
  390. Local variables:
  391. mode: xml
  392. sgml-omittag:nil
  393. sgml-shorttag:nil
  394. sgml-namecase-general:nil
  395. sgml-general-insert-case:lower
  396. sgml-minimize-attributes:nil
  397. sgml-always-quote-attributes:t
  398. sgml-indent-step:2
  399. sgml-indent-data:t
  400. sgml-parent-document:nil
  401. sgml-exposed-tags:nil
  402. sgml-local-catalogs:("/etc/sgml/catalog" "/usr/share/xemacs21/xemacs-packages/etc/psgml-dtds/CATALOG")
  403. sgml-local-ecat-files:("ECAT" "~/sgml/ECAT" "/usr/share/sgml/ECAT" "/usr/local/share/sgml/ECAT" "/usr/local/lib/sgml/ECAT")
  404. End:
  405. -->