NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #4349 most downloaded on npm
Wrapper for the loading of Google Maps JavaScript API script in the browser
Latest stable
2.1.3
Last release 2 months ago
22 Sep 2026
Ships fairly regularly
a new release about every 6 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
64 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
add allowScripts block to package.json
avoid unconditional use of window in policy creation logic
Your coding agent can read these notes before it upgrades. Set up the MCP server →
use TrustedTypes policy to create script URL
replace __DEV__ with process.env.NODE_ENV for environment checks
add sideEffects to package.json (#1084) (2f6bb31), closes #1083
reimplement with updated and simplified API
## 1.16.8 (2024-07-26) ### Bug Fixes * trigger release-please
specify correct location for typings (#828) (c3c4583), closes #825
revert changing to package type "module"
add loading=async to the urls with callbacks
update examples and minimize URLs
Adopt the inline bootstrap loader
### 1.15.2 (2023-05-18) ### Bug Fixes * bumps typings version (#792) (98d9934) ### Miscellaneous Chores * Update release.yml
### 1.15.1 (2022-11-04) ### Bug Fixes * manually trigger release (a2f99ee) * manually trigger release
fix approval by providing url to pr
deps-dev: bump @babel/preset-env from 7.16.11 to 7.17.10 (#608) (dfc46be), closes #14479 #14506 #14424 #14493 #14462 #14497 #14427 #14396 #14387 #1447
deps-dev: bump @rollup/plugin-commonjs from 21.0.3 to 21.1.0
add support for auth_referrer_policy
deps-dev: bump @rollup/plugin-babel from 5.3.0 to 5.3.1
deps-dev: bump @babel/runtime-corejs3 from 7.17.7 to 7.17.8
deps-dev: bump @babel/runtime-corejs3 from 7.17.2 to 7.17.7
deps-dev: bump @rollup/plugin-commonjs from 21.0.1 to 21.0.2
deps-dev: bump @rollup/plugin-typescript from 8.3.0 to 8.3.1
deps-dev: bump @babel/runtime-corejs3 from 7.17.0 to 7.17.2
deps-dev: bump @babel/runtime-corejs3 from 7.16.8 to 7.17.0
deps-dev: bump chromedriver from 97.0.0 to 97.0.2
deps-dev: bump @babel/preset-env from 7.16.4 to 7.16.7
### 1.13.1 (2022-01-05) ### Bug Fixes * export libraries
## 1.13.0 (2022-01-04) ### Features * add status getter
Synced local '.github/' with remote 'sync-files/js/.github/'
deps-dev: bump eslint-plugin-jest from 25.2.4 to 25.3.0
deps-dev: bump @babel/preset-env from 7.16.0 to 7.16.4
deps-dev: bump @babel/runtime-corejs3 from 7.15.4 to 7.16.3
Synced file(s) with googlemaps/.github
deps-dev: bump @rollup/plugin-node-resolve from 13.0.5 to 13.0.6
deps-dev: bump @babel/preset-env from 7.15.6 to 7.15.8
Created local 'SECURITY.md' from remote 'SECURITY.md'
Synced file(s) with googlemaps/.github
map_id is no longer required in script tag
reject with error and not event
## 1.12.1 (2021-06-11) ### Bug Fixes * trigger release
resolve promise to window.google
move warning and return if already defined
clear onerror after exhausting retries
## 1.11.2 (2021-03-04) ### Bug Fixes * improve error message
loader must not reset if successfully loaded
reset retry mechanism on failure with next loader
add retries for script.onerror with default of 5 retry attempts
change to singleton and fix resolve error
add support for premium plan and client param (deprecated)
abort if google.maps.version defined
# 1.6.0 (2020-10-12) ### Features * add channel parameter
# 1.5.0 (2020-10-08) ### Features * add nonce attribute
semantic release should update package.json
# 1.4.0 (2020-09-30) ### Features * allow setting script id
# 1.3.0 (2020-09-30) ### Features * add url option
add support for localContext library
One column per quarter.