etalab / geo.data.gouv.fr

Trouvez facilement les données géographiques dont vous avez besoin
https://geo.data.gouv.fr
MIT License
69 stars 16 forks source link

Bump mapbox-gl from 0.53.1 to 1.0.0 #976

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps mapbox-gl from 0.53.1 to 1.0.0.

Release notes *Sourced from [mapbox-gl's releases](https://github.com/mapbox/mapbox-gl-js/releases).* > ## v1.0.0 > ### ⚠️ Breaking changes > > This release replaces the existing “map views” pricing model in favor of a “map load” model. Learn more in [a recent blog post about these changes](https://blog.mapbox.com/new-pricing-46b7c26166e7). > > **By upgrading to this release, you are opting in to the new map loads pricing.** > > **Why is this change being made?** > > This change allows us to implement a more standardized and predictable method of billing GL JS map usage. You’ll be charged whenever your website or web application loads, not by when users pan and zoom around the map, incentivizing developers to create highly interactive map experiences. The new pricing structure also creates a significantly larger free tier to help developers get started building their applications with Mapbox tools while pay-as-you-go pricing and automatic volume discounts help your application scale with Mapbox. Session billing also aligns invoices with metrics web developers already track and makes it easier to compare usage with other mapping providers. > > **What is changing?** > - Add SKU token to Mapbox API requests [#8276](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/8276) > > When (and only when) loading tiles from a Mapbox API with a Mapbox access token set (`mapboxgl.accessToken`), a query parameter named `sku` will be added to all requests for vector, raster and raster-dem tiles. Every map instance uses a unique `sku` value, which is refreshed every 12 hours. The token itself is comprised of a token version (always “1”), a sku ID (always “01”) and a random 10-digit base-62 number. The purpose of the token is to allow for metering of map sessions on the server-side. A session lasts from a new map instantiation until the map is destroyed or 12 hours passes, whichever comes first. > > For further information on the pricing changes, you can read our [blog post](https://blog.mapbox.com/new-pricing-46b7c26166e7) and check out our new [pricing page](https://www.mapbox.com/pricing), which has a price calculator. As always, you can also contact our team at [https://support.mapbox.com](https://support.mapbox.com). > > ## v0.54.0 > ### ⚠️ Breaking changes > > - Turned `localIdeographFontFamily` map option on by default. This may change how CJK labels are rendered, but dramatically improves performance of CJK maps (because the browser no longer needs to download heavy amounts of font data from the server). Add `localIdeographFontFamily: false` to turn this off. [#8008](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8008) > - Added `Popup` `maxWidth` option, set to `"240px"` by default. [#7906](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/7906) > > ### 🍀 Major features > > - Added support for updating and animating style images. [#7999](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/7999) > - Added support for generating style images dynamically (e.g. for drawing icons based on feature properties). [#7987](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/7987) > - Added antialiasing support for custom layers. [#7821](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/7821) > - Added a new `mapbox-gl-csp.js` bundle for strict CSP environments where `worker-src: blob` is disallowed. [#8044](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8044) > > ### ✨ Minor features and improvements > > - Improved performance of fill extrusions. [#7821](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/7821) > - Improved performance of symbol layers. [#7967](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/7967) > - Slightly improved rendering performance in general. [#7969](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/7969) > - Slightly improved performance of HTML markers. [#8018](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8018) > - Improved diffing of styles with `"visibility": "visible"`. [#8005](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8005) > - Improved behavior of `canvasSource.pause` to be more reliable and able to render a single frame. [#8130](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8130) > - Improved zoom buttons to grey out when reaching min/max zoom. [#8023](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8023) > - Added a title to fullscreen control button. [#8012](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8012) > - Added `rel="noopener"` attributes to links that lead to external websites (such as Mapbox logo and OpenStreetMap edit link) for improved security. [#7914](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/7914) > - Added tile size info when `map.showTileBoundaries` is turned on. [#7963](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/7963) > - Significantly improved load times of the benchmark suite. [#8066](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8066) > > ### 🐛 Bug fixes > > - Fixed a bug in Mac Safari 12+ where controls would disappear until you interact with the map. [#8193](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8193) > - Fixed a bug where rapid zooming could produce an `Uncaught TypeError: e is not a function` error in the console. [#7988](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/7988) > - Fixed a bug where `removeFeatureState` didn't remove the state for tiles on other zoom levels. [#8087](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8087) > ... (truncated)
Changelog *Sourced from [mapbox-gl's changelog](https://github.com/mapbox/mapbox-gl-js/blob/master/CHANGELOG.md).* > ## 1.0.0 > > ### ⚠️ Breaking changes > > This release replaces the existing “map views” pricing model in favor of a “map load” model. Learn more in [a recent blog post about these changes](https://blog.mapbox.com/new-pricing-46b7c26166e7). > > **By upgrading to this release, you are opting in to the new map loads pricing.** > > **Why is this change being made?** > > This change allows us to implement a more standardized and predictable method of billing GL JS map usage. You’ll be charged whenever your website or web application loads, not by when users pan and zoom around the map, incentivizing developers to create highly interactive map experiences. The new pricing structure also creates a significantly larger free tier to help developers get started building their applications with Mapbox tools while pay-as-you-go pricing and automatic volume discounts help your application scale with Mapbox. Session billing also aligns invoices with metrics web developers already track and makes it easier to compare usage with other mapping providers. > > **What is changing?** > - Add SKU token to Mapbox API requests [#8276](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/8276) > > When (and only when) loading tiles from a Mapbox API with a Mapbox access token set (`mapboxgl.accessToken`), a query parameter named `sku` will be added to all requests for vector, raster and raster-dem tiles. Every map instance uses a unique `sku` value, which is refreshed every 12 hours. The token itself is comprised of a token version (always “1”), a sku ID (always “01”) and a random 10-digit base-62 number. The purpose of the token is to allow for metering of map sessions on the server-side. A session lasts from a new map instantiation until the map is destroyed or 12 hours passes, whichever comes first. > > For further information on the pricing changes, you can read our [blog post](https://blog.mapbox.com/new-pricing-46b7c26166e7) and check out our new [pricing page](https://www.mapbox.com/pricing), which has a price calculator. As always, you can also contact our team at [https://support.mapbox.com](https://support.mapbox.com). > > ## 0.54.0 > > ### Breaking changes > > - Turned `localIdeographFontFamily` map option on by default. This may change how CJK labels are rendered, but dramatically improves performance of CJK maps (because the browser no longer needs to download heavy amounts of font data from the server). Add `localIdeographFontFamily: false` to turn this off. [#8008](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/8008) > - Added `Popup` `maxWidth` option, set to `"240px"` by default. [#7906](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/7906) > > ### Major features > > - Added support for updating and animating style images. [#7999](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/7999) > - Added support for generating style images dynamically (e.g. for drawing icons based on feature properties). [#7987](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/7987) > - Added antialiasing support for custom layers. [#7821](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/7821) > - Added a new `mapbox-gl-csp.js` bundle for strict CSP environments where `worker-src: blob` is disallowed. [#8044](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/8044) > > ### Minor features and improvements > > - Improved performance of fill extrusions. [#7821](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/7821) > - Improved performance of symbol layers. [#7967](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/7967) > - Slightly improved rendering performance in general. [#7969](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/7969) > - Slightly improved performance of HTML markers. [#8018](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/8018) > - Improved diffing of styles with `"visibility": "visible"`. [#8005](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/8005) > - Improved zoom buttons to grey out when reaching min/max zoom. [#8023](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/8023) > - Added a title to fullscreen control button. [#8012](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/8012) > - Added `rel="noopener"` attributes to links that lead to external websites (such as Mapbox logo and OpenStreetMap edit link) for improved security. [#7914](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/7914) > - Added tile size info when `map.showTileBoundaries` is turned on. [#7963](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/7963) > - Significantly improved load times of the benchmark suite. [#8066](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/8066) > > ### Bug fixes > > - Fixed a memory leak when calling `source.setData(url)` many times. [#8035](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/8035) > - Fixed a bug where marker lost focus when dragging. [#7799](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/pull/7799) > ... (truncated)
Commits - [`9fcf20e`](https://github.com/mapbox/mapbox-gl-js/commit/9fcf20e0d1e4f9845eb6abdf3f5e8f265e7d81e2) v1.0.0 ([#8277](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8277)) - [`0b99b23`](https://github.com/mapbox/mapbox-gl-js/commit/0b99b232fd8db39f0b413d8f1b343bd40d661859) Add sku token to Mapbox API tile requests ([#14](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/14)) ([#8276](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8276)) - [`2dbd0dd`](https://github.com/mapbox/mapbox-gl-js/commit/2dbd0ddf9326122ae9baa3e557fd4e3d582672d6) @mapbox/mapbox gl style spec@13.7.0 ([#8264](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8264)) - [`48dce18`](https://github.com/mapbox/mapbox-gl-js/commit/48dce18fa89beb720f98265cfc1f59b4ebdd9fb1) v0.54.0 (take two) ([#8184](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8184)) - [`c3f20b3`](https://github.com/mapbox/mapbox-gl-js/commit/c3f20b33a74818e3673f0b99201cc674babd7b8e) Fix disappearing controls in Safari 12+ ([#8193](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8193)) ([#8194](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8194)) - [`38e555e`](https://github.com/mapbox/mapbox-gl-js/commit/38e555ee1b448f523c25d730c7a668d281f2c681) [docs] token refactor in docs-page-shell ([#8174](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8174)) ([#8181](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8181)) - [`428480a`](https://github.com/mapbox/mapbox-gl-js/commit/428480a69288d0f8a481bc94cc3300f79039d663) v0.54.0-beta.2 ([#8166](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8166)) - [`2d9001e`](https://github.com/mapbox/mapbox-gl-js/commit/2d9001ecc00c08e3aa2d8816f1330e9a340ca34f) Bugfix - removeFeatureState fails with target.id === 0 ([#8150](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8150)) ([#8164](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8164)) - [`8af8aca`](https://github.com/mapbox/mapbox-gl-js/commit/8af8aca5fa6c79944b9ff849e1d17244f18261f7) update one more frame after canvas source paused ([#8130](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8130)) ([#8163](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8163)) - [`0438e5e`](https://github.com/mapbox/mapbox-gl-js/commit/0438e5e3ab029ac2fb504546e1588c171e1d78e7) move docs dependencies to dev ([#8121](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8121)) ([#8129](https://github-redirect.dependabot.com/mapbox/mapbox-gl-js/issues/8129)) - Additional commits viewable in [compare view](https://github.com/mapbox/mapbox-gl-js/compare/v0.53.1...v1.0.0)


Dependabot compatibility score

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 will not automatically merge this PR because this dependency is pre-1.0.0.


Dependabot commands and options
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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.

Dependabot has been acquired by GitHub  🎉

codecov[bot] commented 5 years ago

Codecov Report

Merging #976 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #976   +/-   ##
=====================================
  Coverage     6.3%   6.3%           
=====================================
  Files         118    118           
  Lines        1062   1062           
=====================================
  Hits           67     67           
  Misses        995    995

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0a2748f...72bd162. Read the comment docs.

buildsize[bot] commented 5 years ago
File name Previous Size New Size Change
page-_error.js.gz 185 bytes 185 bytes 0 bytes (0%)
page-catalog.js.gz 58.41 KB 58.41 KB 0 bytes (0%)
page-catalogs.js.gz 3.03 KB 3.03 KB 0 bytes (0%)
page-dataset.js.gz 18.98 KB 18.98 KB 0 bytes (0%)
page-doc-publish-your-data.js.gz 3.68 KB 3.68 KB 0 bytes (0%)
page-doc.js.gz 1.54 KB 1.54 KB 0 bytes (0%)
page-events.js.gz 2.24 KB 2.24 KB 0 bytes (0%)
page-harvest.js.gz 2.41 KB 2.41 KB 0 bytes (0%)
page-index.js.gz 5.11 KB 5.11 KB 0 bytes (0%)
page-legal.js.gz 816 bytes 816 bytes 0 bytes (0%)
page-publication-datasets.js.gz 5.1 KB 5.1 KB 0 bytes (0%)
page-publication-organization.js.gz 8.34 KB 8.34 KB 0 bytes (0%)
page-publication-producers.js.gz 4.56 KB 4.56 KB 0 bytes (0%)
page-publication.js.gz 3.32 KB 3.32 KB 0 bytes (0%)
page-search.js.gz 7.75 KB 7.75 KB 0 bytes (0%)
page-doc-link-proxy.js.gz 1.47 KB 1.47 KB 0 bytes (0%)
page-embed-preview.js.gz 5.78 KB 5.78 KB 0 bytes (0%)
page-_app.js.gz 2.37 KB 2.37 KB 0 bytes (0%)
chunk-centered-map.[hash].js.gz 177.84 KB 181.62 KB 3.78 KB (2%)
chunk-commons.[hash].js.gz 136.33 KB 136.33 KB 0 bytes (0%)
chunk-preview-table.[hash].js.gz 12.81 KB 12.81 KB 0 bytes (0%)
runtime-main-[hash].js.gz 2.16 KB 2.16 KB 0 bytes (0%)
runtime-webpack-[hash].js.gz 1.2 KB 1.2 KB -1 bytes (0%)
dependabot-preview[bot] commented 5 years ago

Superseded by #977.