Changes since 25.1.0-alpha2
New features
-
Add HasHelper::bindHelperText
Commit · Pull request -
Add HasTheme::bindThemeName(String, Signal)
Commit · Pull requestPart of #23211
Fixes
-
Reuse view instance when forwarding to same view with different parameters
Commit · Pull request · IssueWhen 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 · IssuePrevents 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 · IssueAdd 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.