Skip to content

Vaadin Flow 25.1.0-alpha3

Pre-release
Pre-release

Choose a tag to compare

@vaadin-bot vaadin-bot released this 20 Jan 13:15
· 2357 commits to main since this release
e715440

Changes since 25.1.0-alpha2

All changes

New features

Fixes

  • Reuse view instance when forwarding to same view with different parameters
    Commit · Pull request · Issue

    When a BeforeEnterObserver forwards or reroutes to the same view class with different route parameters, the view instance is now reused instead of creating a new one. This prevents StackOverflowError that occurred when the framework kept creating new instances in a loop. The fix passes the ongoing navigation context to forward/reroute handlers, allowing them to find the current view instance before it's added to the UI's active router chain.

  • Fall back to InternalServerError when error view rendering fails
    Commit · Pull request · Issue

    Prevents navigation corruption when error view's parent layout throws an exception during afterNavigation by catching the exception and rendering InternalServerError as fallback.

  • Prevent StackOverflowError on cyclic CSS import statements
    Commit · Pull request · Issue

    Add cycle detection to CssBundler.inlineImports() to handle circular CSS imports gracefully. When a cycle is detected, the import is skipped since the file content has already been inlined, and a warning is logged.