Skip to content

Releases: Nextvisit/claim-md-php

v2.0.0

13 Mar 18:18
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

⚠️ Breaking Changes

  • Namespace Change: Nextvisit\ClaimMDWrapper has been renamed to Nextvisit\ClaimMD. All imports must be updated.
  • PHP 8.3 Required: Minimum PHP version bumped from 8.2 to 8.3.

What's New

Webhook Support

  • Added webhook integration with documentation and usage examples for enroll and appeal events.
  • Introduced WebhookEventDTO, WebhookEnrollEventDTO, WebhookAppealEventDTO, and WebhookPayloadDTO for 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

  1. Update your composer.json to require PHP ^8.3.
  2. Find and replace Nextvisit\ClaimMDWrapper with Nextvisit\ClaimMD across your codebase.
  3. Run composer update and verify tests pass.

v1.1.0

01 Jan 05:50
Immutable release. Only release title and notes can be modified.
968ae59

Choose a tag to compare

What's Changed

  • fix: Add phpunit.xml.dist and fix Pest test configuration (#2) by @yannelli in #1

New Contributors

Full Changelog: v1.0.0...v1.1.0