Skip to content

Commit 846b3b8

Browse files
committed
Bump version to 0.17.1
1 parent 46e967d commit 846b3b8

File tree

3 files changed

+43
-2
lines changed

3 files changed

+43
-2
lines changed

CHANGES.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,47 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
## [0.17.1] - 2025-11-08
8+
9+
### Performance Improvements
10+
11+
- **GhostTaskHelper Optimization**: Refactored ghost task management for better performance and maintainability
12+
- Simplified from instance-based to static class design with per-loop task storage
13+
- Eliminated complex WeakKeyDictionary-based instance management
14+
- Reduced object creation overhead and lookup complexity
15+
- Streamlined eager task factory implementation with fewer parameter passing layers
16+
- More efficient memory usage with single ghost task per event loop
17+
18+
### Code Modernization
19+
20+
- **Python 3.12+ Exception Semantics**: Added support for modern exception handling APIs
21+
- Implemented `NEW_EXC` macro for conditional compilation based on Python version
22+
- Uses `PyErr_GetRaisedException()`/`PyErr_SetRaisedException()` on Python 3.12+
23+
- Maintains backward compatibility with `PyErr_Fetch()`/`PyErr_Restore()` on older versions
24+
- All 568 tests pass with new exception semantics
25+
26+
### Testing and Quality Assurance
27+
28+
- **Enhanced Performance Benchmarking**: Improved accuracy and reliability of performance measurements
29+
30+
- Fixed `eager_start` parameter detection using runtime testing instead of version assumptions
31+
- Added 2σ outlier filtering for more accurate statistical analysis
32+
- Corrected min/max statistical aggregation to use actual minimum/maximum values across runs
33+
- Enhanced reporting with comprehensive performance analysis and proper error handling
34+
- Added robust Python 3.14+ compatibility detection for native eager execution features
35+
36+
- **Compiler Warning Resolution**: Achieved clean compilation with strict warning flags
37+
38+
- Enabled comprehensive warning detection: `-Wall -Wextra -Wstrict-prototypes`
39+
- Clean compilation under both debug and optimized build configurations
40+
41+
### Documentation
42+
43+
- **Updated API Documentation**: Corrected misleading claims about `eager_start` parameter availability
44+
- Removed incorrect references to `eager_start=True` parameter in older Python versions
45+
- Clarified actual functionality vs Python 3.12+ native eager execution features
46+
- Updated docstrings to reflect simplified implementation approach
47+
748
## [0.17.0] - 2025-11-07
849

950
### Performance Improvements

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "asynkit"
3-
version = "0.17.0"
3+
version = "0.17.1"
44
description = "A toolkit for Python coroutines"
55
authors = [
66
{name = "Kristján Valur Jónsson", email = "[email protected]"}

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)