Django-ddp

Latest version: v0.19.1

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

Scan your dependencies

Page 2 of 9

0.17.1

-------------------
* Fix minor issue where some subscription queries still used slow queries.

0.17.0

-------------------
* Make the SQL for subscriptions much faster for PostgreSQL.
* Repeatable builds using ye olde make.
* Use tox test runner - no tests yet (11).
* Add concrete requirement files for test suite (11).
* Started documentation using Sphinx (10).
* Python 3 style exception handling.

0.16.0

-------------------
* New setting: `DDP_API_ENDPOINT_DECORATORS`.
This setting takes a list of dotted import paths to decorators which are applied to API endpoints. For example, enable New Relic instrumentation by adding the line below to your Django `settings.py`:

.. code:: python

DDP_API_ENDPOINT_DECORATORS = ['newrelic.agent.background_task']

* Fixed 7 -- Warn if using DB engines other than psycopg2 - thanks Matvey-Kuk.
* Improvements to error/exception handling.
* Warn if many TX chunks are queued in case WebSocket has stalled.
* Bugfix thread locals setup when opening WebSocket.
* Add missing import for print function (Python 2).
* Work towards 16 -- Use `psycopg2cffi` compatibility if `psycopg2` not
installed.

0.15.0

-------------------
* Renamed `Logs` collection and publication to `dddp.logs` to be consistent with naming conventions used elsewhere.
* Pass all attributes from `logging.LogRecord` via `dddp.logs` collection.
* Use select_related() and resultant cached relational fields to speed up Colleciton.serialize() by significantly reducing round-trips to the database.
* Fix bug in `get_meteor_ids()` which caused many extra database hits.

0.14.0

-------------------
* Correctly handle serving app content from the root path of a domain.
* Account security tokens are now calculated for each minute allowing for finer grained token expiry.
* Fix bug in error handling where invalid arguments were being passed to `logging.error()`.
* Change setting names (and implied meanings):
- DDP_PASSWORD_RESET_DAYS_VALID becomes
DDP_PASSWORD_RESET_MINUTES_VALID.
- DDP_LOGIN_RESUME_DAYS_VALID becomes DDP_LOGIN_RESUME_MINUTES_VALID.
* Include `created` field in logs collection.
* Stop depending on `Referrer` HTTP header which is optional.
* Honour `--verbosity` in `dddp` command, now showing API endpoints in more verbose modes.
* Updated `dddp.test` to Meteor 1.2 and also showing example of URL config to serve Meteor files from Python.

0.13.0

-------------------
* Abstract DDPLauncher out from dddp.main.serve to permit use from other contexts.
* Allow Ctrl-C (Break) handling at any time.
* Only run async DB connection when PostgresGreenlet is running.
* Remove unused import `os.path` from setup.
* Include `name` and `levelno` attributes in DDP emitted log records.
* Don't attempt to monkey patch more than once.
* Include exception info in `logger.error` logging call.
* Update project classifiers to show specific versions of supported dependencies (fixes 6).
* Use sane default options for `python setup.py bdist_wheel`.
* Fixed README link to meteor - thanks LegoStormtroopr.

Page 2 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.