The VAADIN development team published version 20 of the framework for web applications with Java and TypeScript. The update provides some new features, including official support for the Gradle plug-in, a collection of new messages components as well as integrated helpers for Spring Security authentication.
Maven and Gradle now equal
In addition to the widespread Java Build Tool Maven, VAADIN developers are now officially available to the plug-in for Gradle with its complete range of functions. Support is closing guarantee and automated integration tests. The Gradle plug-in uses the same functions and the same terminology such as Maven, so that VAADIN applications can be carried out with the identical build targets.
A series of new Messages Components opened developers new application options on the Collaboration Engine. For example, with CollaborationMessageList and CollaborationMessageInput, a chat function for users can be implemented within a VAADIn Web Application.
User USERITY = UserService.GetCurrentuser (); Usererfo Usererfo = New Usererfo (Userentity.Getid (), Userentity.GetName (), Userentity.GetMageurl ()); String topicid = "general"; CollaborationMessageList MessageList = New CollaborationMessageList (UserInfo, Topicid); CollaborationMessageInput MessageInput = New CollaborationMessageInput (Message);
Kinking to the innovations in Vaadin 19 now offer composing support for TYPESScript Type definitions. When using Components in TS code, the IDE Auto-Complete options returns for available events and TypeScript type. In addition, the TYPESCRIPT compiler automatically ensures that the correct types are used when accessing event details in event handlers.
During VAADIn 19 another month more monthly support, the developer team recommends the change to the new version. Who requires Long-Term Support, should continue using the LTS release VAADIN 14. A summary view of all innovations in Vaadin 20 offers the blog post to the publication of the release. Further details can be found in the Release Notes on Github.