- Updated JSON schema definitions.
- PHP 8 and 8.1 support
- Latest postmen.com JSON schema changes
- Support async requests (label creation for webhook support)
- Decode webhook envelopes with
\Accu\Postmen\Events\EventFactory::fromWebhook($json)
- Decode webhook envelopes with
- PHP 7.1 support
- Mapping of QR code in Files entity
Utilising JSON Schema Validations
- JSON schema validations for the postmen.com API
- Service Options:
CashOnDelivery
,Insurance
,Pickup
- Ability to add Service Options to a label creation request
- Paperless invoice service option on all requests. This is not supported for all carriers!
- Paperless invoice service option
- Introduced new unit tests for error handling
- Error handling now passes through the
Guzzle RetryMiddleware
to allow for automatic request retries and delay logic
- Reset the Response stream for reading after the middleware runs
Detached from internal Accu postmen-client
- Entities to act as data-transfer objects
- Requests with fluent interfaces to return hydrated Entities