From 46c72ee24cb9d7735e594924160447d930b36606 Mon Sep 17 00:00:00 2001 From: Pollora release Date: Mon, 23 Nov 2026 16:56:59 +0100 Subject: [PATCH] chore: release v1.0.3 --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2be16e1..033b057 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.0.3] - 2026-11-23 + ### Fixed - With Action Scheduler as the driver, the handler of an event received the values of its named arguments only: `->with(['order' => 7])` reached it as `[7]`, while WP-Cron gave `['order' => 7]` (#35). Action Scheduler stores the arguments with their keys, and finds an action by them, but runs the hook with `array_values()`. The driver now tells the engine which action is running, and the handlers it attaches (`->call()`, `#[Schedule]`) take the keys back, so both drivers give the same arguments. Nothing stored changes: actions already scheduled are concerned too. A callback attached straight to the hook with `add_action()` still gets what Action Scheduler passes.