The NetBSD Project

CVS log for pkgsrc/www/py-aiohttp/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / www / py-aiohttp

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.64 / (download) - annotate - [select for diffs], Tue Jan 30 11:22:07 2024 UTC (4 weeks, 5 days ago) by adam
Branch: MAIN
CVS Tags: HEAD
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)

py-aiohttp: updated to 3.9.3

3.9.3 (2024-01-29)

Bug fixes

- Fixed backwards compatibility breakage (in 3.9.2) of ``ssl`` parameter when set outside
  of ``ClientSession`` (e.g. directly in ``TCPConnector``)

Revision 1.63 / (download) - annotate - [select for diffs], Mon Jan 29 06:53:52 2024 UTC (4 weeks, 6 days ago) by adam
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

py-aiohttp: updated to 3.9.2

3.9.2 (2024-01-28)

Bug fixes

- Fixed server-side websocket connection leak.
- Fixed ``web.FileResponse`` doing blocking I/O in the event loop.
- Fixed double compress when compression enabled and compressed file exists in server file responses.
- Added runtime type check for ``ClientSession`` ``timeout`` parameter.
- Fixed an unhandled exception in the Python HTTP parser on header lines starting with a colon

  Invalid request lines with anything but a dot between the HTTP major and minor version are now rejected.
  Invalid header field names containing question mark or slash are now rejected.
  Such requests are incompatible with :rfc:`9110#section-5.6.2` and are not known to be of any legitimate use.

- Improved validation of paths for static resources requests to the server

Features

- Added support for passing :py:data:`True` to ``ssl`` parameter in ``ClientSession`` while
  deprecating :py:data:`None`

Breaking changes

- Fixed an unhandled exception in the Python HTTP parser on header lines starting with a colon

  Invalid request lines with anything but a dot between the HTTP major and minor version are now rejected.
  Invalid header field names containing question mark or slash are now rejected.
  Such requests are incompatible with :rfc:`9110#section-5.6.2` and are not known to be of any legitimate use.

Improved documentation

- Fixed examples of ``fallback_charset_resolver`` function in the :doc:`client_advanced` document.
- The Sphinx setup was updated to avoid showing the empty
  changelog draft section in the tagged release documentation
  builds on Read The Docs

Revision 1.62 / (download) - annotate - [select for diffs], Mon Nov 27 06:59:01 2023 UTC (3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

py-aiohttp: updated to 3.9.1

3.9.1 (2023-11-26)

Bugfixes

- Fixed importing aiohttp under PyPy on Windows.
- Fixed async concurrency safety in websocket compressor.
- Fixed ``ClientResponse.close()`` releasing the connection instead of closing.
- Fixed a regression where connection may get closed during upgrade.
- Fixed messages being reported as upgraded without an Upgrade header in Python parser.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Nov 19 13:52:13 2023 UTC (3 months, 2 weeks ago) by wiz
Branch: MAIN
Changes since 1.60: +23 -10 lines
Diff to previous 1.60 (colored)

py-aiohttp: update to 3.9.0.

Bugfixes.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Oct 28 19:57:22 2023 UTC (4 months ago) by wiz
Branch: MAIN
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Oct 9 12:45:23 2023 UTC (4 months, 3 weeks ago) by adam
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored)

py-aiohttp: updated to 3.8.6

3.8.6 (2023-10-07)

Security bugfixes

- Upgraded the vendored copy of llhttp_ to v9.1.3
- Updated Python parser to comply with RFCs 9110/9112

Deprecation

- Added ``fallback_charset_resolver`` parameter in ``ClientSession`` to allow a user-supplied
  character set detection function.

  Character set detection will no longer be included in 3.9 as a default. If this feature is needed,
  please use `fallback_charset_resolver <https://docs.aiohttp.org/en/stable/client_advanced.html#character-set-detection>`_.

Features

- Enabled lenient response parsing for more flexible parsing in the client
  (this should resolve some regressions when dealing with badly formatted HTTP responses).

Bugfixes

- Fixed ``PermissionError`` when ``.netrc`` is unreadable due to permissions.
- Fixed output of parsing errors pointing to a ``\n``.
- Fixed ``GunicornWebWorker`` max_requests_jitter not working.
- Fixed sorting in ``filter_cookies`` to use cookie with longest path.
- Fixed display of ``BadStatusLine`` messages from llhttp_.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Jul 20 07:47:52 2023 UTC (7 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

py-aiohttp: updated to 3.8.5

3.8.5 (2023-07-19)

Security bugfixes
- Upgraded the vendored copy of llhttp_ to v8.1.1

Features
- Added information to C parser exceptions to show which character caused the error.

Bugfixes
- Fixed a transport is :data:`None` error

Revision 1.57 / (download) - annotate - [select for diffs], Mon Feb 13 10:42:54 2023 UTC (12 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1
Changes since 1.56: +2 -9 lines
Diff to previous 1.56 (colored)

py-aiohttp: updated to 3.8.4

3.8.4 (2023-02-12)

Bugfixes
--------
- Fixed incorrectly overwriting cookies with the same name and domain, but different path.
- Fixed ``ConnectionResetError`` not being raised after client disconnection in SSL environments.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Dec 6 20:14:34 2022 UTC (14 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.55: +4 -2 lines
Diff to previous 1.55 (colored)

py-aiohttp: unrestrict charset-normalizer dependency

pkgsrc has a newer version

Bump PKGREVISION.

Fix pkglint while here.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Sep 26 18:55:02 2022 UTC (17 months, 1 week ago) by adam
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

py-aiohttp: updated to 3.8.3

3.8.3 (2022-09-21)
==================

   This is the last :doc:`aiohttp <index>` release tested under
   Python 3.6. The 3.9 stream is dropping it from the CI and the
   distribution package metadata.

Bugfixes
--------

- Increased the upper boundary of the :doc:`multidict:index` dependency
  to allow for the version 6 -- by :user:`hugovk`.

  It used to be limited below version 7 in :doc:`aiohttp <index>` v3.8.1 but
  was lowered in v3.8.2 via :pr:`6550` and never brought back, causing
  problems with dependency pins when upgrading. :doc:`aiohttp <index>` v3.8.3
  fixes that by recovering the original boundary of ``< 7``.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Jan 16 09:05:31 2022 UTC (2 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.53: +10 -4 lines
Diff to previous 1.53 (colored)

py-aiohttp: add missing DEPENDS

Revision 1.53 / (download) - annotate - [select for diffs], Sat Jan 15 23:35:13 2022 UTC (2 years, 1 month ago) by js
Branch: MAIN
Changes since 1.52: +2 -3 lines
Diff to previous 1.52 (colored)

Update www/py-aiohttp to 3.8.1

Several versions skipped, check https://github.com/aio-libs/aiohttp/releases
for change log.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Jan 4 20:55:15 2022 UTC (2 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.51: +2 -1 lines
Diff to previous 1.51 (colored)

*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.51 / (download) - annotate - [select for diffs], Thu Dec 30 13:24:01 2021 UTC (2 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.50: +1 -6 lines
Diff to previous 1.50 (colored)

Do not mention Python 3.6

Revision 1.50 / (download) - annotate - [select for diffs], Fri Feb 26 06:21:51 2021 UTC (3 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.49: +2 -3 lines
Diff to previous 1.49 (colored)

py-aiohttp: updated to 3.7.4

3.7.4 (2021-02-25)

Bugfixes

(SECURITY BUG) Started preventing open redirects in the aiohttp.web.normalize_path_middleware middleware. For more details, see https://github.com/aio-libs/aiohttp/security/advisories/GHSA-v6wp-4m6f-gcjg.

Thanks to Beast Glatisant for finding the first instance of this issue and Jelmer Vernooij for reporting and tracking it down in aiohttp.

Fix interpretation difference of the pure-Python and the Cython-based HTTP parsers construct a yarl.URL object for HTTP request-target.

Before this fix, the Python parser would turn the URI's absolute-path for //some-path into / while the Cython code preserved it as //some-path. Now, both do the latter.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Feb 6 20:41:34 2021 UTC (3 years ago) by leot
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

py-aiohttp: Bump chardet requirements in setup.py too

Previously it was only relaxed in pkgsrc DEPENDS resulting in possible runtime
errors.

PKGREVISION++

Revision 1.48 / (download) - annotate - [select for diffs], Mon Jan 4 18:57:47 2021 UTC (3 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.47: +3 -2 lines
Diff to previous 1.47 (colored)

py-aiohttp: remove upper bound in dependency

Revision 1.47 / (download) - annotate - [select for diffs], Thu Nov 19 10:19:50 2020 UTC (3 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

py-aiohttp: updated to 3.7.3

3.7.3
=====

Features
--------
- Use Brotli instead of brotlipy
- Made exceptions pickleable. Also changed the repr of some exceptions.

Bugfixes
--------
- Raise a ClientResponseError instead of an AssertionError for a blank
  HTTP Reason Phrase.
- Fix ``web_middlewares.normalize_path_middleware`` behavior for patch without slash.
- Fix overshadowing of overlapped sub-applications prefixes.
- Make `BaseConnector.close()` a coroutine and wait until the client closes all connections. Drop deprecated "with Connector():" syntax.
- Reset the ``sock_read`` timeout each time data is received for a ``aiohttp.client`` response.
- Fixed type annotation for add_view method of UrlDispatcher to accept any subclass of View
- Fixed querying the address families from DNS that the current host supports.
- Change return type of MultipartReader.__aiter__() and BodyPartReader.__aiter__() to AsyncIterator.
- Provide x86 Windows wheels.

Improved Documentation
----------------------
- Add documentation for ``aiohttp.web.FileResponse``.
- Removed deprecation warning in tracing example docs
- Fixed wrong "Usage" docstring of ``aiohttp.client.request``.
- Add aiohttp-pydantic to third party libraries

Revision 1.46 / (download) - annotate - [select for diffs], Tue Oct 27 22:52:05 2020 UTC (3 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

py-aiohttp: updated to 3.7.2

3.7.2

Bugfixes
- Fixed static files handling for loops without ``.sendfile()`` support

Revision 1.45 / (download) - annotate - [select for diffs], Mon Oct 26 09:06:20 2020 UTC (3 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.44: +2 -3 lines
Diff to previous 1.44 (colored)

py-aiohttp: updated to 3.7.1

3.7.1

Bugfixes
- Fixed a type error caused by the conditional import of `Protocol`.
- Server doesn't send Content-Length for 1xx or 204
- Fix run_app typing
- Always require ``typing_extensions`` library.
- Fix a variable-shadowing bug causing `ThreadedResolver.resolve` to
  return the resolved IP as the ``hostname`` in each record, which prevented
  validation of HTTPS connections.
- Added annotations to all public attributes.
- Fix flaky test_when_timeout_smaller_second
- Ensure sending a zero byte file does not throw an exception
- Fix a bug in ``web.run_app()`` about Python version checking on Windows

Revision 1.44 / (download) - annotate - [select for diffs], Sat Oct 24 21:48:50 2020 UTC (3 years, 4 months ago) by js
Branch: MAIN
Changes since 1.43: +3 -2 lines
Diff to previous 1.43 (colored)

py-aiohttp: Always depends on py-typing-extensions

web_urldispatcher imports it unconditionally.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Oct 24 18:49:21 2020 UTC (3 years, 4 months ago) by js
Branch: MAIN
Changes since 1.42: +6 -6 lines
Diff to previous 1.42 (colored)

Update www/py-aiohttp to 3.7.0

This fixes py-yarl in pkgsrc being too new for py-aiohttp.


3.7.0 (2020-10-24)
==================

Features
--------

- Response headers are now prepared prior to running ``on_response_prepare`` hooks, directly before headers are sent to the client.
  `#1958 <https://github.com/aio-libs/aiohttp/issues/1958>`_
- Add a ``quote_cookie`` option to ``CookieJar``, a way to skip quotation wrapping of cookies containing special characters.
  `#2571 <https://github.com/aio-libs/aiohttp/issues/2571>`_
- Call ``AccessLogger.log`` with the current exception available from ``sys.exc_info()``.
  `#3557 <https://github.com/aio-libs/aiohttp/issues/3557>`_
- `web.UrlDispatcher.add_routes` and `web.Application.add_routes` return a list
  of registered `AbstractRoute` instances. `AbstractRouteDef.register` (and all
  subclasses) return a list of registered resources registered resource.
  `#3866 <https://github.com/aio-libs/aiohttp/issues/3866>`_
- Added properties of default ClientSession params to ClientSession class so it is available for introspection
  `#3882 <https://github.com/aio-libs/aiohttp/issues/3882>`_
- Don't cancel web handler on peer disconnection, raise `OSError` on reading/writing instead.
  `#4080 <https://github.com/aio-libs/aiohttp/issues/4080>`_
- Implement BaseRequest.get_extra_info() to access a protocol transports' extra info.
  `#4189 <https://github.com/aio-libs/aiohttp/issues/4189>`_
- Added `ClientSession.timeout` property.
  `#4191 <https://github.com/aio-libs/aiohttp/issues/4191>`_
- allow use of SameSite in cookies.
  `#4224 <https://github.com/aio-libs/aiohttp/issues/4224>`_
- Use ``loop.sendfile()`` instead of custom implementation if available.
  `#4269 <https://github.com/aio-libs/aiohttp/issues/4269>`_
- Apply SO_REUSEADDR to test server's socket.
  `#4393 <https://github.com/aio-libs/aiohttp/issues/4393>`_
- Use .raw_host instead of slower .host in client API
  `#4402 <https://github.com/aio-libs/aiohttp/issues/4402>`_
- Allow configuring the buffer size of input stream by passing ``read_bufsize`` argument.
  `#4453 <https://github.com/aio-libs/aiohttp/issues/4453>`_
- Pass tests on Python 3.8 for Windows.
  `#4513 <https://github.com/aio-libs/aiohttp/issues/4513>`_
- Add `method` and `url` attributes to `TraceRequestChunkSentParams` and `TraceResponseChunkReceivedParams`.
  `#4674 <https://github.com/aio-libs/aiohttp/issues/4674>`_
- Add ClientResponse.ok property for checking status code under 400.
  `#4711 <https://github.com/aio-libs/aiohttp/issues/4711>`_
- Don't ceil timeouts that are smaller than 5 seconds.
  `#4850 <https://github.com/aio-libs/aiohttp/issues/4850>`_
- TCPSite now listens by default on all interfaces instead of just IPv4 when `None` is passed in as the host.
  `#4894 <https://github.com/aio-libs/aiohttp/issues/4894>`_
- Bump ``http_parser`` to 2.9.4
  `#5070 <https://github.com/aio-libs/aiohttp/issues/5070>`_


Bugfixes
--------

- Fix keepalive connections not being closed in time
  `#3296 <https://github.com/aio-libs/aiohttp/issues/3296>`_
- Fix failed websocket handshake leaving connection hanging.
  `#3380 <https://github.com/aio-libs/aiohttp/issues/3380>`_
- Fix tasks cancellation order on exit. The run_app task needs to be cancelled first for cleanup hooks to run with all tasks intact.
  `#3805 <https://github.com/aio-libs/aiohttp/issues/3805>`_
- Don't start heartbeat until _writer is set
  `#4062 <https://github.com/aio-libs/aiohttp/issues/4062>`_
- Fix handling of multipart file uploads without a content type.
  `#4089 <https://github.com/aio-libs/aiohttp/issues/4089>`_
- Preserve view handler function attributes across middlewares
  `#4174 <https://github.com/aio-libs/aiohttp/issues/4174>`_
- Fix the string representation of ``ServerDisconnectedError``.
  `#4175 <https://github.com/aio-libs/aiohttp/issues/4175>`_
- Raising RuntimeError when trying to get encoding from not read body
  `#4214 <https://github.com/aio-libs/aiohttp/issues/4214>`_
- Remove warning messages from noop.
  `#4282 <https://github.com/aio-libs/aiohttp/issues/4282>`_
- Raise ClientPayloadError if FormData re-processed.
  `#4345 <https://github.com/aio-libs/aiohttp/issues/4345>`_
- Fix a warning about unfinished task in ``web_protocol.py``
  `#4408 <https://github.com/aio-libs/aiohttp/issues/4408>`_
- Fixed 'deflate' compression. According to RFC 2616 now.
  `#4506 <https://github.com/aio-libs/aiohttp/issues/4506>`_
- Fixed OverflowError on platforms with 32-bit time_t
  `#4515 <https://github.com/aio-libs/aiohttp/issues/4515>`_
- Fixed request.body_exists returns wrong value for methods without body.
  `#4528 <https://github.com/aio-libs/aiohttp/issues/4528>`_
- Fix connecting to link-local IPv6 addresses.
  `#4554 <https://github.com/aio-libs/aiohttp/issues/4554>`_
- Fix a problem with connection waiters that are never awaited.
  `#4562 <https://github.com/aio-libs/aiohttp/issues/4562>`_
- Always make sure transport is not closing before reuse a connection.

  Reuse a protocol based on keepalive in headers is unreliable.
  For example, uWSGI will not support keepalive even it serves a
  HTTP 1.1 request, except explicitly configure uWSGI with a
  ``--http-keepalive`` option.

  Servers designed like uWSGI could cause aiohttp intermittently
  raise a ConnectionResetException when the protocol poll runs
  out and some protocol is reused.
  `#4587 <https://github.com/aio-libs/aiohttp/issues/4587>`_
- Handle the last CRLF correctly even if it is received via separate TCP segment.
  `#4630 <https://github.com/aio-libs/aiohttp/issues/4630>`_
- Fix the register_resource function to validate route name before splitting it so that route name can include python keywords.
  `#4691 <https://github.com/aio-libs/aiohttp/issues/4691>`_
- Improve typing annotations for ``web.Request``, ``aiohttp.ClientResponse`` and
  ``multipart`` module.
  `#4736 <https://github.com/aio-libs/aiohttp/issues/4736>`_
- Fix resolver task is not awaited when connector is cancelled
  `#4795 <https://github.com/aio-libs/aiohttp/issues/4795>`_
- Fix a bug "Aiohttp doesn't return any error on invalid request methods"
  `#4798 <https://github.com/aio-libs/aiohttp/issues/4798>`_
- Fix HEAD requests for static content.
  `#4809 <https://github.com/aio-libs/aiohttp/issues/4809>`_
- Fix incorrect size calculation for memoryview
  `#4890 <https://github.com/aio-libs/aiohttp/issues/4890>`_
- Add HTTPMove to _all__.
  `#4897 <https://github.com/aio-libs/aiohttp/issues/4897>`_
- Fixed the type annotations in the ``tracing`` module.
  `#4912 <https://github.com/aio-libs/aiohttp/issues/4912>`_
- Fix typing for multipart ``__aiter__``.
  `#4931 <https://github.com/aio-libs/aiohttp/issues/4931>`_
- Fix for race condition on connections in BaseConnector that leads to exceeding the connection limit.
  `#4936 <https://github.com/aio-libs/aiohttp/issues/4936>`_
- Add forced UTF-8 encoding for ``application/rdap+json`` responses.
  `#4938 <https://github.com/aio-libs/aiohttp/issues/4938>`_
- Fix inconsistency between Python and C http request parsers in parsing pct-encoded URL.
  `#4972 <https://github.com/aio-libs/aiohttp/issues/4972>`_
- Fix connection closing issue in HEAD request.
  `#5012 <https://github.com/aio-libs/aiohttp/issues/5012>`_
- Fix type hint on BaseRunner.addresses (from ``List[str]`` to ``List[Any]``)
  `#5086 <https://github.com/aio-libs/aiohttp/issues/5086>`_
- Make `web.run_app()` more responsive to Ctrl+C on Windows for Python < 3.8. It slightly
  increases CPU load as a side effect.
  `#5098 <https://github.com/aio-libs/aiohttp/issues/5098>`_


Improved Documentation
----------------------

- Fix example code in client quick-start
  `#3376 <https://github.com/aio-libs/aiohttp/issues/3376>`_
- Updated the docs so there is no contradiction in ``ttl_dns_cache`` default value
  `#3512 <https://github.com/aio-libs/aiohttp/issues/3512>`_
- Add 'Deploy with SSL' to docs.
  `#4201 <https://github.com/aio-libs/aiohttp/issues/4201>`_
- Change typing of the secure argument on StreamResponse.set_cookie from ``Optional[str]`` to ``Optional[bool]``
  `#4204 <https://github.com/aio-libs/aiohttp/issues/4204>`_
- Changes ``ttl_dns_cache`` type from int to Optional[int].
  `#4270 <https://github.com/aio-libs/aiohttp/issues/4270>`_
- Simplify README hello word example and add a documentation page for people coming from requests.
  `#4272 <https://github.com/aio-libs/aiohttp/issues/4272>`_
- Improve some code examples in the documentation involving websockets and starting a simple HTTP site with an AppRunner.
  `#4285 <https://github.com/aio-libs/aiohttp/issues/4285>`_
- Fix typo in code example in Multipart docs
  `#4312 <https://github.com/aio-libs/aiohttp/issues/4312>`_
- Fix code example in Multipart section.
  `#4314 <https://github.com/aio-libs/aiohttp/issues/4314>`_
- Update contributing guide so new contributors read the most recent version of that guide. Update command used to create test coverage reporting.
  `#4810 <https://github.com/aio-libs/aiohttp/issues/4810>`_
- Spelling: Change "canonize" to "canonicalize".
  `#4986 <https://github.com/aio-libs/aiohttp/issues/4986>`_
- Add ``aiohttp-sse-client`` library to third party usage list.
  `#5084 <https://github.com/aio-libs/aiohttp/issues/5084>`_


Misc
----

- `#2856 <https://github.com/aio-libs/aiohttp/issues/2856>`_, `#4218 <https://github.com/aio-libs/aiohttp/issues/4218>`_, `#4250 <https://github.com/aio-libs/aiohttp/issues/4250>`_

Revision 1.42 / (download) - annotate - [select for diffs], Tue Oct 13 09:05:40 2020 UTC (3 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

py-aiohttp: updated to 3.6.3

3.6.3:
Bugfixes
- Pin yarl to ``<1.6.0`` to avoid buggy behavior that will be fixed by the next aiohttp
  release.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Oct 10 07:53:06 2019 UTC (4 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

py-aiohttp: updated to 3.6.2

3.6.2:
Features
- Made exceptions pickleable. Also changed the repr of some exceptions.
- Use Iterable type hint instead of Sequence for Application *middleware*
  parameter.

Bugfixes
- Reset the sock_read timeout each time data is received for a
  aiohttp.ClientResponse.
- Fix handling of expired cookies so they are not stored in CookieJar.
- Fix misleading message in the string representation of ClientConnectorError;
  self.ssl == None means default SSL context, not SSL disabled
- Don't clobber HTTP status when using FileResponse.

Improved Documentation
- Added minimal required logging configuration to logging documentation.
- Update docs to reflect proxy support.
- Fix typo in code example in testing docs.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Oct 4 11:17:57 2019 UTC (4 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

py-aiohttp: updated to 3.6.1

3.6.1:

Features
- Compatibility with Python 3.8.

Bugfixes
- correct some exception string format
- Emit a warning when ``ssl.OP_NO_COMPRESSION`` is
  unavailable because the runtime is built against
  an outdated OpenSSL.
- Update multidict requirement to >= 4.5

Improved Documentation
- Provide pytest-aiohttp namespace for pytest fixtures in docs.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Sep 7 07:09:27 2019 UTC (4 years, 5 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

py-aiohttp: updated to 3.6.0

3.6.0:
Features
- Add support for Named Pipes (Site and Connector) under Windows. This feature requires Proactor event loop to work.
- Removed `Transfer-Encoding: chunked` header from websocket responses to be compatible with more http proxy servers.
- Accept non-GET request for starting websocket handshake on server side.

Bugfixes
- Raise a ClientResponseError instead of an AssertionError for a blank
  HTTP Reason Phrase.
- Fix an issue where cookies would sometimes not be set during a redirect.
- Change normalize_path_middleware to use 308 redirect instead of 301.
  This behavior should prevent clients from being unable to use PUT/POST
  methods on endpoints that are redirected because of a trailing slash.
- Drop the processed task from ``all_tasks()`` list early. It prevents logging about a task with unhandled exception when the server is used in conjunction with ``asyncio.run()``.
- ``Signal`` type annotation changed from `Signal[Callable[['TraceConfig'], Awaitable[None]]]` to `Signal[Callable[ClientSession, SimpleNamespace, ...]`.
- Use sanitized URL as Location header in redirects
- Improve typing annotations for multipart.py along with changes required
  by mypy in files that references multipart.py.
- Close session created inside ``aiohttp.request`` when unhandled exception occurs
- Cleanup per-chunk data in generic data read. Memory leak fixed.
- Use correct type for add_view and family
- Fix _keepalive field in __slots__ of web_protocol.RequestHandler.
- Properly handle ConnectionResetError, to silence the "Cannot write to closing
  transport" exception when clients disconnect uncleanly.
- Suppress pytest warnings due to test util classes
- Fix overshadowing of overlapped subbaps prefixes.
- Fixed return type annotation for WSMessage.json()
- Properly expose TooManyRedirects publicly as documented.
- Fix missing brackets for IPv6 in proxy CONNECT request
- Make the signature of `aiohttp.test_utils.TestClient.request` match `asyncio.ClientSession.request` according to the docs
- Use correct style for re-exported imports, makes mypy ``--strict`` mode happy.
- Fixed type annotation for add_view method of UrlDispatcher to accept any subclass of View
- Made cython HTTP parser set Reason-Phrase of the response to an empty string if it is missing.
- Add URL to the string representation of ClientResponseError.
- Accept istr keys in LooseHeaders type hints.
- Fixed race conditions in _resolve_host caching and throttling when tracing is enabled.
- For URLs like "unix://localhost/..." set Host HTTP header to "localhost" instead of "localhost:None".

Revision 1.38 / (download) - annotate - [select for diffs], Fri Apr 26 13:14:20 2019 UTC (4 years, 10 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Omit mentions of python 34 and 35, after those were removed.

- Includes some whitespace changes, to be handled in a separate commit.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jan 15 22:12:20 2019 UTC (5 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

py-aiohttp: updated to 3.5.4

3.5.4:
Bugfixes
- Fix stream .read() / .readany() / .iter_any() which used to return a
  partial content only in case of compressed content

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jan 11 10:11:42 2019 UTC (5 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

py-aiohttp: updated to 3.5.3

3.5.3:

Bugfixes
- Fix type stubs for aiohttp.web.run_app(access_log=True) and fix edge case of access_log=True and the event loop being in debug mode.
- Fix aiohttp.ClientTimeout type annotations to accept None for fields
- Send custom per-request cookies even if session jar is empty
- Restore Linux binary wheels publishing on PyPI

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jan 8 19:05:55 2019 UTC (5 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

py-aiohttp: updated to 3.5.2

3.5.2:

Features
- FileResponse from web_fileresponse.py uses a ThreadPoolExecutor to work with files asynchronously.
  I/O based payloads from payload.py uses a ThreadPoolExecutor to work with I/O objects asynchronously.
- Internal Server Errors in plain text if the browser does not support HTML.

Bugfixes
- Preserve MultipartWriter parts headers on write.

  Refactor the way how Payload.headers are handled. Payload instances now always
  have headers and Content-Type defined.

  Fix Payload Content-Disposition header reset after initial creation.
- Log suppressed exceptions in GunicornWebWorker.
- Remove wildcard imports.
- Use the same task for app initialization and web server handling in gunicorn workers.
  It allows to use Python3.7 context vars smoothly.
- Fix handling of chunked+gzipped response when first chunk does not give uncompressed data
- Replace collections.MutableMapping with collections.abc.MutableMapping to avoid a deprecation warning.
- Payload.size type annotation changed from Optional[float] to Optional[int].
- Ignore done tasks when cancels pending activities on web.run_app finalization.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Dec 31 11:19:16 2018 UTC (5 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.33: +4 -2 lines
Diff to previous 1.33 (colored)

py-aiohttp: updated to 3.5.1

3.5.1
- Fix a regression about ClientSession._requote_redirect_url modification in debug
  mode.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Dec 22 22:45:47 2018 UTC (5 years, 2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.32: +4 -2 lines
Diff to previous 1.32 (colored)

py-aiohttp: updated to 3.5.0

3.5.0 (2018-12-22)

Features

The library type annotations are checked in strict mode now.
Add support for setting cookies for individual request
Application.add_domain implementation
The default app in the request returned by test_utils.make_mocked_request can now have objects assigned to it and retrieved using the [] operator.
Make request.url accessible when transport is closed.
Add zlib_executor_size argument to Response constructor to allow compression to run in a background executor to avoid blocking the main thread and potentially triggering health check failures.
Enable users to set ClientTimeout in aiohttp.request
Don raise a warning if NETRC environment variable is not set and ~/.netrc file doesn exist.
Add default logging handler to web.run_app
If the Application.debug flag is set and the default logger aiohttp.access is used, access logs will now be output using a stderr StreamHandler if no handlers are attached. Furthermore, if the default logger has no log level set, the log level will be set to DEBUG.
Add method argument to session.ws_connect().
Sometimes server API requires a different HTTP method for WebSocket connection establishment.
For example, Docker exec needs POST.
Create a task per request handling.


Bugfixes

Enable passing access_log_class via handler_args
Return empty bytes with end-of-chunk marker in empty stream reader.
Accept CIMultiDictProxy instances for headers argument in web.Response constructor.
Don uppercase HTTP method in parser
Make method match regexp RFC-7230 compliant
Add app.pre_frozen state to properly handle startup signals in sub-applications.
Enhanced parsing and validation of helpers.BasicAuth.decode.
Change imports from collections module in preparation for 3.8.
Ensure Host header is added first to ClientRequest to better replicate browser
Fix forward compatibility with Python 3.8: importing ABCs directly from the collections module will not be supported anymore.
Keep the query string by normalize_path_middleware.
Fix missing parameter raise_for_status for aiohttp.request()
Bracket IPv6 addresses in the HOST header
Fix default message for server ping and pong frames.
Fix tests/test_connector.py typo and tests/autobahn/server.py duplicate loop def.
Fix false-negative indicator end_of_HTTP_chunk in StreamReader.readchunk function
Release HTTP response before raising status exception
Fix task cancellation when sendfile() syscall is used by static file handling.
Fix stack trace for asyncio.TimeoutError which was not logged, when it is caught in the handler.


Improved Documentation

Improve documentation of Application.make_handler parameters.
Fix BaseRequest.raw_headers doc.
Fix typo in TypeError exception reason in web.Application._handle
Make server access log format placeholder %b documentation reflect behavior and docstring.
Deprecations and Removals
Deprecate modification of session.requote_redirect_url
Deprecate stream.unread_data()
Deprecated use of boolean in resp.enable_compression()
Encourage creation of aiohttp public objects inside a coroutine
Drop dead Connection.detach() and Connection.writer. Both methods were broken for more than 2 years.
Deprecate app.loop, request.loop, client.loop and connector.loop properties.
Deprecate explicit debug argument. Use asyncio debug mode instead.
Deprecate body parameter in HTTPException (and derived classes) constructor.
Deprecate bare connector close, use async with connector: and await connector.close() instead.
Deprecate obsolete read_timeout and conn_timeout in ClientSession constructor.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Sep 6 13:53:16 2018 UTC (5 years, 5 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

py-aiohttp: updated to 3.4.4

3.4.4:
Fix installation from sources when compiling toolkit is not available

3.4.3:
Add app.pre_frozen state to properly handle startup signals in sub-applications.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Sep 3 07:32:35 2018 UTC (5 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

py-aiohttp: updated to 3.4.2

3.4.2:
Fix iter_chunks type annotation

Revision 1.30 / (download) - annotate - [select for diffs], Wed Aug 29 07:01:06 2018 UTC (5 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

py-aiohttp: updated to 3.4.1

3.4.1:
- Fix empty header parsing regression.
- Fix BaseRequest.raw_headers doc.
- Fix documentation building on ReadTheDocs

Revision 1.29 / (download) - annotate - [select for diffs], Tue Aug 28 06:27:09 2018 UTC (5 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

py-aiohttp: rearrange PYTHON_VERSIONS_INCOMPATIBLE

Revision 1.28 / (download) - annotate - [select for diffs], Mon Aug 27 11:16:01 2018 UTC (5 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.27: +8 -4 lines
Diff to previous 1.27 (colored)

py-aiohttp: updated to 3.4.0

3.4.0:

Features
Add type hints
Add raise_for_status request parameter
Add type hints to HTTP client
Minor server optimizations
Preserve the cause when HTTPException is raised from another exception.
Add close_boundary option in MultipartWriter.write method. Support streaming
Added a remove_slash option to the normalize_path_middleware factory.
The class AbstractRouteDef is importable from aiohttp.web.

Bugfixes
Prevent double closing when client connection is released before the last data_received() callback.
Make redirect with normalize_path_middleware work when using url encoded paths.
Postpone web task creation to connection establishment.
Fix sock_read timeout.
When using a server-request body as the data= argument of a client request, iterate over the content with readany instead of readline to avoid Line too long errors.
fix UrlDispatcher has no attribute add_options, add web.options
correct filename in content-disposition with multipart body
Many HTTP proxies has buggy keepalive support. Let's not reuse connection but close it after processing every response.
raise 413 "Payload Too Large" rather than raising ValueError in request.post() Add helpful debug message to 413 responses
Fix StreamResponse equality, now that they are MutableMapping objects.
Fix server request objects comparison
Do not hang on 206 Partial Content response with Content-Encoding: gzip
Fix timeout precondition checkers

Improved Documentation
Add a new FAQ entry that clarifies that you should not reuse response objects in middleware functions.
Add FAQ section "Why is creating a ClientSession outside of an event loop dangerous?"
Fix link to Rambler
Fix TCPSite documentation on the Server Reference page.
Fix documentation build configuration file for Windows.
Remove no longer existing lingering_timeout parameter of Application.make_handler from documentation.
Mention that app.make_handler is deprecated, recommend to use runners API instead.

Deprecations and Removals
Drop loop.current_task() from helpers.current_task()
Drop reader parameter from request.multipart().

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jun 12 15:28:53 2018 UTC (5 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

py-aiohttp: updated to 3.3.2

3.3.2:
- Many HTTP proxies has buggy keepalive support. Let's not reuse connection but
  close it after processing every response.
- Provide vendor source files in tarball


3.3.1:
- Fix sock_read timeout.
- When using a server-request body as the data= argument of a client request,
  iterate over the content with readany instead of readline to avoid Line
  too long errors.


3.3.0:
Features
- Raise ConnectionResetError instead of CancelledError on trying to
  write to a closed stream.
- Implement ClientTimeout class and support socket read timeout.
- Enable logging when aiohttp.web is used as a program
- Add canonical property to resources
- Forbid reading response BODY after release
- Implement base protocol class to avoid a dependency from internal
  asyncio.streams.FlowControlMixin
- Cythonize @helpers.reify, 5% boost on macro benchmark
- Optimize HTTP parser
- Implement runner.addresses property.
- Use bytearray instead of a list of bytes in websocket reader. It
  improves websocket message reading a little.
- Remove heartbeat on closing connection on keepalive timeout. The used hack
  violates HTTP protocol.
- Limit websocket message size on reading to 4 MB by default.

Bugfixes
- Don't reuse a connection with the same URL but different proxy/TLS settings
- When parsing the Forwarded header, the optional port number is now preserved.

Improved Documentation
- Make Change Log more visible in docs
- Make style and grammar improvements on the FAQ page.
- Document that signal handlers should be async functions since aiohttp 3.0

Deprecations and Removals
- Deprecate custom application's router.

Revision 1.26 / (download) - annotate - [select for diffs], Fri May 11 10:04:41 2018 UTC (5 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

py-aiohttp: updated to 3.2.1

3.2.1:
Don reuse a connection with the same URL but different proxy/TLS settings

Revision 1.25 / (download) - annotate - [select for diffs], Tue May 8 04:54:10 2018 UTC (5 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.24: +3 -2 lines
Diff to previous 1.24 (colored)

py-aiohttp: updated to 3.2.0

3.2.0

Features
Raise TooManyRedirects exception when client gets redirected too many times instead of returning last response.
Extract route definitions into separate web_routedef.py file
Raise an exception on request body reading after sending response.
ClientResponse and RequestInfo now have real_url property, which is request url without fragment part being stripped
Speed up connector limiting
Added and links property for ClientResponse object
Add request.config_dict for exposing nested applications data.
Speed up HTTP headers serialization, server micro-benchmark runs 5% faster now.
Apply assertions in debug mode only

Bugfixes
expose property app for TestClient
Call on_chunk_sent when write_eof takes as a param the last chunk
A closing bracket was added to __repr__ of resources
Fix compression of FileResponse
Fixes some bugs in the limit connection feature

Improved Documentation
Drop async_timeout usage from documentation for client API in favor of timeout parameter.
Improve Gunicorn logging documentation
Replace multipart writer .serialize() method with .write() in documentation.

Deprecations and Removals
Deprecate Application.make_handler()

Revision 1.24 / (download) - annotate - [select for diffs], Fri Apr 13 11:14:48 2018 UTC (5 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

py-aiohttp: updated to 3.1.3

3.1.3:
Fix cancellation broadcast during DNS resolve

Revision 1.23 / (download) - annotate - [select for diffs], Fri Apr 6 08:18:18 2018 UTC (5 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

py-aiohttp: updated to 3.1.2

3.1.2:
Make LineTooLong exception more detailed about actual data size
Call on_chunk_sent when write_eof takes as a param the last chunk

Revision 1.22 / (download) - annotate - [select for diffs], Mon Apr 2 12:58:33 2018 UTC (5 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

py-aiohttp: updated to 3.1.1

3.1.1:
Support asynchronous iterators (and asynchronous generators as well) in both client and server API as request / response BODY payloads.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Mar 22 08:02:35 2018 UTC (5 years, 11 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)

py-aiohttp: updated to 3.1.0

3.1.0:

Features
- Relax JSON content-type checking in the ClientResponse.json() to allow
  "application/xxx+json" instead of strict "application/json".
- Bump C HTTP parser to version 2.8
- Accept a coroutine as an application factory in web.run_app and gunicorn
  worker.
- Implement application cleanup context
- Make writer.write_headers a coroutine.
- Add tracking signals for getting request/response bodies.
- Deprecate ClientResponseError.code in favor of .status to keep similarity
  with response classes.
- Implement app.add_routes() method.
- Implement web.static() and RouteTableDef.static() API.
- Install a test event loop as default by asyncio.set_event_loop(). The
  change affects aiohttp test utils but backward compatibility is not broken
  for 99.99% of use cases.
- Refactor ClientResponse constructor: make logically required constructor
  arguments mandatory, drop _post_init() method.
- Use app.add_routes() in server docs everywhere
- Websockets refactoring, all websocket writer methods are converted into
  coroutines.
- Provide Content-Range header for Range requests

Bugfixes
- Fix websocket client return EofStream.
- Fix websocket demo.
- Property BaseRequest.http_range now returns a python-like slice when
  requesting the tail of the range. It's now indicated by a negative value in
  range.start rather then in range.stop
- Close a connection if an unexpected exception occurs while sending a request
- Fix firing DNS tracing events.

Improved Documentation
- Change ClientResponse.json() documentation to reflect that it now
  allows "application/xxx+json" content-types
- Document behavior when cchardet detects encodings that are unknown to Python.
- Add diagrams for tracing request life style.
- Drop removed functionality for passing StreamReader as data at client
  side.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Mar 15 09:29:09 2018 UTC (5 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

py-aiohttp: updated to 3.0.9

3.0.9:
Close a connection if an unexpected exception occurs while sending a request

Revision 1.19 / (download) - annotate - [select for diffs], Tue Mar 13 11:46:13 2018 UTC (5 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

py-aiohttp: updated to 3.0.8

3.0.8:
Use asyncio.current_task() on Python 3.7

Revision 1.18 / (download) - annotate - [select for diffs], Fri Mar 9 08:10:35 2018 UTC (5 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

py-aiohttp: updated to 3.0.7

3.0.7:
Fix SSL proxy support by client.
Restore a imperative check in setup.py for python version. The check works in parallel to environment marker. As effect a error about unsupported Python versions is raised even on outdated systems with very old setuptools version installed.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Mar 5 09:12:20 2018 UTC (6 years ago) by adam
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

py-aiohttp: updated to 3.0.6

3.0.6:
Add _reuse_address and _reuse_port to web_runner.TCPSite.__slots__.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Feb 28 13:38:00 2018 UTC (6 years ago) by adam
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

py-aiohttp: updated to 3.0.5

3.0.5:
Fix InvalidStateError on processing a sequence of two RequestHandler.data_received calls on web server.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Feb 27 06:35:45 2018 UTC (6 years ago) by adam
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

py-aiohttp: updated to 3.0.4

3.0.4:
Fix IndexError in HTTP request handling by server.
Fix MultipartWriter.append* no longer returning part/payload.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Feb 25 22:04:55 2018 UTC (6 years ago) by adam
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

py-aiohttp: updated to 3.0.3

3.0.2:
Security Fix
Prevent Windows absolute URLs in static files. Paths like /static/D:\path and /static/\\hostname\drive\path are forbidden.

3.0.1:
Technical release for fixing distribution problems.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 14 11:31:04 2018 UTC (6 years ago) by adam
Branch: MAIN
Changes since 1.12: +8 -7 lines
Diff to previous 1.12 (colored)

py-aiohttp: updated to 3.0.1

aiohttp 3.0 release:
Major release, many already deprecated things are removed
Minimal supported Python version is 3.5.3.
aiohttp uses shiny async/await syntax everywhere internally (while old yield from is still supported).

Read https://docs.aiohttp.org/en/stable/whats_new_3_0.html for brief information about most important changes.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Feb 5 16:39:47 2018 UTC (6 years ago) by adam
Branch: MAIN
Changes since 1.11: +4 -3 lines
Diff to previous 1.11 (colored)

py-aiohttp: updated to version 2.3.10

2.3.10:
- Fix 100% CPU usage on HTTP GET and websocket connection just after it
- Patch broken `ssl.match_hostname()` on Python<3.7

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jan 18 10:29:54 2018 UTC (6 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

py-aiohttp: updated to 2.3.9

2.3.9:
Fix colon handing in path for dynamic resources

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jan 17 08:37:35 2018 UTC (6 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

py-aiohttp: updated to 2.3.8

2.3.8:
Do not use yarl.unquote internal function in aiohttp. Fix incorrectly unquoted path part in URL dispatcher
Fix compatibility with yarl==1.0.0

Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 30 09:16:43 2017 UTC (6 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

py-aiohttp: updated to 2.3.7

2.3.7:
Fixed race-condition for iterating addresses from the DNSCache.
Fix docstring for request.host
Fix docstring for request.remote

Revision 1.8 / (download) - annotate - [select for diffs], Wed Dec 6 11:44:22 2017 UTC (6 years, 2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

py-aiohttp: updated to 2.3.6

2.3.6:
Correct request.app context (for handlers not just middlewares).

Revision 1.7 / (download) - annotate - [select for diffs], Thu Nov 30 07:57:59 2017 UTC (6 years, 3 months ago) by adam
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

py-aiohttp: updated to 2.3.5

2.3.5:
Fix compatibility with pytest 3.3+

2.3.4:
Make request.app point to proper application instance when using nested applications (with middlewares).
Change base class of ClientConnectorSSLError to ClientSSLError from ClientConnectorError.
Return client connection back to free pool on error in connector.connect().

Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 22 08:48:39 2017 UTC (6 years, 3 months ago) by adam
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

py-aiohttp: updated to 2.3.3

2.3.3:
Having a ; in Response content type does not assume it contains a charset anymore.
Use getattr(asyncio, sync for keeping compatibility with Python 3.7.
Ignore NotImplementedError raised by set_child_watcher from uvloop.
Fix warning in ClientSession.__del__ by stopping to try to close it.
Fixed typo in Third-party libraries page. And added async-v20 to the list

Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 2 13:13:24 2017 UTC (6 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.4: +2 -4 lines
Diff to previous 1.4 (colored)

py-aiohttp: updated to 2.3.2

2.3.2:
Fix passing client max size on cloning request obj.
Fix ClientConnectorSSLError and ClientProxyConnectionError for proxy connector.
Drop generated _http_parser shared object from tarball distribution.
Fix connector convert OSError to ClientConnectorError.
Fix connection attempts for multiple dns hosts.
Fix ValueError for AF_INET6 sockets if a preexisting INET6 socket to the aiohttp.web.run_app function.
_SessionRequestContextManager closes the session properly now.
Rename from_env to trust_env in client reference.

2.3.1:
Relax attribute lookup in warning about old-styled middleware

Revision 1.4 / (download) - annotate - [select for diffs], Thu Oct 19 06:54:18 2017 UTC (6 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.3: +5 -3 lines
Diff to previous 1.3 (colored)

py-aiohttp: update to 2.3.0

2.3.0:
Features
--------
Add SSL related params to ClientSession.request
Make enable_compression work on HTTP/1.0
Deprecate registering synchronous web handlers
Switch to multidict 3.0. All HTTP headers preserve casing now but compared in case-insensitive way.
Improvement for normalize_path_middleware. Added possibility to handle URLs with query string.
Use towncrier for CHANGES.txt build
Implement trust_env=True param in ClientSession.
Added variable to customize proxy headers
Implement router.add_routes and router decorators.
Deprecated BaseRequest.has_body in favor of BaseRequest.can_read_body Added BaseRequest.body_exists attribute that stays static for the lifetime of the request
Provide BaseRequest.loop attribute
Make _CoroGuard awaitable and fix ClientSession.close warning message
Responses to redirects without Location header are returned instead of raising a RuntimeError
Added get_client, get_server, setUpAsync and tearDownAsync methods to AioHTTPTestCase
Add automatically a SafeChildWatcher to the test loop
add ability to disable automatic response decompression
Add support for throttling DNS request, avoiding the requests saturation when there is a miss in the DNS cache and many requests getting into the connector at the same time.
Use request for getting access log information instead of message/transport pair. Add RequestBase.remote property for accessing to IP of client initiated HTTP request.
json() raises a ContentTypeError exception if the content-type does not meet the requirements instead of raising a generic ClientResponseError.
Make the HTTP client able to return HTTP chunks when chunked transfer encoding is used.
add append_version arg into StaticResource.url and StaticResource.url_for methods for getting an url with hash (version) of the file.
Fix parsing the Forwarded header. * commas and semicolons are allowed inside quoted-strings; * empty forwarded-pairs (as in for=_1;;by=_2) are allowed; * non-standard parameters are allowed (although this alone could be easily done in the previous parser).
Don require ssl module to run. aiohttp does not require SSL to function. The code paths involved with SSL will only be hit upon SSL usage. Raise RuntimeError if HTTPS protocol is required but ssl module is not present.
Accept coroutine fixtures in pytest plugin
Call shutdown_asyncgens before event loop closing on Python 3.6.
Speed up Signals when there are no receivers
Raise InvalidURL instead of ValueError on fetches with invalid URL.
Move DummyCookieJar into cookiejar.py
run_app: Make print=None disable printing
Support brotli encoding (generic-purpose lossless compression algorithm)
Add server support for WebSockets Per-Message Deflate. Add client option to add deflate compress header in WebSockets request header. If calling ClientSession.ws_connect() with compress=15 the client will support deflate compress negotiation.
Support verify_ssl, fingerprint, ssl_context and proxy_headers by client.ws_connect.
Added aiohttp.ClientConnectorSSLError when connection fails due ssl.SSLError
aiohttp.web.Application.make_handler support access_log_class
Build HTTP parser extension in non-strict mode by default.

Bugfixes
--------
Clear auth information on redirecting to other domain
Fix missing app.loop on startup hooks during tests
Fix issue with synchronous session closing when using ClientSession as an asynchronous context manager.
Fix issue with CookieJar incorrectly expiring cookies in some edge cases.
Force use of IPv4 during test, this will make tests run in a Docker container
Warnings about unawaited coroutines now correctly point to the user code.
Fix issue with IndexError being raised by the StreamReader.iter_chunks() generator.
Support HTTP 308 Permanent redirect in client class.
Fix FileResponse sending empty chunked body on 304.
Do not add Content-Length: 0 to GET/HEAD/TRACE/OPTIONS requests by default.
Fix parsing the Forwarded header according to RFC 7239.
Securely determining remote/scheme/host
Fix header name parsing, if name is split into multiple lines
Handle session close during connection, KeyError: <aiohttp.connector._TransportPlaceholder>
Fixes uncaught TypeError in helpers.guess_filename if name is not a string
Raise OSError on async DNS lookup if resolved domain is an alias for another one, which does not have an A or CNAME record.
Fix incorrect warning in StreamReader.
Properly clone state of web request
Fix C HTTP parser for cases when status line is split into different TCP packets.
Fix web.FileResponse overriding user supplied Content-Type

Revision 1.3 / (download) - annotate - [select for diffs], Fri Aug 4 05:24:49 2017 UTC (6 years, 7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

2.2.5:
Don raise deprecation warning on loop.run_until_complete(client.close())

Revision 1.2 / (download) - annotate - [select for diffs], Thu Aug 3 07:46:12 2017 UTC (6 years, 7 months ago) by adam
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

2.2.4:
Fix issue with synchronous session closing when using ClientSession as an asynchronous context manager.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jul 16 19:04:16 2017 UTC (6 years, 7 months ago) by adam
Branch: MAIN

HTTP client/server for asyncio (PEP 3156).

Features:
* Supports both Client and HTTP Server.
* Supports both Server WebSockets and Client WebSockets out-of-the-box.
* Web-server has Middlewares, Signals and pluggable routing.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>