diff --git a/CHANGELOG.md b/CHANGELOG.md index 64ffcc5..1b21f89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,172 +1,62 @@ # Change log -The `next` version of 4.30 is now available. Planned release date is June 2024. +The `next` version of 4.31 is now available. Planned release date is October 2024. ![Current build version](https://img.shields.io/npm/v/@arcgis/core/next?label=Current%20build) -## Components updates +## Component packages -- Map and coding components are coming out of beta at 4.30. - -### Components breaking changes - -- In `@arcgis/map-components@next`, for non-view based components the `arcgis` event naming pattern has been removed. Use the `arcgis` naming pattern instead. For example, this change affects `arcgis-basemap-gallery` and `arcgis-bookmarks`. It does not affect `arcgis-map` or `arcgis-scene`. -- In `@arcgis/map-components@next`, `Zoom` and other navigation components have been removed as defaults in the `arcgis-map` and `arcgis-scene` components. The only default component will be `Attribution`. All others need to be added manually, for example: - -```html - - - - -``` - -## MapView.goTo animation - -We have significantly improved the animation behavior of [MapView.goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo) to enhance the geographic context during transitions between locations on the map. These enhancements also provide developers with greater control over the animation settings. - -These improvements include changes to the [GoToOptions2D](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#GoToOptions2D) properties: -- The `duration` property no longer has a default value. Instead, our algorithm calculates the ideal animation duration based on the distance between the origin and destination, as well as the `maxDuration`. You can override this by explicitly setting the `duration`. -- The `maxDuration` and `speedFactor` properties offer greater control over the duration and speed of the animation. -- Certain animations, particularly if they run over a large area or for a long time, have the potential to be disruptive. The `animationMode` property determines the policy for potentially disruptive animations. The default value is `"auto"`, which intelligently decides how to animate based on factors such as time, distance, and `maxDuration`. If the proposed animation time exceeds the `maxDuration`, the map will navigate to the destination instantly. Setting `animationMode` to `"always"` ensures that the animation always occurs, even if, for example, it needs to speed up to fit within the `maxDuration`. - -Additionally, we have introduced a new animation style that zooms out and in, creating an arc-like motion. This style provides more geographic context when transitioning between two locations on the map. - -These enhancements are also noticeable when navigating to points of interest using the [Bookmarks](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks.html) or [Search](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html) widget. - -> [!NOTE] -> Animations may not be suitable for everyone, as some animations can cause discomfort for individuals with vestibular motion disorders. To disable 2D MapView navigation animations in the JavaScript SDK, users can set the [`prefers-reduced-motion`](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion) option in their device or browser settings. - -## Full motion video support with VideoLayer and VideoPlayer - -The new VideoLayer displays prerecorded or live-streamed video feeds from a [VideoServer](https://enterprise.arcgis.com/en/video/). Application developers using VideoLayer can display the video georeferenced on a map and control the playback with the new VideoPlayer widget. Both are in [beta](https://developers.arcgis.com/javascript/latest/faq/#what-does-the-beta-tag-mean) for this release. - -The VideoPlayer widget provides the following capabilities: -- Control operations (play, pause, seek) -- Time and duration display -- Customizable graphics colors -- Following options (sensor, frame, video) -- Adjustable speed and quality -- Access to frame metadata +- Chart Components might come out of beta at 4.31. ## Layer updates -TBD - -## Widget Updates +## Component and widget updates -### CatalogLayerList +# Breaking Changes -The new CatalogLayerList widget provides a way to display and interact with CatalogLayers. The widget displays a list of layers in the `dynamicGroupLayer` and allows you to toggle their visibility. The CatalogLayerList has been integrated into the [LayerList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html) to display catalog layers with minimal configuration needed. The CatalogLayerList inside of the LayerList can be configured with the `catalogOptions` and accessed with the new `catalogLayerList` properties. The CatalogLayerList can also be used independently of the LayerList if that fits the application's needs. - -### LayerList - -The LayerList widget now has improved support for [KnowledgeGraphLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-KnowledgeGraphLayer.html). When a KnowledgeGraphLayer is present in the map, the LayerList widget will display the knowledge graph layer's tables as an expandable list item. Clicking on the tables list item will open a new flow panel to show the tables associated with the knowledge graph layer. - -### Legend - -Legend now supports definition expressions for layers with unique value renderers when `respectLayerDefinitionExpression` is set to `true`. The default is `false`. - -### Expand - -The Expand widget was updated to use calcite components internally, providing an improved experience on mobile devices. - -## Breaking Changes - -- The DatePicker and TimePicker have been removed. Use the Input Date Picker and Input Time Picker Calcite components instead. - -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 | -|-----------------------------|------------------|--------------------| -| `BookmarksViewModel.abilities` | [BookmarksViewModel.capabilities](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks-BookmarksViewModel.html#capabilities) | 4.27 | -| `Editor.layerInfo.allowAttachments` | Set `attachmentsOnUpdateEnabled` or `attachmentsOnCreateEnabled` on [Editor.LayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html#LayerInfo) | 4.26 | -| `Expand.expandIconClass` | [Expand.expandIcon](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Expand.html#expandIcon) | 4.27 | -| `Expand.collapseIconClass` | [Expand.collapseIcon](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Expand.html#collapseIcon) | 4.27 | -| `"non-metric"` value of [ScaleBar.unit](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleBar.html#unit) |`"imperial"` | 4.27 | -| `FeatureForm.view` | Set [FeatureForm.map](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#map) instead | 4.27 | -| `FeatureTable.clearSelection()` | Call [removeAll()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#removeAll) on [FeatureTable.highlightIds](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html#highlightIds) | 4.25 | -| `FeatureTableViewModel.clearSelection()` | Call [removeAll()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#removeAll) on [FeatureTableViewModel.highlightIds](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable-FeatureTableViewModel.html#highlightIds) | 4.25 | -| `FeatureTable.deselectRows()` | Call [remove()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#remove) or [removeMany()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#removeMany) on [FeatureTable.highlightIds](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html#highlightIds) | 4.25 | -| `FeatureTableViewModel.deselectRows()` | Call [remove()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#remove) or [removeMany()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#removeMany) on [FeatureTableViewModel.highlightIds](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable-FeatureTableViewModel.html#highlightIds) | 4.25 | -| `FeatureTable.highlightOnRowSelectEnabled` | [highlightEnabled](api-reference/esri-widgets-FeatureTable.html#highlightEnabled) | 4.25 | -| `FeatureTableViewModel.highlightOnRowSelectEnabled` | [highlightEnabled](api-reference/esri-widgets-FeatureTable-FeatureTableViewModel.html#highlightEnabled) | 4.25 | -| `FeatureTable.selection-change` event | Listen for [FeatureTable.highlightIds](api-reference/esri-widgets-FeatureTable.html#highlightIds) | 4.25 | -| `FeatureTable.selectRows()` | Call [add()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#add) or [addMany()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#addMany) on [FeatureTable.highlightIds](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html#highlightIds) | 4.25 | -| `FeatureTableViewModel.selectRows()` | Call [add()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#add) or [addMany()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#addMany) on [FeatureTableViewModel.highlightIds](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable/FeatureTableViewModel.html#highlightIds) | 4.25 | -| `Lighting` | [SunLighting](https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-SunLighting.html) | 4.24 | -| `Popup.autoOpenEnabled` | [View.popupEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#popupEnabled) | 4.27 | -| `PopupViewModel.autoOpenEnabled` | [View.popupEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#popupEnabled) | 4.27 | -| `SunLighting.ambientOcclusionEnabled` | Ambient occlusion is automatically shown and this property has no effect | 4.27 | -| `SunLighting.waterReflectionEnabled` | Reflections are automatically shown and this property has no effect | 4.27 | -| `VirtualLighting.ambientOcclusionEnabled` | Ambient occlusion is automatically shown and this property has no effect | 4.27 | -| `VirtualLighting.waterReflectionEnabled` | Reflections are automatically shown and this property has no effect | 4.27 | -| `Widget.iconClass` | [Widget.icon](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Widget.html#icon) | 4.27 | +- The AMD npm package [`arcgis-js-api`](https://www.npmjs.com/package/arcgis-js-api) will be retired at 4.31. This is related to dropping local build support for legacy Dojo 1 and RequireJS. Use [components](https://developers.arcgis.com/javascript/latest/components/) or [@arcgis/core](https://developers.arcgis.com/javascript/latest/es-modules/) ES modules instead. +- The npm package [`@arcgis/cli`](https://www.npmjs.com/package/@arcgis/cli) will be retired at 4.31. Use [components](https://developers.arcgis.com/javascript/latest/components/) and Calcite. +- The [`esri-loader`](https://github.com/Esri/esri-loader/blob/master/README.md) library will be retired at 4.31. Use [components](https://developers.arcgis.com/javascript/latest/components/) or [@arcgis/core](https://developers.arcgis.com/javascript/latest/es-modules/) ES modules instead. Please refer to the [Breaking changes](https://developers.arcgis.com/javascript/latest/breaking-changes/) guide topic for a complete list of breaking changes across all releases of the 4.x. -## Bug fixes and enhancements - -- BUG-000144377: All content elements now allow rendering supported HTML for their title and description properties. -- BUG-000151648: Fixed an issue where the Legend was not correctly rendered for the Antarctic DEM from ArcGIS Living Atlas. -- BUG-000153181: Fixed an issue where SceneView didn't properly load an imagery layer with predefined renderer. -- BUG-000163544: Fixed an issue where a SimpleMarkerSymbol was rendered with poor quality when using certain SVG paths. -- BUG-000165132: Fixed an issue where the APP-6(D) DictionaryRenderer displayed an incorrect graphic for the Counterattack by Fire symbol. -- BUG-000165133: Fixed an issue where the APP-6(D) DictionaryRenderer displayed an incorrect graphic for the Trip Wire symbol. -- BUG-000165321: Fixed an issue where some polyline symbols rendered by the DictionaryRenderer with the APP-6(D) dictionary had extra arrows and dashes. -- BUG-000165858: Fixed an issue where the collapsed property value on the Popup and Features widget was not changing when expanding/collapsing the widget. -- BUG-000165913: Fixed an issue where the stationary property on the MapView does not change value when zooming using a double tap and drag gesture on a mobile device. -- BUG-000166439: Fixed an issue where the icon thumbnail for `ListItemPanel.image` had no size. -- BUG-000166831: Fixed an issue where the `MapView.hitTest()` does not return a hit for a `GraphicsLayer` when the graphics have `TextSymbol` with `lineWidth`. -- BUG-000166346: Fixed an issue where polygon features with newlines in the label expression did not display correctly. -- BUG-000167231: Fixed an issue where a CIMSymbol with CIMGeometricEffectDashes was having performance issues at higher scales. -- [Esri Community - 1403039](https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-breaking-change-mapview-goto-w-rotation/m-p/1403039): Fixed an issue where MapView.goTo would zoom out when only the rotation was set in the target. -- [Esri Community - 1407481](https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/first-calls-to-sendmessagetoclient-not-used/m-p/1407481): Fixed an issue where the first call to StreamLayer.sendMessageToSocket is not applied on initial load. -- [Esri Community - 1413086](https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-memory-leak-on-streamlayer/m-p/1413086): Fixed an issue where the client-side `StreamLayer` was causing a memory leak. -- Fixed an issue where setting popupEnabled to false was not properly honored for LayerSearchSource. -- The Features widget is out of beta. -- VideoElement is now supported on iPhones. - ## Deprecations -The following are deprecated and will be removed in a future release. For anything deprecated in 4.29 and earlier, additional information and links are in the [release notes](https://developers.arcgis.com/javascript/latest/release-notes/#deprecated-classes-properties-methods-events). - -- The AMD npm package [`arcgis-js-api`](https://www.npmjs.com/package/arcgis-js-api) is deprecated at version 4.29. This is related to dropping local build support for legacy Dojo 1 and RequireJS. Use [@arcgis/core](https://developers.arcgis.com/javascript/latest/es-modules/) ES modules or plan on moving to [components (beta)](https://developers.arcgis.com/javascript/latest/components/) instead. -- The npm package [`@arcgis/cli`](https://www.npmjs.com/package/@arcgis/cli) is deprecated at version 4.29. Plan on moving to [components (beta)](https://developers.arcgis.com/javascript/latest/components/) and Calcite. -- The [`esri-loader`](https://github.com/Esri/esri-loader/blob/master/README.md) library is deprecated at version 4.29. Use [@arcgis/core](https://developers.arcgis.com/javascript/latest/es-modules/) ES modules or plan on moving to [components (beta)](https://developers.arcgis.com/javascript/latest/components/) instead. -- Support for [printing](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-print.html) with a Printing service published from ArcMap is deprecated at version 4.29. We recommend using ArcGIS Pro to publish Printing services. +The following are deprecated and will be removed in a future release. For anything deprecated in 4.30 and earlier, additional information and links are in the [release notes](https://developers.arcgis.com/javascript/latest/release-notes/#deprecated-classes-properties-methods-events).
Click to expand the complete list -- Accessor.get deprecated since version 4.28. Use optional chaining +- Accessor.get deprecated since version 4.28. Use optional chaining instead. - AreaMeasurement2DViewModel.geodesicDistanceThreshold deprecated since version 4.29. - BasemapLayerList.editingEnabled deprecated since 4.29. Use selectionMode, visibleElements.editTitleButton, and dragEnabled instead. - BasemapLayerList.multipleSelectionEnabled deprecated since 4.29. Use selectionMode instead. - Bookmarks.editingEnabled deprecated since 4.29. Use visibleElements.editBookmarkButton, visibleElements.addBookmarkButton, and dragEnabled instead. +- ButtonMenu.iconClass deprecated since 4.27. Use icon instead. +- ButtonMenu deprecated since 4.30, use TableMenuConfig instead. +- ButtonMenuItem.iconClass deprecated since 4.27. Use icon instead. +- ButtonMenuItem deprecated since 4.30, use TableMenuItemConfig instead. +- ButtonMenuViewModel deprecated since 4.30, use TableMenuConfig, Calcite components - Dropdown, Calcite components = List, or Calcite components - Menu web components instead. instead. - DistanceMeasurement2DViewModel.geodesicDistanceThreshold deprecated since version 4.29. - Editor.allowedWorkflows deprecated since version 4.29. Use Editor.visibleElements instead. - EditorViewModel.allowedWorkflows deprecated since version 4.29. Use Editor.visibleElements instead. -- EditorViewModel.editableItems deprecated +- EditorViewModel.editableItems deprecated since 4.29. Use editorItems instead. - ElevationProfile.geodesicDistanceThreshold deprecated since version 4.29. - ElevationProfileViewModel.geodesicDistanceThreshold deprecated since version 4.29. - ExternalRenderer.ExternalRenderer deprecated since 4.29. Use new RenderNode instead. - externalRenderers.add deprecated since 4.29. Use new RenderNode instead. -- externalRenderers.fromRenderCoordinates deprecated since 4.29. Use webgl.fromRenderCoordinates instead. +- externalRenderers.fromRenderCoordinates deprecated since 4.29. Use webgl instead. - externalRenderers.getRenderCamera deprecated since 4.29. Use new RenderNode.camera instead. - externalRenderers.remove deprecated since 4.29. Use new RenderNode instead. -- externalRenderers.renderCoordinateTransformAt deprecated since 4.29. Use webgl.renderCoordinateTransformAt instead. +- externalRenderers.renderCoordinateTransformAt deprecated since 4.29. Use webgl instead. - externalRenderers.requestRender deprecated since 4.29. Use new RenderNode.requestRender() instead. -- externalRenderers.toRenderCoordinates deprecated since 4.29. Use webgl.toRenderCoordinates instead. +- externalRenderers.toRenderCoordinates deprecated since 4.29. Use webgl instead. - externalRenderers deprecated since 4.29. Use the new RenderNode instead. -- FeatureForm.view deprecated since 4.27. Use map instead. -- FeatureTable.clearSelection deprecated since version 4.25. Use highlightIds.removeAll() instead. -- FeatureTable.deselectRows deprecated since 4.25. Use highlightIds.remove() instead. -- FeatureTable.highlightOnRowSelectEnabled deprecated since version 4.25. Use highlightEnabled instead. -- FeatureTable.selection-change deprecated since version 4.25. Listen for changes on highlightIds instead. -- FeatureTable.selectRows deprecated since 4.25. Use highlightIds.add() instead. -- FeatureTableViewModel.clearSelection deprecated since version 4.25. Use highlightIds.removeAll() instead. -- FeatureTableViewModel.highlightOnRowSelectEnabled deprecated since version 4.25. Use highlightEnabled instead. -- FeatureTableViewModel.selectRows deprecated since 4.25. Use highlightIds.add() instead. +- FeatureTable.clearSelectionFilter deprecated since version 4.30. Use filterBySelectionEnabled or objectIds instead. +- FeatureTable.filterBySelection deprecated since version 4.30. Use filterBySelectionEnabled or objectIds instead. +- FeatureTableViewModel.clearSelectionFilter deprecated since version 4.30. Use filterBySelectionEnabled or objectIds() instead. +- FeatureTableViewModel.filterBySelection deprecated since version 4.30. Use filterBySelectionEnabled or objectIds instead. +- FieldColumn.name deprecated since version 4.30, use FieldColumn.fieldName instead. - GroupInput.state deprecated since version 4.28. Instead use open. - HandleOwner deprecated since version 4.28. Use addHandles() and removeHandles() from Accessor instead. - ImageHistogramParameters.renderingRule deprecated since version 4.27. Use rasterFunction instead. @@ -176,31 +66,30 @@ The following are deprecated and will be removed in a future release. For anythi - ImageryTileLayer.rasterInfo deprecated since 4.29. Use serviceRasterInfo instead. - LayerList.multipleSelectionEnabled deprecated since 4.29. Use selectionMode instead. - LayerList.selectionEnabled deprecated since 4.29. Use selectionMode and dragEnabled instead. -- Lighting.clone deprecated since version 4.24 -- Lighting deprecated since version 4.24. Use SunLighting instead. +- ListItemPanel.className deprecated since version 4.30. Use icon - Locate.rotationEnabled deprecated since 4.29. Use Track widget instead - Mesh.createFromFiles deprecated Use convertMesh instead. +- meshUtils.georeference deprecated since version 4.30. Use convertVertexSpace instead. +- meshUtils.ungeoreference deprecated since version 4.30. Use convertVertexSpace instead. - MosaicRule.itemRenderingRule deprecated since version 4.27. Use itemRasterFunction instead. - Popup.collapseEnabled deprecated since 4.29. Use PopupVisibleElements.collapseButton instead. - Popup.spinnerEnabled deprecated since 4.29. Use PopupVisibleElements.spinner instead. - RenderContext.RenderContext deprecated since 4.29. Use new RenderNode instead. - RenderContextCallback.RenderContextCallback deprecated since 4.29. Use new RenderNode.render instead. -- Subclassing and extending esri/widgets/Widget when building custom widgets is deprecated at 4.27. Use the JavaScript framework of your choice to create an HTMLElement and use View.ui to add it to the MapView or SceneView. -- SunLighting.ambientOcclusionEnabled deprecated since version 4.27. Ambient occlusion is automatically shown and this property has no effect. -- SunLighting.waterReflectionEnabled deprecated since version 4.27. Reflections are automatically shown and this property has no effect. - TableList.multipleSelectionEnabled deprecated since 4.29. Use selectionMode instead. - TableList.selectionEnabled deprecated since 4.29. Use selectionMode and dragEnabled instead. -- TimeSlider.getPropertiesFromWebMap deprecated since 4.29. Use getTimeSliderSettingsFromWebMap instead. - The addBookmark property within Bookmarks.visibleElements is deprecated at 4.29. Use visibleElements.addBookmarkButton instead. -- The allowAttachments property within Editor.layerInfos is deprecated at 4.25. Use either attachmentsOnCreateEnabled or attachmentsOnUpdateEnabled instead. - The "connectivity" possible value for QueryAssociationsParameters.types is deprecated at 4.29. Please use "junction-junction-connectivity" instead. -- TimeSliderViewModel.getPropertiesFromWebMap deprecated since 4.29. Use getTimeSliderSettingsFromWebMap instead. +- TimeSlider.getPropertiesFromWebMap deprecated since 4.29. Use getTimeSliderSettingsFromWebDocument instead. +- TimeSliderViewModel.getPropertiesFromWebMap deprecated since 4.29. Use getTimeSliderSettingsFromWebDocument instead. +- timeUtils.getTimeSliderSettingsFromWebMap deprecated since 4.30. Use getTimeSliderSettingsFromWebDocument instead. - ValidateNetworkTopologyResult.dirtyAreaCount deprecated since version 4.28. Dirty area count was implemented in the original version of utility network, but as of schema version 4 of the utility network, this is no longer supported. -- VirtualLighting.ambientOcclusionEnabled deprecated since version 4.27. Ambient occlusion is automatically shown and this property has no effect. -- VirtualLighting.waterReflectionEnabled deprecated since version 4.27. Reflections are automatically shown and this property has no effect. -- VoxelVariable deprecated since 4.25. Use VoxelVariable instead. -- VoxelVolumeStyle deprecated since 4.25. Use VoxelVolumeStyle instead. +- VersionManagementViewModel.versionIdentifierLookup deprecated since version 4.30. Use VersioningState instead. +- VersionManagementViewModel.versionInfoLookup deprecated since version 4.30. Use VersioningState instead. +- VersionManagementViewModel.versionManagementServiceLookup deprecated since version 4.30. Use VersioningState instead. +- VoxelVariable deprecated This module was moved in 4.25. Use VoxelVariable instead. +- VoxelVolumeStyle deprecated This module was moved in 4.25. Use VoxelVolumeStyle instead. - WCSLayer.rasterInfo deprecated since 4.29. Use serviceRasterInfo instead. -- Widget.own deprecated since 4.28 Use addHandles() instead. +- Widget.own deprecated since 4.28. Use addHandles() instead.
diff --git a/README.md b/README.md index 7cb8cc6..9a0d6e3 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ **https://js.arcgis.com/next** -Welcome to the next version of the ArcGIS Maps SDK for JavaScript (4.30). This version of the SDK is currently in development and will be updated frequently until the production release in June 2024. Try out new features, perform regression testing, and get a feel for the next release - then share your feedback with the development team. Please make sure that bugs and enhancement requests are specific to `next` or `rc` release candidate versions, and not applicable to a released version. +Welcome to the next version of the ArcGIS Maps SDK for JavaScript (4.31). This version of the SDK is currently in development and will be updated frequently until the production release in October 2024. Try out new features, perform regression testing, and get a feel for the next release - then share your feedback with the development team. Please make sure that bugs and enhancement requests are specific to `next` or `rc` release candidate versions, and not applicable to a released version. Please note: ArcGIS Maps SDK for JavaScript release management is dynamic. Some new features and updates that appear in next builds might not be present in the final production release due to a variety of factors (but will likely be present in an upcoming release). @@ -57,50 +57,6 @@ For additional information see the SDK's [guide topic](https://developers.arcgis Typings are included with the npm installs. For most use cases, no special TypeScript configurations are required. -## TypeScript typings for AMD modules (deprecated) - -The typings for use with AMD modules in local builds are deprecated since 4.29. They are included with the install of the npm package [`arcgis-js-api`](https://www.npmjs.com/package/arcgis-js-api), and can be used in two ways. - -### Include a `///` directive in your main TypeScript file. - -For more information on using the triple-slash directive refer to the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html). - -*main.ts* - -```ts -/// -``` - -### Or add to the `include` of your `tsconfig.json`. - -For more information on using `tsconfig.json` refer to the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#handbook-content). - -*tsconfig.json* - -```json -{ - "include": [ - "node_modules/arcgis-js-api/index.d.ts", - "src/**/*.ts", - "src/**/*.tsx" - ] -} -``` - -### esri-loader - **(Deprecated)** - -[esri-loader](https://github.com/Esri/esri-loader) is deprecated since 4.29 and will be retired at 4.31. - -Use [options.version](https://github.com/Esri/esri-loader#from-a-specific-version) and specify `next` as the value. You can also lazy-load [js.arcgis.com/next/esri/themes/light/main.css](js.arcgis.com/next/esri/themes/light/main.css) by adding the `css: true` option, or you can use [any of the other methods supported by esri-loader](https://github.com/Esri/esri-loader#loading-styles) instead. - -```javascript -const options = { - version: 'next', - css: true -}; -const [Map] = await loadModules(['esri/map'], options); -``` - ## Licensing Use of the ArcGIS Maps SDK for JavaScript is subject to the terms and conditions described in SDK's Licensing & Attribution guide page: https://developers.arcgis.com/javascript/latest/licensing/.