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

Bump maplibre-gl from 3.2.0 to 4.0.2 #7

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 19, 2024

Bumps maplibre-gl from 3.2.0 to 4.0.2.

Release notes

Sourced from maplibre-gl's releases.

v4.0.2

https://github.com/maplibre/maplibre-gl-js Changes since MapLibre GL JS v4.0.1:

🐞 Bug fixes

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

v4.0.1

https://github.com/maplibre/maplibre-gl-js Changes since MapLibre GL JS v4.0.0:

✨ 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

https://github.com/maplibre/maplibre-gl-js Changes since MapLibre GL JS v3.6.2:

✨ 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 pluing 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 undeling 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)

... (truncated)

Changelog

Sourced from maplibre-gl's changelog.

4.0.2

🐞 Bug fixes

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

4.0.1

✨ 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)

4.0.0

✨ 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 pluing 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 undeling 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)

... (truncated)

Commits

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 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 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 19, 2024
@hkfb
Copy link
Owner

hkfb commented Feb 22, 2024

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/maplibre-gl-4.0.2 branch from 910e426 to 9a89972 Compare February 22, 2024 12:48
@hkfb
Copy link
Owner

hkfb commented Feb 22, 2024

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/maplibre-gl-4.0.2 branch 3 times, most recently from 4d5f6b8 to 9b7b8c0 Compare February 22, 2024 13:12
Bumps [maplibre-gl](https://github.com/maplibre/maplibre-gl-js) from 3.2.0 to 4.0.2.
- [Release notes](https://github.com/maplibre/maplibre-gl-js/releases)
- [Changelog](https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md)
- [Commits](maplibre/maplibre-gl-js@v3.2.0...v4.0.2)

---
updated-dependencies:
- dependency-name: maplibre-gl
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/maplibre-gl-4.0.2 branch from 9b7b8c0 to 69a62c0 Compare February 22, 2024 13:19
@hkfb hkfb merged commit ba61ee6 into main Feb 22, 2024
2 checks passed
@hkfb hkfb deleted the dependabot/npm_and_yarn/maplibre-gl-4.0.2 branch February 22, 2024 13:21
Copy link

🎉 This PR is included in version 0.6.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant