Skip to content
This repository has been archived by the owner on Dec 4, 2019. It is now read-only.

Update dependency mapbox-gl to v1 #147

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 25, 2019

This PR contains the following updates:

Package Type Update Change
mapbox-gl dependencies major ^0.40.1 -> ^1.0.0

Release Notes

mapbox/mapbox-gl-js

v1.5.0

Compare Source

v1.4.1

Compare Source

v1.4.0

Compare Source

v1.3.2

Compare Source

  • Fix a SecurityError in Firefox >= 69 when accessing the cache #​8780

v1.3.1

Compare Source

v1.3.0

Compare Source

🍏 Features
  • Introduce text-writing-mode symbol layer property to allow placing point labels vertically. #​8399
  • Extend variable text placement to work when text/icon-allow-overlap is set to true. #​8620
  • Allow text-color to be used in formatted expressions to be able to draw different parts of a label in different colors. #​8068
✨ Improvements
  • Improve tile loading logic to cancel requests more aggressively, improving performance when zooming or panning quickly. #​8633
  • Display outline on control buttons when focused (e.g. with a tab key) for better accessibility. #​8520
  • Improve the shape of line round joins. #​8275
  • Improve performance of processing line layers. #​8303
  • Improve legibility of info displayed with map.showTileBoundaries = true. #​8380 (h/t @​andrewharvey)
  • Add MercatorCoordinate.meterInMercatorCoordinateUnits method to make it easier to convert from meter units to coordinate values used in custom layers. #​8524 (h/t @​andrewharvey)
  • Improve conversion of legacy filters with duplicate values. #​8542
  • Move out documentation & examples website source to a separate mapbox-gl-js-docs repo. #​8582

v1.2.1

Compare Source

🐞 Bug fixes
  • Fix bug in NavigationControl compass button that prevented it from rotating with the map (#​8605)

v1.2.0

Compare Source

Features and improvements
  • Add *-sort-key layout property for circle, fill, and line layers, to dictate which features appear above others within a single layer(#​8467)
  • Add ability to instantiate maps with specific access tokens (#​8364)
  • Accommodate prefers-reduced-motion settings in browser (#​8494)
  • Add Map visualizePitch option that tilts the compass as the map pitches (#​8208, fixed by #​8296) (h/t pakastin)
  • Make source options take precedence over TileJSON (#​8232) (h/t jingsam)
  • Make requirements for text offset properties more precise (#​8418)
  • Expose convertFilter API in the style specification (#​8493
Bug fixes
  • Fix changes to text-variable-anchor, such that previous anchor positions would take precedence only if they are present in the updated array (considered a bug fix, but is technically a breaking change from previous behavior) (#​8473)
  • Fix rendering of opaque pass layers over heatmap and fill-extrusion layers (#​8440)
  • Fix rendering of extraneous vertical line in vector tiles (#​8477, fixed by #​8479)
  • Turn off 'move' event listeners when removing a marker (#​8465)
  • Fix class toggling on navigation control for IE (#​8495) (h/t cs09g)
  • Fix background rotation hovering on geolocate control (#​8367) (h/t GuillaumeGomez)
  • Fix error in click events on markers where startPos is not defined (#​8462) (h/t @​msbarry)
  • Fix malformed urls when using custom baseAPIURL of a certain form (#​8466)

v1.1.1

Compare Source

🐞 Bug fixes
  • Fix unbounded memory growth caused by failure to cancel requests to the cache (#​8472)
  • Fix unbounded memory growth caused by failure to cancel requests in IE (#​8481)
  • Fix performance of getting tiles from the cache (#​8489)

v1.1.0

Compare Source

✨ Minor features and improvements
  • Improve line rendering performance by using a more compact line attributes layout (#​8306)
  • Improve data-driven symbol layers rendering performance (#​8295)
  • Add the ability to disable validation during queryRenderedFeatures and querySourceFeatures calls, as a performance optimization (#​8211) (h/t gorshkov-leonid)
  • Improve setFilter performance by caching keys in groupByLayout routine (#​8122) (h/t vallendm)
  • Improve rendering of symbol layers with symbol-z-order: viewport-y, when icons are allowed to overlap but not text (#​8180)
  • Prefer breaking lines at a zero width space to allow better break point suggestions for Japanese labels (#​8255)
  • Add a WebGLRenderingContext argument to onRemove function of CustomLayerInterface, to allow direct cleanup of related context (#​8156) (h/t ogiermaitre)
  • Allow zoom speed customization by adding setZoomRate and setWheelZoomRate methods to ScrollZoomHandler (#​7863) (h/t sf31)
  • Add trackPointer method to Popup API that continuously repositions the popup to the mouse cursor when the cursor is within the map (#​7786)
  • Add getElement method to Popup to retrieve the popup's HTML element (#​8123) (h/t bravecow)
  • Add fill-pattern example to the documentation (#​8022) (h/t flawyte)
  • Update script detection for Unicode 12.1 (#​8158)
  • Add nofollow to Mapbox logo & "Improve this map" links (#​8106) (h/t viniciuskneves)
  • Include source name in invalid GeoJSON error (#​8113) (h/t Zirak)
🐞 Bug fixes
  • Fix updateImage not working as expected in Chrome (#​8199)
  • Fix issues with double-tap zoom on touch devices (#​8086)
  • Fix duplication of movestart events when zooming (#​8259) (h/t bambielli-flex)
  • Fix validation of "format" expression failing when options are provided (#​8339)
  • Fix setPaintProperty not working on line-pattern property (#​8289)
  • Fix the GL context being left in unpredictable states when using custom layers (#​8132)
  • Fix unnecessary updates to attribution control string (#​8082) (h/t poletani)
  • Fix bugs in findStopLessThanOrEqualTo algorithm (#​8134) (h/t Mike96Angelo)
  • Fix map not displaying properly when inside an element with text-align: center (#​8227) (h/t mc100s)
  • Clarify in documentation that Popup#maxWidth accepts all max-width CSS values (#​8312) (h/t viniciuskneves)
  • Fix location dot shadow not displaying (#​8119) (h/t bravecow)
  • Fix docs dev dependencies being mistakenly installed as package dependencies (#​8121) (h/t bravecow)
  • Various typo fixes (#​8230, h/t erictheise) (#​8236, h/t fredj)
  • Fix geolocate button CSS (#​8367, h/t GuillaumeGomez)
  • Fix caching for Mapbox tiles (#​8389)

v1.0.0

Compare Source

⚠️ 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.

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

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 and check out our new pricing page, which has a price calculator. As always, you can also contact our team at https://support.mapbox.com.

v0.54.1

Compare Source

Bug fixes
  • Fix unbounded memory growth caused by failure to cancel requests in IE (#​8481)

v0.54.0

Compare Source

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
  • Added Popup maxWidth option, set to "240px" by default. #​7906
Major features
  • Added support for updating and animating style images. #​7999
  • Added support for generating style images dynamically (e.g. for drawing icons based on feature properties). #​7987
  • Added antialiasing support for custom layers. #​7821
  • Added a new mapbox-gl-csp.js bundle for strict CSP environments where worker-src: blob is disallowed. #​8044
Minor features and improvements
  • Improved performance of fill extrusions. #​7821
  • Improved performance of symbol layers. #​7967
  • Slightly improved rendering performance in general. #​7969
  • Slightly improved performance of HTML markers. #​8018
  • Improved diffing of styles with "visibility": "visible". #​8005
  • Improved zoom buttons to grey out when reaching min/max zoom. #​8023
  • Added a title to fullscreen control button. #​8012
  • Added rel="noopener" attributes to links that lead to external websites (such as Mapbox logo and OpenStreetMap edit link) for improved security. #​7914
  • Added tile size info when map.showTileBoundaries is turned on. #​7963
  • Significantly improved load times of the benchmark suite. #​8066
  • Improved behavior of canvasSource.pause to be more reliable and able to render a single frame. #​8130
Bug fixes
  • Fixed a bug in Mac Safari 12+ where controls would disappear until you interact with the map. 8193
  • Fixed a memory leak when calling source.setData(url) many times. #​8035
  • Fixed a bug where marker lost focus when dragging. #​7799
  • Fixed a bug where map.getCenter() returned a reference to an internal LngLat object instead of cloning it, leading to potential mutability bugs. #​7922
  • Fixed a bug where default HTML marker positioning was slightly off. #​8074
  • Fixed a bug where adding a fill extrusion layer for non-polygon layers would lead to visual artifacts. #​7685
  • Fixed intermittent Flow failures on CI. #​8061
  • Fixed a bug where calling Map#removeFeatureState does not remove the state from some tile zooms #​8087
  • Fixed a bug where removeFeatureState didn't work on features with id equal to 0. #​8150 (h/t jutaz)

v0.53.1

Compare Source

Bug fixes

v0.53.0

Compare Source

Features and improvements
  • Enable fill-extrusion querying with ray picking (#​7499)
  • Add clusterProperties option for aggregated cluster properties (#​2412, fixed by #​7584)
  • Allow initial map bounds to be adjusted with fitBounds options. (#​7681) (h/t elyobo)
  • Remove popups on Map#remove (#​7749) (h/t andycalder)
  • Add Map#removeFeatureState (#​7761)
  • Add number-format expression (#​7626)
  • Add symbol-sort-key style property (#​7678)
Bug fixes
  • Upgrades Earcut to fix a rare bug in rendering polygons that contain a coincident chain of holes (#​7806, fixed by #​7878)
  • Allow file:// protocol in XHR requests for Cordova/Ionic/etc (#​7818)
  • Correctly handle WebP images in Edge 18 (#​7687)
  • Fix bug which mistakenly requested WebP images in browsers that do not support WebP (#​7817) (#​7819)
  • Fix images not being aborted when dequeued (#​7655)
  • Fix DEM layer memory leak (#​7690, fixed by #​7691)
  • Set correct color state before rendering custom layer (#​7711)
  • Set LngLat.toBounds() default radius to 0 (#​7722, fixed by #​7723) (h/t cherniavskii)
  • Fix race condition in feature-state dependent layers (#​7523, fixed by #​7790)
  • Prevent map.repaint from mistakenly enabling continuous repaints (#​7667)
  • Prevent map shaking while zooming in on raster tiles (#​7426)
  • Fix query point translation for multi-point geometry (#​6833, fixed by #​7581)

v0.52.0

Compare Source

Breaking changes
  • Canonicalize tile urls to mapbox:// urls so they can be transformed with config.API_URL (#​7594)
Features and improvements
  • Add getter and setter for config.API_URL (#​7594)
  • Allow user to define element other than map container for full screen control (#​7548)
  • Add validation option to style setters (#​7604)
  • Add 'idle' event: fires when no further rendering is expected without further interaction. (#​7625)
Bug fixes
  • Fire error when map.getLayoutProperty references missing layer (#​7537, fixed by #​7539)
  • Fix shaky sprites when zooming with scrolling (#​7558)
  • Fix layout problems in attribution control (#​7608) (h/t lucaswoj)
  • Fixes resetting map's pitch to 0 if initial bounds is set (#​7617) (h/t stepankuzmin)
  • Fix occasional failure to load images after multiple image request abortions #​7641
  • Update repo url to correct one (#​7486) (h/t nicholas-l)
  • Fix bug where symbols where sometimes not rendered immediately (#​7610)
  • Fix bug where cameraForBounds returns incorrect CameraOptions with asymmetrical padding/offset (#​7517, fixed by #​7518) (h/t mike-marcacci)
  • Use diff+patch approach to map.setStyle when the parameter is a URL (#​4025, fixed by #​7562)
  • Begin touch zoom immediately when rotation disabled (#​7582) (h/t msbarry)
  • Fix symbol rendering under opaque fill layers (#​7612)
  • Fix shaking by aligning raster sources to pixel grid only when map is idle (7426)
  • Fix raster layers in Edge 18 by disabling it's incomplete WebP support (7687)
  • Fix memory leak in hillshade layer (7691)
  • Fix disappearing custom layers (7711)

v0.51.0

Compare Source

November 7, 2018

✨ Features and improvements
  • Add initial bounds as map constructor option (#​5518) (h/t stepankuzmin)
  • Improve performance on machines with > 8 cores (#​7407, fixed by #​7430)
  • Add MercatorCoordinate type (#​7488)
  • Allow browser-native contextmenu to be enabled (#​2301, fixed by #​7369)
  • Add an unminified production build to the NPM package (#​7403)
  • Add support for LngLat conversion from {lat, lon} (#​7507) (h/t bfrengley)
  • Add tooltips for navigation controls (#​7373)
  • Show attribution only for used sources (#​7384)
  • Add telemetry event to log map loads (#​7431)
  • Tighten style validation
    • Disallow expressions as stop values (#​7396)
    • Disallow feature-state expressions in filters (#​7366)
🐛 Bug fixes
  • Fix for GeoJSON geometries not working when coincident with tile boundaries(#​7436, fixed by #​7448)
  • Fix depth buffer-related rendering issues on some Android devices. (#​7471)
  • Fix positioning of compact attribution strings (#​7444, #​7445, and #​7391)
  • Fix an issue with removing markers in mouse event callbacks (#​7442) (h/t vbud)
  • Remove controls before destroying a map (#​7479)
  • Fix display of Scale control values < 1 (#​7469) (h/t MichaelHedman)
  • Fix an error when using location hash within iframes in IE11 (#​7411)
  • Fix depth mode usage in custom layers (#​7432) (h/t markusjohnsson)
  • Fix an issue with shaky sprite images during scroll zooms (#​7558)

v0.50.0

Compare Source

October 10, 2018

✨ Features and improvements
  • 🎉 Add Custom Layers that can be rendered into with user-provided WebGL code (#​7039)
  • Add WebGL face culling for increased performance (#​7178)
  • Improve speed of expression evaluation (#​7334)
  • Automatically coerce to string for concat expression and text-field property (#​6190, fixed by #​7280)
  • Add fill-extrusion-vertical-gradient property for controlling shading of fill extrusions (#​5768, fixed by #​6841)
  • Add update functionality for images provided via ImageSource (#​4050, fixed by #​7342) (h/t dcervelli)
🐛 Bug fixes
  • Expressions
    _ Fix expressions that use log2 and log10 in IE11 (#​7318, fixed by #​7320)
    _ Fix let expression stripping expected type during parsing (#​7300, fixed by #​7301)
    _ Fix superfluous wrapping of literals in literal expression (#​7336, fixed by #​7337)
    _ Allow calling to-color on values that are already of type Color (#​7260)
    _ Fix to-array for empty arrays ((#​7261))
    _ Fix identity functions for text-field when using formatted text (#​7351)
    * Fix coercion of null to 0 in to-number expression (#​7083, fixed by #​7274)
  • Canvas source
    _ Fix missing repeats of CanvasSource when it crosses the antimeridian (#​7273)
    _ Fix CanvasSource not respecting alpha values set on canvas element (#​7302, fixed by #​7309)
  • Rendering
    _ Fix rendering of fill extrusions with really high heights (#​7292)
    _ Fix an error where the map state wouldn't return to loaded after certain runtime styling changes when there were errored tiles in the viewport (#​7355)
    _ Fix errors when rendering symbol layers without symbols (#​7241, fixed by #​7253)
    _ Don't fade in symbols with *-allow-overlap: true when panning into the viewport (#​7172, fixed by#​7244)
  • Library
    _ Fix disambiguation for mouseover event (#​7295, fixed by #​7299)
    _ Fix silent failure of getImage if an SVG is requested (#​7312, fixed by #​7313)
    _ Fix empty control group box shadow (#​7303, fixed by #​7304) (h/t Duder-onomy)
    _ Fixed an issue where a wrong timestamp was sent for Mapbox turnstile events (#​7381)
    * Fixed a bug that lead to attribution not showing up correctly in Internet Explorer (#​3945, fixed by #​7391)

v0.49.0

Compare Source

September 6, 2018

⚠️ Breaking changes
  • Use client{Height/Width} instead of offset{Height/Width} for map canvas sizing (#​6848, fixed by #​7128)
🐛 Bug fixes
  • Fix Top Issues list for mapbox-gl-js (#​7108, fixed by #​7112)
  • Fix bug in which symbols with icon-allow-overlap: true, text-allow-overlap: true, text-optional: false would show icons when they shouldn't (#​7041)
  • Fix bug where the map would not stop at the exact zoom level requested by Map#FlyTo (#​7222) (#​7223) (h/t benoitbzl)
  • Keep map centered on the center point of a multi-touch gesture when zooming (#​6722) (#​7191) (h/t pakastin)
  • Update the style-spec's old gl-style-migrate script to include conversion of legacy functions and filters to their expression equivalents (#​6927, fixed by #​7095)
  • Fix icon-size for small data-driven values (#​7125)
  • Fix bug in the way AJAX requests load local files on iOS web view (#​6610) (h/t oscarfonts)
  • Fix bug in which canvas sources would not render in world wrapped tiles at the edge of the viewport ([#​7271]#​7271), fixed by #​7273)
✨ Features and improvements
  • Performance updates:
    • Improve time to first render by updating how feature ID maps are transferred to the main thread (#​7110, fixed by #​7132)
    • Reduce size of JSON transmitted from worker thread to main thread (#​7124)
    • Improve image/glyph atlas packing algorithm (#​7171)
    • Use murmur hash on symbol instance keys to reduce worker transfer costs (#​7127)
  • Add GL state management for uniforms (#​6018)
  • Add symbol-z-order symbol layout property to style spec (#​7219)
  • Implement data-driven styling support for *-pattern properties (#​6289)
  • Add Map#fitScreenCoordinates which fits viewport to two points, similar to Map#fitBounds but uses screen coordinates and supports non-zero map bearings (#​6894)
  • Re-implement LAB/HSL color space interpolation for expressions (#​5326, fixed by #​7123)
  • Enable benchmark testing for Mapbox styles (#​7047)
  • Allow Map#setFeatureState and Map#getFeatureState to accept numeric IDs (#​7106) (h/t bfrengley)

v0.48.0

Compare Source

August 16, 2018

⚠️ Breaking changes
  • Treat tiles that error with status 404 as empty renderable tiles to prevent rendering duplicate features in some sparse tilesets (#​6803)
🐛 Bug fixes
  • Fix issue where text-max-angle property was being calculated incorrectly internally, causing potential rendering errors when "symbol-placement": line
  • Require feature.id when using Map#setFeatureState (#​6974)
  • Fix issue with removing the GeolocateControl when user location is being used (#​6977) (h/t sergei-zelinsky)
  • Fix memory leak caused by a failure to remove all controls added to the map (#​7042)
  • Fix bug where the build would fail when using mapbox-gl webpack 2 and UglifyJSPlugin (#​4359, fixed by #​6956)
  • Fix bug where fitBounds called with coordinates outside the bounds of Web Mercator resulted in uncaught error (#​6906, fixed by #​6918)
  • Fix bug wherein Map#querySourceFeatures was returning bad results on zooms > maxZoom (#​7061)
  • Relax typing for equality and order expressions (#​6459, fixed by #​6961)
  • Fix bug where queryPadding for all layers in a source was set by the first layer, causing incorrect querying on other layers and, in some cases, incorrect firing of events associated with individual layers (#​6909)
✨ Features and improvements
  • Performance Improvements:
    • Stop unnecessary serialization of symbol source features. (#​7013)
    • Optimize calculation for getting visible tile coordinates (#​6998)
    • Improve performance of creating {Glyph/Image}Atlases (#​7091)
    • Optimize and simplify tile retention logic (#​6995)
  • Add a user turnstile event for users accessing Mapbox APIs (#​6980)
  • Add support for autogenerating feature ids for GeoJSON sources so they can be used more easily with the Map#setFeatureState API (#​7043)) (#​7091)
  • Add ability to style symbol layers labels with multiple fonts and text sizes via "format" expression (#​6994)
  • Add customAttribution option to AttributionControl (#​7033) (h/t mklopets)
  • Publish Flow type definitions alongside compiled bundle (#​7079)
  • Introduce symbol cross fading when crossing integer zoom levels to prevent labels from disappearing before newly loaded tiles' labels can be rendered (#​6951)
  • Improvements in label collision detection (#​6925))

v0.47.0

Compare Source

✨ Features and improvements
🐛 Bug fixes
  • Use updateData instead of re-creating buffers for repopulated paint arrays (#​6853)
  • Fix ScrollZoom handler setting tr.zoom = NaN (#​6924)
  • Fix heatmap tile clipping when layers are ordered above it (#​6806, fixed by #​6807)
  • Fix video source in safari (macOS and iOS) (#​6443, fixed by #​6811)
  • Do not reload errored tiles (#​6813)
  • Fix send / remove timing bug in Dispatcher (#​6756, fixed by #​6826)
  • Fix flyTo not zooming to exact given zoom (#​6828)
  • Don't stop animation on map resize (#​6636)
  • Fix map.getBounds() with rotated map (#​6875) (h/t zoltan-mihalyi)
  • Support collators in feature filter expressions. (#​6929)
  • Fix Webpack production mode compatibility (#​6981)

v0.46.0

Compare Source

⚠️ Breaking changes
  • Align implicit type casting behavior of match expressions with with case/== (#​6684)
✨ Features and improvements
  • 🎉 Add Map#setFeatureState and feature-state expression to support interactive styling (#​6263)
  • Create draggable Marker with setDraggable (#​6687)
  • Add Map#listImages for listing all currently active sprites/images (#​6381)
  • Add "crossSourceCollisions" option to disable cross-source collision detection (#​6566)
  • Handle text/icon-rotate for symbols with symbol-placement: point (#​6075)
  • Automatically compact Mapbox wordmark on narrow maps. (#​4282) (h/t andrewharvey)
  • Only show compacted AttributionControl on interactive displays (#​6506) (h/t andrewharvey)
  • Use postcss to inline svg files into css, reduce size of mapbox-gl.css (#​6513) (h/t andrewharvey)
  • Add support for GeoJSON attribution (#​6364) (h/t andrewharvey)
  • Add instructions for running individual unit and render tests (#​6686)
  • Make Map constructor fail if WebGL init fails. (#​6744) (h/t uforic)
  • Add browser fallback code for collectResourceTiming: true in web workers (#​6721)
  • Remove ignored usage of gl.lineWidth (#​5541)
  • Split new bounds calculation out of fitBounds into new method (#​6683)
  • Allow integration tests to be organized in an arbitrarily deep directory structure (#​3920)
  • Make "Missing Mapbox GL JS CSS" a console warning (#​5786)
  • Add rel="noopener" to Mapbox attribution link. (#​6729) (h/t gorbypark)
  • Update to deep equality check in example code (#​6599) (h/t jonsadka)
  • Upgrades!
    • Upgrade ESM dependency to ^3.0.39 (#​6750)
    • Ditch gl-matrix fork in favor of the original package (#​6751)
    • Update to latest sinon (#​6771)
    • Upgrade to Flow 0.69 (#​6594)
    • Update to mapbox-gl-supported 1.4.0 (#​6773)
🐛 Bug fixes
  • collectResourceTiming: true generates error on iOS9 Safari, IE 11 (#​6690)
  • Fix PopupOptions flow type declarations (#​6670) (h/t TimPetricola)
  • Add className option to Popup constructor (#​6502) (h/t Ashot-KR)
  • GeoJSON MultiLineStrings with lineMetrics=true only rendered first line (#​6649)
  • Provide target property for mouseenter/over/leave/out events (#​6623)
  • Don't break on sources whose name contains "." (#​6660)
  • Rotate and pitch with navigationControl broke in v0.45 (#​6650)
  • Zero-width lines remained visible (#​6769)
  • Heatmaps inappropriately clipped at tile boundaries (#​6806)
  • Use named exports for style-spec entrypoint module (#​6601
  • Don't fire click event if default is prevented on mousedown for a drag event (#​6697, fixes #​6642)
  • Double clicking to zoom in breaks map dragging/panning in Edge (#​6740) (h/t GUI)
  • *-transition properties cannot be set with setPaintProperty() (#​6706)
  • Marker with a element does not open the url when clicked (#​6730)
  • setRTLTextPlugin fails with relative URLs (#​6719)
  • Collision detection incorrect for symbol layers that share the same layout properties (#​6548)
  • Fix a possible crash when calling queryRenderedFeatures after querySourceFeatures
    (#​6559)
  • Fix a collision detection issue that could cause labels to temporarily be placed too densely during rapid panning (#​5654)

v0.45.0

Compare Source

⚠️ Breaking changes
  • Evented#fire and Evented#listens are now marked as private. Though Evented is still exported, and fire and listens are still functional, we encourage you to seek alternatives; a future version may remove their API accessibility or change its behavior. If you are writing a class that needs event emitting functionality, consider using EventEmitter or similar libraries instead.
  • The "to-string" expression operator now converts null to an empty string rather than to "null". #​6534
✨ Features and improvements
  • 🌈 Add line-gradient property #​6303
  • Add abs, round, floor, and ceil expression operators #​6496
  • Add collator expression for controlling case and diacritic sensitivity in string comparisons #​6270
    • Rename caseSensitive and diacriticSensitive expressions to case-sensitive and diacritic-sensitive for consistency #​6598
    • Prevent collator expressions for evaluating as constant to account for potential environment-specific differences in expression evaluation #​6596
  • Add CSS linting to test suite (h/t @​jasonbarry) #​6071
  • Add support for configurable maxzoom in raster-dem tilesets #​6103
  • Add Map#isZooming and Map#isRotating methods #​6128, #​6183
  • Add support for Mapzen Terrarium tiles in raster-dem sources #​6110
  • Add preventDefault method on mousedown, touchstart, and dblclick events #​6218
  • Add originalEvent property on zoomend and moveend for user-initiated scroll events (h/t @​stepankuzmin) #​6175
  • Accept arguments of type value in "length" expressions #​6244
  • Introduce MapWheelEvent#​6237
  • Add setter for ScaleControl units (h/t @​ryanhamley) #​6138, #​6274
  • Add open event for Popup #​6311
  • Explicit "object" type assertions are no longer required when using expressions #​6235
  • Add anchor option to Marker #​6350
  • HTMLElement is now passed to Marker as part of the options object, but the old function signature is still supported for backwards compatibility #​6356
  • Add support for custom colors when using the default Marker SVG element (h/t @​andrewharvey) #​6416
  • Allow CanvasSource initialization from HTMLElement #​6424
  • Add is-supported-script expression 6260
🐛 Bug fixes
  • Align raster-dem tiles to pixel grid to eliminate blurry rendering on some devices #​6059
  • Fix label collision circle debug drawing on overzoomed tiles #​6073
  • Improve error reporting for some failed requests #​6126, #​6032
  • Fix several Map#queryRenderedFeatures bugs:
    • account for {text, icon}-offset when querying#​6135
    • correctly query features that extend across tile boundaries #​5756
    • fix querying of circle layer features with -pitch-scaling: 'viewport' or -pitch-alignment: 'map' #​6036
    • eliminate flicker effects when using query results to set a hover effect by switching from tile-based to viewport-based symbol querying #​6497
  • Preserve browser history state when updating the Map hash #​6140
  • Fix undefined behavior when Map#addLayer is invoked with an id of a preexisting layer #​6147
  • Fix bug where icon-image would not be rendered if text-field is an empty string #​6164
  • Ensure all camera methods fire rotatestart and rotateend events #​6187
  • Always hide duplicate l

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant