All notable changes to this project are documented in this file.
Tenantmodel insrc/Models/Tenant.php.- Support for documented Order root fields:
recurring,risk_level,sales_channel,scheduled,tenant. - Support for documented payment type
balance. - New documented fields in models:
Customer:type,risk_level,risk_score,mother_name.Payment:tax_id,cvv_result,avs_result,sha1,name,holder,mcc,mid,3ds_id,merchant_tax_id,voucher_type.Device:provider,category,model,manufacturer,os.Item:deliveryType,deliverySlaInMinutes,sellerId,image.Address:estimatedDate,value,lat,lon.
- New/expanded tests:
tests/unit/PayloadFieldAlignmentTest.php- updates in
tests/unit/OrderTest.php,tests/unit/PaymentTest.php,tests/unit/CustomerTest.php,tests/unit/AddressTest.php.
Ordernow uses documented names for these objects:agentpoint_of_saleorigin_accountdestination_accounts
Deliverynow uses documented snake_case fields:delivery_company,delivery_method,estimated_shipping_date,estimated_delivery_date.
AgentSellernow usestax_idas the canonical serialized field.
Bank::setKeyType()now writeskey_typecorrectly.Bank::setKeyValue()now writeskey_valuecorrectly.
- Upgraded
phpunit/phpunitfrom4.8.*to^9.6.33, fixing CVE-2026-24765 (HIGH), an unsafe deserialization of code coverage data in the PHPT test runner. The upgrade also dropssymfony/yaml3.4.47, a transitive dependency that carried CVE-2026-45133, CVE-2026-45304 and CVE-2026-45305.composer auditnow reports no advisories. - The test suite requires PHP 7.3+ because of PHPUnit. The library itself is unchanged and keeps supporting PHP 5.4+ at runtime.
README.mdnow documents every order payload field grouped by object, following the official docs format, where each description states whether the field is required, recommended or optional and its expected type, enum values or date pattern.- Model getters now document the exact date/datetime format they return,
matching the parsers in
src/Parsers.
- Removed legacy Order aliases from serialization and model methods:
agentSeller->agentpointOfSale->point_of_salebankOriginAccount->origin_accountbankDestinationAccount->destination_accounts
- Removed legacy Delivery camelCase aliases from serialization:
deliveryCompany->delivery_companydeliveryMethod->delivery_methodestimatedShippingDate->estimated_shipping_dateestimatedDeliveryDate->estimated_delivery_date
- Removed
taxIdlegacy alias fromAgentSellerserialization.