Skip to content

Vaadin Multiplatform Runtime 6.0.0.rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@joheriks joheriks released this 24 Feb 13:16
5584b3b

The Vaadin Multiplatform Runtime (or MPR for short) allows the developer to run applications and components written with a Legacy Framework (Vaadin 7 or Vaadin 8) inside a Vaadin 23 (Flow) application. This is a pre-release version targeting the Vaadin 23 platform.

The Multiplatform Runtime is available to all Vaadin customers in the Prime subscription tier.

The complete documentation can be found here

Breaking changes and incompatibilities

MPR 6 is part of Vaadin 23, which is built on Java 11. This means that widgetset compilation will not work in Vaadin Framework 7, as it uses GWT 2.7 which is not compatible with Java 11. The best solution is to upgrade the project to Framework 8. If you are unable to do that, you can override the GWT compiler to a version that is compatible with Java 11 by excluding the following modules from vaadin-client and vaadin-client-compiler:

            <exclusions>
                <exclusion>
                    <groupId>com.vaadin.external.gwt</groupId>
                    <artifactId>gwt-dev</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.vaadin.external.gwt</groupId>
                    <artifactId>gwt-user</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.vaadin.external.gwt</groupId>
                    <artifactId>gwt-elemental</artifactId>
                </exclusion>
            </exclusions>

and then adding the following dependencies to GWT 2.8.2 instead:

            <dependency>
                <groupId>com.google.gwt</groupId>
                <artifactId>gwt-dev</artifactId>
                <version>2.8.2</version>
            </dependency>
            <dependency>
                <groupId>com.google.gwt</groupId>
                <artifactId>gwt-user</artifactId>
                <version>2.8.2</version>
            </dependency>
            <dependency>
                <groupId>com.google.gwt</groupId>
                <artifactId>gwt-elemental</artifactId>
                <version>2.8.2</version>
            </dependency>