Skip to content

Releases: vaadin/framework

Lots of small improvements and fixes

12 Dec 11:41
Compare
Choose a tag to compare
Pre-release

New features in alpha 9

  • Github workflow: create tickets and pull requests in Github!
  • A list of breaking and incompatible changes in FW 8
  • Introduce VaadinServiceInitListener
  • Separated Binding and BindingBuilder
    • Changes existing API by modifying returned type in Binder
  • Added shorthand Listing::setItems(Stream)
  • Added shorthand HasValue::clear()
    • corresponds to field.setValue(field.getEmptyValue());
  • Read-only support for Single- & Multiselection models in Grid.
  • Make ViewChangeListener a functional interface by adding default implementation of afterViewChange
  • Introduced shared state for every core Framework component, except AbstractExtension

Existing features added from version 7

  • Allow to set caption for the empty selection in a ComboBox (V7)
  • Added Grid::setSelectionMode(SelectionMode) shorthand for Grid
    • Changes existing API by hiding Grid::setSelectionModel
  • Added a generic selection listener to Grid
    • More specific selection listeners added to SingleSelectionModel and MultiSelectionModel
  • All changes introduced by 7.7.4 are migrated into master for FW 8 and compatibility components when applicable

Fixes in alpha 9

  • Changed return type of Binder::getBean to BEAN instead of Optional<BEAN>
    • Changes existing API by modifying returned type in Binder
  • Fix focus and blur handling for CheckBoxGroup, NativeSelect and RadioButtonGroup
  • Remove HideAppendableDataProvider::combineFilters
  • Don't use FW 8 FieldEvent classes in FW 7 compatibility module
  • Deprecated Button::setHtmlContentAllowed
  • Removed unused browser specific prefixes for box-sizing
  • Fix BeanBinder to accept "raw generics type" for field bindings, e.g. Listings

7.7.6

08 Dec 12:04
Compare
Choose a tag to compare

7.7.6

Filtering and Sorting

02 Dec 08:47
Compare
Choose a tag to compare
Filtering and Sorting Pre-release
Pre-release

Added Features in alpha 8

  • Added a filter type to Query and DataProvider
  • Added setFilter method to DataProvider for setting a default filter that is always applied
  • Specific DataProviders to support appendFilter and combineFilters to allow chaining of filters
  • Listing Components can now define their own filter type
  • Added DataProvider methods for converting filter types
  • In-memory sorting provided in Query, DataProviders are now stateless.
  • DataProviders implement sortingBy which returns a wrapper through which changed to sorting and filtering are done

Reference implementations:

7.7.5

23 Nov 10:33
Compare
Choose a tag to compare
7.7.5

SingleSelect and MultiSelect interfaces

18 Nov 07:02
Compare
Choose a tag to compare
Pre-release

Feature changes in alpha7:

  • Built-in select components implement SingleSelect or MultiSelect interfaces depending on which selection type those support.
    • Grid can be bound as a SingleSelect in Binder by using Grid::asSingleSelect().
    • MultiSelect Grid is still work in progress
  • DataSource has been renamed to DataProvider
    • This breaks API compared to previous alphas

7.7.4

14 Nov 13:06
Compare
Choose a tag to compare
7.7.4

Binder

03 Nov 11:48
Compare
Choose a tag to compare
Binder Pre-release
Pre-release

Binder is feature implementation is now done. Still lacks documentation and examples for being feature complete.

Added Features in alpha 6

  • Support for null representation in Binder
    • Maps null value to given representation and back to null for model
  • ValueContext for localization support in Converters and Validators
    • Localized error messages, unified easy-to-use Java 8 APIs
  • Binder.bindInstanceFields(Object) for reflection based field-property binding
  • Grid headers support html/components
  • Binding.setRequired(ErrorMessageProvider) for making sure field cannot be empty
    • HasValue:setRequiredIndicator (replaces setRequired)
    • Adds validator for verifying field is not empty

Other fixes

  • Components are serializable (and tested for that)
  • ValueChangeEvent name fixed and now provides Component/HasValue
  • HasValue:setValue(null) semantics, javadocs are fixed and unified
  • Binder methods renamed from load, save, bind… to writeBean, loadBean, setBean.
    • This breaks lots of existing API
  • Focus/Blur events for RadioButtonGroup, CheckBoxGroup, NativeSelect
  • Validators return a ValidationResult instead of Result
  • HasValue:setReadOnly instead of Component:setReadOnly

Other stuff

  • Utility for outputting full declarative syntax of components (for designer)
  • GWT 2.8.0 final is in use
  • SelectionModel APIs have been removed from client side, except for Grid

Removing immediate from Components, Deprecated all themes except Valo, DateField inputPrompt -> placeholder

20 Oct 14:09
Compare
Choose a tag to compare
  • Binder API documentation now refers to Bean instead of Item
  • Immediate mode has been removed
    • AbstractComponent.setImmediate is removed, moved to AbstractLegacyComponent in compatibility packages for those V7 components that still need it
    • In Vaadin 8, all components are immediate
  • All themes except Valo have been moved to compatiblity-themes package
  • DateField inputPrompt has been changed to placeholder
    • uses placeholder attribute for input element
    • setInputPrompt -> setPlaceholder, getInputPrompt -> getPlaceholder
  • Added valo-menu-hover style name for Valo Responsive Menu to show menu automatically on mouse over
  • Grid for V8 has basic footer support
  • Grid columns have now identifiers, no duplicates allowed
  • Fixed framework dependencies leaking into BOM (effected all projects)
  • Fixed Mockito/Hamcrest classpath conflict

DateField based on LocalDate, Valo as default theme, ColorPicker for V8

20 Oct 13:53
Compare
Choose a tag to compare
  • Server side listeners have been unified (Java 8 API)
  • DateField is now based on LocalDate instead of Date
    • "Old" DateField is still in compatibility packages
  • ColorPicker is now based on AbstractField
    • ColorPicker subcomponents implement HasValue
    • "Old" ColorPicker is in compatibility packages
  • Documentation refers to RadioButtonGroup and CheckBoxGroup instead of OptionGroup
  • Valo is the default theme
  • Valo is independent of Base theme
  • Grid column reordering support for V8 Grid (user and programmatic)
  • Upload is updated to have a separate setImmediateMode instead of setImmediate
    • "Old" Upload is in compatibility packages
  • NativeSelect V8 DOM has been reverted to be same as in V7
  • Update to GWT version 2.8.0-rc3
  • Changes from 7.7.1, 7.7.2 and 7.7.3 have been migrated

New Components and Grid enhancements

29 Sep 11:01
Compare
Choose a tag to compare
Pre-release

New features:

  • Added features for Grid
    • CheckBoxRenderer and AbstractJavaScriptRenderer
    • Multiple row Headers
    • Column sizing and hiding
  • Added RadioButtonGroup, TwinColSelect and ListSelect
  • Compatibility classes are now marked as deprecated
  • Renamed PopupDateField to DateField
  • ItemCaptionProvider and similar interfaces unified and moved out from ComboBox

List of all changes: vaadin/vaadin@8.0.0.alpha2...8.0.0.alpha3