Changes since 24.8.0
New features
-
Added new style methods
Commit · Pull requestAdd methods to better cover commonly used css properties. (cherry picked from commit 8d3d8b8)
-
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. (cherry picked from commit 1877b2d)
-
Add Flow component for code Html element #20832
Commit · Pull request(cherry picked from commit 547bc83)
Fixes
-
Fix AuthenticationContext bean duplicated definition (#21845)
Commit · Pull request · IssueRemoves the AuthenticationContext bean definition from VaadinWebSecurity so there's a single overridable bean in SpringSecurityAutoConfiguration.
-
Fail on multiple executors only when the executor is accessed (#21839)
Commit · Pull request · IssueDoes not fail eagerly if a Spring app has multiple TaskExecutor bean (without VaadinTaskExecutor qualifier). Instead it fails when an app tries to access VaadinService.getExecutor() directly or via using a feature that uses this executor (currently the signals preview).
-
Include a given property only once in getBeanPropertyDescriptors (#21836)
Commit · Pull request -
Sw load should not be system dependent (#21813)
Commit · Pull request · IssueCheck the load request as relative instead of === to not have a problem between systems that use \ instead of /
-
When using pnpm write overrides under pnpm (#21760)
Commit · Pull request · Issues 21724, 21682For pnpm usage write the overrides section under the pnpm object instead of the root of the package.json Will use $NAME for existing dependencies and devDpendencies. For other components in vaadin-versions and vaadin-core-versions version value will be added to overrides. Keep the existing overrides when moving from npm to pnpm and vice versa Refactor test to use Jackson
-
Do not store build info in bundle (#21786)
Commit · Pull requestDo not store the flow-build-info inside the production bundle zip file.
-
Avoid NPE when tracking usage for removed nodes (#21739)
Commit · Pull requestThe change value cannot be extracted if there's no data node in the tree. Check for this both when creating the usage instance and when later evaluating whether it has changes. Note that removing a node is not seen as changing the node itself but only as a change to the node's parent.
-
Include default methods from interfaces in BeanPropertySet (#21770)
Commit · Pull request · Issue -
Update Query getPageSize to check for offset (#21725)
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 (#21686) (CP: 24.8)
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