github vaadin/flow 2.6.0.beta2
Vaadin Flow 2.6.0.beta2

latest releases: 24.4.9, 24.5.0.beta3, 24.5.0.beta2...
pre-release3 years ago

Vaadin Flow 2.6.0.beta2

Changes in Flow from 2.6.0.beta1

  • Fixes:

    • Compare file content from stream. PR:10640

      Compare jar file content and existing target file content before writing to disk.

    • Do not override user pinned versions with pnpm. PR:10635. Ticket:9793

      Any user defined (package.json / NpmPackage-annotation) versions will not be overridden by based on the platform versions (versions.json file). This means that the users will have to remember to also remove their pins after those are not needed anymore or they will stay on using old versions, which is the same as with Maven overrides.

    • Add missing plugin property. PR:10664. Ticket:10621

      Adds the devMode plugin property that is missing from the themeOptions.

    • Log webpack output on failure. PR:10628. Ticket:7472

      Logs as error any output from webpack when webpack exits prematurely without success/failure.

    • Avoid log an error if frontend tool can't be found. PR:10631. Ticket:9212

      Skips error logging when trying to locate a frontend tool.

    • Exclude theme name from plugin parameters. PR:10655

      Excludes unnecessary theme-live-reload-plugin constructor parameter.

    • Upper and lower case drive works in build. PR:10638. Ticket:8959

      Update the directory-maven-plugin to not fail the build on windows when the CWD drive letter is lower case.

    • Watch for a new CSS only in components folder. PR:10623. Ticket:10544

      Watch the components folder for component styles update. Other folders or CSS files except 'styles.css' should be referenced from styles.css anyway, so no need to watch them.

    • Force pnpm version <= 5. PR:10576. Ticket:10571

      pnpm >= 6.0.0 requires at least Node.js v12.17. This requirement may not be satisfied as framework current accepts Node.js 10. pnpm 6.0 can be used with newer Node.js versions if the versions check is disabled with vaadin.ignoreVersionChecks=true. But in pnpm 6 the pnpmfile.js is renamed to .pnpmfile.cjs and thus the Flow generated pnpmfile.js will not be used by pnpm - meaning that versions are not locked.

    • Skip any generated files in theme live reload plugin. PR:10599. Ticket:10451

      Switching the theme name in @theme annotation triggered/created a new [other-theme].generated.js file, which is being watched by webpack and trigger another live-reload in turn. Thus, the endless loop took place. This fix skips the live reload for all generated theme files, no matter which name it has.

    • Consider first added route as main route and always return it first (#10556). PR:10567. Ticket:10528

    • Provide info on file name when Json parsing fails (#10423). PR:10549. Ticket:10323

      Adds the package file name to exception message in case of JsonException in order to provide clean explanation where to look into. (cherry picked from commit 1ea4cef)

    • Don't use ErrorHandler for IOExceptions in StreamReceiverHandler. PR:10553. Ticket:10351

  • ⧉ All changes

Don't miss a new flow release

NewReleases is sending notifications on new releases.