Skip to content

Commit 3643f55

Browse files
chore(deps): bump react-map-gl from 7.1.9 to 8.1.0 (#190)
Bumps [react-map-gl](https://github.com/visgl/react-map-gl) from 7.1.9 to 8.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/visgl/react-map-gl/releases">react-map-gl's releases</a>.</em></p> <blockquote> <h2>v8.1.0</h2> <p>The core logic in the Mapbox GL JS wrapper has been rewritten to use <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy">Proxy</a> to intercept camera updates. We expect the new approach to improve camera synchronization between the native controller and React props when terrain and/or non-mercator projections are used. See more backgrounds in <a href="https://redirect.github.com/visgl/react-map-gl/pull/2514">#2514</a>.</p> <p>The Maplibre wrapper is unaffected by this change.</p> <h2>v8.1.0-alpha.2</h2> <ul> <li>wrap jumpTo as internal update (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2516">#2516</a>)</li> </ul> <h2>v8.1.0-alpha.1</h2> <ul> <li>feat(mapbox): Replace shadow transform with proxied approach (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2514">#2514</a>)</li> </ul> <h2>v8.0.4</h2> <ul> <li>Revert changes to add source condition (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2526">#2526</a>)</li> </ul> <h2>v8.0.3</h2> <ul> <li>Fix addSource condition (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2524">#2524</a>)</li> </ul> <h2>v8.0.2</h2> <ul> <li>Fix source loading condition (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2513">#2513</a>)</li> <li>Remove support() check (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2508">#2508</a>)</li> <li>marker.ts: <code>undefined</code> instead of <code>null</code> (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2500">#2500</a>)</li> <li>Fix: Handle className prop change (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2483">#2483</a>)</li> <li>Fix style loading check on Source layers (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2377">#2377</a>) (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2493">#2493</a>)</li> </ul> <h2>v8.0.1</h2> <ul> <li>Fix type resolution for subpath exports when using <code>moduleResolution: node</code> (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2486">#2486</a>)</li> </ul> <h2>v8.0.0</h2> <ul> <li>First version to support Mapbox GL JS' official types and MapLibre GL JS v5. This version fully separates the code that support each compatible map library: <ul> <li><code>react-map-gl/mapbox</code>: for use with <code>mapbox-gl&gt;=3.5.0</code></li> <li><code>react-map-gl/maplibre</code>: for use with <code>maplibre-gl&gt;=4</code></li> <li><code>react-map-gl/mapbox-legacy</code>: for use with <code>mapbox-gl</code> v1.x and v2.x and <code>@types/mapbox-gl</code></li> </ul> </li> <li>As a result, each endpoint now have slightly smaller bundle size and more precise types.</li> <li>Maplibre wrapper is expected to have better functionality and performance than v7 by utilizing an <a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/1545">upstream API</a> for the React use case.</li> </ul> <p>For a full list of breaking changes, please visit the <a href="https://visgl.github.io/react-map-gl/docs/upgrade-guide#upgrading-to-v80">upgrade guide</a>.</p> <h2>v8.0.0-beta.1</h2> <ul> <li>feat: remove <code>RTLTextPlugin</code> default for MapLibre (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2480">#2480</a>)</li> </ul> <h2>v8.0.0-alpha.2</h2> <ul> <li>Migrate to monorepo (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2459">#2459</a>)</li> </ul> <h2>v8.0.0-alpha.1</h2> <ul> <li>Migrate to monorepo (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2459">#2459</a>)</li> </ul> <h2>v7.2.0-beta.1</h2> <ul> <li>Switch to ESM module (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2281">#2281</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/visgl/react-map-gl/blob/master/CHANGELOG.md">react-map-gl's changelog</a>.</em></p> <blockquote> <h1>CHANGELOG</h1> <h1>Version 8.1</h1> <h2>v8.1.0-alpha.2 (Apr 9, 2025)</h2> <ul> <li>wrap jumpTo as internal update (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2516">#2516</a>)</li> </ul> <h2>v8.1.0-alpha.1 (Mar 28, 2025)</h2> <ul> <li>feat(mapbox): Replace shadow transform with proxied approach (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2514">#2514</a>)</li> </ul> <h1>Version 8.0</h1> <h2>v8.0.0-beta.1 (Jan 31, 2025)</h2> <ul> <li>feat: remove <code>RTLTextPlugin</code> default for MapLibre (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2480">#2480</a>)</li> </ul> <h2>v8.0.0-alpha.2 (Jan 27, 2025)</h2> <ul> <li>Migrate to monorepo (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2459">#2459</a>)</li> </ul> <h1>Version 7.2</h1> <h2>7.2.0-beta.1 (Sep 12, 2023)</h2> <ul> <li>Switch to ESM module (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2281">#2281</a>)</li> </ul> <h1>Version 7.1</h1> <h2>7.1.0-beta.3 (Jun 22, 2023)</h2> <ul> <li>Remap event types (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2207">#2207</a>)</li> <li>Restore fog, light and terrain types on MapProps (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2206">#2206</a>)</li> </ul> <h2>7.1.0-beta.2 (Jun 14, 2023)</h2> <ul> <li>Make source prop of Layer optional (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2200">#2200</a>)</li> <li>Fix maplibre-gl peerDependencies typo (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2197">#2197</a>)</li> </ul> <h2>7.1.0-beta.1 (Jun 5, 2023)</h2> <ul> <li>Add ref forwarding to Marker and Popup (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2191">#2191</a>)</li> <li>Split exports into separate endpoints (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2178">#2178</a>)</li> <li>Make mapbox-gl an optional dependency (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2175">#2175</a>)</li> <li>Remove defaultProps and displayName (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2173">#2173</a>)</li> </ul> <h1>Version 7.0</h1> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/visgl/react-map-gl/commit/3829dfc36e676b20cdef9e9f9f89797208129d0d"><code>3829dfc</code></a> v8.1.0</li> <li><a href="https://github.com/visgl/react-map-gl/commit/b14ff93c9bc3122306ce51b257d707506632db9e"><code>b14ff93</code></a> Update what's new for 8.1 release (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2562">#2562</a>)</li> <li><a href="https://github.com/visgl/react-map-gl/commit/7ed785ebaa34ca4f02102fb2becf03c370717540"><code>7ed785e</code></a> Bump version in docs and examples</li> <li><a href="https://github.com/visgl/react-map-gl/commit/948fd2e4f4156756d2fcee8c2a900cfe55b43608"><code>948fd2e</code></a> fix(geocoder): add styles for example (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2521">#2521</a>)</li> <li><a href="https://github.com/visgl/react-map-gl/commit/e41c3ef808e5e3a0b655a2584c896d8d7e8851f0"><code>e41c3ef</code></a> Revert changes to add source condition (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2526">#2526</a>)</li> <li><a href="https://github.com/visgl/react-map-gl/commit/e83c9a64e9fcfd2b6ddeff688b56717111354df3"><code>e83c9a6</code></a> v8.1.0-alpha.2</li> <li><a href="https://github.com/visgl/react-map-gl/commit/19e778bc7c67b3b2cd2c780fc4449a7f9c6fbaf6"><code>19e778b</code></a> Fix addSource condition (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2524">#2524</a>)</li> <li><a href="https://github.com/visgl/react-map-gl/commit/e4d2dfa730edbe46f6f378231d34b97a2a24cf9c"><code>e4d2dfa</code></a> Use name of defined component (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2522">#2522</a>)</li> <li><a href="https://github.com/visgl/react-map-gl/commit/607d5dc6dff64fcb44d21451d1160131bf676af7"><code>607d5dc</code></a> wrap jumpTo as internal update (<a href="https://redirect.github.com/visgl/react-map-gl/issues/2516">#2516</a>)</li> <li><a href="https://github.com/visgl/react-map-gl/commit/129848b624a30067c8e403f232fb09394b339342"><code>129848b</code></a> v8.1.0-alpha.1</li> <li>Additional commits viewable in <a href="https://github.com/visgl/react-map-gl/compare/v7.1.9...v8.1.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-map-gl&package-manager=npm_and_yarn&previous-version=7.1.9&new-version=8.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent b64146c commit 3643f55

File tree

2 files changed

+19
-14
lines changed

2 files changed

+19
-14
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"react-dom": "^19.1.0",
5656
"react-error-boundary": "^6.0.0",
5757
"react-icons": "^5.5.0",
58-
"react-map-gl": "^7.1.7",
58+
"react-map-gl": "^8.1.0",
5959
"react-markdown": "^10.1.0",
6060
"stac-ts": "^1.0.4",
6161
"stac-wasm": "^0.0.3"

yarn.lock

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2391,13 +2391,6 @@
23912391
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841"
23922392
integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==
23932393

2394-
"@types/mapbox-gl@>=1.0.0":
2395-
version "3.4.1"
2396-
resolved "https://registry.yarnpkg.com/@types/mapbox-gl/-/mapbox-gl-3.4.1.tgz#b6a1b81b802e62fb7e1d1d13a97ccece63b232a3"
2397-
integrity sha512-NsGKKtgW93B+UaLPti6B7NwlxYlES5DpV5Gzj9F75rK5ALKsqSk15CiEHbOnTr09RGbr6ZYiCdI+59NNNcAImg==
2398-
dependencies:
2399-
"@types/geojson" "*"
2400-
24012394
"@types/mapbox__point-geometry@*", "@types/mapbox__point-geometry@^0.1.4":
24022395
version "0.1.4"
24032396
resolved "https://registry.yarnpkg.com/@types/mapbox__point-geometry/-/mapbox__point-geometry-0.1.4.tgz#0ef017b75eedce02ff6243b4189210e2e6d5e56d"
@@ -2595,6 +2588,18 @@
25952588
resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.3.0.tgz#d06bbb384ebcf6c505fde1c3d0ed4ddffe0aaff8"
25962589
integrity sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==
25972590

2591+
2592+
version "8.1.0"
2593+
resolved "https://registry.yarnpkg.com/@vis.gl/react-mapbox/-/react-mapbox-8.1.0.tgz#ce08f2942ddd92784ae1cedb35dccad61c613ab0"
2594+
integrity sha512-FwvH822oxEjWYOr+pP2L8hpv+7cZB2UsQbHHHT0ryrkvvqzmTgt7qHDhamv0EobKw86e1I+B4ojENdJ5G5BkyQ==
2595+
2596+
2597+
version "8.1.0"
2598+
resolved "https://registry.yarnpkg.com/@vis.gl/react-maplibre/-/react-maplibre-8.1.0.tgz#48844fc47986637f7bd48d481f26d505ac2976c5"
2599+
integrity sha512-PkAK/gp3mUfhCLhUuc+4gc3PN9zCtVGxTF2hB6R5R5yYUw+hdg84OZ770U5MU4tPMTCG6fbduExuIW6RRKN6qQ==
2600+
dependencies:
2601+
"@maplibre/maplibre-gl-style-spec" "^19.2.1"
2602+
25982603
"@vitejs/plugin-react@^4.4.1":
25992604
version "4.7.0"
26002605
resolved "https://registry.yarnpkg.com/@vitejs/plugin-react/-/plugin-react-4.7.0.tgz#647af4e7bb75ad3add578e762ad984b90f4a24b9"
@@ -7192,13 +7197,13 @@ react-is@^17.0.1:
71927197
resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0"
71937198
integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==
71947199

7195-
react-map-gl@^7.1.7:
7196-
version "7.1.9"
7197-
resolved "https://registry.yarnpkg.com/react-map-gl/-/react-map-gl-7.1.9.tgz#d41093ce266c342f89a2c49dec3739e980835fa7"
7198-
integrity sha512-KsCc8Gyn05wVGlHZoopaiiCr0RCAQ6LDISo5sEy1/pV/d7RlozkF946tiX7IgyijJQMRujHol5QdwUPESjh73w==
7200+
react-map-gl@^8.1.0:
7201+
version "8.1.0"
7202+
resolved "https://registry.yarnpkg.com/react-map-gl/-/react-map-gl-8.1.0.tgz#97ce754e3bbdd49421fc10283119d189db945e00"
7203+
integrity sha512-vDx/QXR3Tb+8/ap/z6gdMjJQ8ZEyaZf6+uMSPz7jhWF5VZeIsKsGfPvwHVPPwGF43Ryn+YR4bd09uEFNR5OPdg==
71997204
dependencies:
7200-
"@maplibre/maplibre-gl-style-spec" "^19.2.1"
7201-
"@types/mapbox-gl" ">=1.0.0"
7205+
"@vis.gl/react-mapbox" "8.1.0"
7206+
"@vis.gl/react-maplibre" "8.1.0"
72027207

72037208
react-markdown@^10.1.0:
72047209
version "10.1.0"

0 commit comments

Comments
 (0)