Changes since 23.2.2
New features
-
Allow rerouting to an external URL (#14571)
Commit · Pull request · IssueFixes issues like #11029, when the page is forwarded to a wrong URL.
Fixes
-
Write version.json from the currently constructed package.json (#14696)
Commit · Pull requestThe earlier logic was like 1. Read package.json 2. Modify package.json in memory 3. Generate version.json based on package.json file 4. Write modified package.json to file Where step 3 ignored what was done in step 2
-
Throw exception if Vite and deprecatedV14Bootstrapping are used (#14678)
Commit · Pull requestInterrupts application's bootstrapping if Vite + v14 Bootstrapping are detected with the message to fallback to Webpack, sine Vite is not supported yet with this mode.
-
Cancel previous flush request if new one is forced (#14647)
Commit · Pull request · Issue -
Do not assume a /VAADIN/ mapping is the real servlet mapping (#14677)*
Commit · Pull request -
Make system property feature flag value always override stored one (#14681)
Commit · Pull request · IssueEnable or disable a feature flag by providing a system property is not working when feature flags file is loaded by a ResourceProvider. This change makes system properties always take precedence over stored values
-
Do not use a fixed download root (#14632)
Commit · Pull request · IssueAs the default download root might be different depending on the used system we should not use a hardcoded default if user has not given a download root.
-
Make paths work as version numbers in @NpmPackage (#14675)
Commit · Pull request · Issue -
Only map websockets to servlet path and not any sub paths (#14638)
Commit · Pull request(cherry picked from commit f4c7497)
-
Use es2020 for Vite, es2019 for webpack (#14660)
Commit · Pull request · Issue -
Do not overwrite generated files with the same content (#14510)
Commit · Pull request · IssueOverwriting the files will cause the frontend tooling to recompile when there is no need to do that
-
Fix navigation to secured view with oauth2 without router-ignore (#14523)
Commit · Pull request · IssueThis is to fix the problem of navigating to a secured view from a public view before login in while using the OAuth2 external login page. Prior to this, it was needed to set "router-ignore" attribute on the links from public pages to skip vaadin-router and let the spring-security forward the user to the external login page.
-
Redirect to the correct server view also when coming from a non-root URL (#14614)
Commit · Pull request · Issue -
Redirect to login page without showing the 404 page (#14576)
Commit · Pull request · Issue -
Sort classes by name in ReflectionsClassFinder (#14556)
Commit · Pull requestClass scan in production build may differ from development mode because DefaultClassFinder and ReflectionsClassFinder may provide classes in different order. As a result, when there are multiple NpmPackage annotations for the same package wit different version, the final version used in package.json may be different in dev mode and production build. This change makes ReflectionsClassFinder sort classes by name, as DefaultClassFinder does in its constructor. Ref #14381