Select to view content in your preferred language

JS API Upgrade Guide

466
3
03-10-2023 08:05 AM
MichaelWen_Timmons
New Contributor III

I'm upgrading some code from JS API 4.21 to 4.25 and was wondering if there is any guide that gives you examples of how functions that were deprecated can be reproduced in the new version. 

Specifically I am looking for examples of how QueryTask can be rewritten with the new Query. 

Thanks.

0 Kudos
3 Replies
BlakeTerhune
MVP Regular Contributor
LefterisKoumis
Regular Contributor II

I found this very useful to see the changes between versions.

https://developers.arcgis.com/javascript/latest/breaking-changes/

Noah-Sager
Esri Regular Contributor

The above two resources are really good. I would also recommend checking out the deprecation section (expand to see) for each version of the Release Notes, as we typically offer replacements for deprecations. E.g.:

https://developers.arcgis.com/javascript/latest/4.20/#deprecated-classes-properties-methods-events

https://developers.arcgis.com/javascript/latest/4.21/#deprecated-classes-properties-methods-events