Releases: vaadin/framework
Releases · vaadin/framework
7.7.1
New form binder, new fields, new grid
New features
- A new, much simpler AbstractField
- No data binding, validators, converters
- A new form
Binder
for binding fields to dataBeanBinder
for simple binding to beans- Bean validator (JSR-303) support
Converter
supportValidator
support- Buffered
load
/save
and unbufferedbind
modes - Converters and validators can be chained in any order, validating field data, bean data or even an intermediate format if needed
- Bean level validation support
- Cross field validation support
- Customizable validation handling for error/ok messages
- New, simpler field implementations
- Event origin (user or server) included in ValueChangeEvents
TextField
,PasswordField
,TextArea
TextChangeListener
integrated intoValueChangeListener
- Different modes for
ValueChangeListener
(BLUR
,EAGER
,TIMEOUT
,LAZY
) - Placeholder support through the native
placeholder
attribute DateField
,PopupDateField
,InlineDateField
,CustomField
,Slider
Label
,ProgressBar
are no longer fields as they do not have any way for the user to provide input
- Initial support for new
Listing
componentsGrid<BEANTYPE>
- Tied to a bean type for type safe API
- More flexible column configuration
- Many features from Vaadin 7 still missing
DataCommunicator
to ease implementation ofListing
components
- Client side Java 8 support through GWT 2.8-rc2
- Better push support through Atmosphere 2.4
Changes in defaults
Immediate
is the default for all components exceptUpload
, which still gives special meaning toimmediate
Label
default width changed to auto, to match other components
Migration packages
- Packaged as
vaadin-compatibility-server
,vaadin-compatibility-client
,vaadin-compatibility-client-compiled
- Vaadin 7 data binding classes:
Container
,Item
,Property
and all implementations - Vaadin 7 FieldGroup, converters, validators
- Vaadin 7 components which use the old data binding (mainly fields and selects)
- Vaadin 7 data binding classes:
- All classes moved from
com.vaadin.*
tocom.vaadin.v7.*
com.vaadin.v7.Vaadin7WidgetSet
which contains all Vaadin 7 components
- Declarative support prefix for old components defined as
<vaadin7-
, e.g.<vaadin7-text-field>
- YMMV migration tool provided in https://github.com/vaadin/vaadin8-migration-tool
Removed features
- Support for Java 6, 7
- Support for servlet 2.x
- Support for IE 8, 9, 10
- Support for all but the latest browser versions, IE11 is still supported
- Support for Window Phone
- The
liferay
theme for Liferay 6.0 - RichTextArea no longer receives a special "v-richtextarea-readonly" class when readonly
All changes since 7.7: vaadin/vaadin@7.7...8.0.0.alpha2