Hyperframe

Latest version: v6.1.0

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

6.1.0

------------------

**API Changes (Backward Incompatible)**

- Support for Python 3.6 has been removed.
- Support for Python 3.7 has been removed.
- Support for Python 3.8 has been removed.

**API Changes (Backward Compatible)**

- Support for Python 3.10 has been added.
- Support for Python 3.11 has been added.
- Support for Python 3.12 has been added.
- Support for Python 3.13 has been added.
- Updated packaging and testing infrastructure.
- Code cleanup and linting.
- Improved type hints.

6.0.1

------------------

**API Changes (Backward Compatible)**

- Added support for Python 3.9.
- Added type hints.

6.0.0

------------------

**API Changes (Backward Incompatible)**

- Introduce ``HyperframeError`` base exception class for all errors raised within hyperframe.
- Change exception base class of ``UnknownFrameError`` to ``HyperframeError``
- Change exception base class of ``InvalidPaddingError`` to ``HyperframeError``
- Change exception base class of ``InvalidFrameError`` to ``HyperframeError``
- Invalid frames with wrong stream id (zero vs. non-zero) now raise ``InvalidDataError``.
- Invalid SETTINGS frames (non-empty but ACK) now raise ``InvalidDataError``.
- Invalid ALTSVC frames with non-bytestring field or origin now raise ``InvalidDataError``.

**API Changes (Backward Compatible)**

- Deprecate ``total_padding`` - use `pad_length` instead.
- Improve repr() output for all frame classes.
- Introduce Frame.explain(data) for quick introspection of raw data.

**Bugfixes**

- Fixed padding parsing for ``PushPromiseFrame``.
- Fixed unchecked frame length for ``PriorityFrame``. It now correctly raises ``InvalidFrameError``.
- Fixed promised stream id validation for ``PushPromiseFrame``. It now raises ``InvalidDataError``.
- Fixed unchecked frame length for ``WindowUpdateFrame``. It now correctly raises ``InvalidFrameError``.
- Fixed window increment value range validation. It now raises ``InvalidDataError``.
- Fixed parsing of ``SettingsFrame`` with mutual exclusion of ACK flag and payload.

**Other Changes**

- Removed support for Python 2.7, 3.4, 3.5, pypy.
- Added support for Python 3.8.

5.2.0

------------------

**API Changes (Backward Compatible)**

- Add a new ENABLE_CONNECT_PROTOCOL settings parameter.

**Other Changes**

- Fix collections.abc deprecation.
- Drop support for Python 3.3 and support 3.7.

5.1.0

------------------

**API Changes (Backward Compatible)**

- Added support for ``DataFrame.data`` being a ``memoryview`` object.

5.0.0

------------------

**Backwards Incompatible API Changes**

- Added support for unknown extension frames. These will be returned in the new
``ExtensionFrame`` object. The flag information for these frames is persisted
in ``flag_byte`` if needed.

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.