mitmedialab / django-channels-presence

"Rooms" and "Presence" for django-channels
MIT License
79 stars 38 forks source link

Compatibility for django-channels v2.4 #16

Closed yourcelf closed 4 years ago

yourcelf commented 4 years ago

This backwards-incompatible changeset makes django-channels-presence usable with Django Channels v2.4 and Django 2.2+.

The transition from Channels v1 to Channels v2 was a major rewrite that is almost entirely backwards-incompatible, with changes in some of the fundamental conceptual underpinnings and architecture. As a result, it is not really possible to make a version of django-channels-presence which is compatible with both, short of cramming 2 codebases into one package.

So this PR just does away with Channels v1 compatibility, and tags this release as v1.0.0. After merge, we should suggest anyone needing Channels v1 compatibility pin their dependency to django-channels-presence v0.x, and anyone wanting Channels v2 use v1.x.

Closes #14, #12, #10, #5, #7, #1.