mirror of
https://github.com/jazzband/django-ddp.git
synced 2026-05-05 22:24:49 +00:00
Add missing versions and dates to the change log, plus new changes.
This commit is contained in:
parent
ab33359b9b
commit
0109f3372d
1 changed files with 158 additions and 96 deletions
254
CHANGES.rst
254
CHANGES.rst
|
|
@ -1,34 +1,47 @@
|
|||
Change Log
|
||||
==========
|
||||
|
||||
0.18.1
|
||||
------
|
||||
All notable changes to this project will be documented in this file.
|
||||
This project adheres to `Semantic Versioning <http://semver.org/>`_.
|
||||
|
||||
develop
|
||||
-------
|
||||
* Add missing versions and dates to the change log, and note on Semantic
|
||||
Versioning.
|
||||
* Back to universal wheels, thanks to PEP-0496 environment markers.
|
||||
* Fix for #23 (Python 3 compatibility).
|
||||
* Set `application_name` on PostgreSQL async connection.
|
||||
* Send `django.core.signals.request_finished` when closing WebSocket.
|
||||
* Don't require `DJANGO_SETTINGS_MODULE` to import API.
|
||||
|
||||
0.18.1 (2015-11-06)
|
||||
-------------------
|
||||
* Don't assume Django projects include a `wsgi.py`.
|
||||
|
||||
0.18.0
|
||||
------
|
||||
* Python implementaiton specific builds using tox so that Python2 and
|
||||
0.18.0 (2015-11-05)
|
||||
-------------------
|
||||
* Python implementation specific builds using tox so that Python2 and
|
||||
Python3 can have different dependencies (eg: gevent>=1.1 for Pyton3).
|
||||
* Added support for `METEOR_SETTINGS` environment variable.
|
||||
|
||||
0.17.3
|
||||
------
|
||||
0.17.3 (2015-10-30)
|
||||
-------------------
|
||||
* Depend on gevent>=1.1b6 if running anything other than CPython 2.7,
|
||||
otherwise allow gevent 1.0 (current stable).
|
||||
* Preliminary (but broken) support for PyPy/Jython/IronPython though
|
||||
platform specific install_requires on psycopg2cffi instead of psycopg2
|
||||
for all platforms except CPython 2/3.
|
||||
|
||||
0.17.2
|
||||
------
|
||||
0.17.2 (2015-10-29)
|
||||
-------------------
|
||||
* Python 3 fixes using `six` compatibility library (#16, #17).
|
||||
|
||||
0.17.1
|
||||
------
|
||||
0.17.1 (2015-10-14)
|
||||
-------------------
|
||||
* Fix minor issue where some subscription queries still used slow queries.
|
||||
|
||||
0.17.0
|
||||
------
|
||||
0.17.0 (2015-10-14)
|
||||
-------------------
|
||||
* Make the SQL for subscriptions much faster for PostgreSQL.
|
||||
* Repeatable builds using ye olde make.
|
||||
* Use tox test runner - no tests yet (#11).
|
||||
|
|
@ -36,15 +49,15 @@ Change Log
|
|||
* Started documentation using Sphinx (#10).
|
||||
* Python 3 style exception handling.
|
||||
|
||||
0.16.0
|
||||
------
|
||||
0.16.0 (2015-10-13)
|
||||
-------------------
|
||||
* 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.
|
||||
|
|
@ -53,15 +66,15 @@ Change Log
|
|||
* Work towards #16 -- Use `psycopg2cffi` compatibility if `psycopg2` not
|
||||
installed.
|
||||
|
||||
0.15.0
|
||||
------
|
||||
0.15.0 (2015-09-25)
|
||||
-------------------
|
||||
* 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
|
||||
------
|
||||
0.14.0 (2015-09-22)
|
||||
-------------------
|
||||
* 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()`.
|
||||
|
|
@ -74,8 +87,8 @@ Change Log
|
|||
* 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
|
||||
------
|
||||
0.13.0 (2015-09-18)
|
||||
-------------------
|
||||
* 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.
|
||||
|
|
@ -87,13 +100,13 @@ Change Log
|
|||
* Use sane default options for `python setup.py bdist_wheel`.
|
||||
* Fixed README link to meteor - thanks @LegoStormtroopr.
|
||||
|
||||
0.12.2
|
||||
------
|
||||
0.12.2 (2015-08-27)
|
||||
-------------------
|
||||
* Set blank=True on AleaIdField, allowing adding items without inventing
|
||||
IDs yourself.
|
||||
|
||||
0.12.1
|
||||
------
|
||||
0.12.1 (2015-08-13)
|
||||
-------------------
|
||||
* Add `AleaIdMixin` which provides `aid = AleaIdField(unique=True)` to
|
||||
models.
|
||||
* Use `AleaIdField(unique=True)` wherever possible when translating
|
||||
|
|
@ -101,102 +114,102 @@ Change Log
|
|||
round trips to the database and hence drastically improving
|
||||
performance when such fields are available.
|
||||
|
||||
0.12.0
|
||||
------
|
||||
0.12.0 (2015-08-11)
|
||||
-------------------
|
||||
* Get path to `star.json` from view config (defined in your urls.py)
|
||||
instead of from settings.
|
||||
* Dropped `dddp.server.views`, use `dddp.views` instead.
|
||||
|
||||
0.11.0
|
||||
------
|
||||
0.11.0 (2015-08-10)
|
||||
-------------------
|
||||
* Support more than 8KB of change data by splitting large payloads into
|
||||
multiple chunks.
|
||||
|
||||
0.10.2
|
||||
------
|
||||
0.10.2 (2015-08-10)
|
||||
-------------------
|
||||
* Add `Logs` publication that can be configured to emit logs via DDP
|
||||
through the use of the `dddp.logging.DDPHandler` log handler.
|
||||
* Add option to dddp daemon to provide a BackdoorServer (telnet) for
|
||||
interactive debugging (REPL) at runtime.
|
||||
|
||||
0.10.1
|
||||
------
|
||||
0.10.1 (2015-07-28)
|
||||
-------------------
|
||||
* Bugfix dddp.accounts forgot_password feature.
|
||||
|
||||
0.10.0
|
||||
------
|
||||
0.10.0 (2015-07-21)
|
||||
-------------------
|
||||
* Stop processing request middleware upon connection - see
|
||||
https://github.com/commoncode/django-ddp/commit/e7b38b89db5c4e252ac37566f626b5e9e1651a29
|
||||
for rationale. Access to `this.request.user` is gone.
|
||||
* Add `this.user` handling to dddp.accounts.
|
||||
|
||||
0.9.14
|
||||
------
|
||||
0.9.14 (2015-07-18)
|
||||
-------------------
|
||||
* Fix ordering of user added vs login ready in dddp.accounts
|
||||
authentication methods.
|
||||
|
||||
0.9.13
|
||||
------
|
||||
0.9.13 (2015-07-17)
|
||||
-------------------
|
||||
* Add dddp.models.get_object_ids helper function.
|
||||
* Add ObjectMappingMixini abstract model mixin providing
|
||||
GenericRelation back to ObjectMapping model.
|
||||
|
||||
0.9.12
|
||||
------
|
||||
0.9.12 (2015-07-16)
|
||||
-------------------
|
||||
* Bugfix /app.model/schema helper method on collections to work with
|
||||
more model field types.
|
||||
|
||||
0.9.11
|
||||
------
|
||||
0.9.11 (2015-07-14)
|
||||
-------------------
|
||||
* Fix bug in post login/logout subscription handling.
|
||||
|
||||
0.9.10
|
||||
------
|
||||
0.9.10 (2015-07-08)
|
||||
-------------------
|
||||
* Fix bug in Accounts.forgotPassword implementation.
|
||||
|
||||
0.9.9
|
||||
-----
|
||||
0.9.9 (2015-07-08)
|
||||
------------------
|
||||
* Match return values for Accounts.changePassword and
|
||||
Accounts.changePassword methods in dddp.accounts submodule.
|
||||
|
||||
0.9.8
|
||||
-----
|
||||
0.9.8 (2015-07-08)
|
||||
------------------
|
||||
* Fix method signature for Accouts.changePassword.
|
||||
|
||||
0.9.7
|
||||
-----
|
||||
0.9.7 (2015-07-08)
|
||||
------------------
|
||||
* Updated Accounts hashing to prevent cross-purposing auth tokens.
|
||||
|
||||
0.9.6
|
||||
-----
|
||||
0.9.6 (2015-07-07)
|
||||
------------------
|
||||
* Correct method signature to match Meteor Accounts.resetPassword in
|
||||
dddp.accounts submodule.
|
||||
|
||||
0.9.5
|
||||
-----
|
||||
0.9.5 (2015-07-03)
|
||||
------------------
|
||||
* Include array of `permissions` on User publication.
|
||||
|
||||
0.9.4
|
||||
-----
|
||||
0.9.4 (2015-06-29)
|
||||
------------------
|
||||
* Use mimetypes module to correctly guess mime types for Meteor files
|
||||
being served.
|
||||
|
||||
0.9.3
|
||||
-----
|
||||
0.9.3 (2015-06-29)
|
||||
------------------
|
||||
* Include ROOT_URL_PATH_PREFIX in ROOT_URL when serving Meteor build
|
||||
files.
|
||||
|
||||
0.9.2
|
||||
-----
|
||||
0.9.2 (2015-06-22)
|
||||
------------------
|
||||
* Use HTTPS for DDP URL if settings.SECURE_SSL_REDIRECT is set.
|
||||
|
||||
0.9.1
|
||||
-----
|
||||
0.9.1 (2015-06-16)
|
||||
------------------
|
||||
* Added support for django.contrib.postres.fields.ArrayField
|
||||
serialization.
|
||||
|
||||
0.9.0
|
||||
-----
|
||||
0.9.0 (2015-06-14)
|
||||
------------------
|
||||
* Added Django 1.8 compatibility. The current implementation has a
|
||||
hackish (but functional) implementation to use PostgreSQL's
|
||||
`array_agg` function. Pull requests are welcome.
|
||||
|
|
@ -204,31 +217,31 @@ Change Log
|
|||
`dbarray` package for this even though not strictly required with
|
||||
Django 1.8. Once again, pull requests are welcome.
|
||||
|
||||
0.8.1
|
||||
-----
|
||||
0.8.1 (2015-06-10)
|
||||
------------------
|
||||
* Add missing dependency on `pybars3` used to render boilerplate HTML
|
||||
template when serving Meteor application files.
|
||||
|
||||
0.8.0
|
||||
-----
|
||||
0.8.0 (2015-06-09)
|
||||
------------------
|
||||
* Add `dddp.server` Django app to serve Meteor application files.
|
||||
* Show input params after traceback if exception occurs in API methods.
|
||||
* Small pylint cleanups.
|
||||
|
||||
0.7.0
|
||||
-----
|
||||
0.7.0 (2015-05-28)
|
||||
------------------
|
||||
* Refactor serialization to improve performance through reduced number
|
||||
of database queries, especially on sub/unsub.
|
||||
* Fix login/logout user subscription, now emitting user `added`/
|
||||
`removed` upon `login`/`logout` respectively.
|
||||
|
||||
0.6.5
|
||||
-----
|
||||
0.6.5 (2015-05-27)
|
||||
------------------
|
||||
* Use OrderedDict for geventwebsocket.Resource spec to support
|
||||
geventwebsockets 0.9.4 and above.
|
||||
|
||||
0.6.4
|
||||
-----
|
||||
0.6.4 (2015-05-27)
|
||||
------------------
|
||||
* Send `removed` messages when client unsubscribes from publications.
|
||||
* Add support for SSL options and --settings=SETTINGS args in dddp tool.
|
||||
* Add `optional` and `label` attributes to ManyToManyField simple
|
||||
|
|
@ -237,17 +250,17 @@ Change Log
|
|||
than when queuing messages.
|
||||
* Move test projects into path that can be imported post install.
|
||||
|
||||
0.6.3
|
||||
-----
|
||||
0.6.3 (2015-05-21)
|
||||
------------------
|
||||
* Refactor pub/sub functionality to fix support for `removed` messages.
|
||||
|
||||
0.6.2
|
||||
-----
|
||||
0.6.2 (2015-05-20)
|
||||
------------------
|
||||
* Bugfix issue where DDP connection thread stops sending messages after
|
||||
changing item that has subscribers for other connections but not self.
|
||||
|
||||
0.6.1
|
||||
-----
|
||||
0.6.1 (2015-05-18)
|
||||
------------------
|
||||
* Fix `createUser` method to login new user after creation.
|
||||
* Dump stack trace to console on error for easier debugging DDP apps.
|
||||
* Fix handing of F expressions in object change handler.
|
||||
|
|
@ -255,14 +268,14 @@ Change Log
|
|||
* Per connection tracking of sent objects so changed/added sent
|
||||
appropriately.
|
||||
|
||||
0.6.0
|
||||
-----
|
||||
0.6.0 (2015-05-12)
|
||||
------------------
|
||||
* Add dddp.accounts module which provides password based auth mapping to
|
||||
django.contrib.auth module.
|
||||
* Fix ordering of change messages and result message in method calls.
|
||||
|
||||
0.5.0
|
||||
-----
|
||||
0.5.0 (2015-05-07)
|
||||
------------------
|
||||
* Drop relations to sessions.Session as WebSocket requests don't have
|
||||
HTTP cookie support -- **you must `migrate` your database after
|
||||
upgrading**.
|
||||
|
|
@ -275,8 +288,8 @@ Change Log
|
|||
* Cleanup transaction handling to apply once at the entry point for DDP
|
||||
API calls.
|
||||
|
||||
0.4.0
|
||||
-----
|
||||
0.4.0 (2015-04-28)
|
||||
------------------
|
||||
* Make live updates honour user_rel restrictions, also allow superusers
|
||||
to see everything.
|
||||
* Support serializing objects that are saved with F expressions by
|
||||
|
|
@ -288,8 +301,8 @@ Change Log
|
|||
have user_rel items defined). This change includes a schema change,
|
||||
remember to run migrations after updating.
|
||||
|
||||
0.3.0
|
||||
-----
|
||||
0.3.0 (2015-04-23)
|
||||
------------------
|
||||
* New DB field: Connection.server_addr -- **you must `migrate` your
|
||||
database after upgrading**.
|
||||
* Cleanup connections on shutdown (and purge associated subscriptions).
|
||||
|
|
@ -300,15 +313,64 @@ Change Log
|
|||
* Fix `unsubscribe` from publications.
|
||||
* Fix `/schema` method call.
|
||||
|
||||
0.2.5
|
||||
-----
|
||||
0.2.5 (2015-04-25)
|
||||
------------------
|
||||
* Fix foreign key references in change messages to correctly reference
|
||||
related object rather than source object.
|
||||
|
||||
0.2.4
|
||||
-----
|
||||
0.2.4 (2015-04-15)
|
||||
------------------
|
||||
* Fix unicode rendering bug in DDP admin for ObjectMapping model.
|
||||
|
||||
0.2.3
|
||||
-----
|
||||
0.2.3 (2015-04-15)
|
||||
------------------
|
||||
* Add `dddp` console script to start DDP service in more robust manner than using the dddp Django mangement command.
|
||||
|
||||
0.2.2 (2015-04-14)
|
||||
------------------
|
||||
* Don't include null/None reply from method calls in message.
|
||||
* Force creation of Alea/Meteor ID even if nobody seems to care -- they
|
||||
do care if they're using the ID with latency compensated views.
|
||||
* Support collections to models having non-integer primary key fields.
|
||||
* Fix latency compensated Alea/Meteor ID generation to match Meteor
|
||||
semantics of using a namespace to generate seeded Alea PRNGs.
|
||||
|
||||
0.2.1 (2015-04-10)
|
||||
------------------
|
||||
* Change validation so that we now pass the DDP test suite
|
||||
<http://ddptest.meteor.com/>.
|
||||
* Add lots of useful info to the README.
|
||||
|
||||
0.2.0 (2015-04-08)
|
||||
------------------
|
||||
* Add `dddp.models.get_meteor_id` and `dddp.models.get_object_id`
|
||||
methods.
|
||||
* Add `Connection`, `Subscription` and `SubscriptionColleciton` models,
|
||||
instances of which are managed during life cycle of connections and
|
||||
subscriptions.
|
||||
* Fixed incorrect use of `django.core.serializers` where different
|
||||
threads used same the serializer instance.
|
||||
* Add `Collection.user_rel` class attribute allowing user-specific
|
||||
filtering of objects at the collection level.
|
||||
* Add `dddp.test` test project with example meteor-todos/django-ddp
|
||||
project.
|
||||
* Change `dddp` management command default port from 3000 to 8000.
|
||||
* Validate `django.conf.settings.DATABASES` configuration on start.
|
||||
* React to `django.db.models.signals.m2m_changed` model changes for
|
||||
ManyToManyField.
|
||||
* Add dependency on `django-dbarray`.
|
||||
|
||||
0.1.1 (2015-03-11)
|
||||
------------------
|
||||
* Add missing dependencies on `gevent`, `gevent-websocket`,
|
||||
`meteor-ejson` and `psycogreen`.
|
||||
* Meteor compatible latency compensation using Alea PRNG.
|
||||
* Add `dddp.THREAD_LOCAL` with factories.
|
||||
* Register django signals handlers via `AppConfig.ready()` handler.
|
||||
* Add `dddp` management command.
|
||||
* Add `dddp.models.AleaIdField` and `dddp.models.ObjectMapping` model.
|
||||
* Major internal refactoring.
|
||||
|
||||
0.1.0 (2015-02-13)
|
||||
------------------
|
||||
* Working proof-of-concept.
|
||||
|
|
|
|||
Loading…
Reference in a new issue