Changes since 24.3.0.alpha6
Breaking changes
-
Implement HasPlaceholder
AddsHasPlaceholder
interface that can be used in components with placeholder property.This changes also the result type of
Input.getPlaceholder()
fromOptional<String>
toString
to unify the return type forInput
and for all other components, e.g.TextField
.Commit · Pull request · Issue
New features
-
Add border-radius style for elements
Commit · Pull request -
Add react router defaults
Commit · Pull requestEnabling the reactRouter feature flag will now add the necessary package dependencies and generate the required frontend files to Frontend/generated/flow With this one should be able to run a flow project using react router instead of vaadin-router
-
Implement RangeInput component
Commit · Pull request · Issue
Fixes
-
Reroute to NotFoundException from default RouteAccessDeniedError
Commit · Pull request · IssueThis makes
AccessDeniedException
's default error page to work by default just like in the previous versions beforeAccessDeniedException
even whenNotFoundException
is customized. -
Allow access to error view if not denied by access checker
Commit · Pull requestDuring a re-route to an error handler component, navigation access checkers may abstain from taking a decision because HasErrorParameter classes are usually not Flow routes with a path, but simple Flow components. For those error handling view access is allowed, if none of the checkers explicitly denies it. This situation will never happen if AnnotatedViewAccessChecker is enabled, since it always express a decision based on the security annotation present on the error handler component.
-
Consider routes not-public if access control is disabled
Commit · Pull request
-
Prevent propagating IO errors when serving PWA icons
Commit · Pull request · IssueAn IOException when writing a PWA icon on the HTTP response can neither be fixed nor handled and causes a lot of log spamming. This change catches the error and logs it at debug level.