github mollie/mollie-api-php v4.0.0-beta.1

pre-release5 hours ago

First beta of v4.0.0 — the PHP 8.2+ modernization (#901).

Highlights:

  • PHP 8.2+ required; CI covers 8.2, 8.3, 8.4
  • All src/Types/ constants are now string-backed enums (PaymentStatus::Paid)
  • Typed resource properties and readonly value objects (Money, Address, OrderLine, …)
  • Generic return types on MollieApiClient::send() — your IDE infers the resource from the request class
  • Money::of() fluent builder, typed MockResponse factories
  • ExponentialRetryStrategy with jitter and HTTP 429 / Retry-After support
  • Test suite migrated to Pest v3

This is a pre-release for early adopters; expect breaking changes until 4.0.0 stable. Full details in the changelog and the upgrade guide.

Install:

composer require mollie/mollie-api-php:^4.0@beta

Feedback welcome on #901.

Don't miss a new mollie-api-php release

NewReleases is sending notifications on new releases.