github vaadin/flow 23.2.0.beta1
Vaadin Flow 23.2.0.beta1

latest releases: 24.4.0.alpha32, 23.3.30, 24.4.0.alpha30...
pre-release20 months ago

Changes since 23.2.0.alpha2

All changes

Breaking changes

  • Fully enable new license checker
    Commit · Pull request

    The new license checker is triggered also for production builds and requires an offline license for development in an offline environment. It no longer relies on third party cookies to resolve all browser compatibility issues.

  • Use Vite as a primary tool
    Commit · Pull request · Issue

    Use Vite by default, make Webpack a deprecated tool behind feature flag.

New features

  • Support Object type keys in Component#getTranslation
    Commit · Pull request · Issue

  • Add feature flag for Hilla multi-module engine
    Commit · Pull request · Issue

  • Add a feature flag for new field validation behavior
    Commit · Pull request

    This PR adds a feature flag for the new field validation behavior. The flag will be used by Flow field components. For more information about the new behavior, please refer to vaadin/platform#3066. Part of vaadin/platform#3066

  • Swallow exceptions on unparseable NPM package versions
    Commit · Pull request

    When checking for new NPM package versions, do not replace versions that we do not understand. Closes #14217

  • Introduce getListeners(eventType) method on com.vaadin.flow.component.ComponentEventBus
    Commit · Pull request · Issue

    Introduced com.vaadin.flow.component.ComponentEventBus.getListeners(Class<? extends ComponentEvent>) together with corresponding shorthand method (on Component) and static helper (on ComponentUtil).

  • Provides collection based methods for HasComponents
    Commit · Pull request · Issue

    Added Collection based add / remove methods for com.vaadin.flow.component.HasComponents

  • Add configuration to TaskGenerateHilla
    Commit · Pull request

  • Provide collection based append/remove methods for Node
    Commit · Pull request · Issue

    Added Collection based appendChild / appendVirtualChild / insertChild / removeChild / removeVirtualChild methods for com.vaadin.flow.dom.Node

  • Improving DX ValidationResult
    Commit · Pull request

    Improves DX when using ValidationResult, by adding equals, hashcode and toString implementations

  • Allow disabling validation status change listener registration on binder
    Commit

    Add binder-level flag to allow disabling of validation status change listener registration for HasValidator fields. Related to #13940 (comment) and #13940 (comment)

Fixes

  • Request Desktop Site feature with only MajorVersion
    Commit · Pull request

    Request Desktop Site feature is enabled. At this time the version only consists of the major version. part of #13921

  • Ensure internal parent set to null when node is detached
    Commit · Pull request

    This is a pure side observation found when investigating other thing, where I first thought I would need this, but eventually not related. This is however something that may pop up later. At this point of time we do not have known logic that would suffer from this bug. But it is somewhat a bug nevertheless.

  • Add missing general styles to webcomponents shadow dom
    Commit · Pull request · Issue

    The document that is generated by WebComponentBootstrapHandler was missing the needed CSS to be added to the shadow dom while using Vite.

  • Regenerate theme files if not existing during Vite resolution
    Commit · Pull request

    It may happen that when Vite analyses imports for theme.js file, they are not yet generated of filesystem and this make compilation fail. This change checks for theme.js imports existence, and if not present forces theme generation process Should fix ThemeSwitchLiveReloadIT flakiness.

  • Use rollup-plugin-postcss-lit with Vite
    Commit · Pull request · Issue

    Added rollup-plugin-postcss-lit and configured it to handle all CSS files except those under theme folder. Note the extra entry with ? is necessary until umbopepato/rollup-plugin-postcss-lit#49 fixed. Another entry added to excludes to workaround umbopepato/rollup-plugin-postcss-lit#52

  • Fix removal of windows junctions
    Commit · Pull request · Issue

    symlink and Windows junction directory contents are not deleted also. Closes #11177

  • Allow windowResize during modality
    Commit · Pull request · Issue

    Allow window resize events when modal component is set.

  • Handle theme files creation and deletion with Vite
    Commit · Pull request · Issue

    Vite 'handleHotUpdate' hook is invoked only for file changes, not for creation nor deletion. This change adds a watcher as well for those events and triggers theme regeneration when theme file are added or deleted

  • Let Vite process theme also on theme.js changes
    Commit · Pull request

    Flow theme plugin for Vite processes themes only on changes on files in active theme directory. This preventes regeneration with java live reload when changing value of Theme annotation. This change triggers theme processing also for updates on theme.js file.

  • Not show warning if no poll listener
    Commit · Pull request

  • Make findAncestor return Object for backward compatibility
    Commit · Pull request

  • Handle duplicated root entries in manifest
    Commit · Pull request

    Duplicated root entry in manifest happens when running application in development mode but after a frontend build. This change removes the entry potentially added by flow if compile-time manifest already added it

  • Support import without url keyword in theme generator
    Commit · Pull request

    With Vite it may happend that '@import url(...)' in CSS are rewritten as '@import ...', that is a valid CSS statement. Currently the theme generator does not handle the case and this prevents the resource to be added to the head section. A warning is also logged on browser console, stating import rules not allowed when creating stylesheets. This change updates the importMatcher regex to handle @import without url

  • Provide correct devMode flag to theme-generator with Vite
    Commit · Pull request · Issue

    devMode flag was hard-coded to false in theme options, preventing the theme generator plugin to work correctly when styles.css does not exist

  • Build the service worker without writing it to FS
    Commit · Pull request · Issues 13123, 14022

    Prevents restart of application during startup.

  • Make Vite work with custom frontend directory
    Commit · Pull request · Issues 14046, 14102

    Also rewrite theme css to resolve urls for assets defined in theme.json

  • Fix ServiceWorker path requests in dev mode
    Commit · Pull request · Issue

Don't miss a new flow release

NewReleases is sending notifications on new releases.