Skip to content

Vaadin Flow 24.0.0.rc3

Pre-release
Pre-release

Choose a tag to compare

@vaadin-bot vaadin-bot released this 06 Mar 14:17
· 129 commits to 24.0 since this release
85fa85e

Changes since 24.0.0.rc2

All changes

Fixes

  • Not throw for not yet copied CSS when checking for re-bundling (CP: 24.0)
    Commit · Pull request

    When the stylesheet is imported by AtCssImport from src/main/resources/META-INF/resources/frontend, the Flow copies the stylesheets to frontend/generated/jar-resources in Vite dev server mode, and only then checks that the needed files are present.
    For the dev bundle mode, these kind of files are checked even before any of the tasks run (when Flow check if re-bundling is needed), so before these files are copied.
    The fix is to make GenerateMainImports ignore missing files, because this class only runs for checking dev bundle and the absence of files is expected.

  • Skip checking @vaadin/flow-frontend package
    Commit · Pull request

    @vaadin/flow-frontend package was used in previous Vaadin versions to alias .target/flow-frontend folder. Since it is present only under "dependencies" object, Flow cannot decide was it added by user or not. Now Flow ignores this legacy package to not re-bundle erroneously.

  • Exclude Vite specific import parameters for project's file imports (CP: 24.0)
    Commit · Pull request

    Excludes parameters added by Vite (e.g. ?inline) for frontendFiles entries in the stats.json of dev-bundle.
    These parameters cause a mistake in import string comparison and false re-bundling.