github bagisto/bagisto v2.4.0

14 hours ago

✨ New Features

  • [Laravel 12 Upgrade] Upgraded framework to Laravel 12 with comprehensive modernization:

    • Fixed Carbon date/time type strictness issues (int/float parameters, non-null timezones).
    • Modernized all legacy PHP date functions (strtotime(), date(), date_default_timezone_set()) to Carbon equivalents.
    • Implemented timezone fallback logic using config('app.timezone') for channel-based operations.
    • Updated PDF response headers to match Laravel 12 format (Content-Disposition).
    • Enhanced date handling methods in Core helper with proper Carbon integration.
  • Implemented two-factor authentication (2FA) for admin users to enhance account security.

  • Migrated from Google reCAPTCHA v2 to Google reCAPTCHA Enterprise for enhanced bot protection.

  • Added Stripe payment gateway integration with secure checkout session.

  • Added Razorpay payment gateway integration with drop-in UI checkout experience.

  • Added PayU payment gateway integration with redirect-based checkout flow.

  • Upgraded PayPal SDK from abandoned v1 to modern v2 with improved reliability and security. Refactored PayPal integration to use controller-based transaction handling and modernized IPN processing with Laravel HTTP client.

  • Added comprehensive Return Merchandise Authorization (RMA) system with complete order return management.

  • Integrated Laravel AI SDK for Magic AI, refactoring the provider and model layer into per-provider enums with a unified AiProvider entry point and updated AI model configurations.

  • Added fresh demo products during the installation process with updated translations.

  • Added Pest and Playwright test cases.

  • #11126 - Added SMTP configuration support from the admin panel.

🗒️ Changes

  • Removed shetabit/visitor package and all visitor tracking functionality including dashboard visitors widget, products with most visits reporting, customers traffic reporting, and purchase funnel visitor metrics.

🐛 Bug Fixes

  • Included all bug fix updates from version 2.3.

  • Optimized RMA-related queries and introduced a return period column in the order items table.

  • Fixed issues with language switching in the installation wizard and corrected PHP configuration texts.

  • Fixed automatic application URL detection and automatic timezone selection during installation.

  • Fixed backend validation and VeeValidate error handling to ensure proper integration with Laravel backend validation in the installer package.

  • #11100 - Fixed an issue where updating the return window rule affected previously placed orders.

📄 Documentation

  • Updated the upgrade guide (UPGRADE.md) with breaking changes from v2.3 including Laravel 12, reCAPTCHA Enterprise, PayPal SDK upgrade, visitor tracking removal, and Magic AI SDK migration.

Don't miss a new bagisto release

NewReleases is sending notifications on new releases.