Skip to content

Commit

Permalink
Update CHANGELOG and refactor coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
Thavarshan committed Oct 19, 2024
1 parent 4b866af commit 8b87566
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 22 deletions.
17 changes: 0 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,6 @@

## [Unreleased](https://github.com/Thavarshan/fetch-php/compare/v2.0.2...HEAD)

## [v2.0.2](https://github.com/Thavarshan/fetch-php/compare/v2.0.1...v2.0.2) - 2024-10-19

### Added

* Add Laravel Pint by @patinthehat in https://github.com/Thavarshan/fetch-php/pull/8
* Add `isAsync` method to `ClientHandler`

### Changed

* Update `async` method to accept arguments

#### New Contributors

* @patinthehat made their first contribution in https://github.com/Thavarshan/fetch-php/pull/8

**Full Changelog**: https://github.com/Thavarshan/fetch-php/compare/2.0.1...2.0.2

## [v2.0.1](https://github.com/Thavarshan/fetch-php/compare/v2.0.0...v2.0.1) - 2024-10-03

### Changed
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ Here’s a breakdown of FetchPHP’s underlying async task management powered by

| Feature | FetchPHP | Guzzle |
|------------------------|-----------------------------------------|----------------------------------------|
| Async Task Management | True async with PHP Fibers (PHP 8.1+) | Promises-based concurrency |
| JavaScript-like API | `async/await` syntax | Traditional PHP-based Promises |
| Task Lifecycle Control | Start, pause, resume, cancel, retry | No built-in lifecycle management |
| Error Handling | Customizable error handlers | Standard Promise error handling |
| Concurrent Requests | Supports Fibers for parallel tasks | Limited to Promises and threading |
| Async Task Management | True async with PHP Fibers (PHP 8.1+) | Promises-based concurrency |
| JavaScript-like API | `async/await` syntax | Traditional PHP-based Promises |
| Task Lifecycle Control | Start, pause, resume, cancel, retry | No built-in lifecycle management |
| Error Handling | Customizable error handlers | Standard Promise error handling |
| Concurrent Requests | Supports Fibers for parallel tasks | Limited to Promises and threading |

---

Expand Down

0 comments on commit 8b87566

Please sign in to comment.