Skip to content

Commit 0b1ef46

Browse files
committed
feat(changelog): Added a CHANGELOG.md for history
1 parent c19e245 commit 0b1ef46

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Changelog
2+
3+
All notable changes to **parallel-sdk** are documented in this file. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project adheres to [Semantic Versioning](https://semver.org/).
4+
5+
## `3.0.0` – 2025-07-04
6+
7+
### Added
8+
- **Domain-specific exception hierarchy**
9+
`ActionNotImplementedException`, `InvalidMessageReceivedException`, `NoWorkerDefinedException`, `TaskExecutionFailedException`, `WorkerAlreadyDefinedException`, `WorkerNotDefinedException`, plus a `ParallelException` value object to serialise task-side errors.
10+
- `Scheduler::runTask()` now surfaces worker exceptions through `TaskExecutionFailedException` for clearer diagnostics.
11+
- Adopted modern PHP 8.2 language features:
12+
* `readonly` properties and promoted constructor parameters
13+
* Precise return-type hints (e.g. `void` on closures)
14+
* `match`-style strict comparisons and assorted PSR-12 tidy-ups.
15+
16+
### Changed
17+
- **BC-BREAK:** Minimum supported PHP version raised from 8.0 → **8.2**.
18+
Consumers on <8.2 will remain on the `2.x` series.
19+
- `Scheduler::using()` now throws `WorkerAlreadyDefinedException` when attempting to re-register an existing worker with constructor args.
20+
- Error bubbling in `Scheduler::runTask()` changed from `RuntimeException` with string message to the typed `TaskExecutionFailedException`.
21+
22+
### Removed
23+
- CI workflows for PHP 8.0 & 8.1 ‒ the suite now runs on 8.2/8.3/8.4.
24+
- Legacy catch-all `RuntimeException` branches replaced with specific domain exceptions.
25+
26+
### Fixed
27+
- Sporadic race-condition when starting the runner under PHP ≥ 8.1 by ensuring a micro-sleep and event handshake.
28+
- Several docblock inaccuracies and progress-bar initialisation edge cases.
29+
30+
---
31+
32+
## [2.1.4] – 2024-xx-xx
33+
_Refer to Git history for details prior to the 3.x line._

0 commit comments

Comments
 (0)