You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Define maplibre dependency in package.json (e.g., "maplibre-gl": ">=1.14.0)
Define additional dependency in package.json (e.g., "mapbox-gl-style-switcher": "^1.0.8")
npm install will upgrade to maplibre version 1.15.1 which contains breaking changes, in this case, mapbox-gl-style-switcher expects names of css classes to begin with mapboxgl- but they have been renamed to maplibregl-
Expected Behavior
Non-breaking changes when going from 1.14 to 1.15
Actual Behavior
All library dependencies that rely on mapbox class names stop working. Temporary workaround is to pin the dependency to "maplibre-gl": "=1.14.0" which is not ideal.
Breaking changes should be introduced in major version increases, i.e.., 2.0.0 and above.
The text was updated successfully, but these errors were encountered:
maplibre-gl-js version: 1.15.1
browser: Any
Steps to Trigger Behavior
mapboxgl-
but they have been renamed tomaplibregl-
Expected Behavior
Non-breaking changes when going from 1.14 to 1.15
Actual Behavior
All library dependencies that rely on mapbox class names stop working. Temporary workaround is to pin the dependency to
"maplibre-gl": "=1.14.0"
which is not ideal.Breaking changes should be introduced in major version increases, i.e.., 2.0.0 and above.
The text was updated successfully, but these errors were encountered: