Packages

mapbox-gl

3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed

Upgrading mapbox-gl From 1.1.1 to 1.2.0

1 release in betweenevery note read

Other targets from 1.1.1Newest 1.x1.13.3Latest3.34.2
  1. 1.1.1yours
  2. 1.2.0target
1
change to make
0
advisories fixed
7
new
7
fixes

Before you upgrade

Tick each one off as you go
  • breaking1.2.0

Release by release

  1. 1.2.0

    Migration needed29 Jul 20197 new · 7 fixes
    • breaking

      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)

    • new

      Add *-sort-key layout property for circle, fill, and line layers, to dictate which features appear above others within a single layer

    • new

      Add ability to instantiate maps with specific access tokens

    • new

      Accommodate prefers-reduced-motion settings in browser