Vaadin Flow 9.0.0.alpha6
Changes in Flow from 9.0.0.alpha5
-
Breaking Changes:
-
⧉ Move
disableAutomaticServletRegistration
toApplicationConfiguration
PR:11908. Ticket:11904 -
⧉ Add an option to enable access checker by default. PR:11884. Ticket:11231
Makes default constructor of ViewAccessChecker enable security check by default. Adds one more constructor to create a ViewAccessChecker with disabled security check. ViewAccessChecker() no-args CTOR changes its semantics and enables the access checker, i.e. the view access will be denied, even if Vaadin security helpers are not activated by extending the VaadinWebSecurityConfigurerAdapter. This is taken into account in the Spring add-on vaadin/spring#902.
-
⧉ Move fusion frontend code to npm packages. PR:11644
It is a breaking change, need to update the Fusion specific imports from
import {xxx} from @vaadin/flow-frontend
toimport {xxx} from @vaadin/fusion-frontend
.
-
-
New Features:
-
⧉ Add Object Component to html components module. PR:11942. Ticket:4303
-
⧉ Automatic update of node version. PR:11926. Ticket:9864
Enable automatic update of the node version installed by the framework. Auto update is opt in, but for a version that is older than what should work it is updated automatically.
-
⧉ Add bindReadOnly methods. PR:11902. Ticket:4980
Improves Binder API for read-only properties.
-
⧉ Use proper getTranslation. PR:11903. Ticket:4610
Adds a new Component::getTranslation method consistent with the shorter version.
-
⧉ Allow to customize exceptions thrown inside Binder. PR:11892. Ticket:4531
-
-
Fixes:
-
⧉ Use proper npm/pnpm commands for Windows. PR:11905. Ticket:11730
-
⧉ Upgrade to Atmosphere 2.7.2 and Atmosphere JS 3.1.2. PR:11935. Ticket:10103
-
⧉ Auto register Vaadin servlet even if there is no routes. PR:11907. Ticket:4850
-
⧉ Avoid CurrentInstances leaking into the test. PR:11936. Ticket:11925
-
⧉ Use uri for the file path of generated fusion code. PR:11872
-
⧉ Call processStyles when adding custom-style blocks. PR:11906. Ticket:11877
Always when adding custom-style blocks with module styles we should call the processStyles to actually add style data.
-
⧉ Pinned dependency only adds when modified. PR:11894. Ticket:11888
Do not mark pin if no version is actually added or changed. With this npm install will not always be executed on reload and the copied modules will not disappear.
-
⧉ Use pinned supported pnpm version by default. PR:11859. Ticket:11730
Introduce
pnpm.global
to enable using globally installed pnpm. Default is false, and the pinned supported version of pnpm tool is used. -
⧉ Throw exception in dev mode if dependency missing. PR:11885
When running the application in devMode and the vaadin-dev-server dependency is missing, instead of an assert when getting stats from dev derver throw exception on missing dependency.
-