Releases: Nextvisit/claim-md-php
Releases · Nextvisit/claim-md-php
v2.0.0
Immutable
release. Only release title and notes can be modified.
⚠️ Breaking Changes
- Namespace Change:
Nextvisit\ClaimMDWrapperhas been renamed toNextvisit\ClaimMD. All imports must be updated. - PHP 8.3 Required: Minimum PHP version bumped from
8.2to8.3.
What's New
Webhook Support
- Added webhook integration with documentation and usage examples for
enrollandappealevents. - Introduced
WebhookEventDTO,WebhookEnrollEventDTO,WebhookAppealEventDTO, andWebhookPayloadDTOfor managing and validating webhook payloads.
Improved Error Handling
- Implemented custom exceptions across
ClaimRequest,FileRequest,ProviderRequest, and other request classes. - Expanded ClaimMD-specific error handling for Client and SDK requests.
Validation Improvements
- Added empty array checks and date validation across DTOs and request implementations.
- Enhanced error messaging for validation failures.
Code Quality
- Enforced stricter type declarations throughout.
- Improved docblock consistency for better maintainability.
- Updated test configurations and Pest namespaces to align with the new structure.
Upgrading from v1.x
- Update your
composer.jsonto require PHP^8.3. - Find and replace
Nextvisit\ClaimMDWrapperwithNextvisit\ClaimMDacross your codebase. - Run
composer updateand verify tests pass.
v1.1.0
Immutable
release. Only release title and notes can be modified.