Skip to content

Releases: vaadin/cdi

Vaadin CDI 11.0.0 stable release

19 Jun 07:54
6f82be1
Compare
Choose a tag to compare

This is the official Flow CDI integration that is compatible with Vaadin 14.

Vaadin CDI 11.0.0.rc1

10 May 14:34
6f82be1
Compare
Choose a tag to compare
Vaadin CDI 11.0.0.rc1 Pre-release
Pre-release

This is the official Flow CDI integration that is compatible with Vaadin 14.

Vaadin CDI 11.0.0.beta1

02 May 10:19
6f82be1
Compare
Choose a tag to compare
Pre-release

This is the official Flow CDI integration that is compatible with Vaadin 14.

See complete list of changes

Vaadin CDI 10.1.0 stable release

05 Nov 13:36
90b775f
Compare
Choose a tag to compare

Fix Flow 1.1, 1.2 & CDI compatibility.

Version for Vaadin 12.

Vaadin CDI 10.1.0.beta1

30 Oct 12:03
90b775f
Compare
Choose a tag to compare
Pre-release

Fix Flow 1.1, 1.2 & CDI compatibility

Vaadin CDI 10.0.0 stable release

11 Oct 11:21
78378eb
Compare
Choose a tag to compare

This is the official Flow CDI integration that is compatible with Vaadin 10.
A big thanks to @kumm for his work on the major changes included in this release!

See complete list of changes

Vaadin CDI 10.0.0.beta1

10 Aug 07:24
Compare
Choose a tag to compare
Pre-release

This is the official Flow CDI integration that is compatible with Vaadin 10.
A big thanks to @kumm for his work on the major changes included in this release!

See complete list of changes

Vaadin CDI 3.0.1

13 Jun 05:49
1889dd1
Compare
Choose a tag to compare

Vaadin CDI 3.0.1 contains the following fixes and enhancements:

  • Add context path to UI path info (#241)
  • Fix deploying with JAX-WS, JAX-RS Liberty (#238)

Vaadin CDI 1.0.5

26 Jan 12:11
b1f082a
Compare
Choose a tag to compare
  • Improvements in the closed UI cleanup
  • @PreDestroy is now called properly
  • Fix VaadinServlet detection with Liberty, JAX-WS and JAX-RS

In this version there is a possible issue still in UI cleanup with WELD.

Vaadin CDI 3.0.0

19 Jan 08:50
Compare
Choose a tag to compare

Vaadin CDI 3.0.0 is Framework 8.2 compatible version.

A big thank you to @kumm for his work on the major changes included in this release!

This major release contains following changes.

Breaking changes:

NormalUIScoped UIs are not supported

Every @CDIUI has to be @UIScoped. The scope can be omitted for UIs.

ViewScoped context lifecycle has changed

Creation and destruction of view scopes is better aligned with navigation.

@Dependent views are not supported. The behavior of a view scope is the same as you would expect from dependent scope.

Introduced CDINavigator API

To make @ViewScoped work, the CDINavigator should be used instead of standard Navigator.

@CDIUI("")
public class MyUI extends UI {
    @Inject
    CDINavigator navigator;

    @Override
    protected void init(VaadinRequest request) {
        navigator.init(this, myViewContainer);

Navigation can be done by injecting CDINavigator or using ui.getNavigator(), and calling CDINavigator::navigateTo.

New Features:

  • Introduced @VaadinSessionScoped
  • Improved clustering support

ViewContextStrategy

There's a new concept called ViewContextStrategy. It defines when the ViewContext should be released and new one created.

The add-on contains three built-in strategies which are used with an annotation on a view.

  • @ViewContextByNavigation release and creates a new context on every navigation.
  • @ViewContextByName releases and creates a new context when the view name changes.
  • @ViewContextByNameAndParameters releases and creates a new context when the view name or parameters change.

PushStateNavigation

Vaadin Framework 8.2 introduced Navigator feature that uses HTML5 History API for views rather than the old #! URI fragments. This feature is enabled with @PushStateNavigation for the UI class. To use it with CDI, make sure the CDINavigator is being used.

This release contains a number of bugfixes to view scopes and memory leaks.