Skip to content

Releases: Iankumu/mpesa

v2.0.0

01 Mar 10:54
71b6955
Compare
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
Compare
Choose a tag to compare

Enhancements in #16

v1.3.5

13 Mar 23:12
130ba6e
Compare
Choose a tag to compare

Added Support for Laravel 11 in #13

v1.3.4

16 Dec 16:42
fdaccf4
Compare
Choose a tag to compare

Minor fix in #11

v1.3.3

29 Nov 01:21
bce5a90
Compare
Choose a tag to compare

Minor Fix as proposed in #10

v1.3.2

28 Jun 10:55
34d740b
Compare
Choose a tag to compare

Added B2B Docs and small bug fixes in #9

v1.3.1

08 Jun 20:14
8124500
Compare
Choose a tag to compare

Small Fix in #8

v1.3.0

08 Jun 19:39
aca5d07
Compare
Choose a tag to compare

Addition of B2B API in #7

v1.2.1

22 Apr 09:59
aae5883
Compare
Choose a tag to compare

Updated the Documentation and Changed Testsuite from phpunit to pest in #6

v1.2.0

03 Mar 14:00
f6c06ff
Compare
Choose a tag to compare

Added Exceptions and Refine Documentation in #5