Skip to content

Commit 126f9e9

Browse files
committed
Preparing to release 3.1
1 parent 77ff2b7 commit 126f9e9

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

CHANGELOG.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
Changelog
22
=========
33

4+
Version 3.1
5+
-----------
6+
- Added inline type hints across the public API and shipped ``py.typed``
7+
so downstream type checkers pick them up (PEP 561).
8+
- ``Channel.build_inbound_messages`` now ends cleanly when the channel
9+
or connection is closed via user code (``.close()``); server- and
10+
network-driven closes still raise as before. ``check_for_errors``
11+
itself is unchanged.
12+
- Performance: byte-string accumulation in receive / publish paths
13+
replaced with ``b''.join`` (no more O(n²) under non-CPython refcount
14+
semantics); writes use ``memoryview`` slicing; RPC response storage
15+
switched to ``collections.deque`` so popping multi-frame ``Basic.Get``
16+
results is O(n) instead of O(n²).
17+
- Modernized to Python 3.11+ syntax: dropped ``(object)`` bases, switched
18+
to argument-less ``super()``, f-strings, modern ``with`` blocks for
19+
locks.
20+
- Packaging migrated from ``setup.py`` / ``setup.cfg`` to PEP 621
21+
``pyproject.toml``; version is now read dynamically from
22+
``amqpstorm.__version__``.
23+
- Documentation: fixed several typos, completed missing ``:members:``
24+
entries on the management API autodoc, added intersphinx mapping and
25+
short type-hint rendering in the Sphinx config.
26+
427
Version 3.0
528
-----------
629
- Python 3 only release.

amqpstorm/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""AMQPStorm."""
2-
__version__ = '3.0' # noqa
2+
__version__ = '3.1' # noqa
33
__author__ = 'eandersson' # noqa
44

55
import logging

0 commit comments

Comments
 (0)