Repository navigation
v2.0.0-beta.2
Pre-release
Pre-release
Changes since v2.0.0-beta.1:
Added
- A pickup point can be kept, e.g. the one a customer chose in a checkout, and sent later as a sales order's service point (#13):
PickupPointimplementsJsonSerializablewith its typed fields.json_encode()of a pickup point no longer includesraw.PickupPoint::fromArray()rebuilds a pickup point from that JSON. It throws an\InvalidArgumentExceptionwhen a key is missing or has the wrong type.ServicePoint::fromPickupPoint()turns a pickup point into a sales order's service point.
Maintenance
- Raised the mutation score (MSI) from 73.6% → 97.8% (covered-code MSI 74.4% → 98.6%). CI now enforces
minMsi97 /minCoveredMsi98. Also removed a few redundant no-op lines inClient,ResponseAwareExceptionandWebhookParser, with no behaviour change (#11). - Fixed the mutation-testing badge. It pointed at the deleted
masterbranch, so no score was ever uploaded for2.x(#11).
Upgrading from 1.x
See UPGRADE.md for the full migration guide, which covers every breaking change.
Full Changelog: v2.0.0-beta.1...v2.0.0-beta.2