add notes on upgrading

This commit is contained in:
Tobias Oberstein
2014-01-03 12:52:55 +01:00
parent 15e45915f5
commit cb322f78ff

View File

@@ -39,7 +39,8 @@ Install from sources:
python setup.py install
> If installing from source, you should checkout a tagged release. Do not use head/trunk.
> 1. The setup will install the Twisted integration automatically if Twisted is available. If Twisted is not available, no integration will be installed. Same for asyncio.
> 2. If installing from source, you should checkout a tagged release. Do not use head/trunk.
>
@@ -57,6 +58,23 @@ For complete API documentation, please consult the [reference documentation](htt
For more information, including some tutorials, please visit the project's [homepage](http://autobahn.ws/python).
## Upgrading from Autobahn < 0.7.0
Starting with release 0.7.0, **Autobahn**|Python now supports both Twisted and asyncio as the underlying network library. This required changing module naming, e.g.
Autobahn|Python **< 0.7.0**:
from autobahn.websocket import WebSocketServerProtocol
Autobahn|Python **>= 0.7.0**:
from autobahn.twisted.websocket import WebSocketServerProtocol
or
from autobahn.asyncio.websocket import WebSocketServerProtocol
## Performance
**Autobahn**|Python is portable, well tuned code. You can further accelerate performance by