v9.2.2
The 9.2.2 is a patch release that addresses the issues below.
- Avoid throwing error if ClusterSource source is null (by @mike-000 in https://github.com/openlayers/openlayers/pull/15842)
- Fix feature type generics (by @ahocevar in https://github.com/openlayers/openlayers/pull/15843)
v9.2.1
The 9.2.1 release patches the 9.2.0 release with a fix for a TypeScript issue using vector layers.
See below for a complete list of features and fixes.
- Add test cases for typescript use (by @tschaub in https://github.com/openlayers/openlayers/pull/15834)
- Do not make the source type of a vector layer generic (by @ahocevar in https://github.com/openlayers/openlayers/pull/15831)
v9.2.0
The 9.2 release fixes a number of rendering issues and introduces a few new features. OGC tile sources now support collections selection. Snap events are now more consistent (see below). Type annotations continue to improve, and documentation and examples got a number of updates.
Previously, listeners for the Snap
interaction's snap
event received null
as value for the feature
property when snapped to a segment. Now, the value of the feature
property is always set to the snapped feature.
To distinguish between a vertex and a segment snap, look at the snap
event's segment
property. It will set to null
on a vertex snap, and to the snapped segment on a segment snap.
See below for a complete list of features and fixes.
- Align getStyle() behavior and documentation (by @ahocevar in https://github.com/openlayers/openlayers/pull/15826)
- Calculate reprojection tile ranges for each world (by @mike-000 in https://github.com/openlayers/openlayers/pull/15825)
- Fix removal of render features from vector source (by @sebakerckhof in https://github.com/openlayers/openlayers/pull/15827)
- fix: handle errors in response parsing in xhr loader (by @sebakerckhof in https://github.com/openlayers/openlayers/pull/15808)
- Hit detect symbols with declutterMode: 'none' (by @ahocevar in https://github.com/openlayers/openlayers/pull/15812)
- refactor: remove unneeded '/' for URL construction (by @jansule in https://github.com/openlayers/openlayers/pull/15809)
- Stop using deprecated search API from EPSG.io (by @petrsloup in https://github.com/openlayers/openlayers/pull/15806)
- feat: add collections option to OGCVectorTile source (by @jansule in https://github.com/openlayers/openlayers/pull/15792)
- fix: webgl style regression - force ambiguous match input type to an accepted type (by @sebakerckhof in https://github.com/openlayers/openlayers/pull/15802)
- Add feature type generic to feature loader types (by @sebakerckhof in https://github.com/openlayers/openlayers/pull/15780)
- Accept render features source in WebGLPointsLayer (by @sebakerckhof in https://github.com/openlayers/openlayers/pull/15779)
- Fix WebGL VectorLayer wrapX renderer (by @sakitam-gis in https://github.com/openlayers/openlayers/pull/15785)
- Fix deferred rendering of layer extents, multiple worlds and non-1 opacity (by @ahocevar in https://github.com/openlayers/openlayers/pull/15796)
- Improve performance of deferred rendering (by @ahocevar in https://github.com/openlayers/openlayers/pull/15789)
- Delete palette texture before creating a new context (by @tschaub in https://github.com/openlayers/openlayers/pull/15787)
- Add feature type to vector source signature (by @sebakerckhof in https://github.com/openlayers/openlayers/pull/15774)
- Better generics for vector and vectortile layers (by @ahocevar in https://github.com/openlayers/openlayers/pull/15767)
- Show how to combine a layer with a render function and a standard layer (by @ahocevar in https://github.com/openlayers/openlayers/pull/15762)
- Rebuild executors when declutter state changes (by @ahocevar in https://github.com/openlayers/openlayers/pull/15768)
- Remove unused layer property (by @M393 in https://github.com/openlayers/openlayers/pull/15765)
- fix: Group.d.ts type errors #15756 (by @sakitam-gis in https://github.com/openlayers/openlayers/pull/15757)
- Use outdoor instead of streets style for site and mapbox-style example (by @ahocevar in https://github.com/openlayers/openlayers/pull/15738)
- Fix getFeatures(pixel) regression (by @ahocevar in https://github.com/openlayers/openlayers/pull/15734)
- Add Snap Data: feature (by @CarolineDelerue in https://github.com/openlayers/openlayers/pull/15730)
- Reuse container preparation code (by @ahocevar in https://github.com/openlayers/openlayers/pull/15727)
- Fix:issues#15716, compute the actual height of the text style background (by @Frank-Chan in https://github.com/openlayers/openlayers/pull/15717)
- Fix offscreen-canvas example and make code more web worker friendly (by @ahocevar in https://github.com/openlayers/openlayers/pull/15720)
- update MapTiler maps in examples (by @bolollo in https://github.com/openlayers/openlayers/pull/15725)
- Fix VectorImageLayer declutter description (by @janruo in https://github.com/openlayers/openlayers/pull/15724)
- Fix VectorImageLayer options types (by @janruo in https://github.com/openlayers/openlayers/pull/15713)
- Document the string and number operators (by @tschaub in https://github.com/openlayers/openlayers/pull/15700)
- Update satellite tiles url (by @mike-000 in https://github.com/openlayers/openlayers/pull/15669)
- Tile render order (by @ahocevar in https://github.com/openlayers/openlayers/pull/15685)
- Update terrain-rgb URL Fixes #15686 (by @bolollo in https://github.com/openlayers/openlayers/pull/15687)
- Support for newer IGC format versions (by @ahocevar in https://github.com/openlayers/openlayers/pull/15696)
- Update MapTiler streets url (by @mike-000 in https://github.com/openlayers/openlayers/pull/15688)
- Render vector layers to same css rotated canvas as other layers (by @ahocevar in https://github.com/openlayers/openlayers/pull/15683)
- Only declutter when necessary (by @ahocevar in https://github.com/openlayers/openlayers/pull/15682)
- Add missing api tag on removeFeatures (by @ger-benjamin in https://github.com/openlayers/openlayers/pull/15679)
- Clear RenderBox on DragBox Deactivation (by @behoney in https://github.com/openlayers/openlayers/pull/15671)
Dependency Updates
- Bump puppeteer from 22.8.1 to 22.8.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/15828)
- Bump puppeteer from 22.8.0 to 22.8.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15821)
- Bump semver from 7.6.0 to 7.6.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/15822)
- Bump puppeteer from 22.7.1 to 22.8.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15800)
- Bump jsdoc from 4.0.2 to 4.0.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/15799)
- Bump @octokit/rest from 20.1.0 to 20.1.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15798)
- Bump rollup from 4.16.1 to 4.17.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/15788)
- Bump rollup from 4.16.1 to 4.17.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15782)
- Bump puppeteer from 22.6.5 to 22.7.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15783)
- Bump ol-mapbox-style from 12.3.1 to 12.3.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/15781)
- Bump rollup from 4.14.3 to 4.16.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15761)
- Bump marked from 12.0.1 to 12.0.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/15760)
- Bump ol-stac from 1.0.0-beta.9 to 1.0.0-beta.10 (by @openlayers in https://github.com/openlayers/openlayers/pull/15743)
- Bump puppeteer from 22.6.3 to 22.6.5 (by @openlayers in https://github.com/openlayers/openlayers/pull/15742)
- Bump typescript from 5.4.4 to 5.4.5 (by @openlayers in https://github.com/openlayers/openlayers/pull/15741)
- Bump rollup from 4.14.1 to 4.14.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/15740)
- Bump rollup from 4.13.2 to 4.14.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15712)
- Bump puppeteer from 22.6.1 to 22.6.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/15707)
- Bump webpack-dev-middleware from 7.2.0 to 7.2.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15711)
- Bump @octokit/rest from 20.0.2 to 20.1.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15709)
- Bump typescript from 5.4.3 to 5.4.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/15708)
- Bump rollup-plugin-external-globals from 0.9.2 to 0.10.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15706)
- Bump puppeteer from 22.6.0 to 22.6.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15695)
- Bump webpack-dev-middleware from 7.1.1 to 7.2.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15694)
- Bump rollup from 4.13.0 to 4.13.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/15693)
- Bump mocha from 10.3.0 to 10.4.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15692)
- Bump ol-mapbox-style from 12.2.1 to 12.3.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15691)
- Bump proj4 from 2.10.0 to 2.11.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15663)
- Bump express from 4.18.3 to 4.19.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/15684)
- Bump typescript from 5.4.2 to 5.4.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/15661)
- Bump express from 4.18.3 to 4.19.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15662)
- Bump webpack-dev-server from 5.0.3 to 5.0.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/15664)
- Bump puppeteer from 22.5.0 to 22.6.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15665)
- Bump webpack-dev-middleware from 7.1.0 to 7.1.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15666)
- Bump webpack from 5.90.3 to 5.91.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15667)
- @bolollo made their first contribution in https://github.com/openlayers/openlayers/pull/15687
- @janruo made their first contribution in https://github.com/openlayers/openlayers/pull/15713
- @Frank-Chan made their first contribution in https://github.com/openlayers/openlayers/pull/15717
- @CarolineDelerue made their first contribution in https://github.com/openlayers/openlayers/pull/15730
- @sakitam-fdd made their first contribution in https://github.com/openlayers/openlayers/pull/15757
Full Changelog: https://github.com/openlayers/openlayers/compare/v9.1.0...v9.2.0
v9.1.0
The 9.1 release fixes a few rendering regressions introduced in v9.0. It introduces bulk feature removal in Vector sources, addresses attribution consistency, includes new style operators, and adds the Alidade Satellite style to the Stamen source. Moreover, it ensures compliance with Google's terms of use for attribution handling of the Google source.
- Updates for the 9.0.0 release by @ahocevar in https://github.com/openlayers/openlayers/pull/15584
- Bump puppeteer from 22.2.0 to 22.3.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15585
- Bump karma from 6.4.2 to 6.4.3 by @dependabot in https://github.com/openlayers/openlayers/pull/15588
- Bump eslint from 8.56.0 to 8.57.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15587
- Bump ol-mapbox-style from 12.2.0 to 12.2.1 by @dependabot in https://github.com/openlayers/openlayers/pull/15586
- feat: add to-string operator by @fredj in https://github.com/openlayers/openlayers/pull/15591
- Add 'in' and 'between' operators by @fredj in https://github.com/openlayers/openlayers/pull/15594
- Add Alidade Satellite style by @ianthetechie in https://github.com/openlayers/openlayers/pull/15597
- Retrieve Google attributions automatically via their API and provide an example showing how to add the Google logo by @fnicollet in https://github.com/openlayers/openlayers/pull/15598
- Do not use arrays for non-consecutive zIndex keys by @ahocevar in https://github.com/openlayers/openlayers/pull/15600
- Listen for
change:size
event in Attributions example by @mike-000 in https://github.com/openlayers/openlayers/pull/15603 - Bump express from 4.18.2 to 4.18.3 by @dependabot in https://github.com/openlayers/openlayers/pull/15607
- Bump karma-firefox-launcher from 2.1.2 to 2.1.3 by @dependabot in https://github.com/openlayers/openlayers/pull/15608
- Make UTF wrapX and empty string attribution handling consistent with TileJSON by @mike-000 in https://github.com/openlayers/openlayers/pull/15604
- Updates to the Google attribution by @tschaub in https://github.com/openlayers/openlayers/pull/15602
- Mention
ZoomToExtent
in breaking changes ofv9.0.0
by @JakobMiksch in https://github.com/openlayers/openlayers/pull/15616 - Fix rendering nothing with declutter and postrender listener by @ahocevar in https://github.com/openlayers/openlayers/pull/15630
- Bump puppeteer from 22.3.0 to 22.4.1 by @dependabot in https://github.com/openlayers/openlayers/pull/15623
- Bump metalsmith from 2.6.2 to 2.6.3 by @dependabot in https://github.com/openlayers/openlayers/pull/15624
- Bump typescript from 5.3.3 to 5.4.2 by @dependabot in https://github.com/openlayers/openlayers/pull/15626
- Bump ol-stac from 1.0.0-beta.8 to 1.0.0-beta.9 by @dependabot in https://github.com/openlayers/openlayers/pull/15627
- Bump marked from 12.0.0 to 12.0.1 by @dependabot in https://github.com/openlayers/openlayers/pull/15628
- Bump rollup from 4.12.0 to 4.13.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15633
- Fix decluttering opacity, zIndex and circles by @ahocevar in https://github.com/openlayers/openlayers/pull/15614
- Store previous transform in FrameState by @ahocevar in https://github.com/openlayers/openlayers/pull/15620
- Bump follow-redirects from 1.15.5 to 1.15.6 by @dependabot in https://github.com/openlayers/openlayers/pull/15645
- Add an option to remove feature silently in ol.source.Vector. by @ger-benjamin in https://github.com/openlayers/openlayers/pull/15643
- Bump puppeteer from 22.4.1 to 22.5.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15648
- Bump webpack-dev-server from 5.0.2 to 5.0.3 by @dependabot in https://github.com/openlayers/openlayers/pull/15647
- Calculate canvas width and height the same way for all renderers by @ahocevar in https://github.com/openlayers/openlayers/pull/15652
- Bump webpack-dev-middleware from 7.0.0 to 7.1.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15657
- @fnicollet made their first contribution in https://github.com/openlayers/openlayers/pull/15598
Full Changelog: https://github.com/openlayers/openlayers/compare/v9.0.0...v9.1.0
v9.0.0
The 9.0 release add several new features, including a Google Maps source (finally!), improved WebGL line rendering, and a new symbol and text decluttering implementation. We also improved and broadened flat styles support for both WebGL and Canvas 2D renderers. For better developer experience, we made more types generic and fixed some issues with types.
Backwards incompatible changes
Improved render order of decluttered items
Decluttered items in Vector and VectorTile layers now maintain the render order of the layers and within a layer. They do not get lifted to a higher place in the stack any more.
For most use cases, this is the desired behavior. If, however, you've been relying on the previous behavior, you now have to create separate layers above the layer stack, with just the styles for the declutter items.
Map#flushDeclutterItems()
Removal of It is no longer necessary to call this function to put layers above decluttered symbols and text, because decluttering no longer lifts elements above the layer stack.
To upgrade, simply remove the code where you use the flushDeclutterItems()
method.
ol/style
Changes in - Removed the
ol/style/RegularShape
'sradius1
property. Useradius
for regular polygons orradius
andradius2
for stars. - Removed the
shape-radius1
property fromol/style/flat~FlatShape
. Useshape-radius
instead.
GeometryCollection
constructor
ol/geom/GeometryCollection
can no longer be created without providing a Geometry array. Empty arrays are still valid.
ol/interaction/Draw
- The
finishDrawing()
method now returns the drawn feature ornull
if no drawing could be finished. Previously it returnedundefined
.
What's Changed
- Bump dev version to v9 by @MoonE in https://github.com/openlayers/openlayers/pull/15315
- Fix reading of flat style icon declutter mode by @MoonE in https://github.com/openlayers/openlayers/pull/15314
- Require Geometry array in GeometryCollection constructor by @MoonE in https://github.com/openlayers/openlayers/pull/15190
- Remove radius1 for regular shapes, use radius instead by @MoonE in https://github.com/openlayers/openlayers/pull/15191
- Increase alpha precision in rgba strings created from color arrays by @mike-000 in https://github.com/openlayers/openlayers/pull/15316
- Fix issue with extractGeometryName in the GeoJSON format by @tschaub in https://github.com/openlayers/openlayers/pull/15319
- Bump marked from 9.1.5 to 10.0.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15320
- Bump @types/arcgis-rest-api from 10.4.7 to 10.4.8 by @dependabot in https://github.com/openlayers/openlayers/pull/15321
- Bump globby from 13.2.2 to 14.0.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15322
- Bump @types/offscreencanvas from 2019.7.2 to 2019.7.3 by @dependabot in https://github.com/openlayers/openlayers/pull/15323
- Bump @types/topojson-specification from 1.0.4 to 1.0.5 by @dependabot in https://github.com/openlayers/openlayers/pull/15324
- Bump puppeteer from 21.5.0 to 21.5.1 by @dependabot in https://github.com/openlayers/openlayers/pull/15326
- Bump @types/geojson from 7946.0.12 to 7946.0.13 by @dependabot in https://github.com/openlayers/openlayers/pull/15328
- Bump rollup from 4.3.0 to 4.4.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15329
- Bump @types/pbf from 3.0.4 to 3.0.5 by @dependabot in https://github.com/openlayers/openlayers/pull/15327
- Updates for the 8.2.0 release by @ahocevar in https://github.com/openlayers/openlayers/pull/15333
- Fill pattern for Canvas renderer flat styles by @ahocevar in https://github.com/openlayers/openlayers/pull/15318
- WebGL / Fix hit detection for vector layers by @jahow in https://github.com/openlayers/openlayers/pull/15340
- More specific return types in Format#readFeatures by @ahocevar in https://github.com/openlayers/openlayers/pull/15338
- WebGL / Fix pattern fill issues with vector tiles by @jahow in https://github.com/openlayers/openlayers/pull/15317
- Bump actions/github-script from 6 to 7 by @dependabot in https://github.com/openlayers/openlayers/pull/15354
- Extend WebGL color operator by @lysek in https://github.com/openlayers/openlayers/pull/15359
- Fix WMTS Capabilities Layer.BoundingBox by @ltshb in https://github.com/openlayers/openlayers/pull/15364
- Revert "Fix WMTS Capabilities Layer.BoundingBox" by @ltshb in https://github.com/openlayers/openlayers/pull/15366
- Fix vectortile opacity in layer groups by @ahocevar in https://github.com/openlayers/openlayers/pull/15365
- Align sources to pixels in stitchContext when interpolate false by @mike-000 in https://github.com/openlayers/openlayers/pull/15343
- Bump eslint from 8.53.0 to 8.54.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15353
- Bump rollup-plugin-external-globals from 0.9.0 to 0.9.1 by @dependabot in https://github.com/openlayers/openlayers/pull/15352
- Bump rollup from 4.4.0 to 4.5.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15351
- Bump puppeteer from 21.5.1 to 21.5.2 by @dependabot in https://github.com/openlayers/openlayers/pull/15350
- Bump metalsmith from 2.6.1 to 2.6.2 by @dependabot in https://github.com/openlayers/openlayers/pull/15349
- Bump @types/proj4 from 2.5.4 to 2.5.5 by @dependabot in https://github.com/openlayers/openlayers/pull/15348
- Bump rollup from 4.5.0 to 4.5.2 by @dependabot in https://github.com/openlayers/openlayers/pull/15373
- Create css matrix without using the DOM by @ahocevar in https://github.com/openlayers/openlayers/pull/15344
- Accept any service URL for arcgisRest by @ahocevar in https://github.com/openlayers/openlayers/pull/15355
- End drawing when appendCoordinates() hits maxPoints by @ahocevar in https://github.com/openlayers/openlayers/pull/15371
- Support case expressions in Canvas rendering by @tschaub in https://github.com/openlayers/openlayers/pull/15376
- Fix TransactionResponse type by @ahocevar in https://github.com/openlayers/openlayers/pull/15375
- Improve return type of JSONFeatureFormat#readFeature by @ahocevar in https://github.com/openlayers/openlayers/pull/15377
- Make empty GeoJSON coordinate arrays work again by @ahocevar in https://github.com/openlayers/openlayers/pull/15388
- Bump rollup from 4.5.2 to 4.6.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15383
- Bump ol-mapbox-style from 12.1.0 to 12.1.1 by @dependabot in https://github.com/openlayers/openlayers/pull/15382
- Bump typescript from 5.2.2 to 5.3.2 by @dependabot in https://github.com/openlayers/openlayers/pull/15381
- Fix WMTS Capabilities Layer.BoundingBox by @ltshb in https://github.com/openlayers/openlayers/pull/15392
- Bump clean-css-cli from 5.6.2 to 5.6.3 by @dependabot in https://github.com/openlayers/openlayers/pull/15398
- Bump rollup from 4.6.0 to 4.6.1 by @dependabot in https://github.com/openlayers/openlayers/pull/15396
- Bump fs-extra from 11.1.1 to 11.2.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15399
- Bump eslint from 8.54.0 to 8.55.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15397
- Bump marked from 10.0.0 to 11.0.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15400
- Replace 📦 with 📦 by @tschaub in https://github.com/openlayers/openlayers/pull/15405
- Update link to terrain-rgb in sea-level example by @fredj in https://github.com/openlayers/openlayers/pull/15403
- Fix return type for getOverlayById by @helgee in https://github.com/openlayers/openlayers/pull/15412
- Fix
updateParams
in ImageMapGuide and ImageArcGISRest by @mike-000 in https://github.com/openlayers/openlayers/pull/15410 - Implement
geometry-type
operator in CPU by @jahow in https://github.com/openlayers/openlayers/pull/15414 - Bump rollup from 4.6.1 to 4.8.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15419
- Bump marked from 11.0.0 to 11.0.1 by @dependabot in https://github.com/openlayers/openlayers/pull/15420
- Bump puppeteer from 21.5.2 to 21.6.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15421
- Bump typescript from 5.3.2 to 5.3.3 by @dependabot in https://github.com/openlayers/openlayers/pull/15422
- Fix RenderFeature#clone() for Point geometries by @ahocevar in https://github.com/openlayers/openlayers/pull/15433
- Bump github/codeql-action from 2 to 3 by @dependabot in https://github.com/openlayers/openlayers/pull/15434
- Bump dawidd6/action-download-artifact from 2 to 3 by @dependabot in https://github.com/openlayers/openlayers/pull/15435
- Bump actions/upload-artifact from 3 to 4 by @dependabot in https://github.com/openlayers/openlayers/pull/15436
- Bump marked from 11.0.1 to 11.1.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15437
- Bump puppeteer from 21.6.0 to 21.6.1 by @dependabot in https://github.com/openlayers/openlayers/pull/15438
- Bump eslint from 8.55.0 to 8.56.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15439
- Bump rollup from 4.8.0 to 4.9.1 by @dependabot in https://github.com/openlayers/openlayers/pull/15440
- Bump geotiff from 2.1.0 to 2.1.1 by @dependabot in https://github.com/openlayers/openlayers/pull/15449
- Handle user coordinates in ZoomToExtent by @mike-000 in https://github.com/openlayers/openlayers/pull/15448
- Add Graticule rendering test by @mike-000 in https://github.com/openlayers/openlayers/pull/15450
- Add nanometer to scaleline by @sunilkpai in https://github.com/openlayers/openlayers/pull/15453
- Bump rollup from 4.9.1 to 4.9.2 by @dependabot in https://github.com/openlayers/openlayers/pull/15457
- Bump source-map-loader from 4.0.1 to 4.0.2 by @dependabot in https://github.com/openlayers/openlayers/pull/15456
- Bump webpack-dev-middleware from 6.1.1 to 7.0.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15454
- Bump marked from 11.1.0 to 11.1.1 by @dependabot in https://github.com/openlayers/openlayers/pull/15455
- Make VectorLayer#getFeatures(pixel) work with useGeographic() by @ahocevar in https://github.com/openlayers/openlayers/pull/15432
- Updated linter config by @tschaub in https://github.com/openlayers/openlayers/pull/15460
- Conditional return types for getFeatureById by @ahocevar in https://github.com/openlayers/openlayers/pull/15379
- Bump puppeteer from 21.6.1 to 21.7.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15469
- Bump rollup from 4.9.2 to 4.9.4 by @dependabot in https://github.com/openlayers/openlayers/pull/15468
- Bump follow-redirects from 1.14.8 to 1.15.4 by @dependabot in https://github.com/openlayers/openlayers/pull/15473
- Update examples codesandbox linter config to match #15460 by @mike-000 in https://github.com/openlayers/openlayers/pull/15482
- Generate types for the full build by @ahocevar in https://github.com/openlayers/openlayers/pull/15481
- Bump rollup from 4.9.4 to 4.9.5 by @dependabot in https://github.com/openlayers/openlayers/pull/15487
- Bump copy-webpack-plugin from 11.0.0 to 12.0.1 by @dependabot in https://github.com/openlayers/openlayers/pull/15486
- Bump proj4 from 2.9.2 to 2.10.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15485
- Bump source-map-loader from 4.0.2 to 5.0.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15502
- Bump rollup from 4.9.5 to 4.9.6 by @dependabot in https://github.com/openlayers/openlayers/pull/15501
- Bump copy-webpack-plugin from 12.0.1 to 12.0.2 by @dependabot in https://github.com/openlayers/openlayers/pull/15500
- Bump geotiff from 2.1.1 to 2.1.2 by @dependabot in https://github.com/openlayers/openlayers/pull/15499
- Bump rollup-plugin-external-globals from 0.9.1 to 0.9.2 by @dependabot in https://github.com/openlayers/openlayers/pull/15498
- Add coalesce operator to expressions by @slippyr4 in https://github.com/openlayers/openlayers/pull/15504
- Bump puppeteer from 21.7.0 to 21.9.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15513
- Bump marked from 11.1.1 to 11.2.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15514
- Bump ol-stac from 1.0.0-beta.6 to 1.0.0-beta.7 by @dependabot in https://github.com/openlayers/openlayers/pull/15516
- Bump webpack from 5.89.0 to 5.90.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15515
- Add GPX metadata parsing by @pakb in https://github.com/openlayers/openlayers/pull/15507
- Change Geometry.transform return type to 'this' by @fredj in https://github.com/openlayers/openlayers/pull/15523
- Clip to source tile grid in ReprojDataTile by @mike-000 in https://github.com/openlayers/openlayers/pull/15484
- Generics for vector and vectortile source's formats by @ahocevar in https://github.com/openlayers/openlayers/pull/15512
- Bump ol-mapbox-style from 12.1.1 to 12.2.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15533
- Bump marked from 11.2.0 to 12.0.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15531
- Bump @types/geojson from 7946.0.13 to 7946.0.14 by @dependabot in https://github.com/openlayers/openlayers/pull/15536
- Bump karma-webpack from 5.0.0 to 5.0.1 by @dependabot in https://github.com/openlayers/openlayers/pull/15535
- Bump ol-stac from 1.0.0-beta.7 to 1.0.0-beta.8 by @dependabot in https://github.com/openlayers/openlayers/pull/15534
- Bump puppeteer from 21.9.0 to 22.0.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15532
- Bump webpack from 5.90.0 to 5.90.1 by @dependabot in https://github.com/openlayers/openlayers/pull/15537
- Check OGC
orderedAxes
before defaulting to projection axis orientation by @mike-000 in https://github.com/openlayers/openlayers/pull/15524 - WMTS
wmtsCap['Contents']['Layer']
could be undefined by @nboisteault in https://github.com/openlayers/openlayers/pull/15525 - New decluttering by @ahocevar in https://github.com/openlayers/openlayers/pull/15466
- Fix typos in upgrade-notes.md by @fredj in https://github.com/openlayers/openlayers/pull/15543
- WebGL / Improve line antialiasing by @jahow in https://github.com/openlayers/openlayers/pull/15554
- Add note about cartesian measurements on scaleline by @weskamm in https://github.com/openlayers/openlayers/pull/15556
- Bump semver from 7.5.4 to 7.6.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15551
- Bump rollup from 4.9.6 to 4.10.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15550
- Bump mocha from 10.2.0 to 10.3.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15549
- Bump globby from 14.0.0 to 14.0.1 by @dependabot in https://github.com/openlayers/openlayers/pull/15548
- Bump geotiff from 2.1.2 to 2.1.3 by @dependabot in https://github.com/openlayers/openlayers/pull/15547
- Bump rollup from 4.10.0 to 4.12.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15560
- Bump webpack-dev-server from 4.15.1 to 5.0.2 by @dependabot in https://github.com/openlayers/openlayers/pull/15562
- Bump webpack from 5.90.1 to 5.90.3 by @dependabot in https://github.com/openlayers/openlayers/pull/15565
- Google maps source by @tschaub in https://github.com/openlayers/openlayers/pull/15465
- Dispatch prerender event before image rendering in hybrid mode by @ahocevar in https://github.com/openlayers/openlayers/pull/15566
- Export Google source from ol/source.js by @tschaub in https://github.com/openlayers/openlayers/pull/15567
- Avoid circular ol <-> ol-mapbox-style dependency from old versions by @ahocevar in https://github.com/openlayers/openlayers/pull/15569
- Also defer rendering of image layers when decluttering is needed by @ahocevar in https://github.com/openlayers/openlayers/pull/15570
- Bump ip from 1.1.8 to 1.1.9 by @dependabot in https://github.com/openlayers/openlayers/pull/15573
- Bump puppeteer from 22.0.0 to 22.2.0 by @dependabot in https://github.com/openlayers/openlayers/pull/15561
New Contributors
- @ltshb made their first contribution in https://github.com/openlayers/openlayers/pull/15364
- @helgee made their first contribution in https://github.com/openlayers/openlayers/pull/15412
- @sunilkpai made their first contribution in https://github.com/openlayers/openlayers/pull/15453
- @slippyr4 made their first contribution in https://github.com/openlayers/openlayers/pull/15504
- @pakb made their first contribution in https://github.com/openlayers/openlayers/pull/15507
Full Changelog: https://github.com/openlayers/openlayers/compare/v8.2.0...v9.0.0
v8.2.0
The 8.2 release includes fixes for a few bugs in the 8.1 release and a couple new enhancements, including new WebGL features and support for ol/render/Feature
for vector layers. Nothing special is required when upgrading from 8.1. Only TypeScript users might have to make minor changes, because some types have been made more strict.
List of all changes
See below for a complete list of features and fixes.
- Segment snap (by @ahocevar in https://github.com/openlayers/openlayers/pull/15312)
- Export TileGrid and WMTSTileGrid from ol/tilegrid (by @mike-000 in https://github.com/openlayers/openlayers/pull/15309)
- WebGL / Add support for patterns in polygons and lines (by @jahow in https://github.com/openlayers/openlayers/pull/15279)
- Use ol.css from example build, logos and site css from the website (by @ahocevar in https://github.com/openlayers/openlayers/pull/15280)
- Use local theme instead of root website theme for versioned examples (by @ahocevar in https://github.com/openlayers/openlayers/pull/15277)
- Make
apiKey
andretina
properties optional (by @ahocevar in https://github.com/openlayers/openlayers/pull/15278) - Fix
fromUserResolution
andtoUserResolution
foruseGeographic()
(by @kikuchan in https://github.com/openlayers/openlayers/pull/15214) - fix(Map): use same size calculation in
updateSize
andupdateViewportSize_
(by @simonseyock in https://github.com/openlayers/openlayers/pull/15269) - Add a GLSL compiler for expressions (by @jahow in https://github.com/openlayers/openlayers/pull/15121)
- Implement ID operator for style expression (by @behoney in https://github.com/openlayers/openlayers/pull/15271)
- Moved geometry type check for hit detection in Modify interaction (by @adhaca in https://github.com/openlayers/openlayers/pull/15270)
- Fix ShaderBuilder for with symbolRotateWithView (by @kikuchan in https://github.com/openlayers/openlayers/pull/15229)
- Better types for geometries (by @MoonE in https://github.com/openlayers/openlayers/pull/15196)
- Add support for user projections to WebGLPoints layer (by @kikuchan in https://github.com/openlayers/openlayers/pull/15234)
- #14554: WFS 2.0.0 writeTransaction UPDATE missing ValueReference - fix (by @arekgotfryd in https://github.com/openlayers/openlayers/pull/15197)
- Style Expressions Concat Function (by @MannyKSoSo in https://github.com/openlayers/openlayers/pull/15250)
- Fix TileImage's transition is incorrect when re-projection (by @yujinpan in https://github.com/openlayers/openlayers/pull/15239)
- Allow
touch-action: pan-x pan-y;
on viewport (by @mike-000 in https://github.com/openlayers/openlayers/pull/15208) - More strict type checks (by @MoonE in https://github.com/openlayers/openlayers/pull/15189)
- Cluster example duplicate if condition removed (by @ShanteshSindgi in https://github.com/openlayers/openlayers/pull/15188)
- Fix some more strict type check problems (by @MoonE in https://github.com/openlayers/openlayers/pull/15184)
- Strict type checks for select files (by @MoonE in https://github.com/openlayers/openlayers/pull/15181)
- Make rules documentation example syntax valid (by @mike-000 in https://github.com/openlayers/openlayers/pull/15179)
- Do not use stitchContext for ReprojImage (by @mike-000 in https://github.com/openlayers/openlayers/pull/15168)
- Interpolation support for Canvas styles (by @tschaub in https://github.com/openlayers/openlayers/pull/15141)
- Create new loader if view projection changes (by @mike-000 in https://github.com/openlayers/openlayers/pull/15165)
- Add properties to WebGLTileLayer options type (by @sebakerckhof in https://github.com/openlayers/openlayers/pull/15164)
- Throw an error when building flat styles that result in an empty style (by @tschaub in https://github.com/openlayers/openlayers/pull/15142)
- docs: update docs for draw interaction style (by @simonseyock in https://github.com/openlayers/openlayers/pull/15163)
- WebGL / fix hit detection for vector layer on certain systems (by @jahow in https://github.com/openlayers/openlayers/pull/15159)
- Properly hit detect circles after updating size (by @tschaub in https://github.com/openlayers/openlayers/pull/15143)
- Parse more variety of color strings (by @tschaub in https://github.com/openlayers/openlayers/pull/15137)
- WebGL / Implement tile masking for vector tiles (by @jahow in https://github.com/openlayers/openlayers/pull/15127)
- Fix the type for VectorTile features (by @ahocevar in https://github.com/openlayers/openlayers/pull/15131)
- Add hit detection support to WebGL vector layer (by @gberaudo in https://github.com/openlayers/openlayers/pull/15120)
- New expression operators, allow chain of args validator (by @tschaub in https://github.com/openlayers/openlayers/pull/15130)
- Named color parsing (by @tschaub in https://github.com/openlayers/openlayers/pull/15128)
- Make RenderFeature work for untiled vector data (by @ahocevar in https://github.com/openlayers/openlayers/pull/15123)
- #11229: add more description for z parameter of getTileCoordForCoordA… (by @arekgotfryd in https://github.com/openlayers/openlayers/pull/15124)
- Parse JSON only once (by @ahocevar in https://github.com/openlayers/openlayers/pull/15122)
- Make tooltip / hint on hover example (by @arekgotfryd in https://github.com/openlayers/openlayers/pull/15117)
- Support updating and tracking extra params in the link interaction (by @tschaub in https://github.com/openlayers/openlayers/pull/15116)
- Add support for user projections to WebGL rendering (by @tschaub in https://github.com/openlayers/openlayers/pull/15118)
- setStyle should pass paletteTextures in WebGLTile Layer and Renderer (by @malaretv in https://github.com/openlayers/openlayers/pull/15101)
- Allow render features to be transformed (by @tschaub in https://github.com/openlayers/openlayers/pull/15115)
- WebGL / only check polygons winding order for RenderFeature (by @jahow in https://github.com/openlayers/openlayers/pull/15114)
- Make inflateEnds work regardless of the y coordinate orientation (by @ahocevar in https://github.com/openlayers/openlayers/pull/15113)
- Add getFeatureInfoUrl and getLegendUrl functions to ol/wms (by @ahocevar in https://github.com/openlayers/openlayers/pull/15102)
- Return loaded image when decode fails (by @ahocevar in https://github.com/openlayers/openlayers/pull/15103)
- Do not attempt to decode image if
src
is not set (by @mike-000 in https://github.com/openlayers/openlayers/pull/15094) - Updates for the 8.1.0 release (by @openlayers in https://github.com/openlayers/openlayers/pull/15091)
Dependency Updates
- Bump puppeteer from 21.4.1 to 21.5.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15305)
- Bump rollup from 4.1.5 to 4.3.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15304)
- Bump eslint from 8.52.0 to 8.53.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15303)
- Bump sinon from 17.0.0 to 17.0.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15302)
- Bump ol-mapbox-style from 12.0.0 to 12.1.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15301)
- Bump marked from 9.1.3 to 9.1.5 (by @openlayers in https://github.com/openlayers/openlayers/pull/15300)
- Bump proj4 from 2.9.1 to 2.9.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/15283)
- Bump rollup from 4.1.4 to 4.1.5 (by @openlayers in https://github.com/openlayers/openlayers/pull/15284)
- Bump marked from 9.1.2 to 9.1.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/15285)
- Bump @types/geojson from 7946.0.11 to 7946.0.12 (by @openlayers in https://github.com/openlayers/openlayers/pull/15286)
- Bump puppeteer from 21.4.0 to 21.4.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15287)
- Bump actions/setup-node from 3 to 4 (by @openlayers in https://github.com/openlayers/openlayers/pull/15282)
- Bump geotiff from 2.0.7 to 2.1.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15288)
- Bump rollup and rollup-plugin-external (by @openlayers in https://github.com/openlayers/openlayers/pull/15276)
- Bump eslint from 8.50.0 to 8.52.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15267)
- Bump @types/offscreencanvas from 2019.7.1 to 2019.7.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/15266)
- Bump loglevelnext from 5.0.6 to 6.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15260)
- Bump @types/topojson-specification from 1.0.3 to 1.0.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/15265)
- Bump @types/arcgis-rest-api from 10.4.6 to 10.4.7 (by @openlayers in https://github.com/openlayers/openlayers/pull/15262)
- Bump sinon from 16.1.0 to 17.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15264)
- Bump @types/proj4 from 2.5.3 to 2.5.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/15263)
- Bump @types/pbf from 3.0.3 to 3.0.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/15261)
- Bump puppeteer from 21.3.6 to 21.4.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15259)
- Bump @rollup/plugin-node-resolve from 15.2.1 to 15.2.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/15223)
- Bump @rollup/plugin-terser from 0.4.3 to 0.4.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/15224)
- Bump sinon from 16.0.0 to 16.1.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15222)
- Bump @rollup/plugin-commonjs from 25.0.4 to 25.0.7 (by @openlayers in https://github.com/openlayers/openlayers/pull/15240)
- Bump marked from 9.0.3 to 9.1.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/15243)
- Bump webpack from 5.88.2 to 5.89.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15242)
- Bump proj4 from 2.9.0 to 2.9.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15244)
- Bump @octokit/rest from 20.0.1 to 20.0.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/15200)
- Bump puppeteer from 21.3.4 to 21.3.6 (by @openlayers in https://github.com/openlayers/openlayers/pull/15199)
- Bump rollup from 3.29.3 to 3.29.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/15198)
- Bump @types/arcgis-rest-api from 10.4.5 to 10.4.6 (by @openlayers in https://github.com/openlayers/openlayers/pull/15173)
- Bump @types/geojson from 7946.0.10 to 7946.0.11 (by @openlayers in https://github.com/openlayers/openlayers/pull/15174)
- Bump @types/pbf from 3.0.2 to 3.0.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/15175)
- Bump @types/proj4 from 2.5.2 to 2.5.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/15177)
- Bump rollup from 3.29.2 to 3.29.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/15178)
- Bump eslint from 8.49.0 to 8.50.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15172)
- Bump marked from 9.0.2 to 9.0.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/15176)
- Bump puppeteer from 21.2.1 to 21.3.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/15171)
- Bump color-rgba from 2.4.0 to 3.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15149)
- Bump puppeteer from 21.1.1 to 21.2.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15153)
- Bump ol-mapbox-style from 11.0.3 to 12.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15150)
- Bump marked from 9.0.0 to 9.0.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/15151)
- Bump rollup from 3.29.1 to 3.29.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/15152)
- Bump yargs from 17.7.1 to 17.7.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/15154)
- Bump @types/topojson-specification from 1.0.2 to 1.0.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/15155)
- Bump sinon from 15.2.0 to 16.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15148)
- Bump rollup from 3.28.1 to 3.29.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15112)
- Bump marked from 8.0.0 to 9.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15110)
- Bump actions/checkout from 3 to 4 (by @openlayers in https://github.com/openlayers/openlayers/pull/15108)
- Bump eslint from 8.48.0 to 8.49.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15111)
New Contributors
- @ShanteshSindgi made their first contribution in https://github.com/openlayers/openlayers/pull/15188
- @yujinpan made their first contribution in https://github.com/openlayers/openlayers/pull/15239
- @MannyKSoSo made their first contribution in https://github.com/openlayers/openlayers/pull/15250
- @adhaca made their first contribution in https://github.com/openlayers/openlayers/pull/15270
- @behoney made their first contribution in https://github.com/openlayers/openlayers/pull/15271
Full Changelog: https://github.com/openlayers/openlayers/compare/v8.1.0...v8.2.0
v8.1.0
The 8.1 release includes fixes for a few bugs in the 8.0 release and a couple new enhancements. Nothing special is required when upgrading from 8.0. See the upgrade notes for details on upgrading from a 7.x release.
List of all changes
See below for a complete list of features and fixes.
- Change the style code in canvas-gradient-pattern.js to the previous … (by @ragolodc in https://github.com/openlayers/openlayers/pull/15086)
- Fix invalid layer name (by @stadiamaps in https://github.com/openlayers/openlayers/pull/15088)
- Avoid Chrome/Edge deprecated feature warning (by @mike-000 in https://github.com/openlayers/openlayers/pull/15075)
- Accept a number or an array of numbers for icon scale (by @tschaub in https://github.com/openlayers/openlayers/pull/15074)
- Webgl / add styling options for lines: joins, caps, offset, dash (by @jahow in https://github.com/openlayers/openlayers/pull/15058)
- Add missing links to old version (by @MoonE in https://github.com/openlayers/openlayers/pull/15072)
- Recreate WebGL helper when context is lost and restored (by @puckipedia in https://github.com/openlayers/openlayers/pull/15066)
- Updates for the 8.0.0 release (by @openlayers in https://github.com/openlayers/openlayers/pull/15068)
Dependency Updates
- Bump jquery from 3.7.0 to 3.7.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15082)
- Bump puppeteer from 21.1.0 to 21.1.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15081)
- Bump es-main from 1.2.0 to 1.3.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15080)
- Bump @types/offscreencanvas from 2019.7.0 to 2019.7.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15079)
- Bump marked from 7.0.5 to 8.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15078)
New Contributors
- @ragolodc made their first contribution in https://github.com/openlayers/openlayers/pull/15086
Full Changelog: https://github.com/openlayers/openlayers/compare/v8.0.0...v8.1.0
v8.0.0
The 8.0 release brings several API simplifications. Some of them are not backwards compatible, so make sure to read the upgrade notes. The new StadiaMaps source replaces the Stamen source, because Stamen no longer hosts map tiles. Several WebGL improvements are also part of this release. And finally, a new loader API for image layers makes working with non-tiled raster data more modular and faster.
List of all changes
See below for a complete list of features and fixes.
- Revert "Remove lineCap, it is useless on closed paths" (by @MoonE in https://github.com/openlayers/openlayers/pull/15064)
- Updates for the 7.5.2 release (by @openlayers in https://github.com/openlayers/openlayers/pull/15067)
- Support XYM geometry layout in WebGL vector layer (by @jahow in https://github.com/openlayers/openlayers/pull/15063)
- Detect static image loaders by arguments length (by @ahocevar in https://github.com/openlayers/openlayers/pull/15039)
- Add OL STAC example (by @tschaub in https://github.com/openlayers/openlayers/pull/15042)
- Remove ol/style/Icon's imgSize property (by @ahocevar in https://github.com/openlayers/openlayers/pull/15059)
- Remove WebGL helper classes from the API (by @ahocevar in https://github.com/openlayers/openlayers/pull/15061)
- Add OL STAC to 3rd party page (by @tschaub in https://github.com/openlayers/openlayers/pull/15041)
- Fix parameter description (by @fredj in https://github.com/openlayers/openlayers/pull/15050)
- Do not download fonts, use system fonts (by @ahocevar in https://github.com/openlayers/openlayers/pull/15046)
- Remove deprecated ol/AssertionError class (by @fredj in https://github.com/openlayers/openlayers/pull/15047)
- Set correct maxZoom in OSM Vector Tiles example (by @mike-000 in https://github.com/openlayers/openlayers/pull/15044)
- Fix typo in export name (by @ahocevar in https://github.com/openlayers/openlayers/pull/15038)
- Update ol-mapbox-style and use MapboxVectorLayer in test (by @ahocevar in https://github.com/openlayers/openlayers/pull/15037)
- Wait until font loading has finished (by @ahocevar in https://github.com/openlayers/openlayers/pull/15032)
- Allow to set GeoTiff projection (by @tschaub in https://github.com/openlayers/openlayers/pull/15036)
- Remove ol/layer/MapboxVector to avoid a circular dependency (by @ahocevar in https://github.com/openlayers/openlayers/pull/14870)
- Keep declutter tree for hit detection (by @ahocevar in https://github.com/openlayers/openlayers/pull/15028)
- Make BingMaps source 'placeholderTiles' optional (by @adube in https://github.com/openlayers/openlayers/pull/15027)
- Fix various typos (by @luzpaz in https://github.com/openlayers/openlayers/pull/15021)
- Styling with logical operators and type assertions (by @tschaub in https://github.com/openlayers/openlayers/pull/15003)
- Move inlineDynamicImports options to output (by @ahocevar in https://github.com/openlayers/openlayers/pull/15016)
- Release v7.5.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15017)
- Bump version to 8.0.0-dev (by @tschaub in https://github.com/openlayers/openlayers/pull/15018)
- Fix OGCVectorTile source types (by @MoonE in https://github.com/openlayers/openlayers/pull/15015)
- Use .transform() instead of .setTransform() when rendering image or text (by @mike-000 in https://github.com/openlayers/openlayers/pull/14483)
- Fix word repetition in example descriptions (by @mike-000 in https://github.com/openlayers/openlayers/pull/15012)
- Fix return type of Layer#renderFrame (by @MoonE in https://github.com/openlayers/openlayers/pull/15005)
- WebGL / Rework symbol rendering to include circles with outlines, shapes and icons (by @jahow in https://github.com/openlayers/openlayers/pull/14883)
- Loader based API for image sources using ImageBitmap (by @ahocevar in https://github.com/openlayers/openlayers/pull/14945)
- Fix text placement line hit detection for pixelRatio !== 1 (by @ahocevar in https://github.com/openlayers/openlayers/pull/15001)
- Expression based styling (by @tschaub in https://github.com/openlayers/openlayers/pull/14780)
- Do not override
caption-side
in featureInfo styles (by @mike-000 in https://github.com/openlayers/openlayers/pull/15002) - Generate provenance statement when publishing package (by @tschaub in https://github.com/openlayers/openlayers/pull/15000)
- Doc updates (by @tschaub in https://github.com/openlayers/openlayers/pull/14999)
- Improved jsdoc types and docstrings in Base.js (by @oshawa-connection in https://github.com/openlayers/openlayers/pull/14998)
- Add notes on upgrading to StadiaMaps source (by @tschaub in https://github.com/openlayers/openlayers/pull/14997)
- Direct access to object properties (by @tschaub in https://github.com/openlayers/openlayers/pull/14996)
- Reflect that Stamen styles are hosted by Stadia Maps (by @stadiamaps in https://github.com/openlayers/openlayers/pull/14989)
- Updates for the 7.5.0 release (by @openlayers in https://github.com/openlayers/openlayers/pull/14995)
Dependency Updates
- Bump typescript from 5.1.6 to 5.2.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/15055)
- Bump rollup from 3.28.0 to 3.28.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15054)
- Bump eslint from 8.47.0 to 8.48.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15053)
- Bump marked from 7.0.4 to 7.0.5 (by @openlayers in https://github.com/openlayers/openlayers/pull/15052)
- Bump ol-mapbox-style from 11.0.1 to 11.0.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/15051)
- Bump puppeteer from 21.0.3 to 21.1.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15034)
- Bump @rollup/plugin-node-resolve from 15.1.0 to 15.2.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/15040)
- Bump marked from 7.0.2 to 7.0.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/15033)
- Bump rollup from 2.79.1 to 3.28.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15010)
- Bump ol-mapbox-style from 10.6.0 to 10.7.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15008)
- Bump @rollup/plugin-commonjs from 25.0.3 to 25.0.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/15007)
- Bump eslint from 8.46.0 to 8.47.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/15009)
- Bump puppeteer from 21.0.1 to 21.0.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/15011)
- Bump marked from 7.0.0 to 7.0.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/15006)
New Contributors
- @ianthetechie made their first contribution in https://github.com/openlayers/openlayers/pull/14989
- @oshawa-connection made their first contribution in https://github.com/openlayers/openlayers/pull/14998
- @luzpaz made their first contribution in https://github.com/openlayers/openlayers/pull/15021
Full Changelog: https://github.com/openlayers/openlayers/compare/v7.5.2...v8.0.0
v7.5.2
7.5.2
The 7.5.2 is a patch release that includes a fix for hit detection on Vector and VectorTile layers configured with declutter: true
. See the 7.5.0 release notes for a complete list of changes since the previous release.
- Keep declutter tree for hit detection (by @ahocevar in https://github.com/openlayers/openlayers/pull/15028)
v7.5.1
The 7.5.1 is a patch release that includes a couple fixes to TypeScript declarations published with the package. See the 7.5.0 release notes for a complete list of changes since the previous release.
- Fix OGCVectorTile source types (by @MoonE in https://github.com/openlayers/openlayers/pull/15015)
- Fix return type of Layer#renderFrame (by @MoonE in https://github.com/openlayers/openlayers/pull/15005)