From eb480ba65a7f5466cbeaaaa783873cdbbf5b37b3 Mon Sep 17 00:00:00 2001 From: theborch Date: Fri, 14 Mar 2025 09:01:59 -0500 Subject: [PATCH 1/2] fix:missing underscore replace in global fields --- src/pybritive/helpers/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybritive/helpers/config.py b/src/pybritive/helpers/config.py index ea9c0b1..ce1fbd6 100644 --- a/src/pybritive/helpers/config.py +++ b/src/pybritive/helpers/config.py @@ -258,7 +258,7 @@ def validate(self): def validate_global(self, section, fields): for field, value in fields.items(): - if field not in global_fields: + if field.replace('-', '_') not in global_fields: self.validation_error_messages.append(f'Invalid {section} field {field} provided.') if field == 'output_format' and value not in output_format_choices.choices: error = f'Invalid {section} field {field} value {value} provided. Invalid value choice.' From a58133f2883b27f3fa1b6baa59b7f7b3e71c3d0c Mon Sep 17 00:00:00 2001 From: theborch Date: Fri, 14 Mar 2025 09:03:32 -0500 Subject: [PATCH 2/2] v2.1.2 --- CHANGELOG.md | 22 ++++++++++++++++++++++ src/pybritive/__init__.py | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94bb755..5a45fae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,28 @@ > As of v1.4.0, release candidates will be published in an effort to get new features out faster while still allowing > time for full QA testing before moving the release candidate to a full release. +## v2.1.2 [2025-03-14] + +__What's New:__ + +* None + +__Enhancements:__ + +* None + +__Bug Fixes:__ + +* Fixed missing underscore string replace in global field names. + +__Dependencies:__ + +* None + +__Other:__ + +* None + ## v2.1.1 [2025-03-13] __What's New:__ diff --git a/src/pybritive/__init__.py b/src/pybritive/__init__.py index 55fa725..f811561 100644 --- a/src/pybritive/__init__.py +++ b/src/pybritive/__init__.py @@ -1 +1 @@ -__version__ = '2.1.1' +__version__ = '2.1.2'