v5.1.0
The 5.1 release adds a few new features a handful of fixes. You should be able to upgrade without any additional work. See the one note below regarding null
geometry coordinates.
We're working toward type checking with TypeScript. This will complete our move away from using the Closure Compiler for type checking and compilation. We're excited about the improved experience for application developers and will highlight some of the benefit in upcoming releases.
Upgrade Notes
Geometry constructor and setCoordinates
no longer accept null
coordinates
Geometries (ol/geom/*
) now need to be constructed with valid coordinates (center for ol/geom/Circle
) as first constructor argument. The same applies to the setCoordinates()
(setCenter() for
ol/geom/Circle`) method.
New Features and Fixes
- #8409 - Add abstract translate to ol/geom/Geometry (@pjeweb)
- #8405 - Minor type fixes (@tschaub)
- #8401 - Make webpack's css loader work (@ahocevar)
- #8403 - Markdown links (@tschaub)
- #8402 - Type fixes from the typescript checks (@fredj)
- #8400 - ESLint config update (@tschaub)
- #8399 - Copy ol.css to build dir when building package (@ahocevar)
- #8397 - Update rollup (@tschaub)
- #8385 - Use class syntax (@openlayers)
- #8383 - style/Icon: Add
setAnchor()
method (@Turbo87) - #8368 - Make render listeners work with image render mode (@ahocevar)
- #8376 - copy ZM values to polygon in makeRegular (@virtualcitySYSTEMS)
- #8372 - Release v5.0.3 (@openlayers)
- #8364 - Make examples work in IE11 (@ahocevar)
- #8363 - Autogenerate src/ol/package.json (@ahocevar)
- #8371 - Skip rendering when there is no replay group (@ahocevar)
- #8362 - Smart flat coordinates (@ahocevar)
- #8352 - Set
sideEffects
tofalse
instead of"false"
(@tschaub) - #8351 - Fix typo in release notes (@ahocevar)
- #8350 - Updates for v5.0.2 (@ahocevar)
- #8349 - Release v5.0.1 (@ahocevar)
- #8343 - Starter projects (@tschaub)
- #8347 - Fix typos in release notes (@ahocevar)
- #8346 - Release v5.0.1 (@openlayers)
- #8342 - Fix links and description in quickstart tutorial (@ahocevar)
- #8344 - Updated issue and pr templates (@tschaub)
- #8341 - Set sideEffects: false flag (@ahocevar)
- #8333 - Fix wrong return type for readHref function (@openlayers)
- #8329 - Better jsdoc typing (@fredj)
- #8319 - Remove reference to setProj4 function in documentation (@fredj)
Dependency Updates
- #8410 - Update rollup to the latest version 🚀 (@openlayers)
- #8408 - Update rollup to the latest version 🚀 (@openlayers)
- #8386 - Update fs-extra to the latest version 🚀 (@openlayers)
- #8382 - Update webpack to the latest version 🚀 (@openlayers)
- #8373 - Update webpack to the latest version 🚀 (@openlayers)
- #8355 - Update recast to the latest version 🚀 (@openlayers)
- #8354 - Update webpack to the latest version 🚀 (@openlayers)
- #8348 - Update webpack to the latest version 🚀 (@openlayers)
- #8338 - Update recast to the latest version 🚀 (@openlayers)
- #8332 - Update webpack to the latest version 🚀 (@openlayers)
- #8326 - Update webpack to the latest version 🚀 (@openlayers)
- #8321 - Update rollup to the latest version 🚀 (@openlayers)
- #8318 - Update webpack to the latest version 🚀 (@openlayers)