Skip to content

Commit ebf2e8e

Browse files
Prepare for 1.4.0 release (#60)
Bumped the version and updated the changelog. This will be the final 1.x release!
1 parent 4c5303f commit ebf2e8e

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DisableFormat: true

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## Unreleased
8+
## [1.4.0] - 2025-02-09
99

1010
- Significantly reduced awaitable object size by dynamically allocating it.
1111
- Reduced memory footprint by removing preallocated awaitable objects.
1212
- Objects returned by a PyAwaitable object's `__await__` are now garbage collected (*i.e.*, they don't leak with rare circular references).
1313
- Removed limit on number of stored callbacks or values.
1414
- Switched some user-error messages to `RuntimeError` instead of `SystemError`.
15-
- Added `PyAwaitable_DeferAwait` for executing code when the awaitable object is called by the event loop.
15+
- Added `PyAwaitable_DeferAwait` for executing code without a coroutine when the awaitable object is called by the event loop.
1616

1717
## [1.3.0] - 2024-10-26
1818

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
setup(
1313
name="pyawaitable",
1414
license="MIT",
15-
version="1.4.0-dev",
15+
version="1.4.0",
1616
ext_modules=[
1717
Extension(
1818
"_pyawaitable",

src/pyawaitable/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from . import abi
1313

1414
__all__ = "PyAwaitable", "include", "abi"
15-
__version__ = "1.3.0"
15+
__version__ = "1.4.0"
1616
__author__ = "Peter Bierma"
1717

1818
PyAwaitable: Type = _PyAwaitableType

src/pyawaitable/pyawaitable.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ typedef struct _pyawaitable_abi
5555
);
5656
int (*defer_await)(
5757
PyObject *aw,
58-
defer_callback cb);
58+
defer_callback cb
59+
);
5960
} PyAwaitableABI;
6061

6162
#ifdef PYAWAITABLE_THIS_FILE_INIT

0 commit comments

Comments
 (0)