Changes since 25.0.0.alpha1
Breaking changes
-
Bump Spring Boot to 4.0.0-SNAPSHOT
Commit · Pull requestReferences #21620 org.hibernate.validator.constraints.NotEmpty annotation has been removed from Hibernate Validator.
New features
-
Add a short method to SortDirection enum
Commit · Pull request · IssueThe SortDirection enum only provides name(), getOpposite() methods. This change introduces a new method called getShortName() which returns shortened version of SortDirection. This short names can be useful in the SQL queries etc.
-
Add Flow component for code Html element #20832
Commit · Pull request -
Added new style methods
Commit · Pull requestAdd methods to better cover commonly used css properties.
-
Add ComponentEffect helper
Commit · Pull request · Issue -
Add ElementRequestHandler to Element
Commit · Pull requestAdd possibility to give a ElementRequestHandler as attribute to Element so you can directly use .setAttribute("xyz", downloadHandler) and .setAttribute("xyz", uploadHandler)
-
Add link type control to Anchor
Commit · Pull requestAdd LinkMode to Anchor for selecting if the anchor should be download or inline. handle null mode
Fixes
-
Update Query getPageSize to check for offset
Commit · Pull request · IssueMake getPageSize check that it matches the offset. Update javadocs for Query to explain that getPage updates the pageSize to match offset.
-
Use handlers registered using ResourceHandlerRegistry
Commit · Pull requestFor instance Swagger uses ResourceHandlerRegistry to register a handler for /swagger-ui/index.html and this is now called without excluding any url from Vaadin
-
Drop transitive dependency ph-css
Commit · Pull request · IssueReplace functionality and remove the ph-css dependency.
-
Remove reflections library as a transitive dependency
Commit · Pull requestCloses #21680
-
Download sets content-disposition
Commit · Pull requestDownload handlers should set content-disposition: inline when inline has been invoked.
-
Allow observing other nodes from an observer
Commit · Pull request · Issue