Skip to content

Latest commit

 

History

History
380 lines (208 loc) · 14.2 KB

CHANGELOG.md

File metadata and controls

380 lines (208 loc) · 14.2 KB

19.0.0 (2024-05-24)

Features

BREAKING CHANGES

  • ol-util now produces a ESM build, so downstream apps need to include it in their bundler when transpiling for the browser.

18.0.1 (2024-05-16)

Bug Fixes

  • use WmsLayer type in getExtent function (ad0b70a)

18.0.0 (2024-05-14)

Features

  • add wms layer type utils (adb1ca4)
  • remove duplicate WMSLayer type (fa82fdd)

BREAKING CHANGES

  • removes the WMSLayer type from MapUtils. Use WmsLayer from typeUtils instead.
  • removes the LayerUtil.isOlSource(source) etc. functions in favor of instanceof checks

17.0.1 (2024-05-10)

Bug Fixes

  • update getExtentForLayer (8475afa)

17.0.0 (2024-04-02)

Features

BREAKING CHANGES

  • Updates the ol peerDependency to version 9

16.0.0 (2024-03-05)

Features

  • allow olFilter instances in WfsFilterUtil (1e01896)

BREAKING CHANGES

  • createWfsFilter returs an OLFilter instance / undefined now

15.0.1 (2024-03-01)

Bug Fixes

  • adds required peer dependencies for ts-eslint (3665caa)

15.0.0 (2024-01-18)

chore

BREAKING CHANGES

  • updated peer dependency for ol since some typings become more strict

14.0.0 (2023-10-09)

Bug Fixes

  • add comment for the decimal precision parameter (868cd7b)
  • added getLength decimal precision for non geodesic map (622c40a)
  • set length decimal precision to function parameters (eadd2ff)

BREAKING CHANGES

  • change default decimal precision to 10^6
  • change default decimal precision to 10^6
  • change default decimal precision to 10^6

13.0.0 (2023-09-05)

chore

  • bump ol dependency to 8.x (8398356)

BREAKING CHANGES

  • set ol peer dependency to version 8

12.0.1 (2023-09-03)

Bug Fixes

  • remove no longer available snyk badge (498af80)

12.0.0 (2023-08-31)

Bug Fixes

  • calculation of circle area for metrical and spherical units (7437a54)
  • fix circle area calculation (59045eb)
  • fix getArea for circles (38a95f7)

chore

  • allow broader version range as peer dependency (ce0c20a)
  • set required node version to v18 (b028124)

BREAKING CHANGES

  • set peer dependency for OpenLayers to ^7
  • require node v18

11.1.0 (2023-07-19)

Bug Fixes

Features

  • add formatArea for circles (4a50106)

11.0.0 (2023-06-26)

Bug Fixes

  • adds check for capabilities structure (a43def5)

Features

  • replace xml2js by fast-xml-parser (9c69e91)

BREAKING CHANGES

  • the installation of packages timers and stream is not required any more

10.3.1 (2023-06-20)

Bug Fixes

  • fix extent determination for getCapabilities requests v1.1.0 or v1.1.1 (c838b8d)
  • fix instance check (912b3ab)

10.3.0 (2023-05-15)

Features

  • util to set visiblity for a list of layers (f250e56)

10.2.4 (2023-03-07)

Bug Fixes

10.2.3 (2023-02-17)

Bug Fixes

  • moveFeature in AnimateUtil (c35ca3b)

10.2.2 (2023-02-06)

Bug Fixes

10.2.1 (2023-01-26)

Bug Fixes

  • reintroduces the use of propertyNames (c222326)

10.2.0 (2023-01-23)

Bug Fixes

Features

10.1.3 (2022-12-15)

Bug Fixes

  • source type detection in production builds (e1f9595)

10.1.2 (2022-12-13)

Bug Fixes

  • printing with inkmap decoupled from openlayers version (2a01705)

10.1.1 (2022-12-12)

Bug Fixes

  • adjusts filter in permalink for image layer (a977ac5)

10.1.0 (2022-12-12)

Bug Fixes

  • tests adjusted to legend graphic request param (fca5780)

Features

  • get legend url for wmts from layer property (589e981)

10.0.1 (2022-12-09)

Bug Fixes

10.0.0 (2022-11-15)

Bug Fixes

  • restore attribute config object for multiple feature types (776c2f2)

BREAKING CHANGES

  • attributeDetails expects a nested object mapping requestable feature types to their attribute details

9.0.0 (2022-11-14)

Bug Fixes

  • adaptaions after ol7 upgrade (15edac9)
  • fix import after ol upgrade (8f07aa6)
  • get rid of unnecessary quotes (10eb361)

chore

BREAKING CHANGES

  • set ol peer dependency to 7.1

8.1.0 (2022-10-28)

Bug Fixes

  • export of compiled sources and location of test assets (638996a)
  • output directory of docs required for build pipeline (3625867)
  • remove uneeded release phase (626b768)
  • set correct default branch (6c528d1)

Features

  • introduce commitlint to use predefined commit message conventions (1422aa5)
  • introduce semantic-release plugin (9cbe0c0)

[8.0.0]

🚨 BREAKING CHANGES 🚨

  • Adds typings for all util functions. This may lead to type conflicts in certain projects
  • CapabilitiesUtil.parseWmsCapabilities(…) has been removed. Can be replaced by CapabilitiesUtil.getWmsCapabilities(…)
  • GeomtryUtil
    • Use ProjectionLike (OpenLayers ype) instead of string for projections
    • separateGeometries can either handle simple geometry or geometry array now
  • MapUtil
    • remove getInteractionsByClass in MapUtils - Instead:
      • set name to interaction and use getInteractionByName
      • filter interactions using typeof in your project
    • ProjectionUtil:
      • Crs definitions are typed now and defaultProj4CrsDefinitions moved to an array of CrsDefinition
        • if custom definitions are used in initProj4Definitions these have to migrated in the following way:
        {
           'EPSG:25832': '+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs',
           'EPSG:25833': '+proj=utm +zone=33 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs'
        }
        has to be migrated to
        [{
          crsCode: 'EPSG:25832',
          definition: '+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs'
        }, {
          crsCode: 'EPSG:25833',
          definition: '+proj=utm +zone=33 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs'}
        }]
      • Crs mappings are typed now and defaultProj4CrsMappings moved to an array of CrsMapping
        • if custom definitions are used in initProj4DefinitionMappings these have to migrated in the following way:
        {
            'urn:ogc:def:crs:EPSG::25832': 'EPSG:25832',
            'urn:ogc:def:crs:EPSG::25833': 'EPSG:25833'
        }
        has to be migrated to
        [{
          alias: 'urn:ogc:def:crs:EPSG::25832',
          mappedCode: 'EPSG:25832'
        }, {
          alias: 'urn:ogc:def:crs:EPSG::25833',
          mappedCode: 'EPSG:25833'
        }]
  • WfsFilterUtil has completely been overhauled:
    • in contrast to the migrated WfsFilterUtil, from now on the search / filter has to be configured using the new type SearchConfig.
    • For example: a filter creation for an exact search of my search term in attribute name of feature type TEST:MYTYPE looks like this:
      const attributeDetails: AttributeDetails [] = [{
        type: 'string',
        exactSearch: true,
        attributeName: 'name'
      }];
      const searchTerm = 'my search term';
      const filter = WfsFilterUtil.createWfsFilter(searchTerm, attributeDetails);
    };