Changes since 25.2.0-alpha7
New features
-
Upgrade to TypeScript 6.0.2
Commit · Pull request -
Add Geolocation API
Commit · Pull requestAdds a per-UI
Geolocationfacade (UI.getGeolocation()) that wraps the browser's Geolocation API with a one-shotget(...)request, a reactivetrack(Component)session, and anavailabilitySignal()reporting capability/permission state. - Results use sealed types designed for exhaustive pattern matching:GeolocationOutcome(GeolocationPosition|GeolocationError) for one-shot reads, andGeolocationResult(addsGeolocationPending) for the tracker's signal before the first fix arrives. - Availability is delivered synchronously — seeded in the bootstrap handshake and kept in sync via avaadin-geolocation-availability-changeDOM 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 requestAdds 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 · IssueWhen 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 requestAdd 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
Featuretype of change - [ ] Enhancement / new feature was discussed in a corresponding GitHub issue and Acceptance Criteria were created.