From 6675ba8d0a939007db28372b323195ce61583e73 Mon Sep 17 00:00:00 2001 From: Hynek Cernoch Date: Wed, 22 May 2024 16:45:51 +0200 Subject: [PATCH] Prepare version 5.0.2 --- CHANGELOG.rst | 10 ++++++++-- salesforce/__init__.py | 3 ++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index eefa4882..54e53bca 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -15,9 +15,15 @@ experimental. [5.0.2] not released yet ------------------------ -* Fix: Compile correctly: .filter(related_model__field__in=...) +* Change: Removed the old Python 3.7 +* Add: Support for date and datetime lookup by year, quarter, month, day, week_day, hour + e.g. group this year by month: + .filter(date__year=2024).value('date__month').annotate(total=Sum('amount')) +* Add: The method .sf(minimal_aliases=True) is not necessary + for ContentDocumentLink .filter(...); #259 +* Fix: Compile correctly: .filter(related_model__field__in=...) Fix #302 * Fix: Prepare tests for Salesforce API 61.0 Summer '24 -* Add: Introspect fields of type Formula +* Add: Introspect Salesforce fields of type Formula to sf_formula="..." parameter [5.0.1] 2024-03-04 diff --git a/salesforce/__init__.py b/salesforce/__init__.py index 4ab7ee49..257ec04d 100644 --- a/salesforce/__init__.py +++ b/salesforce/__init__.py @@ -14,11 +14,12 @@ # Default version of Force.com API. # It can be customized by settings.DATABASES['salesforce']['API_VERSION'] API_VERSION = '60.0' # Spring '24 +# API_VERSION = '61.0' # Summer '24 from salesforce.dbapi.exceptions import ( # NOQA pylint:disable=unused-import,useless-import-alias,wrong-import-position IntegrityError as IntegrityError, DatabaseError as DatabaseError, SalesforceError as SalesforceError, ) -__version__ = "5.0.1" +__version__ = "5.0.2" log = logging.getLogger(__name__)