New
v10.5.0
The 10.5.0 release contains many fixes, typing improvements, but also several new features:
- The
Snapinteraction now allows snapping to segment intersections; it also offers a newunsnapevent - Added support for LineStrings and expressions in the
Heatmaplayer - Added
getLengthmethod to theMultiLineStringgeometry class - Added a
source.setParams()API alongside the existingsource.updateParamsfor various sources to make clearing query parameters easier - WFS feature properties (and other XML text elements) will now be encoded as CDATA when they contain special XML characters, white spaces etc.
- Added support for
hasexpression operator in WebGL layers - Added a performance improvement when selecting features
- Removed a long-standing Firefox-specific workaround when zooming in/out with the mouse wheel
- Removed the runtime dependencies to the
color-spaceandcolor-rgbapackages, instead replaced by local code - Vector layer backgrounds are now rendered even when the source is empty
List of all changes
See below for a complete list of features and fixes.
- Adding numbers to font family regex (by @ltkum in https://github.com/openlayers/openlayers/pull/16771)
- Safely push to the zIndexContext instructions array (by @ahocevar in https://github.com/openlayers/openlayers/pull/16762)
- Fixed: WebGLVectorTile layer setStyle issue (by @catakot in https://github.com/openlayers/openlayers/pull/16746)
- Fix tests (by @ahocevar in https://github.com/openlayers/openlayers/pull/16756)
- Remove endless render loop (by @ahocevar in https://github.com/openlayers/openlayers/pull/16759)
- Avoid comparing
matchoperator input value with fallback value (by @jahow in https://github.com/openlayers/openlayers/pull/16723) - Restore handlebars replacements in website (by @ahocevar in https://github.com/openlayers/openlayers/pull/16754)
- Implement
hasoperator on GPU (by @jahow in https://github.com/openlayers/openlayers/pull/16717) - Compare matrix transforms with lower precision (by @ahocevar in https://github.com/openlayers/openlayers/pull/16744)
- Restore vector tile projection assertion (by @mike-000 in https://github.com/openlayers/openlayers/pull/16739)
- Get rid of Firefox specific wheel delta adjustment (by @ahocevar in https://github.com/openlayers/openlayers/pull/16726)
- Hint willReadFrequently leads to worse performance when selecting features (by @natalvc in https://github.com/openlayers/openlayers/pull/16736)
- A bug fix in unsnap test (by @yjwoo14 in https://github.com/openlayers/openlayers/pull/16724)
- Contours interpolation using Terrarium tiles with gutter (by @mike-000 in https://github.com/openlayers/openlayers/pull/13647)
- Add setParams for setting all URL parameters at once (by @tschaub in https://github.com/openlayers/openlayers/pull/16718)
- Fix hit detection when setting a
filterin a WebGL Vector Layer (by @jahow in https://github.com/openlayers/openlayers/pull/16710) - Fix a shader compilation error when setting stroke dash and point style (by @jahow in https://github.com/openlayers/openlayers/pull/16716)
- Document that polygons must have a fill for full hit detection #16698 (by @m-mohr in https://github.com/openlayers/openlayers/pull/16701)
- Add getLength method to ol/geom/MultiLineString (by @MoonE in https://github.com/openlayers/openlayers/pull/16708)
- Add sustaining sponsors to the main page of the website (by @ahocevar in https://github.com/openlayers/openlayers/pull/16703)
- Fix typo in Offscreen Canvas example (by @jahow in https://github.com/openlayers/openlayers/pull/16695)
- Remove unnecessary eslint-disable directive (by @tschaub in https://github.com/openlayers/openlayers/pull/16692)
- Simplify MapBrowserEvent types and conditions code (by @ahocevar in https://github.com/openlayers/openlayers/pull/16683)
Dependency Updates
- Bump serve-static from 1.16.2 to 2.2.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16766)
- Bump sinon from 19.0.4 to 20.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16770)
- Bump @typescript-eslint/parser from 8.27.0 to 8.28.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16768)
- Bump rollup from 4.37.0 to 4.38.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16769)
- Bump webpack-dev-server from 5.2.0 to 5.2.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/16767)
- Bump jspdf from 3.0.0 to 3.0.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/16748)
- Bump eslint from 9.22.0 to 9.23.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16751)
- Bump sinon from 19.0.2 to 19.0.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/16750)
- Bump rollup from 4.36.0 to 4.37.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16752)
- Bump @typescript-eslint/parser from 8.26.1 to 8.27.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16749)
- Bump @metalsmith/layouts from 2.7.0 to 3.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16731)
- Bump rollup from 4.35.0 to 4.36.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16730)
- Bump canvg from 3.0.10 to 3.0.11 (by @openlayers in https://github.com/openlayers/openlayers/pull/16735)
- Bump @rollup/plugin-node-resolve from 16.0.0 to 16.0.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/16732)
- Bump shx from 0.3.4 to 0.4.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16729)
- Bump @typescript-eslint/parser from 8.26.0 to 8.26.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/16728)
- Bump rollup from 4.34.9 to 4.35.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16713)
- Bump @rollup/plugin-commonjs from 28.0.2 to 28.0.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/16711)
- Bump eslint from 9.21.0 to 9.22.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16712)
- Bump ol-stac from 1.0.0-rc.9 to 1.0.0-rc.10 (by @openlayers in https://github.com/openlayers/openlayers/pull/16714)
- Bump puppeteer from 24.3.0 to 24.4.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/16715)
- Bump typescript from 5.7.3 to 5.8.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/16687)
- Bump dawidd6/action-download-artifact from 8 to 9 (by @openlayers in https://github.com/openlayers/openlayers/pull/16684)
- Bump rollup from 4.34.8 to 4.34.9 (by @openlayers in https://github.com/openlayers/openlayers/pull/16686)
New Contributors
- @RubenKad made their first contribution in https://github.com/openlayers/openlayers/pull/16352
- @semihher made their first contribution in https://github.com/openlayers/openlayers/pull/16599
- @yjwoo14 made their first contribution in https://github.com/openlayers/openlayers/pull/16724
- @natalvc made their first contribution in https://github.com/openlayers/openlayers/pull/16736
- @catakot made their first contribution in https://github.com/openlayers/openlayers/pull/16746
- @ltkum made their first contribution in https://github.com/openlayers/openlayers/pull/16771
Full Changelog: https://github.com/openlayers/openlayers/compare/v10.4.0...v10.5.0