Skip to content

Commit

Permalink
docs(change log): Add Popup display order updates & bugs/enh list (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
lboyd93 authored Dec 20, 2023
1 parent 79c3826 commit a3246e4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,22 @@ const layerList = new LayerList({
});
```

### Feature order in the Popup and Features widget
The [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html) and [Features](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features.html) widgets now display features from multiple layers in the order they are displayed in the map. This means that the features of the topmost layer in the map will appear first, followed by the features of the next layer, and so on. In previous versions, the features were displayed in the order they were returned from the server.

## Breaking Changes

- At version 4.29, only WebGL2-enabled browsers are supported for both 2D and 3D. See the [System Requirements](https://developers.arcgis.com/javascript/latest/system-requirements/) for more information.
- For local builds, using [Webpack](https://webpack.js.org/) 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`](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#FetchPopupFeaturesResult) type definition in the Popup class had the following properties removed from the API at this release:
| Property | Replacement |
| -- | -- |
| `FetchPopupFeaturesResult.clientOnlyGraphics` | [`FetchPopupFeaturesResult.allGraphicsPromise`](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#FetchPopupFeaturesResult) |
| `FetchPopupFeaturesResult.promisesPerLayerView` | [`FetchPopupFeaturesResult.allGraphicsPromise`](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#FetchPopupFeaturesResult) |
| `FetchPopupFeaturesPromisesPerLayerView` | N/A |

The following classes, methods, properties and events have been deprecated for at least 2 releases and have now been removed from the SDK:

| Class/Property/Method/Event | Alternate option | Version deprecated |
Expand Down Expand Up @@ -90,11 +101,15 @@ Please refer to the [Breaking changes](https://developers.arcgis.com/javascript/
## Bug fixes and enhancements

- BUG-000160409: Fixed an issue where [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OGCFeatureLayer.html) popups were not appearing when displaying a field name that contains a `.` (period).
- ENH-000156986: Added support for using the `$view.scale` profile variable in primitive override expressions for graphics in with GraphicLayer.
- ENH-000157271: Updated the default ordering of features in the [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html) and [Features](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features.html) widget to show features in layer order starting with the topmost layer in the map.
- [Esri Community - 1339508](https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cimsymbol-marker-placement-relativeto-quot/m-p/1339508): Fixed an issue where a CIMSymbol with the marker placement type `CIMMarkerPlacementOnLine` was not rendering when `relativeTo` was set to `"SegmentMidpoint"`.
- [Esri community - 1350675](https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-compass-widget-icon-in-arcgis-maps-sdk/m-p/1350675): Fixed an issue with the Compass widget and FullScreen widget that wasn't allowing the icon to be customized.
- [Esri Community - 1351209](https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevationprofile-widget-in-dark-theme/m-p/1351209): Fixed an issue with the ElevationProfile widget where the chart tooltip text was not legible in the dark theme.
- Fixed an issue where the dropdown for grouped actions was not anchored to the [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html) when zooming in/out of the view.
- Added a new `getAllHeaders()` method to [`esri/request`](https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html) to retrieve all headers sent from the server.
- Added new [VisibleElements](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#VisibleElements) to the [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html): `actionBar`, `collapseButton`, `heading`, `spinner`
- Added support for resources with relative paths in an [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OGCFeatureLayer.html).
- When loading a web-tier authenticated [portal](https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-Portal.html), the [request](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#request) `trustedServers` property no longer needs to be set with the portal url to prompt for credentials.

## Deprecations
Expand Down

0 comments on commit a3246e4

Please sign in to comment.