unstale

npm / ol-mapbox-style

ol-mapbox-style

What changed in ol-mapbox-style 13, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

14 new APIs and options2 performance6 behavior and defaults9 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.1.1 on npm

ol-mapbox-style 1331 changes

New APIs and options 14

  • Use PatternDescriptor instead of patterns as color for fill-pattern, enabling rendering techniques beyond Canvas 2D.

    13.7.0release notes

  • Adds support for the raster-resampling raster layer property.

    13.5.0release notes

  • New hillshading options are supported, allowing developers to configure hillshading.

    13.4.0release notes

  • The line-offset paint property is supported.

    13.4.0release notes

  • Zoom exaggeration is added for DEM.

    13.4.0release notes

  • Supports retrieving defaults from the style's schema root properties.

    13.3.0release notes

  • Adds support for the hsl expression from the latest Mapbox style spec.

    13.3.0release notes

  • Adds support for the hsla expression from the latest Mapbox style spec.

    13.3.0release notes

  • Adds support for the to-hsla expression from the latest Mapbox style spec.

    13.3.0release notes

  • Supports data-driven visibility from the latest Mapbox style spec.

    13.3.0release notes

  • Adds support for the raster-hue-rotate operation.

    13.2.0release notes

  • Adds support for the raster-opacity operation.

    13.2.0release notes

  • Adds support for the raster-saturation operation.

    13.2.0release notes

  • ol-mapbox-style now has basic support for running in web workers.

    13.1.1release notes

Performance 2

Behavior and default changes 6

  • applyStyle() now allows layers other than Vector or VectorTile.

    13.6.0release notes

  • Updated support for the latest style specification.

    13.4.3release notes

  • Text color and halo are isolated from each other.

    13.4.0release notes

  • Outlines for fill-extrusion layers darken depending on fill-extrusion-height.

    13.3.0release notes

  • Hillshade appearance is adjusted to better match MapLibre.

    13.3.0release notesrelease notes

  • Supports data-driven text-font array entries from the latest Mapbox style spec.

    13.3.0release notes

Fixes and other changes 9

  • Avoids losing patterns after SDFing them.

    13.7.1release notes

  • Cached icons now consider declutterMode, affecting how they are decluttered.

    13.5.1release notes

  • Fixed icon-rotate behavior for icons along lines.

    13.4.3release notes

  • The function/filter cache is invalidated when a layer is removed or added with addMapboxLayer, preventing stale cached values after layer changes.

    13.4.2release notes

  • The library no longer fails when used with OpenLayers versions that do not have Stroke#setOffset().

    13.4.1release notes

  • Raster contrast and alpha handling are fixed.

    13.4.0release notes

  • Improves robustness against failures caused by unsupported features.

    13.3.0release notes

  • Fixes background layer source reuse that could break vector layers.

    13.2.1release notesrelease notes

  • Fixes hillshade colors.

    13.2.0release notes