Releases: vaadin/framework
Releases · vaadin/framework
Lots of small improvements and fixes
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
andBindingBuilder
- Changes existing API by modifying returned type in
Binder
- Changes existing API by modifying returned type in
- Added shorthand
Listing::setItems(Stream)
- Added shorthand
HasValue::clear()
- corresponds to
field.setValue(field.getEmptyValue());
- corresponds to
- Read-only support for Single- & Multiselection models in Grid.
- Make
ViewChangeListener
a functional interface by adding default implementation ofafterViewChange
- 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 forGrid
- Changes existing API by hiding
Grid::setSelectionModel
- Changes existing API by hiding
- Added a generic selection listener to
Grid
- More specific selection listeners added to
SingleSelectionModel
andMultiSelectionModel
- More specific selection listeners added to
- 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
toBEAN
instead ofOptional<BEAN>
- Changes existing API by modifying returned type in
Binder
- Changes existing API by modifying returned type in
- Fix focus and blur handling for
CheckBoxGroup
,NativeSelect
andRadioButtonGroup
- 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
7.7.6
Filtering and Sorting
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
SingleSelect and MultiSelect interfaces
Feature changes in alpha7:
- Built-in select components implement
SingleSelect
orMultiSelect
interfaces depending on which selection type those support.Grid
can be bound as aSingleSelect
inBinder
by usingGrid::asSingleSelect()
.- MultiSelect Grid is still work in progress
DataSource
has been renamed toDataProvider
- This breaks API compared to previous alphas
7.7.4
Binder
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
Removing immediate from Components, Deprecated all themes except Valo, DateField inputPrompt -> placeholder
Pre-release
Pre-release
- 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
- 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
New features:
- Added features for
Grid
CheckBoxRenderer
andAbstractJavaScriptRenderer
- Multiple row
Header
s Column
sizing and hiding
- Added
RadioButtonGroup
,TwinColSelect
andListSelect
- Compatibility classes are now marked as deprecated
- Renamed
PopupDateField
toDateField
ItemCaptionProvider
and similar interfaces unified and moved out fromComboBox
List of all changes: vaadin/vaadin@8.0.0.alpha2...8.0.0.alpha3