github vaadin/flow 8.0.0.alpha4
Vaadin Flow 8.0.0.alpha4

latest releases: 23.5.10, 24.4.13, 24.5.6...
pre-release3 years ago

Vaadin Flow 8.0.0.alpha4

Changes in Flow from 8.0.0.alpha3

  • Breaking Changes:

    • Extract DevModeHandler and BrowserLiveReload into a separate module. PR:10969. Ticket:10892

      Added module vaadin-dev-server containing dev server and live reload. The interfaces in flow-server (DevModeHandler, DevModeHandlerManger and BrowserLiveReloadAccessor) are implemented in this module. The module is optional: running without it in dev mode requires setting enableDevServer=false and building the frontend manually (vaadin:build-frontend mavne goal).
      This should not have any effect on Vaadin applications or add-ons, unless they for some reason are calling internal development mode related frontend build code in Flow. Many classes have moved to com.vaadin.flow.internal package from com.vaadin.flow.server. See the changeset for details.

  • New Features:

    • Allow defining access control annotations on view superclasses. PR:11097. Ticket:10705

    • Make helper method public to allow Spring to use it. PR:10863

      This allows leaving child views unannotated with any of the access annotations and the access rules to be defined by the parent view classes.

    • Bump lit-css-loader for Lit 2. PR:11062

    • Add view access checker. PR:10800. Ticket:10609

      Enable use of security annotations with Flow views.

  • Fixes:

    • Set routes first into the template. PR:11107. **Ticket:**psi#26

    • Make primitive types non-nullable by default in generated TS file. PR:11118

    • Prevent passing bad character to dev-server. PR:11099

      The webpack dev-server does not escape " character, as it is not valid URL. This limitation was not checked when passing request to it via DevModeHandlerImpl.

    • Don't serve directories as static files. PR:11072

      Add check to the resource to see if it is a directory and do not serve if this is the case. Fixe #11047

    • Avoid NPE in query params parsing. PR:11075. Ticket:11019

      A colon ":" in the location will not cause a NPE when parsing query parameters

    • Annotate default error handlers.. PR:11063

      Annotate default error handlers with the new annotaton DefaultErrorHandler so that we can also in add-ons have default handlers that can be overridden by user handlers. Part of vaadin/spring#661

    • Correctly resolve paths when using a context path. PR:11059

    • A request to /foo matches a servlet mapping of /foo/*. PR:11066

    • Use x64 version for mac for old nodejs. PR:11065. Ticket:11060

      Use the x64 package for mac if the installed node version is < 16.0.0 as ARM package is not available before this.

    • Use relative path for default login processing url. PR:10999

    • Permit access to /themes/**. PR:11040

    • Using a custom RouteRegistry. PR:11033. Ticket:11022

      Make it possible to create a custom RouteRegistry and add test module for it.

    • Don't update cached extended details inside callback. PR:11043. Ticket:473

      Makes fetching extended client details work for Multiplatform Runtime.

  • ⧉ All changes

Don't miss a new flow release

NewReleases is sending notifications on new releases.