diff --git a/openeo_driver/_version.py b/openeo_driver/_version.py index ea75999e..86bcd289 100644 --- a/openeo_driver/_version.py +++ b/openeo_driver/_version.py @@ -1 +1 @@ -__version__ = "0.55.0a1" +__version__ = "0.56.0a1" diff --git a/openeo_driver/views.py b/openeo_driver/views.py index c89fe0ed..b2797e41 100644 --- a/openeo_driver/views.py +++ b/openeo_driver/views.py @@ -45,6 +45,7 @@ "1.0.1": ApiVersionInfo(version="1.0.1", supported=True, wellknown=False, production=True), "1.1.0": ApiVersionInfo(version="1.1.0", supported=True, wellknown=False, production=False), "1.1": ApiVersionInfo(version="1.1.0", supported=True, wellknown=True, production=True), + "1.2": ApiVersionInfo(version="1.2.0", supported=True, wellknown=True, production=False), } API_VERSION_DEFAULT = "1.1.0" diff --git a/tests/test_views.py b/tests/test_views.py index 850f4f76..bf021f88 100644 --- a/tests/test_views.py +++ b/tests/test_views.py @@ -127,8 +127,9 @@ def test_well_known_openeo(self, client): by_api_version = {d["api_version"]: d for d in versions} assert len(versions) == len(by_api_version) assert by_api_version == { - "1.0.0": {'api_version': '1.0.0', 'production': True, 'url': 'http://oeo.net/openeo/1.0/'}, - "1.1.0": {'api_version': '1.1.0', 'production': True, 'url': 'http://oeo.net/openeo/1.1/'}, + "1.0.0": {"api_version": "1.0.0", "production": True, "url": "http://oeo.net/openeo/1.0/"}, + "1.1.0": {"api_version": "1.1.0", "production": True, "url": "http://oeo.net/openeo/1.1/"}, + "1.2.0": {"api_version": "1.2.0", "production": False, "url": "http://oeo.net/openeo/1.2/"}, } assert resp.headers["Cache-Control"] == "max-age=900, public"