kernel

AMD: require(["esri/kernel"], (esriNS) => { /* code goes here */ });
ESM: import * as esriNS from "@arcgis/core/kernel.js";
Object: esri/kernel
Since: ArcGIS Maps SDK for JavaScript 4.0

Utility for retrieving the current version of the API.

Property Overview

Name Type Summary Object

Current full version of the ArcGIS Maps SDK for JavaScript.

kernel

Current major.minor version of the ArcGIS Maps SDK for JavaScript.

kernel

Property Details

fullVersion

Property
fullVersion Stringstatic,readonly
Since: ArcGIS Maps SDK for JavaScript 4.27

Current full version of the ArcGIS Maps SDK for JavaScript. This is the same as version on CDN builds and is the same as the package version on NPM builds.

require([
  "esri/kernel"
], function(esriNS) {
  console.log(esriNS.fullVersion); // e.g. "4.31", "4.31.0" or "4.31.0-next.20240830"
});

version

Property
version Stringstatic,readonly

Current major.minor version of the ArcGIS Maps SDK for JavaScript.

require([
  "esri/kernel"
], function(esriNS) {
  console.log(esriNS.version); // e.g. "4.31"
});

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

The developer dashboard has moved

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close