From 68ebe35b8ec60568700849202f156b64761ccdaa Mon Sep 17 00:00:00 2001 From: Konstantinos Arvanitakis Date: Mon, 28 Sep 2026 10:16:19 +0300 Subject: [PATCH] Bump version to 0.25.2 --- CHANGELOG.md | 13 +++++++++++++ composer.json | 2 +- package.json | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 093552d..613c198 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,19 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). +## [0.25.2] - 2026-09-28 + +### Fixed +- `BankTransferPaymentDriver::pay()` returned `Succeeded` and dispatched `PaymentCaptured` + immediately — treating a bank transfer like an instant-success gateway (Stripe), when in + reality no money has moved yet. Now returns `Pending` with no event dispatched, so the order + stays at `awaiting_payment` with `Order::paid` false, exactly like it should — checkout still + completes normally (`CheckoutController` already treats a `Pending` result with no + continuation as a placed order). `OrderStatusFlow::canMarkPaid()`/`isBankTransfer()` now also + recognize bank transfer, so staff can mark the order paid once the wire arrives, the same + "Mark Paid" action cash-on-delivery already uses — but unlike COD's version, this also + advances the order's status past `awaiting_payment`, since nothing else ever will. + ## [0.25.1] - 2026-09-28 ### Fixed diff --git a/composer.json b/composer.json index d556dae..8737ad1 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "boboko/core", "description": "Core module — authentication and shared panel behaviour", "type": "library", - "version": "0.25.1", + "version": "0.25.2", "autoload": { "psr-4": { "Modules\\Core\\": "src/" diff --git a/package.json b/package.json index fd715a1..fe7f547 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@boboko/core", - "version": "0.25.1", + "version": "0.25.2", "private": true, "type": "module", "description": "Portable Stimulus controllers and styles for boboko-core's cart + checkout module. Installed as a real npm dependency (file:../boboko-core in dev, a tagged git install in prod) so a consuming app's `npm install` resolves this package's own dependencies (leaflet, @hotwired/stimulus) transitively, the same way `composer update boboko/*` does for PHP. See CONTRIBUTE.md's \"JS/CSS: a real npm package\" section.",