Skip to content

Releases: Iankumu/mpesa

v2.3.0

24 Mar 03:44
3b3319f

Choose a tag to compare

Added Support for Laravel 13 in #27

v2.2.1

15 Aug 09:40
c2c1421

Choose a tag to compare

Updated Documentation in #25

v2.2.0

15 Aug 08:40
01d011d

Choose a tag to compare

Added definition of B2C consumer key and secret in the configs for a B2C shortcode by @muokid3 in #23

v2.1.3

03 Jun 13:47
25a47a1

Choose a tag to compare

Fix in #22

v2.1.2

03 Jun 13:41
151a442

Choose a tag to compare

Quick fix in #21

v2.1.1

02 Jun 19:32
1621aa3

Choose a tag to compare

Fix in #20

v2.1.0

31 May 09:59
88a5a67

Choose a tag to compare

Added support for Till Numbers in Stkpush in #19

v2.0.0

01 Mar 10:54
71b6955

Choose a tag to compare

Release 2.0.0

I am excited to announce the release of version 2.0.0 of the package! This major update introduces significant improvements, including Laravel 12 support, a consolidated callback configuration, and the ability to pass callback URLs as parameters.

Key Changes:

  • Laravel 12 Support: This release adds full compatibility with Laravel 12.
  • Consolidated Callback Configuration: To streamline configuration, individual callback URL properties (e.g., MPESA_CALLBACK_URL, MPESA_B2C_RESULT_URL) have been replaced with a single mpesa.callbacks array in config/mpesa.php. This change requires updating your configuration files.
  • Parameter-Based Callback URLs: You can now pass callback URLs directly as parameters to the respective M-Pesa functions.
  • Helper Function Refactoring: Several helper functions have been refactored to improve code quality and maintainability.

Breaking Changes:

  • Dropped PHP 8.0 and 8.1 Support: This release requires PHP 8.2 or greater.
  • Dropped Laravel 8 and 9 Support: This release requires Laravel 10, 11, or 12.
  • Callback Configuration Migration: The change to the mpesa.callbacks array is a breaking change. You must update your config/mpesa.php and .env files.

Upgrade Guide:

Please carefully follow the upgrade guide to ensure a smooth transition to version 2.0.0:

Upgrade Guide: Upgrading from 1.* to 2.0.0

Why These Changes?

  • Consolidating the callback configuration simplifies management and reduces redundancy.
  • Parameter-based callback URLs offer greater flexibility and dynamic configuration options.
  • Dropping support for older PHP and Laravel versions allows us to focus on actively maintained versions and take advantage of modern language features and security updates.

Thank You:

I appreciate your continued support and feedback. If you encounter any issues or have suggestions, please feel free to open an issue

v1.3.6

17 May 13:28
cd9dd65

Choose a tag to compare

Enhancements in #16

v1.3.5

13 Mar 23:12
130ba6e

Choose a tag to compare

Added Support for Laravel 11 in #13