Django-salesforce

Latest version: v5.0.1

Safety actively analyzes 613631 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

5.0.1

------------------------
* Add: Support for ``db_default`` field option in Django 5.0. It allows a seamless
support of the ``defaultedOnCreate`` counterpart in Salesforce.
* Add: Support for Salesforce API 60.0 Spring '24.
* Change: Values of ``FloatField`` are now really float, not Decimal as previously.
* Fix: Compatibility with the current django-debug-toolbar 322
* Fix: Introspection ``inspectdb`` of custom editable name fields 308
* Add: FloatField is used by ``inspectdb`` for some metadata with negative decimal places
that are new in API 60.0.
* Change: A license code is required also in the first half of lifetime of a LTS version
unless the AGPL licence is accepted.
Django 4.2 LTS will be unlocked together with unlocking 5.0 in August 2024
in Django-salesforce 5.1 release.
* Change: License code validity may not transfer to the next django-salesforce version
if sponsorship ended.

5.0

----------------
* Add: Support for Django 5.0
* Add: Monitoring 'api_usage' from 'Sforce-Limit-Info' API response header 317

4.2

----------------
* Add: Basic diagnostics after installation can be done by command
``python manage.py check --database=salesforce``
* Change: Use with Django 4.2 requires an enterprise license key.
* Add: Support for Django 4.2
* Use API 58.0 Summer '23
* Add: Support for Django Database caching 315
* Fix: Configurable max introspected pick-list size
SF_MAX_INSPECTDB_PICKLIST_LENGTH 312
Some people need to introspect huge picklists, some don't want.

4.1

----------------
* Add: Support for Django 4.1
* Add: Command ``inspectdb`` can introspect actual default values
of fields from a ``defaultValueFormula`` if it is a simple constant
like a number or a string.
* Fix: A default value ``DefaultedOnCreate(value)`` is no longer created
by ``inspectdb`` in favour of a simple ``value``. If a simple default value
can not be known then a generic ``DEFAULTED_ON_CREATE`` is still used rarely
for default values created by a complicated or unknown function only
on Salesforce side. 280
* Fix: Optionally don't use redundant table names before field names
if queried with ``.sf(minimal_aliases=True)``; important for some
special system objects 302
* Fix: Tests with the newest Django, Salesforce, Python; including Python 3.11(beta)
* Fix: Extended SalesforceModel with PostgreSQL backend and Django >= 3.0 299

4.0

----------------
* Internal change: The default row type from salesforce Cursor is now a tuple,
not a list
* Fix: Invalid primary key from bulk_create([one_object]) in Django 3.0 298
* Add suport for Django 4.0 (rc 1) and declare support for Python 3.10,
Salesforce API 53.0 Winter '22.
* Add: Support timestamps with "auto_now_add=True" and "auto_now=True".
* Fix: Fix tests for Salesforce API 52.0 Summer '21 that broke syntax of
filters on a primary key or foreign keys: can not be compared to empty string
and allowed only =, !=, IN, NOT IN.
A filter ``.filter(field__gt='')`` must be replaced e.g. by ``.exlude(field=None)``.
* Fix: Works also with obsoleted USE_TZ=False 221
* Fix: Support also alternative clones of Beatbox 172
* Add: Implement queryset.bulk_update() method 236
* Fix: SOQL command in queryset.raw() is supported case insensitive
* Fix: ManyToMany relationships compiled also with GROUP BY, HAVING, ORDER BY. 264
* Fix: Lookup IsNull() in 'queryset.filter(...=None).update(...)' 283
* Fix: DefaultedOnCreate() to work with new sqlite3 and new Django
* Fix: Command inspectdb with --table-filter=regex_pattern
* Fix: Count('*') and Count(... distinct=True)
* Add: Simple authentication by auth.SimpleSfPasswordAuth(). 282
* Add: Higher 'threadsafety=2' level of the driver. Every thread can use its
own database connections with the same alias, but checked that the same
thread can not open more connections with the same alias.
* Add: Test for big SOQL queries of length almost 100000 bytes
* Add: Strict typing of SalesforceModel and all ``salesforce/*.py`` code.
All dependent user code can use also strict typing now.
* Add: Method .explain(...)
* Fix: Low level EXPLAIN command
* Add: Decorator 'PatchedSfConnection(... use_debug_info ...)' to can check
the executed SOQL in tests e.g. for aggregate() method.
* Add: Verbose error message in authentication.
* Add: Support offline tests with playback by MockTestCase,
also for tests of database error handling.
* Fix: Example models can now create a migration
* Fix: Check pylint, increase code coverage (91%)
* Fix: Tests updated for Salesforce API 52.0 Summer '21
* Remove: Unused code, mostly residues from old Django versions
* Add: Prepare for DynamicWebAuth; Configurable username in RefreshTokenAuth
Still requires a low level user code in middlewawe. (therefore considered as
undocumented alpha code.)

3.2

----------------
* Add: Support for Django 3.2
* Remove: Django 1.11
* Update: to use Salesforce 51.0 Spring '21 API
* Add: Fields `OneToOneField` are detected by `inspectdb` in Django >= 3.0
(and as ForeignKey unchanged in old Django)
* Fix: Fixed all hidden deprecation warnings
* Fix: Backward compatibility with old migrations. 275
* Fix: Simplify output of inspectdb if a choice is too huge
or if tables are restricted by table filter. 279

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.