web-components icon indicating copy to clipboard operation
web-components copied to clipboard

Drop deprecated class aliases with Element suffix

Open web-padawan opened this issue 4 years ago • 1 comments
trafficstars

Motivation

As part of #1993 we added legacy class aliases to the vaadin- prefixed packages, e.g.

import { GridElement } from '@vaadin/vaadin-grid';

In Vaadin 22 these already come as deprecated (VS Code users see the warning when importing). Also the TS components examples in docs already use new classes GridElement -> Grid.

Proposed solution

Remove legacy class aliases with Element suffix in Vaadin 23 first alpha.

web-padawan avatar Nov 10 '21 13:11 web-padawan

As discussed internally, we shouldn't remove things immediately but a console warning needs to be shown first.

web-padawan avatar Dec 14 '21 09:12 web-padawan

Done in #4844.

web-padawan avatar Oct 26 '22 10:10 web-padawan