github vaadin/flow 2.7.0.alpha2
Vaadin Flow 2.7.0.alpha2

latest releases: 24.3.10, 24.4.0.beta1, 24.4.0.alpha32...
pre-release2 years ago

Vaadin Flow 2.7.0.alpha2

Changes in Flow from 2.7.0.alpha1

  • New Features:

    • Extract validation error handler from Binder (#11384). PR:11415

      Part of #10598, replacement for #10683

    • Implement HasStyle in LitTemplate so you can add class names to the root element (#10903). PR:11017

      Makes it possible to use addClassName("hello") in the constructor. Class for the custom element cannot be added in the template.

  • Fixes:

    • Reset session field only when HTTP session is invalidated (#11416). PR:11492. Ticket:6959

    • Remove functionality which tries to pin dev dependencies (#11456). PR:11477. Ticket:9345

    • Show only single permanent notification (#11450). PR:11453

      If a persistent message is open do not open a new permanent message for the same persistentId. Closes #11074

    • Avoid merge conflicts during properties collection (#11410). PR:11445. Ticket:11404

    • Reuse existing filesystem (#11428). PR:11438. Ticket:11378

      When getting a for Flow new FileSystem there is the possibility that a filesystem has been created elsewhere. Reuse the existing FileSystem if it exists.

    • Use dedicated namespace for fallback style imports (#11419). PR:11433. Ticket:11376

    • Use dedicated exception for Location validation (#11367). PR:11399. Ticket:11302

    • Upgrade bytebuddy version for Java 18 (#11400). PR:11402

      1.10.21 -> 1.11.6

    • Use proper classloader for template model (#11379). PR:11394. Ticket:7377

    • Reset HTTP session on CLOSED state, not immidiately (#11377). PR:11387. Ticket:6959

    • Don't create a new UI instance for service worker resource (#11372). PR:11385. Ticket:6454

    • Use textContent instead of innerHTML for error elements (#11354). PR:11368. Ticket:11324

    • Format numbers in NumberRenderer using Locale if it's provided (#11373). PR:11381. Ticket:8970

    • Move generated theme files to frontend/generated. PR:11370. Ticket:11180

      Any theme file that is generated is now generated into frontend/generated Add missing readme documentation for plugins

    • Set "href" for element inside template as an attribute not a pro… (#11351) (CP: 2.7). PR:11359. Ticket:11349

    • Fixes comparison of prerelease versions FE deps (#11353). PR:11364. Ticket:11352

      The problem caused e.g. alphas greater than 10 to be considered older than 2-9.

    • Order only dependencies inside package.json (#11318). PR:11348. Ticket:11294

    • Use ServletContext classloader as a default classloader for serv…. PR:11342. Ticket:4367

    • Don't propogate click event in the component renderer (#11311). PR:11346. Ticket:6929

    • Provide info about navigation target in NotFoundException (#11309). PR:11340. Ticket:7071

    • Trim class names value before splitting (#11297). PR:11317. Ticket:11153

    • Use JS equals to check whether property value is changed (#11192) (CP: 2.7). PR:11286. Ticket:11175

    • Watch theme folders from Jar dependency (#11196). PR:11264. Ticket:11152

      Adds a reusable themes folders (both current or parent) coming from JAR dependencies to the webpack watch list.

    • Do not open FileSystem for unknown schemes (#11235) (#11253). PR:11267. Ticket:11230

      Don't open a filesystem for unknown schemes that are probably custom for container and have no FileSystem Provider implementation added.

    • Avoid NPE in LookupServletContainerInitializer (#11233). PR:11237. Ticket:11218

    • Don't use ISE to test infinite loop for HasErrorParameter (#11225). PR:11229. Ticket:11190

    • Remove href attribute for disabled Anchor (#11121). PR:11205. Ticket:10924

    • Keep package.json ordered (#11179). PR:11223. Ticket:7431

    • Add reflections input filter. PR:10333

      Add input filtering so we only handle class files from the classpath in ReflectionsClassFinder Closes #10304

    • Add javadocs warning to avoid using ResponseWriter for dirs (#11112). PR:11165

    • Handle concurrent file requests (#11147). PR:11157. Ticket:11144

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

    • 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 # Conflicts: # flow-server/src/main/java/com/vaadin/flow/server/StaticFileServer.java

    • Prevent passing bad character to wp (#11099). PR:11115

      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.

    • Annotate default error handlers. (#11063). PR:11089

      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

    • Use x64 version for mac for old nodejs (#11065). PR:11069. 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.

    • Fix external url reference. PR:11039. Ticket:11015

      flow-frontend is copied directly to node_modules making css-loader try to resolve urls for files that shouldn't be resolved.

    • Using a custom RouteRegistry (#11033). PR:11055. Ticket:11022

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

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

      Makes fetching extended client details work for Multiplatform Runtime.

    • Remove old router layouts content before navigation. PR:10973. Ticket:345

      Recursively removes content of the all nested router layouts of the given old content when the navigation occurs. This is needed to let Dependency Injection frameworks (Spring and CDI add-ons) to re-create managed components with no duplicates/leftovers. (cherry picked from commit 5f5fdcd)

  • ⧉ All changes

Don't miss a new flow release

NewReleases is sending notifications on new releases.