Local Files
Replace older DevExtreme files with the latest version. You can find the new files in the DevExtreme zip archive or DevExtreme folder (C:\Program Files\DevExpress 22.2\DevExtreme\Sources\Lib by default).
If you customized the old CSS files, you should make the same changes to the new CSS files and only then use them as a replacement.
CDN Services
Replace the version in CDN links. Relevant links are listed in the CDN Services article.
npm Packages
Run the following commands:
jQuery
npm install devextreme@22.2 --save --save-exact
Angular
npm install devextreme@22.2 --save --save-exact npm install devextreme-angular@22.2 --save --save-exact // If the application is created using the DevExtreme CLI npm install devextreme-themebuilder@22.2 --save --save-exact npm run build-themes
Vue
npm install devextreme@22.2 --save --save-exact npm install devextreme-vue@22.2 --save --save-exact // If the application is created using the DevExtreme CLI npm install devextreme-themebuilder@22.2 --save --save-exact npm run build-themes
React
npm install devextreme@22.2 --save --save-exact npm install devextreme-react@22.2 --save --save-exact // If the application is created using the DevExtreme CLI npm install devextreme-themebuilder@22.2 --save --save-exact npm run build-themes
See Also
Upgrade Themes Created in ThemeBuilder
Follow the steps below to upgrade a theme created in the ThemeBuilder if you saved the theme's metadata:
Open the ThemeBuilder at the Import a Theme from DevExtreme Metadata view.
On the view, click Upload File and select the
.json
file that you exported previously. If you copied the metadata rather than exported it as a.json
file, paste it in the text area and click Upload Metadata:Check that the metadata is applied, perform additional customizations if required, and export the upgraded theme.
Learn What's New
See What's New in v22.2 to learn about the new features, or browse the DevExtreme version history for details on which features any major or minor release implemented and the issues they resolved.
Learn Breaking Changes and Deprecated API
We always do our best to minimize the impact an upgrade has on existing projects. However, it is often necessary to change our tools' UI, API, or behavior to improve them. Take the following into account to ensure that your app works after upgrading:
Breaking Changes
Refer to the breaking changes introduced in v22.2. Follow the instructions given for each change to mitigate its possible impact.Deprecated API
We recommend replacing deprecated properties and methods with their relevant counterparts because they can break your app once they are removed. Run the upgraded app and open the browser's console. A notification suggesting replacements is displayed if your code uses a deprecated API. Update your code to use the replacements instead of the deprecated API.
You can submit a ticket to our Support Center if you experience any problems migrating to the new DevExtreme version.
Deprecated Properties and Methods
Component | API Member |
---|---|
ContextMenu | closeOnOutsideClick |
DataGrid | rowComponent rowDragging.filter rowRender rowTemplate |
HtmlEditor | formatName formatValues |
LoadPanel | closeOnOutsideClick elementAttr |
Lookup | fullScreen valueChangeEvent |
Popover | closeOnOutsideClick elementAttr |
Popup | closeOnOutsideClick elementAttr |
Sankey | title |
Scheduler | dropDownAppointmentComponent dropDownAppointmentRender dropDownAppointmentTemplate views.dropDownAppointmentComponent views.dropDownAppointmentRender views.dropDownAppointmentTemplate scrollToTime(hours, minutes, date) |
SelectBox | valueChangeEvent |
Toast | closeOnOutsideClick elementAttr |
Tooltip | closeOnOutsideClick elementAttr |
TreeList | rowDragging.filter |
VectorMap | convertCoordinates(x, y) |
CustomStore | ResolvedData |
Utils | errorHandler |
Object Structures | decimalSeparator thousandsSeparator |