1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
|
=========
CHANGES
=========
0.7.0 (2018-03-05)
==================
- Make web view check implicit and type based (#159)
- Disable Python 3.4 support (#156)
- Support aiohttp 3.0+ (#155)
0.6.0 (2017-12-21)
==================
- Support aiohttp views by ``CorsViewMixin`` (#145)
0.5.3 (2017-04-21)
==================
- Fix ``typing`` being installed on Python 3.6.
0.5.2 (2017-03-28)
==================
- Fix tests compatibility with ``aiohttp`` 2.0.
This release and release v0.5.0 should work on ``aiohttp`` 2.0.
0.5.1 (2017-03-23)
==================
- Enforce ``aiohttp`` version to be less than 2.0.
Newer ``aiohttp`` releases will be supported in the next release.
0.5.0 (2016-11-18)
==================
- Fix compatibility with ``aiohttp`` 1.1
0.4.0 (2016-04-04)
==================
- Fixed support with new Resources objects introduced in ``aiohttp`` 0.21.0.
Minimum supported version of ``aiohttp`` is 0.21.4 now.
- New Resources objects are supported.
You can specify default configuration for a Resource and use
``allow_methods`` to explicitly list allowed methods (or ``*`` for all
HTTP methods):
.. code-block:: python
# Allow POST and PUT requests from "http://client.example.org" origin.
hello_resource = cors.add(app.router.add_resource("/hello"), {
"http://client.example.org":
aiohttp_cors.ResourceOptions(
allow_methods=["POST", "PUT"]),
})
# No need to add POST and PUT routes into CORS configuration object.
hello_resource.add_route("POST", handler_post)
hello_resource.add_route("PUT", handler_put)
# Still you can add additional methods to CORS configuration object:
cors.add(hello_resource.add_route("DELETE", handler_delete))
- ``AbstractRouterAdapter`` was completely rewritten to be more Router
agnostic.
0.3.0 (2016-02-06)
==================
- Rename ``UrlDistatcherRouterAdapter`` to ``UrlDispatcherRouterAdapter``.
- Set maximum supported ``aiohttp`` version to ``0.20.2``, see bug #30 for
details.
0.2.0 (2015-11-30)
==================
- Move ABCs from ``aiohttp_cors.router_adapter`` to ``aiohttp_cors.abc``.
- Rename ``RouterAdapter`` to ``AbstractRouterAdapter``.
- Fix bug with configuring CORS for named routes.
0.1.0 (2015-11-05)
==================
* Initial release.
|