v4.0.0
Releasing v4.x.x π π
v4.0.0 (2026-01-13)
- This is a complete rewrite of the Chargebee Java SDK with a new package namespace (
com.chargebee.v4). - The client library now uses an immutable
ChargebeeClientwith a fluent builder pattern instead of staticEnvironmentconfiguration. - All request and response models are now type-safe and immutable.
See the migration guide for details.
New Features:
- Immutable
ChargebeeClientwith fluent builder configuration. - Type-safe request parameter models and responses.
- Sync and async APIs with built-in retry and exponential backoff support.
- Per-request options for custom headers and retry configuration.
- Enhanced exception hierarchy with strongly-typed error enums (
ErrorType,ApiErrorCode). - Webhook handler support for event processing.
- Helper methods in response objects to get raw response and headers.
π΄ Attention: The support for v3 will eventually be discontinued on December 31st 2026 and will no longer receive any further updates. We strongly recommend upgrading to v4 as soon as possible. See our migration guide for detailed upgrade instructions.
π‘ Rest assured: Your existing v3 integrations will continue to function. After December 31st 2026, v3 will no longer receive updates for new API features, but all current functionality will remain operational.