DevExtreme Angular - Migrate to the New Version
After downloading and installing a new version of DevExtreme libraries, update your projects. This article will guide you through the upgrade process. If you experience any problems while upgrading your projects, please refer to our Support Center.
Upgrade VS DevExtreme Applications
Use the Project Converter tool for the Visual Studio projects that were created using DevExtreme Project Templates.
There are two ways of accessing the Project Converter.
Open your solution/project in Visual Studio. Right click the solution/project to display the context menu and choose Upgrade DevExtreme Solution to the Latest Version... (or equivalently Upgrade DevExtreme Project to the Latest Version...).
Run the ProjectConverter.exe program from the folder where DevExtreme is installed. By default, it is located in the "...\Program Files (x86)\DevExpress 17.2\DevExtreme\Tools\DevExtreme HTML JS\" folder.
Specify the path to the project(s) to be upgraded in the Project folder text box.
Review the advanced options. Check Process Subdirectories if you also want to upgrade files in any subdirectories. Check Create Backup Files to create copies of the original files that are about to be upgraded (Project Converter will add a .bak extension to the file names of the copies), so that you can recreate the original project should you encounter any problems.
Finally, click Upgrade and the Project Converter will upgrade your project(s) to the new version.
Upgrade Apps with DevExreme Scripts
Follow the steps below to manually upgrade your applications that use DevExtreme libraries.
Update Scripts
Copy the new JavaScript files from the [Sources]/Lib/js DevExtreme folder to the equivalent folder in your applications.Update Stylesheets
Copy the new CSS files from the [Sources]/Lib/css DevExtreme folder to the equivalent folder in your applications.NOTEThe css folder must include the icons folder with font icons.Update Layouts
Copy the new layout files from the [Sources]/Lib/layouts DevExtreme folder to the equivalent folder in your applications.
You can find all these resources in the DevExtreme zip archive or in the DevExtreme folder, which is C:\Program Files (x86)\DevExpress 17.2\DevExtreme by default.
When using bower, npm, or NuGet, you can upgrade DevExtreme libraries by running the commands mentioned in the following topics:
If you use our CDN links, just replace the version in them (see CDN Services).
Upgrade Custom Themes
If you built your custom themes based on the DevExtreme predefined themes in a Theme Builder, update them each time a new product version (a minor or a major one) is released. This is needed to apply the changes that may possibly be performed in the predefined themes that you used as a base.
When you built your custom theme in a Theme Builder, you saved the differences from the base theme by using the Export feature to a file (there are instructions in the Save the Changes topic). Follow the steps below to apply these differences to the corresponding newly released base theme.
Open the Theme Builder.
Press Import. Paste the differences that you saved in the JSON format (using the Export feature) to the invoked window. Click Apply.
Check that all your differences are applied and perform customizations if required.
Learn What is New
New Major Features
Get introduced with the key features that have been implemented in DevExtreme major version 17.2: What's New.
Learn More Details
Learn detailed information on new features and resolved issues in major version 17.2, and all the successive minor versions: What's New in 17.2.
Deprecated API and Breaking Changes
We always do our best to minimize the impact each new version may have on your projects. Occasionally, however, it is necessary to change the behavior of our tools and/or make certain members deprecated. We do this to improve the quality of our products. Take a look at the deprecated API and the list of breaking changes that accompany each release.
Deprecated API
Run an application updated to the newest DevExtreme version. The browser console will contain information about the deprecated API used in this application and the new members to be used instead. Although the application keeps working with the deprecated API, we still recommend that you use the new API in it. In DevExtreme, deprecated API will remain functional for two more versions of our tools, at which time it will be removed with an announcement about the possible occurrence of breaking changes.Breaking Changes
Take into account the breaking changes in each release and upgrade your apps according to the instructions given for each breaking change.
If you have technical questions, please create a support ticket in the DevExpress Support Center.