10.8.0
The 10.8 release brings new sources: OGCMap for OGC API Maps, and an experimental GeoZarr source for raster data conforming to the evolving GeoZarr specification.
Vector rendering also gets an important new features: finally, we can offset lines. And we have added support for ReferrerPolicy when fetching source data and icons, which may become important because OpenStreetMap already started demanding a referer header when serving tiles. To round up the release, many bugs were fixed, and memory management for image styles was improved.
List of all changes
See below for a complete list of features and fixes.
- Update ol-mapbox-style to dedupe geotiff (by @ahocevar in https://github.com/openlayers/openlayers/pull/17323)
- Update geotiff.js to v3.0 (by @constantinius in https://github.com/openlayers/openlayers/pull/17287)
- referrer policy (by @RobertOrthofer in https://github.com/openlayers/openlayers/pull/17312)
- Do not defer context restoration when clipping decluttered vector layer (by @ahocevar in https://github.com/openlayers/openlayers/pull/17311)
- Avoid using revision in cache key and update key in SentinelHub source (by @tschaub in https://github.com/openlayers/openlayers/pull/17308)
- Fix order of Select interaction's feature collection events (by @M393 in https://github.com/openlayers/openlayers/pull/17301)
- fix: BaseLayer generic backwards compatibiltiy (by @daniluk4000 in https://github.com/openlayers/openlayers/pull/17300)
- Fix: Sync first and last vertex of polygon during modify drag (by @hyeonjun-L in https://github.com/openlayers/openlayers/pull/17293)
- Use .tif extension for overviews to support range requests (by @ahocevar in https://github.com/openlayers/openlayers/pull/17295)
- GeoZarr improvements (by @ahocevar in https://github.com/openlayers/openlayers/pull/17294)
- feat: introduce OGCMap source (by @simonseyock in https://github.com/openlayers/openlayers/pull/17259)
- Fix: Clear cached image when source changes while layer is hidden (by @hyeonjun-L in https://github.com/openlayers/openlayers/pull/17292)
- feat: allow generics for properties definitions (by @daniluk4000 in https://github.com/openlayers/openlayers/pull/17291)
- Fix: pass the strokeOffset to rendering also for MultiLineStrings (by @viktorijasolovjova in https://github.com/openlayers/openlayers/pull/17286)
- Introduce ol.style.Stroke#offset and support line offset in Canvas rendering (by @viktorijasolovjova in https://github.com/openlayers/openlayers/pull/17282)
- Fix GeoZarr bandCount property for band expressions (by @emmanuelmathot in https://github.com/openlayers/openlayers/pull/17279)
- Fix the
setParams()method in ImageWMS do not update request parameters of the image (by @Jonnytoshen in https://github.com/openlayers/openlayers/pull/17254) - Toward GeoZarr (by @openlayers in https://github.com/openlayers/openlayers/pull/17194)
- Add attributions option to GeoTIFF source (by @Jonnytoshen in https://github.com/openlayers/openlayers/pull/17261)
- Fix dynamic icon color handling for canvas (by @johnnyelwailer in https://github.com/openlayers/openlayers/pull/17251)
- Do not release image canvas, because it might be in use (by @ahocevar in https://github.com/openlayers/openlayers/pull/17253)
- Dependency groups for security updates (by @tschaub in https://github.com/openlayers/openlayers/pull/17248)
- Fix pattern fill rotation (by @ajkopinga in https://github.com/openlayers/openlayers/pull/17247)
- Add the newly added methods of Select interaction to the apidoc. (by @Jonnytoshen in https://github.com/openlayers/openlayers/pull/17245)
- Cache regular shapes as imageBitmap instead of canvas (by @ahocevar in https://github.com/openlayers/openlayers/pull/17235)
- fix: fix Heatmap class missing event types (by @Jonnytoshen in https://github.com/openlayers/openlayers/pull/17230)
- Avoid blank input tiles when reprojecting (by @ahocevar in https://github.com/openlayers/openlayers/pull/17225)
- Determine willReadFrequently flag by measuring performance (by @ahocevar in https://github.com/openlayers/openlayers/pull/17215)
- Add getter and setter for the map's pixelRatio (by @ahocevar in https://github.com/openlayers/openlayers/pull/17214)
- Added filter function to Modify options (by @truff in https://github.com/openlayers/openlayers/pull/17206)
- Group dependency updates (by @tschaub in https://github.com/openlayers/openlayers/pull/17210)
- Use named import from puppeteer (by @tschaub in https://github.com/openlayers/openlayers/pull/17209)
- Generic projection code lookup based on spatialreference.org (by @m-mohr in https://github.com/openlayers/openlayers/pull/16576)
- Vector: [Fix] Vector layer wrapping (by @jacob-miller-hq in https://github.com/openlayers/openlayers/pull/17198)
- Improve FlatStyles support for parsing dynamic expressions to more closely match WEBGL (by @johnnyelwailer in https://github.com/openlayers/openlayers/pull/17200)
- Fix failing hitdetection test at edge of polygon (by @M393 in https://github.com/openlayers/openlayers/pull/17202)
- Add pixelRatio support for canvas map targets (by @ahocevar in https://github.com/openlayers/openlayers/pull/17180)
- Functions for transforming a promise for a view (by @tschaub in https://github.com/openlayers/openlayers/pull/17197)
- Make the link interaction work with views that are not fully defined (by @tschaub in https://github.com/openlayers/openlayers/pull/17196)
- Updates for the 10.7.0 release (by @openlayers in https://github.com/openlayers/openlayers/pull/17178)
Dependency Updates
- chore(deps): bump dawidd6/action-download-artifact from 12 to 14 in the actions group (by @openlayers in https://github.com/openlayers/openlayers/pull/17314)
- chore(deps-dev): bump the development-minor-patch group with 6 updates (by @openlayers in https://github.com/openlayers/openlayers/pull/17315)
- chore(deps): bump zarrita from 0.6.0 to 0.6.1 in the production-minor-patch group (by @openlayers in https://github.com/openlayers/openlayers/pull/17317)
- chore(deps-dev): bump jspdf from 4.0.0 to 4.1.0 in the development-security group across 1 directory (by @openlayers in https://github.com/openlayers/openlayers/pull/17318)
- chore(deps): bump zarrita from 0.5.4 to 0.6.0 in the production-minor-patch group (by @openlayers in https://github.com/openlayers/openlayers/pull/17305)
- chore(deps-dev): bump the development-minor-patch group with 5 updates (by @openlayers in https://github.com/openlayers/openlayers/pull/17303)
- chore(deps-dev): bump the development-minor-patch group with 6 updates (by @openlayers in https://github.com/openlayers/openlayers/pull/17299)
- chore(deps-dev): bump jquery from 3.7.1 to 4.0.0 in the development-major group (by @openlayers in https://github.com/openlayers/openlayers/pull/17298)
- chore(deps-dev): bump the development-minor-patch group with 3 updates (by @openlayers in https://github.com/openlayers/openlayers/pull/17289)
- chore(deps-dev): bump the development-minor-patch group with 2 updates (by @openlayers in https://github.com/openlayers/openlayers/pull/17284)
- chore(deps-dev): bump jspdf from 3.0.4 to 4.0.0 in the development-major group (by @openlayers in https://github.com/openlayers/openlayers/pull/17283)
- chore(deps-dev): bump the development-minor-patch group with 2 updates (by @openlayers in https://github.com/openlayers/openlayers/pull/17277)
- chore(deps): bump dawidd6/action-download-artifact from 11 to 12 in the actions group (by @openlayers in https://github.com/openlayers/openlayers/pull/17276)
- chore(deps-dev): bump the development-minor-patch group with 8 updates (by @openlayers in https://github.com/openlayers/openlayers/pull/17274)
- chore(deps-dev): bump the development-minor-patch group across 1 directory with 6 updates (by @openlayers in https://github.com/openlayers/openlayers/pull/17266)
- chore(deps-dev): bump @types/node from 24.10.1 to 25.0.2 in the development-major group (by @openlayers in https://github.com/openlayers/openlayers/pull/17264)
- chore(deps): bump actions/upload-artifact from 5 to 6 in the actions group (by @openlayers in https://github.com/openlayers/openlayers/pull/17263)
- chore(deps-dev): bump the development-minor-patch group with 6 updates (by @openlayers in https://github.com/openlayers/openlayers/pull/17234)
- chore(deps): bump express (by @openlayers in https://github.com/openlayers/openlayers/pull/17223)
- chore(deps-dev): bump node-forge from 1.3.1 to 1.3.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/17217)
- chore(deps-dev): bump the development-minor-patch group with 4 updates (by @openlayers in https://github.com/openlayers/openlayers/pull/17220)
- chore(deps): bump actions/checkout from 5 to 6 in the actions group (by @openlayers in https://github.com/openlayers/openlayers/pull/17221)
- chore(deps): bump github/codeql-action from 3 to 4 (by @openlayers in https://github.com/openlayers/openlayers/pull/17191)
- chore(deps-dev): bump rollup from 4.53.2 to 4.53.3 in the development-minor-patch group (by @openlayers in https://github.com/openlayers/openlayers/pull/17213)
- chore(deps-dev): bump the development-minor-patch group with 12 updates (by @openlayers in https://github.com/openlayers/openlayers/pull/17212)
- chore(deps-dev): bump the development-major group with 5 updates (by @openlayers in https://github.com/openlayers/openlayers/pull/17211)
- chore(deps): bump glob from 10.4.5 to 10.5.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/17203)
- chore(deps-dev): bump js-yaml from 3.14.1 to 3.14.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/17204)