Debian Codegraph @

CHANGES.rst

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