Skip to content

Commit

Permalink
Merge pull request #1874 from OpenEnergyPlatform/release-v1.0.4
Browse files Browse the repository at this point in the history
Release v1.0.4
  • Loading branch information
jh-RLI authored Sep 25, 2024
2 parents e332290 + 12d616d commit 93ecfa2
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.0.3
current_version = 1.0.4

[bumpversion:file:VERSION]

Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.3
1.0.4
1 change: 1 addition & 0 deletions api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion factsheet/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ def serialize_publication_date(triple_object_pub_year: str):

def remove_non_printable(text):
if text is not None:
allowed_chars = re.compile(r'[a-zA-Z0-9äöüÄÖÜß.,;:!?\'"()\-\s]')
allowed_chars = re.compile(r'[a-zA-Z0-9äöüÄÖÜß.,;:!?\'"()\-\s_]')
return ''.join(char if allowed_chars.match(char) else '' for char in text)
return None
2 changes: 1 addition & 1 deletion oeplatform/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.3"
__version__ = "1.0.4"
13 changes: 13 additions & 0 deletions versions/changelogs/1_0_4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changes to the oeplatform code

## 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)

## Documentation updates

0 comments on commit 93ecfa2

Please sign in to comment.