Skip to content

Releases: aio-libs/aiohttp-cors

aiohttp-cors 0.7.0 release

06 Mar 15:45
Compare
Choose a tag to compare

CHANGES

  • Make web view check implicit and type based (#159)

  • Disable Python 3.4 support (#156)

  • Support aiohttp 3.0+ (#155)

aiohttp-cors 0.6.0

21 Dec 18:30
Compare
Choose a tag to compare

Changes

  • Support aiohttp views by CorsViewMixin (#145)

aiohttp-cors 0.5.3

21 Apr 11:47
Compare
Choose a tag to compare

Changes

  • Fix typing being installed on Python 3.6.

aiohttp-cors 0.5.2

28 Mar 11:17
Compare
Choose a tag to compare

Changes

  • Fix tests compatibility with aiohttp 2.0.
    This release and release v0.5.0 should work on aiohttp 2.0.

aiohttp-cors 0.5.1

22 Mar 21:59
Compare
Choose a tag to compare

Changes

  • Enforce aiohttp version to be less than 2.0.
    Newer aiohttp releases will be supported in the next release.

aiohttp-cors 0.5.0

18 Nov 17:47
Compare
Choose a tag to compare

Changes

  • Fixed compatibility issues with aiohttp 1.1
  • Dropped support for aiohttp older than 1.1

v0.4.0

04 Apr 09:54
Compare
Choose a tag to compare
  • 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):

          # 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.

v0.3.0

05 Feb 22:54
Compare
Choose a tag to compare
  • Rename UrlDistatcherRouterAdapter to UrlDispatcherRouterAdapter.
  • Set maximum supported aiohttp version to 0.20.2, see bug #30 for details.

v0.2.0

30 Nov 12:09
Compare
Choose a tag to compare
  • Move ABCs from aiohttp_cors.router_adapter to aiohttp_cors.abc.
  • Rename RouterAdapter to AbstractRouterAdapter.
  • Fix bug with configuring CORS for named routes.

Initial release

05 Nov 00:46
Compare
Choose a tag to compare
Merge pull request #12 from aio-libs/v0.1.0

v0.1.0 release