github vaadin/flow 25.2.0-alpha8
Vaadin Flow 25.2.0-alpha8

pre-release8 hours ago

Changes since 25.2.0-alpha7

All changes

New features

  • Upgrade to TypeScript 6.0.2
    Commit · Pull request

  • Add Geolocation API
    Commit · Pull request

    Adds a per-UI Geolocation facade (UI.getGeolocation()) that wraps the browser's Geolocation API with a one-shot get(...) request, a reactive track(Component) session, and an availabilitySignal() reporting capability/permission state. - Results use sealed types designed for exhaustive pattern matching: GeolocationOutcome (GeolocationPosition | GeolocationError) for one-shot reads, and GeolocationResult (adds GeolocationPending) for the tracker's signal before the first fix arrives. - Availability is delivered synchronously — seeded in the bootstrap handshake and kept in sync via a vaadin-geolocation-availability-change DOM event — so application code can read it (or bind to it) without an extra round-trip.

  • Add support for accepting hidden fields in Binder
    Commit · Pull request

    Adds setAcceptHiddenFields(boolean) to Binder. setAcceptHiddenFields(true) makes Binder apply bindings for hidden fields by default in same way as with pre-Vaadin 25.

Fixes

  • Rewrite relative url() paths when inlining @Stylesheet imports in production bundle
    Commit · Pull request · Issue

    When a CSS file referenced by @Stylesheet contains @import statements that pull in other CSS files with relative url(...) references, the production build inlined the imports but left the urls untouched. After inlining, the browser resolves those urls relative to the entry file, breaking image paths. Add a new build-time entry point that rewrites url(...) references so each one is expressed relative to the entry CSS file's folder. Absolute urls, protocol urls (http, https, data, ftp, file) and urls whose resolved target falls outside the entry's base folder (e.g. npm package siblings) are left untouched.

  • Expose vaadin.eagerServerLoad in Spring properties metadata
    Commit · Pull request

    Add eagerServerLoad to VaadinConfigurationProperties so Spring Boot can generate configuration metadata and IDE autocomplete for the documented vaadin.eagerServerLoad property. ## Description Please list all relevant dependencies in this section and provide summary of the change, motivation and context. ## Type of change - [ ] Bugfix - [x] Feature ## Checklist - [x] I have read the contribution guide: https://vaadin.com/docs/latest/guide/contributing/overview/ - [x] I have added a description following the guideline. - [x] The issue is created in the corresponding repository and I have referenced it. - [x] I have added tests to ensure my change is effective and works as intended. - [x] New and existing tests are passing locally with my change. - [x] I have performed self-review and corrected misspellings. #### Additional for Feature type of change - [ ] Enhancement / new feature was discussed in a corresponding GitHub issue and Acceptance Criteria were created.

Don't miss a new flow release

NewReleases is sending notifications on new releases.