Releases: openlayers/openlayers
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.
What's Changed
- Updates for the 9.0.0 release by @ahocevar in #15584
- Bump puppeteer from 22.2.0 to 22.3.0 by @dependabot in #15585
- Bump karma from 6.4.2 to 6.4.3 by @dependabot in #15588
- Bump eslint from 8.56.0 to 8.57.0 by @dependabot in #15587
- Bump ol-mapbox-style from 12.2.0 to 12.2.1 by @dependabot in #15586
- feat: add to-string operator by @fredj in #15591
- Add 'in' and 'between' operators by @fredj in #15594
- Add Alidade Satellite style by @ianthetechie in #15597
- Retrieve Google attributions automatically via their API and provide an example showing how to add the Google logo by @fnicollet in #15598
- Do not use arrays for non-consecutive zIndex keys by @ahocevar in #15600
- Listen for
change:size
event in Attributions example by @mike-000 in #15603 - Bump express from 4.18.2 to 4.18.3 by @dependabot in #15607
- Bump karma-firefox-launcher from 2.1.2 to 2.1.3 by @dependabot in #15608
- Make UTF wrapX and empty string attribution handling consistent with TileJSON by @mike-000 in #15604
- Updates to the Google attribution by @tschaub in #15602
- Mention
ZoomToExtent
in breaking changes ofv9.0.0
by @JakobMiksch in #15616 - Fix rendering nothing with declutter and postrender listener by @ahocevar in #15630
- Bump puppeteer from 22.3.0 to 22.4.1 by @dependabot in #15623
- Bump metalsmith from 2.6.2 to 2.6.3 by @dependabot in #15624
- Bump typescript from 5.3.3 to 5.4.2 by @dependabot in #15626
- Bump ol-stac from 1.0.0-beta.8 to 1.0.0-beta.9 by @dependabot in #15627
- Bump marked from 12.0.0 to 12.0.1 by @dependabot in #15628
- Bump rollup from 4.12.0 to 4.13.0 by @dependabot in #15633
- Fix decluttering opacity, zIndex and circles by @ahocevar in #15614
- Store previous transform in FrameState by @ahocevar in #15620
- Bump follow-redirects from 1.15.5 to 1.15.6 by @dependabot in #15645
- Add an option to remove feature silently in ol.source.Vector. by @ger-benjamin in #15643
- Bump puppeteer from 22.4.1 to 22.5.0 by @dependabot in #15648
- Bump webpack-dev-server from 5.0.2 to 5.0.3 by @dependabot in #15647
- Calculate canvas width and height the same way for all renderers by @ahocevar in #15652
- Bump webpack-dev-middleware from 7.0.0 to 7.1.0 by @dependabot in #15657
New Contributors
- @fnicollet made their first contribution in #15598
Full Changelog: v9.0.0...v9.1.0
v9.0.0
The 9.0 release adds 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.
Removal of Map#flushDeclutterItems()
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.
Changes in ol/style
- 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 #15315
- Fix reading of flat style icon declutter mode by @MoonE in #15314
- Require Geometry array in GeometryCollection constructor by @MoonE in #15190
- Remove radius1 for regular shapes, use radius instead by @MoonE in #15191
- Increase alpha precision in rgba strings created from color arrays by @mike-000 in #15316
- Fix issue with extractGeometryName in the GeoJSON format by @tschaub in #15319
- Bump marked from 9.1.5 to 10.0.0 by @dependabot in #15320
- Bump @types/arcgis-rest-api from 10.4.7 to 10.4.8 by @dependabot in #15321
- Bump globby from 13.2.2 to 14.0.0 by @dependabot in #15322
- Bump @types/offscreencanvas from 2019.7.2 to 2019.7.3 by @dependabot in #15323
- Bump @types/topojson-specification from 1.0.4 to 1.0.5 by @dependabot in #15324
- Bump puppeteer from 21.5.0 to 21.5.1 by @dependabot in #15326
- Bump @types/geojson from 7946.0.12 to 7946.0.13 by @dependabot in #15328
- Bump rollup from 4.3.0 to 4.4.0 by @dependabot in #15329
- Bump @types/pbf from 3.0.4 to 3.0.5 by @dependabot in #15327
- Updates for the 8.2.0 release by @ahocevar in #15333
- Fill pattern for Canvas renderer flat styles by @ahocevar in #15318
- WebGL / Fix hit detection for vector layers by @jahow in #15340
- More specific return types in Format#readFeatures by @ahocevar in #15338
- WebGL / Fix pattern fill issues with vector tiles by @jahow in #15317
- Bump actions/github-script from 6 to 7 by @dependabot in #15354
- Extend WebGL color operator by @lysek in #15359
- Fix WMTS Capabilities Layer.BoundingBox by @ltshb in #15364
- Revert "Fix WMTS Capabilities Layer.BoundingBox" by @ltshb in #15366
- Fix vectortile opacity in layer groups by @ahocevar in #15365
- Align sources to pixels in stitchContext when interpolate false by @mike-000 in #15343
- Bump eslint from 8.53.0 to 8.54.0 by @dependabot in #15353
- Bump rollup-plugin-external-globals from 0.9.0 to 0.9.1 by @dependabot in #15352
- Bump rollup from 4.4.0 to 4.5.0 by @dependabot in #15351
- Bump puppeteer from 21.5.1 to 21.5.2 by @dependabot in #15350
- Bump metalsmith from 2.6.1 to 2.6.2 by @dependabot in #15349
- Bump @types/proj4 from 2.5.4 to 2.5.5 by @dependabot in #15348
- Bump rollup from 4.5.0 to 4.5.2 by @dependabot in #15373
- Create css matrix without using the DOM by @ahocevar in #15344
- Accept any service URL for arcgisRest by @ahocevar in #15355
- End drawing when appendCoordinates() hits maxPoints by @ahocevar in #15371
- Support case expressions in Canvas rendering by @tschaub in #15376
- Fix TransactionResponse type by @ahocevar in #15375
- Improve return type of JSONFeatureFormat#readFeature by @ahocevar in #15377
- Make empty GeoJSON coordinate arrays work again by @ahocevar in #15388
- Bump rollup from 4.5.2 to 4.6.0 by @dependabot in #15383
- Bump ol-mapbox-style from 12.1.0 to 12.1.1 by @dependabot in #15382
- Bump typescript from 5.2.2 to 5.3.2 by @dependabot in #15381
- Fix WMTS Capabilities Layer.BoundingBox by @ltshb in #15392
- Bump clean-css-cli from 5.6.2 to 5.6.3 by @dependabot in #15398
- Bump rollup from 4.6.0 to 4.6.1 by @dependabot in #15396
- Bump fs-extra from 11.1.1 to 11.2.0 by @dependabot in #15399
- Bump eslint from 8.54.0 to 8.55.0 by @dependabot in #15397
- Bump marked from 10.0.0 to 11.0.0 by @dependabot in #15400
- Replace π¦ with π¦ by @tschaub in #15405
- Update link to terrain-rgb in sea-level example by @fredj in #15403
- Fix return type for getOverlayById by @helgee in #15412
- Fix
updateParams
in ImageMapGuide and ImageArcGISRest by @mike-000 in #15410 - Implement
geometry-type
operator in CPU by @jahow in #15414 - Bump rollup from 4.6.1 to 4.8.0 by @dependabot in #15419
- Bump marked from 11.0.0 to 11.0.1 by @dependabot in #15420
- Bump puppeteer from 21.5.2 to 21.6.0 by @dependabot in #15421
- Bump typescript from 5.3.2 to 5.3.3 by @dependabot in #15422
- Fix RenderFeature#clone() for Point geometries by @ahocevar in #15433
- Bump github/codeql-action from 2 to 3 by @dependabot in #15434
- Bump dawidd6/action-download-artifact from 2 to 3 by @dependabot in #15435
- Bump actions/upload-artifact from 3 to 4 by @dependabot in #15436
- Bump marked from 11.0.1 to 11.1.0 by @dependabot in #15437
- Bump puppeteer from 21.6.0 to 21.6.1 by @dependabot in #15438
- Bump eslint from 8.55.0 to 8.56.0 by @dependabot in #15439
- Bump rollup from 4.8.0 to 4.9.1 by @dependabot in #15440
- Bump geotiff from 2.1.0 to 2.1.1 by @dependabot in #15449
- Handle user coordinates in ZoomToExtent by @mike-000 in #15448
- Add Graticule rendering test by @mike-000 in #15450
- Add nanometer to scaleline by @sunilkpai in #15453
- Bump rollup from 4.9.1 to 4.9.2 by @dependabot in #15457
- Bump source-map-loader from 4.0.1 to 4.0.2 by @dependabot in #15456
- Bump webpack-dev-middleware from 6.1.1 to 7.0.0 by @dependabot in #15454
- Bump marked from 11.1.0 to ...
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 #15312)
- Export TileGrid and WMTSTileGrid from ol/tilegrid (by @mike-000 in #15309)
- WebGL / Add support for patterns in polygons and lines (by @jahow in #15279)
- Use ol.css from example build, logos and site css from the website (by @ahocevar in #15280)
- Use local theme instead of root website theme for versioned examples (by @ahocevar in #15277)
- Make
apiKey
andretina
properties optional (by @ahocevar in #15278) - Fix
fromUserResolution
andtoUserResolution
foruseGeographic()
(by @kikuchan in #15214) - fix(Map): use same size calculation in
updateSize
andupdateViewportSize_
(by @simonseyock in #15269) - Add a GLSL compiler for expressions (by @jahow in #15121)
- Implement ID operator for style expression (by @behoney in #15271)
- Moved geometry type check for hit detection in Modify interaction (by @adhaca in #15270)
- Fix ShaderBuilder for with symbolRotateWithView (by @kikuchan in #15229)
- Better types for geometries (by @MoonE in #15196)
- Add support for user projections to WebGLPoints layer (by @kikuchan in #15234)
- #14554: WFS 2.0.0 writeTransaction UPDATE missing ValueReference - fix (by @arekgotfryd in #15197)
- Style Expressions Concat Function
(by @MannyKSoSo in #15250) - Fix TileImage's transition is incorrect when re-projection (by @yujinpan in #15239)
- Allow
touch-action: pan-x pan-y;
on viewport (by @mike-000 in #15208) - More strict type checks (by @MoonE in #15189)
- Cluster example duplicate if condition removed (by @ShanteshSindgi in #15188)
- Fix some more strict type check problems (by @MoonE in #15184)
- Strict type checks for select files (by @MoonE in #15181)
- Make rules documentation example syntax valid (by @mike-000 in #15179)
- Do not use stitchContext for ReprojImage (by @mike-000 in #15168)
- Interpolation support for Canvas styles (by @tschaub in #15141)
- Create new loader if view projection changes (by @mike-000 in #15165)
- Add properties to WebGLTileLayer options type (by @sebakerckhof in #15164)
- Throw an error when building flat styles that result in an empty style (by @tschaub in #15142)
- docs: update docs for draw interaction style (by @simonseyock in #15163)
- WebGL / fix hit detection for vector layer on certain systems (by @jahow in #15159)
- Properly hit detect circles after updating size (by @tschaub in #15143)
- Parse more variety of color strings (by @tschaub in #15137)
- WebGL / Implement tile masking for vector tiles (by @jahow in #15127)
- Fix the type for VectorTile features (by @ahocevar in #15131)
- Add hit detection support to WebGL vector layer (by @gberaudo in #15120)
- New expression operators, allow chain of args validator (by @tschaub in #15130)
- Named color parsing (by @tschaub in #15128)
- Make RenderFeature work for untiled vector data (by @ahocevar in #15123)
- #11229: add more description for z parameter of getTileCoordForCoordA⦠(by @arekgotfryd in #15124)
- Parse JSON only once (by @ahocevar in #15122)
- Make tooltip / hint on hover example (by @arekgotfryd in #15117)
- Support updating and tracking extra params in the link interaction (by @tschaub in #15116)
- Add support for user projections to WebGL rendering (by @tschaub in #15118)
- setStyle should pass paletteTextures in WebGLTile Layer and Renderer (by @malaretv in #15101)
- Allow render features to be transformed (by @tschaub in #15115)
- WebGL / only check polygons winding order for RenderFeature (by @jahow in #15114)
- Make inflateEnds work regardless of the y coordinate orientation (by @ahocevar in #15113)
- Add getFeatureInfoUrl and getLegendUrl functions to ol/wms (by @ahocevar in #15102)
- Return loaded image when decode fails (by @ahocevar in #15103)
- Do not attempt to decode image if
src
is not set (by @mike-000 in #15094) - Updates for the 8.1.0 release (by @openlayers in #15091)
Dependency Updates
- Bump puppeteer from 21.4.1 to 21.5.0 (by @openlayers in #15305)
- Bump rollup from 4.1.5 to 4.3.0 (by @openlayers in #15304)
- Bump eslint from 8.52.0 to 8.53.0 (by @openlayers in #15303)
- Bump sinon from 17.0.0 to 17.0.1 (by @openlayers in #15302)
- Bump ol-mapbox-style from 12.0.0 to 12.1.0 (by @openlayers in #15301)
- Bump marked from 9.1.3 to 9.1.5 (by @openlayers in #15300)
- Bump proj4 from 2.9.1 to 2.9.2 (by @openlayers in #15283)
- Bump rollup from 4.1.4 to 4.1.5 (by @openlayers in #15284)
- Bump marked from 9.1.2 to 9.1.3 (by @openlayers in #15285)
- Bump @types/geojson from 7946.0.11 to 7946.0.12 (by @openlayers in #15286)
- Bump puppeteer from 21.4.0 to 21.4.1 (by @openlayers in #15287)
- Bump actions/setup-node from 3 to 4 (by @openlayers in #15282)
- Bump geotiff from 2.0.7 to 2.1.0 (by @openlayers in #15288)
- Bump rollup and rollup-plugin-external (by @openlayers in #15276)
- Bump eslint from 8.50.0 to 8.52.0 (by @openlayers in #15267)
- Bump @types/offscreencanvas from 2019.7.1 to 2019.7.2 (by @openlayers in #15266)
- Bump loglevelnext from 5.0.6 to 6.0.0 (by @openlayers in #15260)
- Bump @types/topojson-specification from 1.0.3 to 1.0.4 (by @openlayers in #15265)
- Bump @types/arcgis-rest-api from 10.4.6 to 10.4.7 (by @openlayers in #15262)
- Bump sinon from 16.1.0 to 17.0.0 (by @openlayers in #15264)
- Bump @types/proj4 from 2.5.3 to 2.5.4 (by @openlayers in #15263)
- Bump @types/pbf from 3.0.3 to 3.0.4 (by @openlayers in #15261)
- Bump puppeteer from 21.3.6 to 21.4.0 (by @openlayers in #15259)
- Bump @rollup/plugin-node-resolve from 15.2.1 to 15.2.3 (by @openlayers in #15223)
- Bump @rollup/plugin-terser from 0.4.3 to 0.4.4 (by @openlayers in #15224)
- Bump sinon from 16.0.0 to 16.1.0 (by @openlayers in #15222)
- Bump @rollup/plugin-commonjs from 25.0.4 to 25.0.7 (by @openlayers in #15240)
- Bump marked from 9.0.3 to 9.1.2 (by @openlayers in #15243)
- Bump webpack from 5.88.2 to 5.89.0 (by @openlay...
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 #15086)
- Fix invalid layer name (by @stadiamaps in #15088)
- Avoid Chrome/Edge deprecated feature warning (by @mike-000 in #15075)
- Accept a number or an array of numbers for icon scale (by @tschaub in #15074)
- Webgl / add styling options for lines: joins, caps, offset, dash (by @jahow in #15058)
- Add missing links to old version (by @MoonE in #15072)
- Recreate WebGL helper when context is lost and restored (by @puckipedia in #15066)
- Updates for the 8.0.0 release (by @openlayers in #15068)
Dependency Updates
- Bump jquery from 3.7.0 to 3.7.1 (by @openlayers in #15082)
- Bump puppeteer from 21.1.0 to 21.1.1 (by @openlayers in #15081)
- Bump es-main from 1.2.0 to 1.3.0 (by @openlayers in #15080)
- Bump @types/offscreencanvas from 2019.7.0 to 2019.7.1 (by @openlayers in #15079)
- Bump marked from 7.0.5 to 8.0.0 (by @openlayers in #15078)
New Contributors
Full Changelog: 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 #15064)
- Updates for the 7.5.2 release (by @openlayers in #15067)
- Support XYM geometry layout in WebGL vector layer (by @jahow in #15063)
- Detect static image loaders by arguments length (by @ahocevar in #15039)
- Add OL STAC example (by @tschaub in #15042)
- Remove ol/style/Icon's imgSize property (by @ahocevar in #15059)
- Remove WebGL helper classes from the API (by @ahocevar in #15061)
- Add OL STAC to 3rd party page (by @tschaub in #15041)
- Fix parameter description (by @fredj in #15050)
- Do not download fonts, use system fonts (by @ahocevar in #15046)
- Remove deprecated ol/AssertionError class (by @fredj in #15047)
- Set correct maxZoom in OSM Vector Tiles example (by @mike-000 in #15044)
- Fix typo in export name (by @ahocevar in #15038)
- Update ol-mapbox-style and use MapboxVectorLayer in test (by @ahocevar in #15037)
- Wait until font loading has finished (by @ahocevar in #15032)
- Allow to set GeoTiff projection (by @tschaub in #15036)
- Remove ol/layer/MapboxVector to avoid a circular dependency (by @ahocevar in #14870)
- Keep declutter tree for hit detection (by @ahocevar in #15028)
- Make BingMaps source 'placeholderTiles' optional (by @adube in #15027)
- Fix various typos (by @luzpaz in #15021)
- Styling with logical operators and type assertions (by @tschaub in #15003)
- Move inlineDynamicImports options to output (by @ahocevar in #15016)
- Release v7.5.1 (by @openlayers in #15017)
- Bump version to 8.0.0-dev (by @tschaub in #15018)
- Fix OGCVectorTile source types (by @MoonE in #15015)
- Use .transform() instead of .setTransform() when rendering image or text (by @mike-000 in #14483)
- Fix word repetition in example descriptions (by @mike-000 in #15012)
- Fix return type of Layer#renderFrame (by @MoonE in #15005)
- WebGL / Rework symbol rendering to include circles with outlines, shapes and icons (by @jahow in #14883)
- Loader based API for image sources using ImageBitmap (by @ahocevar in #14945)
- Fix text placement line hit detection for pixelRatio !== 1 (by @ahocevar in #15001)
- Expression based styling (by @tschaub in #14780)
- Do not override
caption-side
in featureInfo styles (by @mike-000 in #15002) - Generate provenance statement when publishing package (by @tschaub in #15000)
- Doc updates (by @tschaub in #14999)
- Improved jsdoc types and docstrings in Base.js (by @oshawa-connection in #14998)
- Add notes on upgrading to StadiaMaps source (by @tschaub in #14997)
- Direct access to object properties (by @tschaub in #14996)
- Reflect that Stamen styles are hosted by Stadia Maps (by @stadiamaps in #14989)
- Updates for the 7.5.0 release (by @openlayers in #14995)
Dependency Updates
- Bump typescript from 5.1.6 to 5.2.2 (by @openlayers in #15055)
- Bump rollup from 3.28.0 to 3.28.1 (by @openlayers in #15054)
- Bump eslint from 8.47.0 to 8.48.0 (by @openlayers in #15053)
- Bump marked from 7.0.4 to 7.0.5 (by @openlayers in #15052)
- Bump ol-mapbox-style from 11.0.1 to 11.0.3 (by @openlayers in #15051)
- Bump puppeteer from 21.0.3 to 21.1.0 (by @openlayers in #15034)
- Bump @rollup/plugin-node-resolve from 15.1.0 to 15.2.1 (by @openlayers in #15040)
- Bump marked from 7.0.2 to 7.0.4 (by @openlayers in #15033)
- Bump rollup from 2.79.1 to 3.28.0 (by @openlayers in #15010)
- Bump ol-mapbox-style from 10.6.0 to 10.7.0 (by @openlayers in #15008)
- Bump @rollup/plugin-commonjs from 25.0.3 to 25.0.4 (by @openlayers in #15007)
- Bump eslint from 8.46.0 to 8.47.0 (by @openlayers in #15009)
- Bump puppeteer from 21.0.1 to 21.0.3 (by @openlayers in #15011)
- Bump marked from 7.0.0 to 7.0.2 (by @openlayers in #15006)
New Contributors
- @ianthetechie made their first contribution in #14989
- @oshawa-connection made their first contribution in #14998
- @luzpaz made their first contribution in #15021
Full Changelog: 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.
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.
v7.5.0
The 7.5 release includes a solid batch of new features and fixes. Among the improvements, you'll find more control over label decluttering, improved WebGL semi-transparent tile rendering, more consistency hit detecting transparent items, improvements with WebGL vector rendering, fixes for raster source loading, and more.
No special changes should be required when upgrading from previous 7.x releases. See the upgrade notes for a few minor changes in behavior.
List of all changes
See below for a complete list of features and fixes.
- New flushDeclutterItems() map method to control declutter stack (by @ahocevar in #14971)
- Render VectorLayer when ReplayGroup is empty but render listener exists (by @M393 in #14984)
- Improve the description of the Coordinate type (by @isti115 in #14994)
- Use none to avoid hit detection of text fills (by @tschaub in #14992)
- Reorganise old no fill / transparent fill tests (by @mike-000 in #14982)
- Migrate to @rollup/plugin-terser (by @bjornharrtell in #14985)
- WebGLTile: Properly render semi-transparent tiles (by @puckipedia in #14983)
- Hit detect transparent fill and backgroundFill in Text styles (by @mike-000 in #14943)
- Hit detect images even if zero opacity (by @mike-000 in #14939)
- Fix test for keyboard zoom on a Mac (by @fjellfly in #14977)
- Apply dashed line hit detection to all geometry types (by @mike-000 in #14938)
- npx update-browserslist-db@latest (by @ahocevar in #14975)
- fix #14968 (by @tanhh326 in #14972)
- Don't overwrite browser zoom shortcuts (by @fjellfly in #14946)
- Add upgrade note about start/end textAlign fix (by @ahocevar in #14970)
- Fix textAlign start/end for placement: line (by @ahocevar in #14932)
- Cannot create polygon from empty extent (by @mike-000 in #14962)
- Use Terrarium tiles in Shaded Relief examples (by @mike-000 in #14957)
- fix Style RenderFunction type (by @tanhh326 in #14956)
- Update TileJSON source url (by @mike-000 in #14937)
- Slightly enhance documentation for circle radius (by @openlayers in #14951)
- More WebGL TileHelper cleanup (by @ahocevar in #14935)
- Better types for more timeouts (by @mike-000 in #14934)
- WebGL helper improvements (by @ahocevar in #14929)
- Use new headless option for Puppeteer (by @ahocevar in #14928)
- Add typedef, use underscore for private methods (by @mike-000 in #14925)
- Fix infinite tile rendering loop and incomplete images in Raster source (by @ahocevar in #14922)
- Remove .nvmrc (by @ahocevar in #14917)
- Remove reference to ES5 (by @mike-000 in #14907)
- Draw features style example (by @ahocevar in #14920)
- Fix cluster source handling of points with null geometry (by @roemhildtg in #14915)
- Avoid line dash flicker in Measure examples (by @mike-000 in #14918)
- Use
touch-action: none;
for elements in viewport (by @mike-000 in #14906) - return last snapTo feature (by @fmg-lydonchandra in #14676)
- Fix dynamic background color (by @kikuchan in #14895)
- Remove marked warning (by @ahocevar in #14878)
- Update concepts.md (by @barnoma-soz in #14882)
- Fix VectorImageLayer opacity (by @MrLynx93 in #14867)
- Another attempt to avoid missing tiles with the Raster source (by @ahocevar in #14856)
- Avoid missing tiles for Raster source using Tile layers or sources (by @ahocevar in #14853)
- WebGL / Support styles with only fill, stroke or symbol, better defaults (by @jahow in #14840)
- Use MapTiler Coordinates API to find proj4 transforms without
+nadgrids
forfromEPSGCode()
(by @mike-000 in #14692) - Remove pointer events polyfill from examples (by @ahocevar in #14816)
- Optionally show or hide Bing 'placeholder' tiles (by @Shane98c in #14832)
- Expressions / add
geometry-type
operator, fix exponentialinterpolate
(by @jahow in #14837) - Test image with less text for lower font engine sensitivity (by @ahocevar in #14828)
- Add support for 'in' and 'sqrt' operators in expressions (by @jahow in #14803)
- Rework webgl points hit detection (by @gberaudo in #14806)
- send 'loadend' event on layer image load failure (by @Tobias43 in #14810)
- Add option-based support for options.target in ZoomSlider (by @Pierstoval in #14807)
- Update reference image for changed type system on CI (by @ahocevar in #14805)
- Update sponsors (by @ahocevar in #14789)
- Fix ufos example with type hint (by @MoonE in #14791)
- Miscellaneous rich text documentation fixes (by @mike-000 in #14790)
- Get a pixel perfect match WMS image (by @sbrunner in #14719)
- Updates for the 7.4.0 release (by @openlayers in #14787)
Dependency Updates
- Bump puppeteer from 20.9.0 to 21.0.1 (by @openlayers in #14980)
- Bump marked from 5.1.2 to 7.0.0 (by @openlayers in #14981)
- Bump handlebars from 4.7.7 to 4.7.8 (by @openlayers in #14979)
- Bump marked from 5.1.1 to 5.1.2 (by @openlayers in #14960)
- Bump eslint from 8.45.0 to 8.46.0 (by @openlayers in #14959)
- Bump @metalsmith/in-place from 4.6.0 to 5.0.0 (by @openlayers in #14940)
- Bump puppeteer from 20.8.2 to 20.9.0 (by @openlayers in #14942)
- Bump webpack from 5.88.1 to 5.88.2 (by @openlayers in #14941)
- Bump eslint from 8.44.0 to 8.45.0 (by @openlayers in #14903)
- Bump @octokit/rest from 19.0.13 to 20.0.1 (by @openlayers in #14905)
- Bump metalsmith from 2.6.0 to 2.6.1 (by @openlayers in #14904)
- Bump puppeteer from 20.8.0 to 20.8.2 (by @openlayers in #14902)
- Bump @rollup/plugin-commonjs from 25.0.2 to 25.0.3 (by @openlayers in #14901)
- Bump globby from 13.2.1 to 13.2.2 (by @openlayers in #14890)
- Bump puppeteer from 20.7.4 to 20.8.0 (by @openlayers in #14889)
- Bump marked from 5.1.0 to 5.1.1 (by @openlayers in #14888)
- Bump semver from 7.5.3 to 7.5.4 (by @openlayers in #14887)
- Bump webpack from 5.88.0 to 5.88.1 (by @openlayers in #14874)
- Bump globby from 13.2.0 to 13.2.1 (by @openlayers in #14876)
- Bump eslint from 8.43.0 to 8.44.0 (by @openlayers in #14875)
- Bump typescript from 5.1.3 to 5.1.6 (by @openlayers in #14873)
- Bump puppeteer from 20.7.3 to 20.7.4 (by @openlayers in #14872)
- Bump sinon from 15.1.2 to 15.2.0 (by @openlayers in #14863)
- Bump webpack from 5.87.0 to 5.88.0 (by @openlayers in #14862)
- Bump @rollup/...
v7.4.0
Summary
The 7.4 release includes WebGL vector tiles along with several improvements to vector styling of WebGL layers, a new interaction for one-finger zooming on touch devices, and support for way geometries in the OSMXML parser. Several bug fixes for working with user projections and performance improvements for WebGL tile rendering are also on on board.
What's Changed
- Updates for the 7.3.0 release by @tschaub in #14548
- Avoid rendering a tile more than once by @tschaub in #14550
- Bump ol-mapbox-style from 9.7.0 to 10.1.0 by @dependabot in #14551
- Update CONTRIBUTING.md by @RobQuincey in #14568
- Bump puppeteer from 19.7.2 to 19.7.4 by @dependabot in #14559
- Bump ol-mapbox-style from 10.1.0 to 10.2.0 by @dependabot in #14561
- Bump webpack from 5.75.0 to 5.76.1 by @dependabot in #14563
- Bump sinon from 15.0.1 to 15.0.2 by @dependabot in #14566
- Bump jquery from 3.6.3 to 3.6.4 by @dependabot in #14560
- Bump rollup-plugin-external-globals from 0.7.1 to 0.7.3 by @dependabot in #14562
- Bump proj4 from 2.8.1 to 2.9.0 by @dependabot in #14564
- Bump eslint from 8.35.0 to 8.36.0 by @dependabot in #14565
- Fix issue with external map example by @RobQuincey in #14572
- Automatically update URL of examples page based on search query by @RobQuincey in #14576
- Remove unused, broken getTileRangeExtent method by @ahocevar in #14579
- Bump puppeteer from 19.7.4 to 19.7.5 by @dependabot in #14588
- Bump webpack-dev-server from 4.11.1 to 4.13.1 by @dependabot in #14587
- Bump webpack from 5.76.1 to 5.76.2 by @dependabot in #14585
- Bump webpack-dev-middleware from 6.0.1 to 6.0.2 by @dependabot in #14584
- Avoid unnecessary else if indentation by @tschaub in #14591
- Handle direction function by @tschaub in #14590
- Bump typescript from 4.9.5 to 5.0.2 by @dependabot in #14586
- WebGL / Introduce a base tile renderer by @jahow in #14594
- Add latest typescript to CodeSandbox devDependencies by @mike-000 in #14589
- Update deprecated KeyboardEvent properties by @mike-000 in #14598
- Smarter isVisible method on Layer by @ahocevar in #14599
- Do not use non-API methods in example by @ahocevar in #14607
- Handle wrapped worlds in Box Selection example by @mike-000 in #14608
- WebGL Points / mark the renderer as initially ready by @jahow in #14611
- Bump sinon from 15.0.2 to 15.0.3 by @dependabot in #14612
- Bump marked from 4.2.12 to 4.3.0 by @dependabot in #14613
- Bump puppeteer from 19.7.5 to 19.8.0 by @dependabot in #14614
- Bump fs-extra from 11.1.0 to 11.1.1 by @dependabot in #14615
- Bump ol-mapbox-style from 10.2.0 to 10.3.4 by @dependabot in #14617
- Bump webpack from 5.76.2 to 5.76.3 by @dependabot in #14616
- Base scale calculation on icon size, not image size by @ahocevar in #14619
- WebGL vector tile renderer by @jahow in #14445
- Clear size when target is detached from map by @ahocevar in #14622
- Helper method to bind a texture by @tschaub in #14628
- Ensure empty extents stay empty when transformed by @mike-000 in #14627
- Allow postProcesses to be passed to parent renderer by @tschaub in #14630
- Bump puppeteer from 19.8.0 to 19.8.3 by @dependabot in #14636
- Bump eslint from 8.36.0 to 8.37.0 by @dependabot in #14635
- Bump webpack from 5.76.3 to 5.77.0 by @dependabot in #14634
- Bump webpack-dev-server from 4.13.1 to 4.13.2 by @dependabot in #14633
- Bump typescript from 5.0.2 to 5.0.3 by @dependabot in #14632
- Make Modify hitdetect mode work with user projection by @ahocevar in #14638
- Bump eslint from 8.37.0 to 8.38.0 by @dependabot in #14655
- Bump ol-mapbox-style from 10.3.4 to 10.4.0 by @dependabot in #14649
- Bump @metalsmith/layouts from 2.6.0 to 2.7.0 by @dependabot in #14654
- Bump @rollup/plugin-node-resolve from 15.0.1 to 15.0.2 by @dependabot in #14653
- Bump puppeteer from 19.8.3 to 19.8.5 by @dependabot in #14652
- Bump typescript from 5.0.3 to 5.0.4 by @dependabot in #14651
- Draw DataTile image at correct position when converting to array by @mike-000 in #14647
- Bump webpack from 5.77.0 to 5.78.0 by @dependabot in #14650
- WebGL / Add support for stroke and fill in the ShaderBuilder class by @jahow in #14660
- Fix VectorContext drawFeature and drawCircle with user projection by @mike-000 in #14659
- Remove experimental description from getUserProjection() API method by @mike-000 in #14656
- Bump globby from 13.1.3 to 13.1.4 by @dependabot in #14678
- Bump semver from 7.3.8 to 7.4.0 by @dependabot in #14679
- Bump webpack-dev-server from 4.13.2 to 4.13.3 by @dependabot in #14680
- Bump puppeteer from 19.8.5 to 19.9.0 by @dependabot in #14682
- Bump @rollup/plugin-commonjs from 24.0.1 to 24.1.0 by @dependabot in #14677
- Bump webpack from 5.78.0 to 5.79.0 by @dependabot in #14681
- Bump ol-mapbox-style from 10.4.0 to 10.5.0 by @dependabot in #14683
- WebGL / add support for more types in style expressions by @jahow in #14685
- Bump karma from 6.4.1 to 6.4.2 by @dependabot in #14695
- Bump semver from 7.4.0 to 7.5.0 by @dependabot in #14696
- Bump puppeteer from 19.9.0 to 19.10.1 by @dependabot in #14697
- Bump webpack-cli from 5.0.1 to 5.0.2 by @dependabot in #14698
- Bump karma-chrome-launcher from 3.1.1 to 3.2.0 by @dependabot in #14701
- Bump sinon from 15.0.3 to 15.0.4 by @dependabot in #14702
- Bump webpack from 5.79.0 to 5.80.0 by @dependabot in #14699
- Bump eslint from 8.38.0 to 8.39.0 by @dependabot in #14700
- Rename properties to conform with protected / private conventions by @tschaub in #14694
- Fix several typos by @marcjansen in #14704
- Bump yargs from 17.7.1 to 17.7.2 by @dependabot in #14715
- Bump webpack from 5.80.0 to 5.81.0 by @dependabot in #14716
- Bump puppeteer from 19.10.1 to 19.11.1 by @dependabot in #14717
- Bump engine.io and socket.io by @dependabot in #14722
- Update Maptiler topo map to latest version by @ahocevar in #14724
- OSMXML: support reading geometry from ways by @simon04 in #14674
- Do not restrict image reprojection extent width for global projections by @mike-000 in #14706
- Bump webpack-dev-middleware from 6.0.2 to 6.1.0 by @dependabot in #14725
- Bump marked from 4.3.0 to 5.0.1 by @dependabot in https://github.com/openlayers/openlayers...
v7.3.0
The 7.3 release includes rendering performance improvements with many layers, performance improvements when snapping during editing, and a handful of useful fixes. See the detailed list of changes below. Nothing special should be required when upgrading from the 7.2 release. Thanks to those who contributed!
List of all changes
See below for a complete list of features and fixes.
- Use correct GeoTIFF value for image height in getResolutions (by @spoyd in #14511)
- Safeguard against negative view hint values to avoid unexpected behavior (by @jahow in #14545)
- Fix a padding setter bug of
ol/View
when usinguseGeographic()
(by @kikuchan in #14531) - Clean up artifacts after depoyment (by @tyrasd in #14533)
- Update ESRI World Basemap url in examples (by @mike-000 in #14524)
- Improve the performance of remove Snap interaction (by @XingGuoZ in #14516)
- Fix geolocation event types (by @ahocevar in #14503)
- Use
event.key
instead ofevent.charCode
(by @WebKieth in #14492) - New
isVisible()
andgetAttributions()
methods on Layer (by @ahocevar in #14476) - Use multisurface and multicurve for GML 3.2 and WFS 2.0 (by @ahocevar in #14471)
- Use fetch instead of jsonp for getting Bing metadata (by @ahocevar in #14464)
- Fix cloning of Icons with width/height (by @marcjansen in #14457)
- Add more browsers that support OffscreenCanvas (by @ahocevar in #14448)
- Use PointerEvent constructor, no need to support IE any more (by @ahocevar in #14438)
- Store images as canvas for more efficient reuse (by @ahocevar in #14444)
- Fix for issue #14389 (by @ghschier in #14430)
- Add repeat property for text along lines (by @ahocevar in #14400)
- Add .babelrc and .prettierrc to CodeSandbox export (by @mike-000 in #14419)
- Ensure gl context is cleared in
ol/source/Raster
(by @mike-000 in #14414) - Add rendering test for the full build (by @ahocevar in #14405)
- Release v7.2.2 (by @openlayers in #14404)
Dependency Updates
- Bump dns-packet from 5.3.1 to 5.4.0 (by @openlayers in #14547)
- Bump ol-mapbox-style from 9.6.0 to 9.7.0 (by @openlayers in #14539)
- Bump yargs from 17.7.0 to 17.7.1 (by @openlayers in #14538)
- Bump puppeteer from 19.7.1 to 19.7.2 (by @openlayers in #14537)
- Bump @metalsmith/markdown from 1.9.0 to 1.9.1 (by @openlayers in #14536)
- Bump eslint from 8.34.0 to 8.35.0 (by @openlayers in #14535)
- Bump puppeteer from 19.7.0 to 19.7.1 (by @openlayers in #14522)
- Bump ol-mapbox-style from 9.5.0 to 9.6.0 (by @openlayers in #14523)
- Bump jsdoc-plugin-typescript from 2.2.0 to 2.2.1 (by @openlayers in #14521)
- Bump jsdoc from 4.0.0 to 4.0.2 (by @openlayers in #14520)
- Bump yargs from 17.6.2 to 17.7.0 (by @openlayers in #14519)
- Bump pngjs from 6.0.0 to 7.0.0 (by @openlayers in #14518)
- Bump puppeteer from 19.6.3 to 19.7.0 (by @openlayers in #14504)
- Bump eslint from 8.33.0 to 8.34.0 (by @openlayers in #14505)
- Bump @metalsmith/in-place from 4.5.0 to 4.6.0 (by @openlayers in #14486)
- Bump typescript from 4.9.4 to 4.9.5 (by @openlayers in #14487)
- Bump puppeteer from 19.6.2 to 19.6.3 (by @openlayers in #14488)
- Bump @metalsmith/markdown from 1.8.0 to 1.9.0 (by @openlayers in #14489)
- Bump ua-parser-js from 0.7.31 to 0.7.33 (by @openlayers in #14461)
- Bump ol-mapbox-style from 9.4.0 to 9.5.0 (by @openlayers in #14468)
- Bump eslint from 8.32.0 to 8.33.0 (by @openlayers in #14469)
- Bump puppeteer from 19.5.2 to 19.6.2 (by @openlayers in #14470)
- Bump @rollup/plugin-commonjs from 24.0.0 to 24.0.1 (by @openlayers in #14452)
- Bump @octokit/rest from 19.0.5 to 19.0.7 (by @openlayers in #14451)
- Bump clean-css-cli from 5.6.1 to 5.6.2 (by @openlayers in #14450)
- Bump proj4 from 2.8.0 to 2.8.1 (by @openlayers in #14440)
- Bump marked from 4.2.5 to 4.2.12 (by @openlayers in #14439)
- Bump eslint from 8.31.0 to 8.32.0 (by @openlayers in #14441)
- Bump puppeteer from 19.4.1 to 19.5.2 (by @openlayers in #14442)
- Bump ol-mapbox-style from 9.3.0 to 9.4.0 (by @openlayers in #14429)
- Bump json5 from 1.0.1 to 1.0.2 (by @openlayers in #14428)
- Bump marked from 4.2.4 to 4.2.5 (by @openlayers in #14413)
- Bump ol-mapbox-style from 9.2.4 to 9.3.0 (by @openlayers in #14412)
- Bump jquery from 3.6.2 to 3.6.3 (by @openlayers in #14411)
- Bump eslint from 8.30.0 to 8.31.0 (by @openlayers in #14424)
New Contributors
- @ghschier made their first contribution in #14430
- @WebKieth made their first contribution in #14492
- @XingGuoZ made their first contribution in #14516
- @tyrasd made their first contribution in #14533
- @spoyd made their first contribution in #14511
Full Changelog: v7.2.2...v7.3.0