Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
- misc README updates
- remove deprecated bootstrap() and dojoRequire() functions #59
- isLoaded() no longer checks if the script exists #59
- no longer distribute builds at dist root #59
In the spirit of Ember's principle of "stability without stagnation", this major release doesn't add any new functionality. It primarily removes the callback-based APIs (
dojoRequire()) that were deprecated at v1.5.0 in favor of the new promise-based APIs (
loadModules()) introduced in that release.
There are a couple of additional breaking changes introduced in this release that there were no deprecation warnings for.
isLoaded() no longer checks for the existence of a script tag w/ the
data-esri-loader attribute. Instead it checks for a global
require() function that looks like Dojo's
require(). This is the behavior that the new promise-based APIs have been using.
Second, the UMD build is no longer distributed at the root of the /dist folder - which could break build tooling that uses hard coded paths to that location (rather than relying on
All in all, most users that have been using only the new promise-based APIs introduced in v1.5.0 should be able to upgrade to 2.0 without any changes to their code and see a benefit in reduced file size.
See the CHANGELOG for history of changes from 1.5.0 to 2.0.0.
Please keep your suggestions and PRs coming!