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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529
  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. <!--[if lte IE 6]>
  8. <link rel="stylesheet" type="text/css" href="css/ie.css" />
  9. <![endif]-->
  10. <style type="text/css">
  11. .nested-list ol {
  12. counter-reset: item
  13. }
  14. .nested-list li {
  15. display: block
  16. }
  17. .nested-list li:before {
  18. content: counters(item, ".") ". ";
  19. counter-increment: item
  20. }
  21. </style>
  22. </head>
  23. <body>
  24. <div id="header">
  25. <h1>Vaadin &ndash; thinking of U and I</h1>
  26. <div id="version">
  27. <strong>Version @version@</strong>
  28. </div>
  29. </div> <!-- /header -->
  30. <div id="content">
  31. <p>Version @version@ built on @builddate@.</p>
  32. <h2 id="tableofcontents">Release Notes for Vaadin Framework @version@</h2>
  33. <ul>
  34. <li><a href="#overview">Overview</a></li>
  35. <li><a href="#enhancements">Enhancements in Vaadin @version-minor@</a></li>
  36. <li><a href="#changelog">Complete change log for Vaadin @version@</a></li>
  37. <li><a href="#migrating">Migrating from Vaadin 6 to Vaadin 7</a></li>
  38. <li><a href="#dependencies">Vaadin @version@ dependencies</a></li>
  39. <li><a href="#upgrading">Upgrading to Vaadin @version-minor@</a></li>
  40. <li><a href="#supportedversions">Supported technologies</a></li>
  41. <li><a href="#vaadinontheweb">Vaadin on the Web</a></li>
  42. </ul>
  43. <h2 id="overview">Overview</h2>
  44. <p>
  45. <b>Vaadin</b> is a Java framework for building modern web applications that look
  46. great, perform well and make you and your users happy. <b>Vaadin</b> is
  47. available under the Apache License, Version 2.0 (see the <tt>license.html</tt> in
  48. the Vaadin ZIP or JAR package).
  49. </p>
  50. <p>
  51. The easiest ways to install <b>Vaadin</b> are:
  52. </p>
  53. <ul>
  54. <li>If using Maven, define it as a dependency or use any of the available
  55. archetypes (only <tt>vaadin-application</tt> is available for Vaadin 7 at the time
  56. of this release) to create a new project</li>
  57. <li>If using Eclipse, use the Vaadin Plugin for Eclipse, which automatically
  58. downloads the Vaadin libraries</li>
  59. </ul>
  60. <p>
  61. It is also available as a ZIP package downloadable from <a href="http://vaadin.com/download">Vaadin Download page</a>.
  62. </p>
  63. <h3 id="package">Package Contents</h3>
  64. <p>Inside the ZIP installation package you will find:</p>
  65. <ul>
  66. <li>Separate server-side (<tt>vaadin-server</tt>) and client-side (<tt>vaadin-client</tt>, <tt>vaadin-client-compiler</tt>) development libraries</li>
  67. <li>Precompiled widget set (<tt>vaadin-client-compiled</tt>) for server-side development</li>
  68. <li>Shared library (<tt>vaadin-shared</tt>) for both server- and client-side libraries</li>
  69. <li>Built-in themes (<tt>vaadin-themes</tt>) and the theme compiler (<tt>vaadin-theme-compiler</tt>)</li>
  70. <li>Dependency libraries provided under the <tt>lib/</tt> folder</li>
  71. </ul>
  72. <p>
  73. See the <tt>README.TXT</tt> in the installation package for detailed information
  74. about the package contents. <a href="http://vaadin.com/book">Book of Vaadin</a>
  75. (for Vaadin 7) gives more detailed instructions.
  76. </p>
  77. <p>
  78. For server-side development, copy the <tt>vaadin-server</tt>,
  79. <tt>vaadin-client-compiled</tt>, <tt>vaadin-shared</tt>,
  80. <tt>vaadin-theme-compiler</tt>, and <tt>vaadin-themes</tt> from the main
  81. folder and the dependencies from the <tt>lib</tt> folder to the
  82. <tt>WEB-INF/lib</tt> folder of your Vaadin project. (The
  83. <tt>vaadin-client-compiled</tt> is necessary if you do not wish to compile the
  84. widget set by your own, which you need to do if you use almost any add-on
  85. components.)
  86. </p>
  87. <p>
  88. For pure client-side development, you only need the <tt>vaadin-client</tt> and
  89. <tt>vaadin-client-compiler</tt> JARs, which should be put to a non-deployed
  90. project library folder, such as <tt>lib</tt>. You also need them if you compile
  91. the widget set for any reason, such as using Vaadin add-ons, or create new
  92. server-side components integrated with client-side widgets.
  93. </p>
  94. <h2 id="enhancements">Enhancements in Vaadin @version@</h2>
  95. <p>
  96. In addition to many fixes and smaller features and changes, @version@ introduces
  97. the following major changes since the last beta release:
  98. </p>
  99. <ul>
  100. <li>The <b>ColorPicker</b> component is now included in the Vaadin core framework</li>
  101. <li>Sass compiler can now be used in client-side projects.</li>
  102. </ul>
  103. <p>
  104. The following major changes were introduced in the earlier
  105. @version-minor@ releases:
  106. </p>
  107. <ul>
  108. <li>GWT is now built into Vaadin Framework
  109. <ul>
  110. <li>New SuperDevMode allows debugging client-side Java code in the browser without any plugins</li>
  111. </ul>
  112. </li>
  113. <li>Navigation API for view navigation
  114. <ul>
  115. <li>View navigation with bookmarking/linking with URI fragments and browser history support</li>
  116. <li>Access control for views, view change confirmation</li>
  117. </ul>
  118. </li>
  119. <li>Component and UI extensions</li>
  120. <li>Resource loading (JS/CSS) by the framework</li>
  121. <li>Complete overhaul of the client-server communication architecture
  122. <ul>
  123. <li>All add-on components that have widgets need to be ported to Vaadin 7</li>
  124. <li>Integration of a GWT widget is done in a connector class</li>
  125. <li>Component-to-widget mapping now defined on the client-side, in the connector</li>
  126. <li>No more Paintable or VariableOwner</li>
  127. <li>Server-side component and client-side widget can have a shared state object which is automatically synchronized</li>
  128. <li>Both client-side and server-side can make RPC calls to the other side
  129. <ul>
  130. <li>Communicated in the next request/response</li>
  131. <li>No return values</li>
  132. <li>Typically for communicating events</li>
  133. </ul>
  134. </li>
  135. <li>Support for JavaScript components - GWT integration code not required</li>
  136. <li>Handle JavaScript callbacks on the server-side</li>
  137. <li>UIDL is deprecated</li>
  138. <li>Compatibility layer for Vaadin 6 included for easy migration</li>
  139. </ul>
  140. </li>
  141. <li><b>Form</b> is deprecated and form hand is replaced with the <b>FieldGroup</b></li>
  142. <li>Get computed style of a component from the browser</li>
  143. <li>Support for border, padding, and margin in core layout components</li>
  144. <li>Applications are now written by extending the <b>UI</b> class
  145. <ul>
  146. <li>UIs use heartbeat to detect closing</li>
  147. </ul>
  148. </li>
  149. <li>The <b>Application</b> class is removed altogether
  150. <ul>
  151. <li><b>ApplicationServlet</b> is replaced with <b>VaadinServlet</b></li>
  152. <li><b>ApplicationResource</b> is replaced with <b>ConnectorResource</b></li>
  153. </ul>
  154. </li>
  155. <li>Themeing is now done with <a href="http://sass-lang.com/">Sass</a>
  156. <ul>
  157. <li>Sass themes are compiled on-the-fly when loading the theme (for development), or manually with the theme compiler (for production)</li>
  158. <li>Pure CSS themes are supported, but should include <tt>legacy-styles.css</tt>
  159. <li>SASS themes need to (and CSS themes can) be compiled to a single CSS stylesheet with the <tt>vaadin-theme-compiler</tt></li>
  160. </ul>
  161. </li>
  162. <li>Add-ons can modify the startup page</i></li>
  163. <li>All <tt>addListener()</tt> methods have changed to listener-specific methods, such as <tt>addClickListener()</tt>, <tt>addValueChangeListener()</tt>, etc.</li>
  164. <li>Packaging has changed, now in a ZIP package (see <a href="package">Package Contents</a> above)
  165. </li>
  166. <li>The <b>Panel</b> and <b>Window</b> (and in <b>UI</b> in early betas) no longer
  167. extend <b>ComponentContainer</b>, but <b>SingleComponentContainer</b>, which has
  168. no <tt>addComponent()</tt> method
  169. <ul>
  170. <li>The <b>UI</b>, <b>Panel</b>, and <b>Window</b> no longer have default
  171. content (used to be a <b>VerticalLayout</b>), but you must set the content
  172. component explicitly with the <tt>setContent()</tt> method or in the
  173. constructor</li>
  174. <li>If the content is a layout, you need to add other components to the layout
  175. component with <tt>addComponent()</tt> instead of the container</li>
  176. </ul>
  177. </li>
  178. </ul>
  179. </ul>
  180. <p>
  181. There are many other enhancements. Most of them are described in more detail in
  182. the <a href="https://vaadin.com/wiki/-/wiki/Main/Vaadin+7">mini-tutorials</a> in
  183. the Vaadin Wiki.
  184. </p>
  185. <h3 id="changelog">ChangeLog</h3>
  186. <p>
  187. For a complete list of changes in this release, please see the <a href="http://dev.vaadin.com/query?status=closed&group=resolution&milestone=Vaadin+@version@">list
  188. of closed tickets</a>.
  189. </p>
  190. <h2 id="migrating">Migrating from Vaadin 6</h2>
  191. <p>
  192. All Vaadin 6 applications need some changes when migrating to Vaadin 7. The most
  193. obvious changes are in the application/window API and require extending either
  194. <b>UI</b> or <b>UI.LegacyApplication</b> instead of <b>Application</b>. A detailed
  195. list of migration changes are given in the <a href="http://dev.vaadin.com/wiki/Vaadin7/MigrationGuide">Vaadin 7 Migration
  196. Guide</a>.
  197. </p>
  198. <p>
  199. Any custom client-side widgets need to be ported to use the new client-server
  200. communication API, or the Vaadin 6 compatibility API.
  201. </p>
  202. <p>
  203. Vaadin 6 add-ons (ones that contain widgets) do not work in Vaadin 7 - please
  204. check the add-ons in <a href="http://vaadin.com/directory/">Vaadin Directory</a>
  205. for Vaadin 7 support.
  206. </p>
  207. <h2 id="dependencies">Vaadin @version@ Dependencies</h2>
  208. <p>
  209. When using Maven, Ivy, Gradle, or other dependency management system, all Vaadin
  210. dependencies are downloaded automatically. This is also the case when using the
  211. Vaadin Plugin for Eclipse.
  212. </p>
  213. <p>
  214. The Vaadin ZIP installation package includes the dependencies in the <tt>lib</tt>
  215. subfolder. These need to be copied to the <tt>WEB-INF/lib</tt> folder of the web
  216. application that uses Vaadin.
  217. </p>
  218. <p>
  219. The dependencies are listed in the <a href="#terms">Vaadin Framework Terms and
  220. Conditions</a>. Some are explicit dependencies packaged and distributed as
  221. separate JARs, while some are included inside other libraries.
  222. </p>
  223. <h3>Bean Validation</h3>
  224. <p>
  225. If you use the bean validation feature in Vaadin 7, you need a Bean Validation API
  226. implementation. You need to install the implementation JAR in the
  227. <tt>WEB-INF/lib</tt> directory of the web application that uses validation.
  228. </p>
  229. <h2 id="upgrading">Upgrading to Vaadin @version-minor@</h2>
  230. <h3>Upgrading the Eclipse Plugin</h3>
  231. <p>
  232. This release requires that you use the <i>experimental</i> Vaadin Plugin for
  233. Eclipse. Its update site is
  234. <tt>http://vaadin.com/eclipse/experimental</tt>. Please see the <a href="http://vaadin.com/eclipse">installation instructions</a> for more details.
  235. </p>
  236. <h3>General Upgrading Instructions</h3>
  237. <p>
  238. When upgrading from an earlier Vaadin version, you must:
  239. </p>
  240. <ul>
  241. <li>Recompile your classes using the new Vaadin version. Binary
  242. compatibility is only guaranteed for maintenance releases of
  243. Vaadin.</li>
  244. <li>Recompile any add-ons you have created using the new Vaadin</li>
  245. <li>Unless using the precompiled widget set, recompile your widget set using the
  246. new Vaadin version</li>
  247. </ul>
  248. <p>
  249. Remember also to refresh the project in your IDE to ensure that the new version of
  250. everything is in use.
  251. </p>
  252. <p>
  253. By using the "<tt>?debug</tt>" URL parameter, you can verify that the version of
  254. the servlet, the theme, and the widget set all match.
  255. </p>
  256. <p>
  257. <b>Eclipse</b> users should always check if there is a new version of
  258. the Eclipse Plug-in available. The Eclipse Plug-in can be used to
  259. update the Vaadin version in the project (Project properties &raquo;
  260. Vaadin).
  261. </p>
  262. <p>
  263. <b>Maven</b> users should update the Vaadin dependency version in the
  264. <tt>pom.xml</tt> unless it is defined as <tt>LATEST</tt> . You must also ensure
  265. that the GWT dependency uses the correct version and recompile your project and
  266. your widget set.
  267. </p>
  268. <p>
  269. <b>Liferay and other portal</b> users must install the Vaadin libraries in
  270. <t>ROOT/WEB-INF/lib/</b> in the portal (and remove a possibly obsolete older
  271. <tt>vaadin.jar</tt>). Additionally, the contents of the
  272. <tt>vaadin-client-compiled</tt> and <tt>vaadin-themes</tt> must be
  273. extracted to the <tt>ROOT/html/VAADIN</tt> directory in the Liferay
  274. installation. If your portal uses custom widgets, install the latest version of <a href="http://vaadin.com/directory#addon/vaadin-control-panel-for-liferay">Vaadin
  275. Control Panel for Liferay</a> for easy widget set compilation - when it is
  276. available - the add-on is not compatible with Vaadin @version@ at the time of this
  277. Vaadin release. <!-- TODO: Remove note when done --></t>
  278. </p>
  279. <h2 id="gae">Notes and Limitations for Google App Engine</h4></h2>
  280. <p>The following instructions and limitations apply when you run a Vaadin
  281. application under the Google App Engine.</p>
  282. <ul>
  283. <li>
  284. <p>
  285. Applications must use <b>GAEVaadinServlet</b> instead of
  286. <b>VaadinServlet</b> in <tt>web.xml</tt>.
  287. </p>
  288. </li>
  289. <li>
  290. <p>
  291. Session support must be enabled in
  292. <tt>appengine-web.xml</tt>:
  293. </p>
  294. <pre> &lt;sessions-enabled&gt;true&lt;/sessions-enabled&gt;</pre>
  295. </li>
  296. <li>
  297. <p>
  298. Avoid using the session for storage, usual App Engine limitations apply (no
  299. synchronization, that is, unreliable).
  300. </p>
  301. </li>
  302. <li>
  303. <p>
  304. Vaadin uses memcache for mutex, the key is of the form
  305. <tt>_vmutex&lt;sessionid&gt;</tt>.
  306. </p>
  307. </li>
  308. <li>
  309. <p>
  310. The Vaadin <b>VaadinSession</b> class is serialized separately into
  311. memcache and datastore; the memcache key is <tt>_vac&lt;sessionid&gt;</tt> and
  312. the datastore entity kind is <tt>_vac</tt> with identifiers of the type
  313. <tt>_vac&lt;sessionid&gt;</tt>.
  314. </p>
  315. </li>
  316. <li>
  317. <p>
  318. DO NOT update application state when serving an <b>ConnectorResource</b>
  319. (such as <b>ClassResource</b>.<i>getStream()</i>).
  320. </p>
  321. </li>
  322. <li>
  323. <p>
  324. The application remains locked during uploads - a progress bar is not
  325. possible
  326. </p>
  327. </li>
  328. </ul>
  329. <p>
  330. For other known problems, see open tickets at developer site <a href="http://dev.vaadin.com/">dev.vaadin.com</a>.
  331. </p>
  332. <h2 id="supportedversions">Supported Technologies</h2>
  333. <p>
  334. Vaadin 7 is compatible with <b>Java 6</b> and with most operating systems
  335. supporting the Java 6 or newer. Vaadin 7 is especially supported on the following
  336. <b>operating systems</b>:
  337. </p>
  338. <ul>
  339. <li>Windows</li>
  340. <li>Linux</li>
  341. <li>Mac OS X</li>
  342. </ul>
  343. <p>
  344. Vaadin 7 requires <b>Java Servlet API 2.4</b> but also supports later versions and
  345. should work with any Java application server that conforms to the standard. The
  346. following <b>application servers</b> are supported:
  347. </p>
  348. <ul>
  349. <li>Apache Tomcat, version 5.0 or newer</li>
  350. <li>Oracle WebLogic&reg; Server, version 10.3 or newer</li>
  351. <li>IBM WebSphere&reg; Application Server, version 6.1 or newer</li>
  352. <li>JBoss Application Server, 4.0.0 or newer</li>
  353. <li>Jetty, version 5.0 or newer</li>
  354. <li>Glassfish, version 2.0 or newer</li>
  355. </ul>
  356. <p>
  357. Vaadin 7 supports the JSR-286 Portlet specification. All portals that
  358. implement either of the portlet specifications should work. The following
  359. <b>portals</b> are supported:
  360. </p>
  361. <ul>
  362. <li>Liferay Portal 5.2 or newer</li>
  363. <li>GateIn Portal 3.1 or newer</li>
  364. <li>eXo Platform 3 or newer</li>
  365. </ul>
  366. <p>
  367. Vaadin also supports <b>Google App Engine</b>.
  368. </p>
  369. <p>
  370. Vaadin supports the following <b>desktop browsers</b>:
  371. </p>
  372. <ul>
  373. <li>Mozilla Firefox 17 or newer</li>
  374. <li>Internet Explorer 8-10</li>
  375. <li>Safari 6</li>
  376. <li>Opera 12</li>
  377. <li>Google Chrome 23</li>
  378. </ul>
  379. <p>
  380. Additionally, Vaadin supports the built-in browsers in the following
  381. <b>mobile operating systems</b>:
  382. </p>
  383. <ul>
  384. <li>iOS 5 and later</li>
  385. <li>Android 2.3 and later</li>
  386. </ul>
  387. <h2 id="vaadinontheweb">Vaadin on the Web</h2>
  388. <ul>
  389. <li><a href="http://vaadin.com">vaadin.com - The developer
  390. portal containing everything you need to know about Vaadin</a>
  391. </li>
  392. <li><a href="http://demo.vaadin.com">demo.vaadin.com - A
  393. collection of demos for Vaadin</a></li>
  394. <li><a href="http://vaadin.com/learn">vaadin.com/learn -
  395. Getting started with Vaadin</a></li>
  396. <li><a href="http://vaadin.com/forum">vaadin.com/forum -
  397. Forums for Vaadin related discussions</a>
  398. </li>
  399. <li><a href="http://vaadin.com/book">vaadin.com/book - Book
  400. of Vaadin - everything you need to know about Vaadin</a>
  401. </li>
  402. <li><a href="http://vaadin.com/api">vaadin.com/api - Online
  403. javadocs</a>
  404. </li>
  405. <li><a href="http://vaadin.com/directory">vaadin.com/directory
  406. - Add-ons for Vaadin</a>
  407. </li>
  408. <li><a href="http://vaadin.com/pro-account">vaadin.com/pro-account
  409. - Commercial support and tools for Vaadin development </a>
  410. </li>
  411. <li><a href="http://vaadin.com/services">vaadin.com/services
  412. - Expert services for Vaadin</a>
  413. </li>
  414. <li><a href="http://vaadin.com/company">vaadin.com/company
  415. - Information about the company behind Vaadin</a>
  416. </li>
  417. <li><a href="http://dev.vaadin.com">dev.vaadin.com - Bug tracker</a></li>
  418. <li><a href="http://dev.vaadin.com/wiki/Vaadin/Development/StartingVaadin7Development">How
  419. to get the source code of Vaadin</a>
  420. </li>
  421. </ul>
  422. </div> <!-- /content-->
  423. <div id="footer">
  424. <span class="slogan"><strong>vaadin <em>}></em> </strong>
  425. thinking of U and I<span> <a href="#top">&uarr; Back to
  426. top</a>
  427. </div> <!-- /footer -->
  428. </body>
  429. </html>
  430. <!-- Keep this comment at the end of the file
  431. Local variables:
  432. mode: xml
  433. sgml-omittag:nil
  434. sgml-shorttag:nil
  435. sgml-namecase-general:nil
  436. sgml-general-insert-case:lower
  437. sgml-minimize-attributes:nil
  438. sgml-always-quote-attributes:t
  439. sgml-indent-step:2
  440. sgml-indent-data:t
  441. sgml-parent-document:nil
  442. sgml-exposed-tags:nil
  443. sgml-local-catalogs:("/etc/sgml/catalog" "/usr/share/xemacs21/xemacs-packages/etc/psgml-dtds/CATALOG")
  444. sgml-local-ecat-files:("ECAT" "~/sgml/ECAT" "/usr/share/sgml/ECAT" "/usr/local/share/sgml/ECAT" "/usr/local/lib/sgml/ECAT")
  445. End:
  446. -->