From ed6775af5eddfa83d8147b4a2e0c3d8bff5fe1a9 Mon Sep 17 00:00:00 2001 From: Jonas Huber Date: Wed, 25 Sep 2024 19:19:29 +0200 Subject: [PATCH 1/4] add release changelog --- versions/changelogs/1_0_4.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 versions/changelogs/1_0_4.md diff --git a/versions/changelogs/1_0_4.md b/versions/changelogs/1_0_4.md new file mode 100644 index 000000000..e9fb2261d --- /dev/null +++ b/versions/changelogs/1_0_4.md @@ -0,0 +1,11 @@ +# Changes to the oeplatform code + +## Changes + +## Features + +## Bugs + +- Fix a bug in the scenario bundles app that removed any "\_" in technical tables names leading to incorrect rendering of these names [(#1872)](https://github.com/OpenEnergyPlatform/oeplatform/pull/1872) + +## Documentation updates From f0ec96498309afa1ad43753ad0969cd74e5d0574 Mon Sep 17 00:00:00 2001 From: Jonas Huber Date: Wed, 25 Sep 2024 19:20:16 +0200 Subject: [PATCH 2/4] bump version -> v1.0.4 --- .bumpversion.cfg | 2 +- CITATION.cff | 2 +- VERSION | 2 +- oeplatform/__init__.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index ebad393a2..6b02704e7 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.0.3 +current_version = 1.0.4 [bumpversion:file:VERSION] diff --git a/CITATION.cff b/CITATION.cff index caee20bb3..e8efd5801 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -28,7 +28,7 @@ authors: title: "Open Energy Family - Open Energy Platform (OEP)" type: software license: AGPL-3.0-or-later -version: 1.0.3 +version: 1.0.4 doi: date-released: 2024-09-25 url: "https://github.com/OpenEnergyPlatform/oeplatform/" diff --git a/VERSION b/VERSION index 21e8796a0..ee90284c2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.3 +1.0.4 diff --git a/oeplatform/__init__.py b/oeplatform/__init__.py index 976498ab9..92192eed4 100644 --- a/oeplatform/__init__.py +++ b/oeplatform/__init__.py @@ -1 +1 @@ -__version__ = "1.0.3" +__version__ = "1.0.4" From ef0d9214b1bcd1b0803077b55f3861c864ab2e6c Mon Sep 17 00:00:00 2001 From: Jonas Huber Date: Wed, 25 Sep 2024 19:26:37 +0200 Subject: [PATCH 3/4] add never cache header to columns api view --- api/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/views.py b/api/views.py index 34fff7852..b6a677576 100644 --- a/api/views.py +++ b/api/views.py @@ -656,6 +656,7 @@ def put(self, request): class Column(APIView): @api_exception + @never_cache def get(self, request, schema, table, column=None): schema, table = actions.get_table_name(schema, table, restrict_schemas=False) response = actions.describe_columns(schema, table) From 12d616d38811cad6c74519b284a135ee58ad99ea Mon Sep 17 00:00:00 2001 From: Jonas Huber Date: Wed, 25 Sep 2024 19:27:50 +0200 Subject: [PATCH 4/4] update release changelog --- versions/changelogs/1_0_4.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/versions/changelogs/1_0_4.md b/versions/changelogs/1_0_4.md index e9fb2261d..178ee0faf 100644 --- a/versions/changelogs/1_0_4.md +++ b/versions/changelogs/1_0_4.md @@ -2,10 +2,12 @@ ## Changes +- Add never cache headers to columns http get api view [(#1872)](https://github.com/OpenEnergyPlatform/oeplatform/pull/1872). + ## Features ## Bugs -- Fix a bug in the scenario bundles app that removed any "\_" in technical tables names leading to incorrect rendering of these names [(#1872)](https://github.com/OpenEnergyPlatform/oeplatform/pull/1872) +- Fix a bug in the scenario bundles app that removed any '\_' in technical tables names leading to incorrect rendering of these names [(#1872)](https://github.com/OpenEnergyPlatform/oeplatform/pull/1872) ## Documentation updates