diff --git a/CHANGELOG.md b/CHANGELOG.md index e1c5657..d70a66f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,23 @@ 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.17.3] - 2026-09-15 + +### Changed +- Removed the `lunarphp/stripe` dependency in favour of depending on `stripe/stripe-php` directly. + `Modules\Core\Payment\Drivers\StripePaymentDriver` had already replaced every bit of Lunar's own + Stripe payment flow (checkout, webhook processing) with its own — all that remained load-bearing + from the package was raw API-client access, amount conversion, and a correlation table, none of + which are Lunar-specific. Added first-party replacements: `Modules\Core\Payment\Support\ + StripeManager` (API client + `toStripeAmount()`/`fromStripeAmount()`), `Modules\Core\Payment\ + Models\StripePaymentIntent` (now with a proper `context` array cast, replacing manual + `json_encode`/`json_decode`), and `Modules\Core\Payment\Http\Middleware\ + StripeWebhookMiddleware`. Added `database/migrations/..._create_stripe_payment_intents_table.php`, + a first-party copy of the vendor migration (guarded with `Schema::hasTable()` so it's a no-op on + any environment that already has the table from the vendor package's own earlier migration run, + and only actually creates it on a genuinely fresh install). No behavior change for consuming + apps — same table, same driver contract, same webhook endpoint. + ## [0.17.2] - 2026-09-15 ### Fixed diff --git a/composer.json b/composer.json index fe4154d..322bed7 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.17.2", + "version": "0.17.3", "autoload": { "psr-4": { "Modules\\Core\\": "src/"