heads up: esri-loader is deprecated in 4.29 of the JS API

630
0
01-17-2024 05:01 AM
AValenski
New Contributor III

Wanted to give as advanced notice as possible as Esri updated their Next JS API GitHub with the 4.29 change notices yesterday.

Per the change log "The esri-loader library is deprecated at version 4.29. Use components or the @ArcGIS/core ES modules instead."

Additionally, there're a host of other breaking changes in this release. I've catalogued them below, but the full list of recent deprecations and breaking changes are available via the above links:

  • At version 4.29, only WebGL2-enabled browsers are supported for both 2D and 3D. See the System Requirements for more information. (here's the support matrix)
  • For local builds, using Webpack versions prior to 5.84.0 is not recommended for 4.29. This is related to bug fixes in Webpack.
  • Removal of FetchPopupFeaturesResult members in the Popup class. The FetchPopupFeaturesResult type definition in the Popup class had the following properties removed from the API at this release: FetchPopupFeaturesResult.clientOnlyGraphicsFetchPopupFeaturesResult.promisesPerLayerViewFetchPopupFeaturesPromisesPerLayerView 
  • BasemapLayerList.multipleSelectionEnabled deprecated since 4.29. Use selectionMode instead.
  • BasemapLayerList.editingEnabled deprecated since 4.29. Use dragEnabled, selectionMode, and visibleElements.editButton instead.
  • LayerList.multipleSelectionEnabled deprecated since 4.29. Use selectionMode instead.
  • LayerList.selectionEnabled deprecated since 4.29. Use dragEnabled and selectionMode instead.
  • Popup.spinnerEnabled deprecated since 4.29. Use PopupVisibleElements.spinner instead.
  • TableList.multipleSelectionEnabled deprecated since 4.29. Use selectionMode instead.
  • TableList.selectionEnabled deprecated since 4.29. Use dragEnabled and selectionMode instead.
  • Popup.collapseEnabled deprecated since 4.29. Use PopupVisibleElements.collapseButton instead.
  • Popup.spinnerEnabled deprecated since 4.29. Use PopupVisibleElements.spinner instead.

 

4.29 is set for release in February of 2024.

0 Replies