Skip to content

Vaadin Multiplatform Runtime 2.2.6

Compare
Choose a tag to compare
@mshabarov mshabarov released this 28 Oct 07:40
5584b3b

Vaadin Multiplatform Runtime 2.2.6

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 14 (Flow) applications.

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 2.2.6 reworks the way how multiplatform-runtime UI content object is stored in the http session, which makes @PreserveOnRefresh works properly and helps to avoid a possible side effects. This change required minor changes in Vaadin 7/8 and, thus, multiplatform-runtime versions 2.2.6+ won't be compatible with Vaadin 7/8 older than 7.7.28 and 8.14.1. Please update the versions in your project accordingly.

Fixes since the 2.2.5 Release

  • Not use window.name for storing MPR UI Content (Issue: #85)

Stops changing and using window.nameas a key for storing MPR UI Content instance in the http session.
Instead, a separate new parameter is created on the client side by Vaadin 7/8 and used as a key.
The whole mechanism of managing MPR UI Content and its key remains the same.
The older versions of Vaadin 7,8 ( < 7.7.28 and 8.14.1) which don't send the newly added v-mui request, wouldn't work with the new MPR versions containing this patch (2.2.6+).

  • Check the session to be present before attribute removal (Issue: #98)

Removes the MPR UI Content attribute only if the http session is still present.