Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency maplibre-gl to v4 #90

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 12, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
maplibre-gl (source) 2.4.0 -> 4.7.1 age adoption passing confidence

Release Notes

maplibre/maplibre-gl-js (maplibre-gl)

v4.7.1

Compare Source

🐞 Bug fixes
  • Fix circle won't render on mesa 24.1 with AMD GPU (#​4062)
  • Fix hash router for urls ending with a hashtag (#​4730)
  • Replace rollup-plugin-sourcemaps with rollup-plugin-sourcemaps2 (#​4740)

v4.7.0

Compare Source

✨ Features and improvements
  • Support multiple layers in map.on, map.once and map.off methods (#​4570)
  • Ensure GeoJSON cluster sources emit a console warning if maxzoom is less than or equal to clusterMaxZoom since in this case you may see unexpected results. (#​4604)
🐞 Bug fixes
  • Heatmap Fix for 3D terrain (#​4571)
  • Fix Map#off to not remove listener with layer(s) registered with Map#once (#​4592)
  • Improve types a bit for addSource and getSource (#​4616)
  • Fix the color near the horizon when terrain is enabled without any sky (#​4607)
  • Fix bug where fitBounds and cameraForBounds would not display across the 180th meridian (antimeridian)
  • Fix white flickering on map resize (#​4158)
  • Fixed a performance regression related to symbol placement (#​4599)
  • Fix a bug where cloning a Transform instance didn't include the lngRange. This caused a bug where
    using transformCameraUpdate caused the maxBounds to stop working just for east/west bounds. (#​4625)

v4.6.0

Compare Source

✨ Features and improvements
  • Prefer local glyph rendering for all CJKV characters, not just those in the CJK Unified Ideographs, Hiragana, Katakana, and Hangul Syllables blocks. (#​4560))
🐞 Bug fixes
  • Fix right-to-left layout of labels that contain characters in the Arabic Extended-B code block. (#​4536)
  • Fix 3D map freezing when camera is adjusted against map bounds. (#​4537)
  • Fix getStyle() to return a clone so the object cannot be internally changed (#​4488)
  • Fix issues with setting sky to undefined (#​4587))

v4.5.2

Compare Source

✨ Features and improvements
  • Emit events when the cooperative gestures option has prevented a gesture. (#​4470)
  • Enable anisotropic filtering only when the pitch is greater than 20 degrees to preserve image sharpness on flat or slightly tilted maps.
🐞 Bug fixes
  • Fix camera being able to move into 3D terrain (#​1542)

v4.5.1

Compare Source

✨ Features and improvements
  • Allow trackpad pinch gestures to break through the cooperativeGestures setting, bringing it in line with other embedded map behaviours, such as Google Maps and Mapbox. (#​4465)
  • Expose projection matrix parameters (#​3136)
  • Add option to position markers at subpixel coordinates to prevent markers jumping on moveend (#​4458)
🐞 Bug fixes
  • Fix lag on fast map zoom (#​4366)
  • Fix unguarded read access to possibly undefined object (#​4431)
  • Fix remove hash string when map is removed (#​4427)
  • Fix GeolocateControl may be added twice when calling addControl/removeControl/addControl rapidly (#​4454)
  • Fix style.loadURL abort error being logged when removing style (#​4425)
  • Fix vector tiles not loading when html is opened via "resource://android" (i.e., the assets folder) in GeckoView on Android (#​4451)

v4.5.0

Compare Source

✨ Features and improvements
  • Add sky implementation according to spec (#​3645)
🐞 Bug fixes
  • Fix (de)serialization of extends of built-ins (currently only AjaxError) not working correctly in web_worker_transfer. Also refactored related web_worker_transfer code and added more tests (#​4024)

v4.4.1

Compare Source

🐞 Bug fixes
  • Fix terrain listener memory leak when adding and removing Marker (#​4284)

v4.4.0

Compare Source

✨ Features and improvements
  • Improve animation curve when easeTo and flyTo with constraints (#​3793)
  • For filled extrusions, calculate the elevation per polygon (#​3313)
  • Add events to GeolocateControl to allow a more granular interaction (#​3847)
  • Make MapOptions.style optional to be consistent with Map.setStyle(null) (#​4151)
  • Use Autoprefixer to handle vendor prefixes in CSS (#​4165)
  • Make aria-label configurable for Map, Marker and Popup (#​4147)
  • Map <canvas> is focusable only when interactive (#​4147)
  • "Accept" headers set in Request Transformers are not overwritten (#​4210)
  • ⚠️ Rename projMatrix to modelViewProjectionMatrix. Also rename invProjMatrix, alignedProjMatrix accordingly (#​4215)
  • Publish an unminified prod build (#​4265)
🐞 Bug fixes
  • ⚠️ Allow breaking lines in labels before a left parenthesis (#​4138)
  • ⚠️ Fix ignoring embedded line breaks when symbol-placement is line or line-center (#​4124)
  • Ensure loseContext exists before calling it (#​4245)
  • Update deprecated -ms-high-contrast vendor prefix to (forced-colors: active) and (prefers-color-scheme: light) as appropriate (#​4250)

v4.3.2

Compare Source

🐞 Bug fixes
  • Fix an issue with moveend zoom being different than the actual current zoom (#​4132)

v4.3.1

Compare Source

🐞 Bug fixes
  • Fix drift in zoom that may happen during flyTo and easeTo due to freezeElevation logic. (#​3878)

v4.3.0

Compare Source

✨ Features and improvements
  • Add getData method for GeoJSON Sources to provide the possibility to obtain all the source's features (#​4082)
  • Allow cross-fading between raster tile source updates at the same zoom level (#​4072)
🐞 Bug fixes
  • Fix normalizeSpriteURL before transformRequest throwing an Error with relative URLs (#​3897)
  • Fix return type of map.cameraForBounds (#​3760)
  • Fix to run benchmark with MAPLIBRE_STYLES environment variable (#​2122)
  • Fix symbol collisions using inaccurate and sometimes entirely wrong collision boxes when the map is pitched or rotated (#​210)
  • Fix text-translate and icon-translate behaving weirdly and inconsistently with other -translate properties (#​3456)
  • Fix symbol collision debug view (showCollisionBoxes) not showing the actual bounding boxes used for collision and click areas. The displayed boxes now match actual collision boxes exactly (#​4071)
  • Fix symbol collision boxes not being accurate for variable-anchor symbols (#​4071)
  • Fix icon collision boxes using text-translate property for translation instead of the correct icon-translate (#​4071)

v4.2.0

Compare Source

✨ Features and improvements
  • Update Popup's methods addClass and removeClass to return an instance of Popup (#​3975)
  • New map option to decide whether to cancel previous pending tiles while zooming in (#​4051)
  • Sprites include optional textFitHeight and textFitWidth values (#​4019)
  • Add support for distance expression (#​4076)

v4.1.3

Compare Source

✨ Features and improvements
  • Added const enum for actor messages to improve readability and maintainability. In tsconfig.json, isolatedModules flag is set to false in favor of generated JS size. (#​3879)
🐞 Bug fixes
  • Fix different unwanted panning changes at the end of a panning motion, that happen on a large screen (#​3935)
  • Fix image sources not being marked as loaded on error (#​3981)
  • Fix ScaleControl options should be optional. (#​4002)
  • Fix race condition in SourceCache that makes unit tests unstable. Eliminate a redundant 'visibility' event fired from Style class. (#​3992)
  • Fix paint property not being updated by setPaintProperty (#​2651)

v4.1.2

Compare Source

✨ Features and improvements
  • Hide Popup when its parent Marker is behind terrain (#​3865)
🐞 Bug fixes
  • Fix type definition on localIdeographFontFamily (#​3896)
  • Fix unwanted panning changes at the end of a panning motion (#​3872)
  • Fix close events being fired for popups that aren't open (#​3901)

v4.1.1

Compare Source

✨ Features and improvements
  • Improve animation curve when easeTo and flyTo with constraints (#​3793)
🐞 Bug fixes
  • Fix unwanted zoom changes at the end of a panning motion (#​2094)

v4.1.0

Compare Source

✨ Features and improvements
  • Add option to position popup at subpixel coordinates to allow for smooth animations (#​3710)
  • Constrain horizontal panning when renderWorldCopies is set to false (3738)
🐞 Bug fixes
  • Fix popup appearing far from marker that was moved to a side globe (3712)
  • Set text color to ensure contrast in the attribution pill (3737)
  • Fix memory leak in Worker when map is removed (3734)
  • Fix issue with FullscreenControl when MapLibre is within a ShadowRoot (#​3573)
  • Fix performance regression with setRTLTextPlugin which can cause 1 or 2 extra frames to render. (#​3728)

v4.0.2

Compare Source

🐞 Bug fixes
  • Fix Style.setState ignoring validate flag (#​3709)
  • Fix marker flying off near horizon (3704)

v4.0.1

Compare Source

✨ Features and improvements
  • Add setUrl method to RasterTileSource to dynamically update existing TileJSON resource. (3700)
🐞 Bug fixes
  • Fix Marker losing opacity after window resize (#​3656)
  • Fix vector tiles not loading when html is opened via "file://" (#​3681)

v4.0.0

Compare Source

✨ Features and improvements
  • ⚠️ Remove all global getters and setters from maplibregl, this means the the following methods have changed:

    • maplibregl.version => getVersion()
    • maplibregl.workerCount => getWorkerCount(), setWorkerCount(...)
    • maplibregl.maxParallelImageRequests => getMaxParallelImageRequests(), setMaxParallelImageRequests(...)
    • maplibregl.workerUrl => getWorkerUrl(), setWorkerUrl(...)

    This is to avoid the need to use a global object and allow named exports/imports (#​3601)

  • ⚠️ Change attribution to be on by default, change MapOptions.attributionControl to be the type that the control handles, removed MapOptions.customAttribution (#​3618)
    Note: showing the logo of MapLibre is not required for using MapLibre.

  • ⚠️ Changed cooperative gesture config and removed the strings from it in favor of the locale variable (#​3621)

  • ⚠️ Changed the terrain enable disable locale key to match the other keys' styles, updated the typings to allow using locale with more ease (#​3621)

  • ⚠️ Add the ability to import a script in the worker thread and call addProtocol and removeProtocol there (#​3459) - this also changed how addSourceType works since now you'll need to load the script with maplibregl.importScriptInWorkers.

  • ⚠️ Changes addProtocol to be promise-based without the usage of callbacks and cancelable (#​3433)

  • ⚠️ Moved the addSourceType to be a part of the global maplibregl object instead of being per map object (#​3420)

  • ⚠️ Removed callback usage from map.loadImage in continue to below change (#​3422)

  • ⚠️ Changed the GeoJSONSource's getClusterExpansionZoom, getClusterChildren, getClusterLeaves methods to return a Promise instead of a callback usage (#​3421)

  • ⚠️ Changed the setRTLTextPlugin function to return a promise instead of using callback (#​3418) this also changed how the RTL plugin code is handled internally by splitting the main thread and worker thread code.

  • ⚠️ Remove setCooperativeGestures and getCooperativeGestures functions in favor of cooperativeGestures handler which now has an enabled() or disabled() methods (#​3430)

  • ⚠️ Changed the underlying worker communication from callbacks to promises. This has a breaking effect on the implementation of custom WorkerSource and how it behaves (#​3233)

  • ⚠️ Changed the Source interface to return promises instead of callbacks (#​3233)

  • ⚠️ Changed all the sources to be promises based. (#​3233)

  • ⚠️ Changed the map.loadImage method to return a Promise instead of a callback usage (#​3233)

  • Add "opacity" option and setOpacity method to Marker (#​3620)

  • Created a new example showing how to place a threejs scene as a CustomLayer over maplibre 3d-terrain (#​3429)

  • Changed ImageRequest to be Promise based (#​3233)

  • Improved precision and added a subtle fade transition to marker opacity changes (#​3431)

  • Adds support for terrain in setStyle with diff method (#​3515, #​3463)

  • Upgraded to use Node JS 20 and removed the dependency of gl package from the tests to allow easier development setup. (#​3452)

🐞 Bug fixes
  • Fix wheel zoom to be into the same direction above or under the horizon (#​3398)
  • Fix _cameraForBoxAndBearing not fitting bounds properly when using asymmetrical camera viewport and bearing.(#​3591)
  • Fix missing export Map type in the d.ts file (#​3564)
  • Fix the shifted mouse events after a css transform scale on the map container (#​3437)
  • Fix markers remaining transparent when disabling terrain (#​3431)
  • Fix labels disappearing when enabling terrain at high zoom (#​3545)
  • Fix zooming outside the central globe when terrain 3D is enabled (#​3425)
  • Fix cursor being shown indefinitely as a pointer when removing a popup with its trackPointer method active (#​3434)
  • Fix a bug in showing cooperative gestures when scroll zoom is disabled (#​2498)
  • Handle loading of empty raster tiles (204 No Content) (#​3428)
  • Fixes a security issue in Actor against XSS attacks in postMessage / onmessage (#​3239)

v3.6.2

Compare Source

🐞 Bug fixes

v3.6.1

Compare Source

🐞 Bug fixes
  • Fix undefined _onEaseFrame call in Camera._renderFrameCallback() while doing Camera.jumpTo during a Camera.easeTo (#​3332)

v3.6.0

Compare Source

✨ Features and improvements
  • Add getLayersOrder() to Map and Style (#​3279)
  • Updated description of fullscreen example (#​3311)
🐞 Bug fixes
  • Fix null feature properties in resolve_tokens (#​3272)

v3.5.2

Compare Source

✨ Features and improvements
  • Convert plantuml diagrams to mermaid (#​3217)
  • Improve buffer transfer in Safari after Safari fixed a memory leak bug (#​3225)
  • Minify internal exports to reduce bundle size (#​3216)
🐞 Bug fixes
  • Add terrain property to map style object (#​3234)
  • Fix exception thrown from isWebGL2 check (#​3238)
  • Fix rollup watch mode (#​3270)

v3.5.1

Compare Source

🐞 Bug fixes
  • Fix regression introduced in 3.5.0, related to async/await (#​3228)

v3.5.0

Compare Source

✨ Features and improvements
  • Add setTiles method to RasterTileSource to dynamically update existing tile sources. (#​3208)

v3.4.1

Compare Source

✨ Features and improvements
  • Locally rendered glyphs are double resolution (48px), greatly improving sharpness of CJK text. (#​2990, #​3006)
🐞 Bug fixes
  • Fix setStyle->style.setState didn't reset _serializedLayers (#​3133).
  • Fix Raster DEM decoding in safari private browsing mode (#​3185)

v3.4.0

Compare Source

✨ Features and improvements
  • Improve error message when a tile can't be loaded (#​3130)
  • Support custom raster-dem encodings (#​3087)
🐞 Bug fixes
  • Fixed Interrupting a scroll zoom causes the next scroll zoom to return to the prior zoom level by reseting scroll handler state properly (#​2709, #​3051)
  • Fix unit test warning about duplicate module names (#​3049)
  • Correct marker position when switching between 2D and 3D view (#​2996)
  • Fix error thrown when unsetting line-gradient [#​2683]
  • Update raster tile end points in documentation
  • Avoiding inertia animation on Mac when reduced motion is on (#​3068)
  • 3d buildings example doesn't work as expected (#​3165)

v3.3.1

Compare Source

✨ Features and improvements
  • Copy LICENSE.txt to dist folder so it's included in 3rdpartylicenses.txt by webpack (#​3021)
🐞 Bug fixes
  • Correct declared return type of Map.getLayer() and Style.getLayer() to be StyleLayer | undefined to match the documentation (#​2969)
  • Correct type of Map.addLayer() and Style.addLayer() to allow adding a layer with an embedded source, matching the documentation (#​2966)
  • Throttle map resizes from ResizeObserver to reduce flicker (#​2986)
  • Correct function Map.setTerrain(options: TerrainSpecification): Map to be Map.setTerrain(options: TerrainSpecification | null): Map per the API spec (#​2993)
  • Correct function Map.getTerrain(): TerrainSpecification to be Map.getTerrain(): TerrainSpecification | null for consistency with the setTerrain function (#​3020)

v3.3.0

Compare Source

✨ Features and improvements

v3.2.2

Compare Source

✨ Features and improvements
🐞 Bug fixes
  • Properly check ImageBitmap (#​2942, #​2940)
  • VectorTileWorkerSource: fix reload for original's load parse would not pass the rawTileData and meta. (#​2941)

v3.2.1

Compare Source

✨ Features and improvements
  • Remove cooperative gesture screen from the accessibility tree since screenreaders cannot interact with the map using gestures
  • Add cooperated gestures example to the doc.(#​2860)
🐞 Bug fixes
  • Incorrect distance field of view calculation for negative elevation, fixed by storing min elevation for the tile in view (#​1655, #​2858)
  • Fix reloadCallback not firing on VectorTileWorkerSource.reloadTile (#​1874)
  • Don't draw halo pixels underneath text pixels (#​2897)
  • Fix RasterDEMTileSource not serializing its options correctly (#​2895)
  • Remove node and jest from dist type checking, fix map event and other typing problems (#​2898)

v3.2.0

Compare Source

✨ Features and improvements
  • Change all internal exports to named exports(#​2711)
  • Docs generation is now part of this repo(#​2733)
  • Add className option to Marker constructor (#​2729)
  • Immediately redraw the map after setting pixel ratio (#​2674)
  • Add maxCanvasSize option to limit canvas size. It can prevent reaching the GL limits and reduce the load on the devices. Default value is [4096, 4096].
  • Reduce maxCanvasSize when hitting GL limits to avoid distortions (#​2674)
  • Rewrite all the code comments in TSDocs, introduced a new documentaiton system and moved examples into this repository for better debug options (#​2756)
  • ⚠️ Removed non documented Marker constructor parameter (#​2756)
  • Updated check-for-support example (#​2859)
🐞 Bug fixes
  • Return undefined instead of throwing from Style.serialize() when the style hasn't loaded yet (#​2712)
  • Don't throw an exception from checkMaxAngle when a label with length 0 is on the last segment of a line (#​2710)
  • Fix the tap then drag zoom gesture detection to abort when the two taps are far away (#​2673)
  • Fix regression - update pixel ratio when devicePixelRatio changes, restoring the v1.x behaviour (#​2706)
  • Fix incorrect elevation calculation [#​2772]

v3.1.0

Compare Source

✨ Features and improvements
  • Expose map options.maxTileCacheZoomLevels to allow better control of tile cache (#​2581)
🐞 Bug fixes
  • Fix regression - Add webgl1 fallback to accomondate users without webgl2 support (#​2653)

v3.0.1

Compare Source

✨ Features and improvements
  • Update shaders to GLSL ES 3.0 (#​2599)
🐞 Bug fixes
  • Fix RequestTransformFunction type to return RequestParameters or undefined (#​2586)
  • Load EXT_color_buffer_float WebGL2 extension to fix heatmap in firefox (#​2595)

v3.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - "every 2 weeks on Monday before 7am" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 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

This PR was generated by Mend Renovate. View the repository job log.

Copy link

netlify bot commented Feb 12, 2024

Deploy Preview for weihnachtsmarktkarte ready!

Name Link
🔨 Latest commit 2e31c80
🔍 Latest deploy log https://app.netlify.com/sites/weihnachtsmarktkarte/deploys/66f132396e87f200082b2bdb
😎 Deploy Preview https://deploy-preview-90--weihnachtsmarktkarte.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@renovate renovate bot force-pushed the renovate/maplibre-gl-4.x branch 2 times, most recently from 78a7242 to 72f4867 Compare February 19, 2024 12:21
@renovate renovate bot force-pushed the renovate/maplibre-gl-4.x branch from 72f4867 to 473e912 Compare March 1, 2024 23:23
@renovate renovate bot force-pushed the renovate/maplibre-gl-4.x branch from 473e912 to 7f7e4d0 Compare March 16, 2024 07:59
@renovate renovate bot force-pushed the renovate/maplibre-gl-4.x branch from 7f7e4d0 to 309ce80 Compare March 26, 2024 23:22
@renovate renovate bot force-pushed the renovate/maplibre-gl-4.x branch from 309ce80 to ec7e9da Compare April 17, 2024 08:33
@renovate renovate bot force-pushed the renovate/maplibre-gl-4.x branch from ec7e9da to f0f660f Compare May 5, 2024 06:55
@renovate renovate bot force-pushed the renovate/maplibre-gl-4.x branch 3 times, most recently from db7fba6 to 2069042 Compare May 19, 2024 10:55
@renovate renovate bot force-pushed the renovate/maplibre-gl-4.x branch 2 times, most recently from 606db92 to d03d0f2 Compare June 17, 2024 16:55
@renovate renovate bot force-pushed the renovate/maplibre-gl-4.x branch from d03d0f2 to a633850 Compare June 27, 2024 11:31
@renovate renovate bot force-pushed the renovate/maplibre-gl-4.x branch from a633850 to 8f58d43 Compare August 1, 2024 22:49
@renovate renovate bot force-pushed the renovate/maplibre-gl-4.x branch from 8f58d43 to 8879d3e Compare August 11, 2024 12:57
@renovate renovate bot force-pushed the renovate/maplibre-gl-4.x branch from 8879d3e to 6077927 Compare August 22, 2024 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants