v2.3.0
v2.3.0
This release forwards Stripe webhooks to your local application with one command, and completes account data exports with the passkeys, linked social accounts and purchases they were missing.
Added
- Added
php artisan inertia-start:stripe:listento receive Stripe webhooks in local development with the Stripe CLI. It runs only whenAPP_ENV=localand with a test modeSTRIPE_SECRET, which the CLI uses instead ofstripe login. It writes the CLI's signing secret to the environment file asSTRIPE_WEBHOOK_SECRETwhen it differs, then forwards the events listed inconfig('cashier.webhook.events')to thecashier.webhookroute until you stop it. Local.test,.localhostandlocalhostaddresses skip HTTPS certificate verification,--forward-toforwards to another URL, and--env-filewrites the secret to another environment file. The README's Stripe webhook section describes the local setup. - Account data exports now include the user's passkeys and linked social accounts in the
securitysection, and their one-time purchases and admin subscription grants in thebillingsection, with their counts inmeta.record_counts. Passkey credentials are redacted. The schema version stays3, since these keys are only added.
Changed
- Browser tests now finish animations and transitions instantly, so clicks on opening menus and dialogs no longer wait for them to stop moving. The email verification browser tests open the browser from an empty test page instead of
/up, which loads Tailwind and a font from CDNs. The browser suite runs about twice as fast. - Updated the reusable AI guidance on billing and user accounts: local Stripe webhooks use
inertia-start:stripe:listenrather thancashier:webhook, new Stripe events the app handles belong inconfig('cashier.webhook.events'), and every new table holding a user's data belongs in the account data export.
Dependencies
- Updated minor and patch Composer and npm dependencies, including Laravel Framework v13.44.1, Inertia Laravel v3.8.0, Laravel Octane v2.26.0 and Vue v3.5.46.
Upgrade Guide
- Run
composer installandnpm cito install the locked dependency versions. - To receive Stripe webhooks locally, install the Stripe CLI and run
php artisan inertia-start:stripe:listenwithAPP_ENV=localand a test modeSTRIPE_SECRET. If your configuration is cached, runphp artisan config:clearafter the command writes a newSTRIPE_WEBHOOK_SECRET. If your application handles Stripe events beyond the defaults, add them toconfig('cashier.webhook.events')so they are forwarded. - If you customized
UserDataExportService, keep the new passkey, social account, purchase and grant sections when merging. If your own tables hold user data, add them to the export as well. - Browser tests now give CSS animations and transitions no duration or delay. If one of your own browser tests checks an element mid-animation or waits for a
transitionendevent, which no longer fires, adjust it.