changelog/v3.18.0.md
The v3.18.0 release includes features and fixes from almost 120 pull requests since the v3.17.1 release. Most of the changes are bug fixes and continuing removal of the dependency on Closure Library. New features include:
Intersects and Within filters to ol.format.ogc.filter #5668overlaps option for ol.source.Vector and ol.source.VectorTile to improve rendering performance for polygon topologies #5196rotateWithView option for ol.style.Text to control appearance of text on rotated views #5050#scale() method to ol.geom.Geometry and subclasses #5685id of features in ol.format.MVT #5613Previously, minified builds of the library did not have any assertions. This caused applications to fail silently or with cryptic stack traces. Starting with this release, developers get notified of many runtime errors through the new ol.AssertionError. This error has a code property. The meaning of the code can be found on https://openlayers.org/en/latest/doc/errors/. There are additional console assertion checks in debug mode when the goog.DEBUG compiler flag is true. As this is true by default, it is recommended that those creating custom builds set this to false so these assertions are stripped.'
ol.ENABLE_NAMED_COLORSThis option was previously needed to use named colors with the WebGL renderer but is no longer needed.
The URL constructor is supported by all modern browsers, but not by older ones, such as IE. To use the KML format in such older browsers, a URL polyfill will have to be loaded before use.
A number of internal types have been renamed. This will not affect those who use the API provided by the library, but if you are compiling your application together with OpenLayers and using type names, you'll need to do the following:
ol.CollectionEventType to ol.Collection.EventTypeol.CollectionEvent to ol.Collection.Eventol.ViewHint to ol.View.Hintol.ViewProperty to ol.View.Propertyol.render.webgl.imagereplay.shader.Default.Locations to ol.render.webgl.imagereplay.defaultshader.Locationsol.render.webgl.imagereplay.shader.DefaultFragment to ol.render.webgl.imagereplay.defaultshader.Fragmentol.render.webgl.imagereplay.shader.DefaultVertex to ol.render.webgl.imagereplay.defaultshader.Vertexol.renderer.webgl.map.shader.Default.Locations to ol.renderer.webgl.defaultmapshader.Locationsol.renderer.webgl.map.shader.Default.Locations to ol.renderer.webgl.defaultmapshader.Locationsol.renderer.webgl.map.shader.DefaultFragment to ol.renderer.webgl.defaultmapshader.Fragmentol.renderer.webgl.map.shader.DefaultVertex to ol.renderer.webgl.defaultmapshader.Vertexol.renderer.webgl.tilelayer.shader.Fragment to ol.renderer.webgl.tilelayershader.Fragmentol.renderer.webgl.tilelayer.shader.Locations to ol.renderer.webgl.tilelayershader.Locationsol.renderer.webgl.tilelayer.shader.Vertex to ol.renderer.webgl.tilelayershader.Vertexol.webgl.WebGLContextEventType to ol.webgl.ContextEventTypeol.webgl.shader.Fragment to ol.webgl.Fragmentol.webgl.shader.Vertex to ol.webgl.VertexresultType attribute in docs (@tsauerwein)