Skip to content

Commit 01dd33a

Browse files
committed
* Update CHANGELOG.md
1 parent 9e80d3f commit 01dd33a

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

CHANGELOG.md

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

8-
## [0.5.0] - 2025-10-31
8+
## [0.5.0] - 2025-12-31
99

1010
### Added
11+
- **Fiber Support**: Full integration of PHP Fibers with TrueAsync coroutine system
12+
- `Fiber::suspend()` and `Fiber::resume()` work in async scheduler context
13+
- `Fiber::getCoroutine()` method to access fiber's coroutine
14+
- Fiber status methods (isStarted, isSuspended, isRunning, isTerminated)
15+
- Support for nested fibers and fiber-coroutine interactions
16+
- Comprehensive test coverage for all fiber scenarios
1117
- **TrueAsync API**: Added `ZEND_ASYNC_SCHEDULER_LAUNCH()` macro for scheduler initialization
18+
- **TrueAsync API**: Updated to version 0.8.0 with fiber support
19+
20+
### Fixed
21+
- **Critical GC Bug**: Fixed garbage collection crash during coroutine cancellation when exception occurs in main coroutine while GC is running
22+
- Fixed double free in `zend_fiber_object_destroy()`
23+
- Fixed `stream_select()` for `timeout == NULL` case in async context
24+
- Fixed fiber memory leaks and improved GC logic
1225

1326
### Changed
1427
- **Deadlock Detection**: Replaced warnings with structured exception handling

0 commit comments

Comments
 (0)