From ccb6533a32d216ffb7441c5db30533a41efbcea9 Mon Sep 17 00:00:00 2001 From: Stan Janssen Date: Sat, 9 Apr 2022 12:59:32 +0200 Subject: [PATCH] Release version 0.5.25 This version contains many fixes that were suggested by community members. Thank you so much for taking the time to find these and for reporting them. Fixed: - Implemented Registration Cancellations - The VEN will now stop if the VTN did not accept the registration - The XML messages will now be logged more consistently if debugging is enabled - Fixed a deprecation warning from tzlocal (from apscheduler) - The VEN will now not re-send its report registrations after it was re-registered itself - VEN: Added duration to metadata reports - VEN: Removed eiReportID from metadata reports - VEN: Added dtStart to outgoing reports - VTN: Update the created_date_time anytime the Event's status changes --- VERSION | 2 +- openleadr/client.py | 1 - setup.py | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index acdaa1c..c98d62a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.5.24 +0.5.25 diff --git a/openleadr/client.py b/openleadr/client.py index f7a0fca..fcbdeb8 100755 --- a/openleadr/client.py +++ b/openleadr/client.py @@ -426,7 +426,6 @@ async def create_party_registration(self, http_pull_model=True, xml_signature=Fa logger.error("No venID received from the VTN during registration. " "Will assume that we are not or no longer registered.") - if self.registration_id: self.poll_frequency = response_payload.get('requested_oadr_poll_freq', timedelta(seconds=10)) diff --git a/setup.py b/setup.py index fe15e09..ef5fab6 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ long_description = fh.read() setup(name='openleadr', - version='0.5.24', + version='0.5.25', description='Python3 library for building OpenADR Clients (VENs) and Servers (VTNs)', long_description=long_description, long_description_content_type='text/markdown',