docs: maplibre v6 migration research#1
Open
garyo wants to merge 1 commit into
Open
Conversation
Adds docs/maplibre-v6-migration.md — full impact analysis of upgrading from maplibre-gl 5.24.0 to 6.x, covering all pre-release breaking changes, codebase touch points with file:line references, and a suggested upgrade order. https://claude.ai/code/session_01DLvs7r6qNfKdqmuzQF4EKr
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
pelorus-nav | 1d13051 | Commit Preview URL Branch Preview URL |
May 03 2026, 01:06 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Research doc covering the impact of upgrading from
maplibre-gl@5.24.0to v6.x (currently at pre-release6.0.0-6; stable has not shipped yet).Risk level: Medium — no show-stoppers. Key findings:
GeoJSONSource.setDatasecond param removed (6.0.0-3): Zero exposure — none of our 35+ call sites pass a second argument.{get,set}PaintProperty/{get,set}LayoutPropertytype narrowing (6.0.0-1): Small effort — runbun run typecheckafter bump; expect ≤5 trivial fixes (primarily"visibility"string typing).@maplibre/maplibre-gl-style-specpin (24.8.1): The main motivation for upgrading. Once on v6, all style-spec types are re-exported frommaplibre-glitself and the separate pinned dependency can be dropped. 12 files need a one-line import-source change.addProtocolAPI is stable across v5→v6.See
docs/maplibre-v6-migration.mdfor the full breaking-changes table, file:line touch-point list, open questions, and suggested upgrade order.https://claude.ai/code/session_01DLvs7r6qNfKdqmuzQF4EKr
Generated by Claude Code