Skip to content

Releases: vaadin/framework

7.7.1

15 Sep 10:03
Compare
Choose a tag to compare
7.7.1

New form binder, new fields, new grid

14 Sep 19:07
Compare
Choose a tag to compare
Pre-release

New features

  • A new, much simpler AbstractField
    • No data binding, validators, converters
  • A new form Binder for binding fields to data
    • BeanBinder for simple binding to beans
      • Bean validator (JSR-303) support
    • Converter support
    • Validator support
    • Buffered load/save and unbuffered bind 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 into ValueChangeListener
    • 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 components
    • Grid<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 of Listing 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 except Upload, which still gives special meaning to immediate
  • Label default width changed to auto, to match other components

Migration packages

  • Packaged asvaadin-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)
  • All classes moved from com.vaadin.* to com.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

7.7.0

14 Sep 19:25
Compare
Choose a tag to compare
7.7.0