From 2e5a5406da48c114f6b0b3a24a5f94d4063b9f22 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Oct 2026 13:54:54 +0000 Subject: [PATCH] chore(deps): Bump ol from 10.10.0 to 10.11.0 (#2214) Bumps [ol](https://github.com/openlayers/openlayers) from 10.10.0 to 10.11.0.
Release notes

Sourced from ol's releases.

v10.11.0

10.11.0

The 10.11 release improves styling, raster data and OGC service support, and makes the library leaner to load. The highlights are

Upgrade notes

Fixed GeoJSON parsing of geometries with empty coordinate arrays

Previously, a GeoJSON geometry with an empty coordinates array (e.g. {"type": "Point", "coordinates": []}) produced a geometry with an empty coordinates array. We have now changed this to match the GeoJSON spec's recommendation to treat such geometries (except GeometryCollection) as null geometries. This change should not affect application code, unless it had special handling for geometries with empty coordinates arrays.

Fixed: interpolate mixed colors differently on the Canvas and WebGL renderers

The ['interpolate', ...] operator interpolated colors in the Hue-Chroma-Luminance space on the Canvas renderer, but component-wise in sRGB on the WebGL renderer. The same style produced different gradients depending on which renderer drew it, and neither behaviour was documented. Both now interpolate in sRGB.

Gradients built with interpolate over colors will look slightly different on the Canvas renderer. To keep the previous appearance, use the new interpolate-hcl operator:

// Before
const style = {
'fill-color': ['interpolate', ['linear'], ['get', 'value'], 0, 'red', 1,
'green'],
};
// After - to keep the perceptual gradient
const style = {
'fill-color': ['interpolate-hcl', ['linear'], ['get', 'value'], 0,
'red', 1, 'green'],
};

interpolate-hcl is only supported by the Canvas renderer for now.

With the ['interpolate', ...] operator, channels now keep their fractional part, so operations applied on top of an interpolated color are more accurate. Code reading back a color from an evaluated style may now see a fractional channel.

The WMTS tile grid extent is no longer calculated from the tile matrices

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ol&package-manager=npm_and_yarn&previous-version=10.10.0&new-version=10.11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index b9ee5900..0a91f33f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -44,7 +44,7 @@ "lodash.throttle": "^4.1.1", "maplibre-gl": "^6.12.0", "maputnik-design": "github:maputnik/design#172b06c", - "ol": "^10.10.0", + "ol": "^10.11.0", "ol-mapbox-style": "^13.5.1", "pmtiles": "^4.5.0", "prop-types": "^15.8.1", @@ -9701,9 +9701,9 @@ } }, "node_modules/ol": { - "version": "10.10.0", - "resolved": "https://registry.npmjs.org/ol/-/ol-10.10.0.tgz", - "integrity": "sha512-tLPKn6zl+6uWdPufYlqG/lQzuVUTVmfwahQqVr5+wZNyZecyAtIhMTyOtKpu7ooNDLY2sEjKZNXw9HL+sOjC1A==", + "version": "10.11.0", + "resolved": "https://registry.npmjs.org/ol/-/ol-10.11.0.tgz", + "integrity": "sha512-OJ+lrx7kx/1O7Xx18Ff9QkVnwZIEL0OuhJQSy2sYgzzDvyZ2qHvuZEGAajbSstUyBwaS1OtQ4RWnY84tRMDdqg==", "license": "BSD-2-Clause", "dependencies": { "@types/rbush": "4.0.0", diff --git a/package.json b/package.json index 9c6e105a..6e1d7de1 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "lodash.throttle": "^4.1.1", "maplibre-gl": "^6.12.0", "maputnik-design": "github:maputnik/design#172b06c", - "ol": "^10.10.0", + "ol": "^10.11.0", "ol-mapbox-style": "^13.5.1", "pmtiles": "^4.5.0", "prop-types": "^15.8.1",