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/plugin-commonjs from 25.0.1 to 25.0.2 (by @openlayers in #14860)
- Bump puppeteer from 20.7.2 to 20.7.3 (by @openlayers in #14861)
- Bump semver from 7.5.2 to 7.5.3 (by @openlayers in #14864)
- Bump webpack from 5.86.0 to 5.87.0 (by @openlayers in #14848)
- Bump globby from 13.1.4 to 13.2.0 (by @openlayers in #14847)
- Bump puppeteer from 20.7.1 to 20.7.2 (by @openlayers in #14846)
- Bump @octokit/rest from 19.0.11 to 19.0.13 (by @openlayers in #14845)
- Bump sinon from 15.1.0 to 15.1.2 (by @openlayers in #14844)
- Bump semver from 7.5.1 to 7.5.2 (by @openlayers in #14843)
- Bump eslint from 8.42.0 to 8.43.0 (by @openlayers in #14842)
- Bump puppeteer from 20.5.0 to 20.7.1 (by @openlayers in #14829)
- Bump webpack-cli from 5.1.3 to 5.1.4 (by @openlayers in #14824)
- Bump @rollup/plugin-commonjs from 25.0.0 to 25.0.1 (by @openlayers in #14821)
- Bump marked from 5.0.4 to 5.1.0 (by @openlayers in #14819)
- Bump webpack-dev-server from 4.15.0 to 4.15.1 (by @openlayers in #14822)
- Bump webpack from 5.85.1 to 5.86.0 (by @openlayers in #14823)
- Bump @metalsmith/markdown from 1.9.2 to 1.10.0 (by @openlayers in #14818)
- Bump ol-mapbox-style from 10.5.0 to 10.6.0 (by @openlayers in #14794)
- Bump webpack from 5.84.1 to 5.85.1 (by @openlayers in #14804)
- Bump metalsmith from 2.5.1 to 2.6.0 (by @openlayers in #14801)
- Bump @rollup/plugin-node-resolve from 15.0.2 to 15.1.0 (by @openlayers in #14798)
- Bump eslint from 8.41.0 to 8.42.0 (by @openlayers in #14797)
- Bump typescript from 5.0.4 to 5.1.3 (by @openlayers in #14795)
- Bump webpack-cli from 5.1.1 to 5.1.3 (by @openlayers in #14802)
- Bump puppeteer from 20.4.0 to 20.5.0 (by @openlayers in #14799)
- Bump marked from 5.0.3 to 5.0.4 (by @openlayers in #14796)
New Contributors
- @Pierstoval made their first contribution in #14807
- @Tobias43 made their first contribution in #14810
- @Shane98c made their first contribution in #14832
- @MrLynx93 made their first contribution in #14867
- @barnoma-soz made their first contribution in #14882
- @fmg-lydonchandra made their first contribution in #14676
- @tanhh326 made their first contribution in #14956
- @fjellfly made their first contribution in #14946
- @puckipedia made their first contribution in #14983
- @isti115 made their first contribution in #14994
Full Changelog: v7.4.0...v7.5.0