diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a6449027..7b1dddb14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Current Main +## 0.7.0 ### Breaking Changes @@ -13,13 +13,13 @@ - API: Change media type of GeoJSON response ([#199]) - Validate indicator-layer combination with `pydantic` ([#190]) -- Improve API response when an error occurs by including informations about the cause ([#186]) -- Add parameter to get API response without svg string in the result. ([#137]) +- Improve API response when an error occurs by including information about the cause ([#186]) +- Add parameter to get API response without svg string in the result ([#137]) - Extend time range for Currentness indicator ([#178]) ### How to upgrade -- Update requests for `/indicator` and `/report` endpoints. `name` is now a *Query* parameter ([#190]) +- Update requests for `/indicator` and `/report` endpoints. `name` is now a Query parameter. ([#190]) - E.g. `/indicator/GhsPopComparisonBuilding` -> `indicator?name=GhsPopComparisonBuilding` - Update `bpolys` parameter of POST requests to be a GeoJSON object instead of a string ([#204]) - To retrieve a figure for the result as `SVG` string from the `/indicator` and `/report` endpoints set the request parameter 'includeSvg' to True ([#137]) diff --git a/docs/api.md b/docs/api.md index a38a14ec7..f485d90ca 100644 --- a/docs/api.md +++ b/docs/api.md @@ -6,7 +6,7 @@ ```txt { - "apiVersion": "0.6.0", + "apiVersion": "0.7.0", "attribution": { "text": "© OpenStreetMap contributors", "url": "https://ohsome.org/copyrights" @@ -41,7 +41,7 @@ ```txt { - "apiVersion": "0.6.0", + "apiVersion": "0.7.0", "attribution": { "text": "© OpenStreetMap contributors", "url": "https://ohsome.org/copyrights" diff --git a/workers/ohsome_quality_analyst/__init__.py b/workers/ohsome_quality_analyst/__init__.py index 2dbe6cb0f..b46bdb8ba 100644 --- a/workers/ohsome_quality_analyst/__init__.py +++ b/workers/ohsome_quality_analyst/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.6.0" +__version__ = "0.7.0" __title__ = "ohsome quality analyst" __description__ = "Intrinsic and extrinsic data quality metrics for OpenStreetMap data." __author__ = "ohsome team" diff --git a/workers/pyproject.toml b/workers/pyproject.toml index efc832fc8..54a73c78d 100644 --- a/workers/pyproject.toml +++ b/workers/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ohsome_quality_analyst" -version = "0.6.0" +version = "0.7.0" description = "Intrinsic and extrinsic data quality metrics for OpenStreetMap data." authors = ["ohsome team "] homepage = "https://oqt.ohsome.org" diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_indicator.json b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_indicator.json index 647d6f908..33f57ec31 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_indicator.json +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_indicator.json @@ -20,7 +20,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "2529" diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_indicator_geojson_io.json b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_indicator_geojson_io.json index 0ce3dd17b..49b188fff 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_indicator_geojson_io.json +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_indicator_geojson_io.json @@ -20,7 +20,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "427" @@ -102,7 +102,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "427" @@ -184,7 +184,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "1350" @@ -266,7 +266,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "1438" @@ -348,7 +348,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "427" @@ -430,7 +430,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "1350" @@ -512,7 +512,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "1438" diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_report.json b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_report.json index 809ef42d2..47c18d5d2 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_report.json +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_report.json @@ -20,7 +20,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "2554" diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_report_geojson_io.json b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_report_geojson_io.json index ece52b334..9621f432e 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_report_geojson_io.json +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_api_report_geojson_io.json @@ -20,7 +20,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "452" @@ -102,7 +102,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "427" @@ -184,7 +184,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "452" @@ -266,7 +266,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "427" @@ -348,7 +348,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "1375" @@ -430,7 +430,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "1350" @@ -512,7 +512,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "1463" @@ -594,7 +594,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "1438" @@ -676,7 +676,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "452" @@ -758,7 +758,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "427" @@ -840,7 +840,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "1375" @@ -922,7 +922,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "1350" @@ -1004,7 +1004,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "1463" @@ -1086,7 +1086,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "1438" diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_cli.json b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_cli.json index 574670b7d..aea583e80 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_cli.json +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_cli.json @@ -20,7 +20,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "2529" diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_cli_geojson_io.json b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_cli_geojson_io.json index 2d86a7fa3..4d173b383 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_cli_geojson_io.json +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_cli_geojson_io.json @@ -20,7 +20,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "1350" @@ -102,7 +102,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "1438" @@ -184,7 +184,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "427" @@ -266,7 +266,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "1375" @@ -348,7 +348,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "1463" @@ -430,7 +430,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "452" diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_geodatabase.json b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_geodatabase.json index 8563de61b..11ec6c794 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_geodatabase.json +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_geodatabase.json @@ -20,7 +20,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "2529" diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_currentness.json b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_currentness.json index d049c778a..3b885c43d 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_currentness.json +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_currentness.json @@ -20,7 +20,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ] } }, @@ -96,7 +96,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "2613" @@ -178,7 +178,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "2648" @@ -260,7 +260,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "2642" @@ -342,7 +342,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "452" @@ -424,7 +424,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "487" @@ -506,7 +506,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "481" diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_ghs_pop_comparison_buildings.json b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_ghs_pop_comparison_buildings.json index 01bedaaaa..7b8573e5a 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_ghs_pop_comparison_buildings.json +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_ghs_pop_comparison_buildings.json @@ -20,7 +20,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "2529" diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_mapping_saturation.json b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_mapping_saturation.json index cd603ce31..d018e341e 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_mapping_saturation.json +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_mapping_saturation.json @@ -20,7 +20,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "2638" @@ -102,7 +102,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "465" @@ -184,7 +184,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "2554" @@ -266,7 +266,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "1788" diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_poi_density.json b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_poi_density.json index bcf2a65aa..9bb064f53 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_poi_density.json +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_poi_density.json @@ -20,7 +20,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "731" diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_tags_ratio.json b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_tags_ratio.json index 363af96d3..7b90ee42c 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_tags_ratio.json +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_indicator_tags_ratio.json @@ -20,7 +20,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "2906" @@ -102,7 +102,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "817" diff --git a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_oqt.json b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_oqt.json index 29a4fd9ab..4ef4e4346 100644 --- a/workers/tests/integrationtests/fixtures/vcr_cassettes/test_oqt.json +++ b/workers/tests/integrationtests/fixtures/vcr_cassettes/test_oqt.json @@ -20,7 +20,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "2613" @@ -102,7 +102,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "2529" @@ -184,7 +184,7 @@ "keep-alive" ], "user-agent": [ - "ohsome-quality-analyst/0.6.0" + "ohsome-quality-analyst/0.7.0" ], "content-length": [ "2554"