unstale

npm / ol

ol

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

6 breaking4 deprecations33 new APIs and options8 performance20 behavior and defaults48 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 10119 changes

Breaking changes 6

  • Geometries with empty coordinate arrays, except GeometryCollection, are now parsed as null geometries to match the GeoJSON spec recommendation.

    10.11.0release notes

  • Color interpolation now uses sRGB on both Canvas and WebGL, so Canvas gradients may look different; interpolated channels retain fractional values.

    10.11.0release notes

  • WMTS tile grid extent now comes only from an advertised BoundingBox; getExtent() returns null when none is advertised, while tile requests use matrix sizes and limits.

    10.11.0release notes

  • WMTS capabilities-derived wrapX is now based on whether the first tile matrix spans the projection extent; override it to false if a single world copy is desired.

    10.11.0release notes

  • TextPath relies on Intl.Segmenter; very old browsers may need a polyfill.

    10.10.0release notes

  • The separate group option for the GeoZarr source was removed.

    10.9.0release notes

Deprecations 4

  • The BingMaps source is deprecated; use ol/source/ImageTile with the Azure Maps tile API instead.

    10.10.0release notes

  • BingMaps for Enterprise is being retired on June 30th, 2028; the release recommends ImageTile with the Azure Maps tile API.

    10.10.0release notes

  • The ol/format/Polyline function is deprecated without replacement.

    10.7.0release notes

  • ol/array stableSort is deprecated; use the stable built-in Array.sort instead.

    10.7.0release notes

New APIs and options 33

  • Adds a fetchSessionToken option to Google.

    10.11.0release notes

  • The GeoZarr source can visualize generic n-D datacubes.

    10.11.0release notes

  • The method accepts a wrapX option.

    10.11.0release notes

  • The method accepts a wrapX option.

    10.11.0release notes

  • Use interpolate-hcl to retain perceptual color gradients; it is currently supported only by the Canvas renderer.

    10.11.0release notes

  • Raster sources now have basic data tile support.

    10.11.0release notes

  • GeoZarr sources accept storeOptions for headers and credentials.

    10.11.0release notes

  • The new rotateContent option supports crisp rendering on rotated views, including rotated text and point symbols.

    10.11.0release notes

  • The WKT format accepts projection options.

    10.11.0release notes

  • The GeoZarr source supports selecting non-spatial dimensions, such as for time series.

    10.10.0release notes

  • GeoZarr adds support for proj:projjson and proj:wkt2.

    10.10.0release notes

  • Sentinelhub supports setting the response format.

    10.10.0release notes

  • WebGL vector renderers now support text.

    10.10.0release notes

  • GeoTIFF sources now support a custom fetch client.

    10.9.0release notes

  • The ImageLayer base now includes the background option.

    10.9.0release notes

  • GeoTIFF source options now support attributions.

    10.8.0release notes

  • An experimental source supports raster data conforming to the evolving GeoZarr specification.

    10.8.0release notes

  • Modify options now accept a filter function.

    10.8.0release notes

  • A new source supports OGC API Maps.

    10.8.0release notes

  • The new stroke offset option enables line offsets in Canvas rendering.

    10.8.0release notes

  • Canvas map targets support pixelRatio, and the map now has pixelRatio getter and setter methods.

    10.8.0release notes

  • Property definitions now support generics, enabling typed property definitions.

    10.8.0release notes

  • Support for ReferrerPolicy when fetching source data and icons lets requests include a referer header where required.

    10.8.0release notes

  • Bing Maps and Google sources gain extra URL options.

    10.7.0release notes

  • The Extent interaction gains createCondition and drag options.

    10.7.0release notes

  • The Extent interaction gains createCondition and drag options.

    10.7.0release notes

  • Icon style gains a setSrc method for changing its source.

    10.7.0release notes

  • Draw gains a setter and getter for freehand.

    10.7.0release notes

  • ol can be used inside a worker, with full Map support and an (Offscreen)Canvas as the map target.

    10.7.0release notes

  • ZoomToExtent gains FitOptions.

    10.7.0release notes

  • Select gains methods for adding and removing features.

    10.7.0release notes

  • WebGL styles gain the stroke-pattern-start-offset style property.

    10.7.0release notes

  • URL templates using {z}/{x}/{y} are supported.

    10.7.0release notes

Performance 8

  • Tiles no longer needed by the current view are dropped from the queue.

    10.11.0release notes

  • The WebGL text overlay worker is loaded on demand.

    10.11.0release notes

  • Tile rendering draws only lower-zoom remainders instead of clipping and redrawing full tiles.

    10.10.0release notes

  • Opened arrays are cached across tile loads, band arrays open in parallel, tile sizes align with inner shards, and concurrent byte-range requests are coalesced.

    10.9.0release notes

  • Loading striped GeoTIFFs and reprojected WebGL tiles is more efficient.

    10.9.0release notes

  • Filtering out features in WebGL rendering is more efficient.

    10.9.0release notes

  • WebGL instanced rendering improves performance and memory usage.

    10.7.0release notes

  • WebGL layers use a single buffer to improve memory usage.

    10.7.0release notes

Behavior and default changes 20

  • Canvas styles now evaluate the array operator.

    10.11.0release notes

  • WFS 2.0.0 transaction filters now use fes:ResourceId.

    10.11.0release notes

  • APIs that required a Promise now accept any thenable.

    10.11.0release notes

  • When matrixLimits is passed, the returned tile grid restricts requests to the advertised row and column bounds for each zoom level.

    10.10.0release notes

  • The GeoJSON reader uses the configured featureClass to instantiate a Feature.

    10.10.0release notes

  • Images in multi-page GeoTIFFs are sorted automatically.

    10.10.0release notes

  • Long lines are clipped at the render extent boundary for text rendering.

    10.10.0release notes

  • VectorSource removes loaded extents by overlap rather than exact match.

    10.10.0release notes

  • Style variable values are used to determine the type of an expression.

    10.10.0release notes

  • GeoTIFF sources provide min, max, and nodata values per band.

    10.9.0release notes

  • GeoTIFF sources can load unknown projections.

    10.9.0release notes

  • GeoZarr sources can load bands from multiple Zarr groups.

    10.9.0release notes

  • Hit detection now has a default stroke.

    10.9.0release notes

  • The flat-style in operator now accepts literal number arrays as its haystack.

    10.9.0release notes

  • Shared vertices are treated as equal.

    10.9.0release notes

  • Resolution is computed from spatial:bbox and spatial:shape.

    10.9.0release notes

  • Vector tile layers are clipped at the layer extent.

    10.9.0release notes

  • Generic projection code lookup is based on spatialreference.org.

    10.8.0release notes

  • Tracing is supported with the Modify interaction.

    10.7.0release notes

  • VectorTile layers now support reprojection.

    10.7.0release notes

Fixes and other changes 48

  • Canvas styles now evaluate the color operator.

    10.11.0release notes

  • The function now respects the stride parameter.

    10.11.0release notes

  • Fixes target cleanup for MouseWheelZoom.

    10.11.0release notes

  • Fixes rendering of RTL text along lines.

    10.11.0release notes

  • Text is aligned to the visible part of a line only when textAlign is undefined.

    10.11.0release notes

  • Nested WFS 2.0 FeatureCollections are now read correctly.

    10.11.0release notes

  • ImageArcGISRest and TileArcGISRest now support ArcREST case sensitivity.

    10.10.0release notes

  • Decluttering z-index ordering has been fixed.

    10.10.0release notes

  • WebGLTile layers now use the correct GeoTIFF alpha band.

    10.10.0release notes

  • setParams resets the loader for image sources.

    10.10.0release notes

  • Text is split by graphemes so ligatures are no longer cut apart.

    10.10.0release notes

  • LinearRing extent intersection handling has been fixed.

    10.10.0release notes

  • Tracing in the Modify interaction has been fixed.

    10.10.0release notes

  • Text placed along a line now honors offsetX.

    10.10.0release notes

  • Transparency outside source coverage is handled on reprojected WebGLTile layers.

    10.10.0release notes

  • Transforms are no longer skipped on rotated maps.

    10.10.0release notes

  • hasFeature uses an identity check when a feature has an id.

    10.10.0release notes

  • Incorrect VectorTile source resolution calculation has been fixed.

    10.10.0release notes

  • WebGL tile rendering now handles stale tiles.

    10.10.0release notes

  • Cloning a Feature with a custom geometry name is fixed.

    10.9.0release notes

  • GeoZarr nodata handling was improved.

    10.9.0release notes

  • Blur and radius expressions now work after inlining blurSlope computation.

    10.9.0release notes

  • A stroked polygon renders correctly after a non-stroked polygon when overlaps is false.

    10.9.0release notes

  • Snap intersections with mixed GeometryCollection geometries are fixed.

    10.9.0release notes

  • Text on circle features now works with decluttering.

    10.9.0release notes

  • Trackpad pinch-to-zoom deltas are inflated, and zoom feel is consistent with and without constrainResolution.

    10.9.0release notes

  • Failure handling for promise-based vector loaders was fixed.

    10.9.0release notes

  • Hit detection now works for features beyond tile boundaries.

    10.9.0release notes

  • Rendering precision was improved to eliminate artifacts when zoomed in.

    10.9.0release notes

  • Artifacts when zooming far into a WebGLTile layer were fixed.

    10.9.0release notes

  • Geometry updates preserve per-geometry Z and M values.

    10.9.0release notes

  • Dynamic icon color handling for Canvas was fixed.

    10.8.0release notes

  • The bandCount property now works for band expressions.

    10.8.0release notes

  • The Heatmap class now includes its missing event types.

    10.8.0release notes

  • Hit detection at polygon edges was fixed.

    10.8.0release notes

  • setParams() now updates the image request parameters.

    10.8.0release notes

  • The link interaction now works with views that are not fully defined.

    10.8.0release notes

  • The first and last vertices of a polygon are synchronized during a modify drag.

    10.8.0release notes

  • Pattern fill rotation was fixed.

    10.8.0release notes

  • Blank input tiles are avoided when reprojecting.

    10.8.0release notes

  • Feature collection events now fire in the correct order.

    10.8.0release notes

  • Vector layer wrapping behavior was fixed.

    10.8.0release notes

  • The tile cache for raster reprojection source tiles is restored.

    10.7.0release notes

  • Glitched rendering in ReprojDataTile is fixed.

    10.7.0release notes

  • Snap receives fixes, including avoiding duplicate snap events registered on the same feature.

    10.7.0release notes

  • Duplicate rendering is prevented for vector tiles using renderMode: 'vector'.

    10.7.0release notes

  • Boolean attributes in WebGL expressions are now handled properly.

    10.7.0release notes

  • The bounding box from the layer is used in WMTS capabilities.

    10.7.0release notes