Notas da versão 1.9.16: 1 novidade 14 melhorias 9 correções
Novidade
- New "Update existing Xero contacts from orders" setting. When it's on, anyone who knows a Xero contact's email can change that contact's details by placing an order. It's off for new stores, and existing stores keep it on until they choose.
Melhoria
- Remove the .github/workflows/backlog-automation-issues.yml GitHub workflow file.
- QIT tests in CI now use the organization's shared credentials instead of team-specific ones.
- Remove the GitHub workflow that created a tracking issue for pull requests without a linked issue.
- Pin the QIT CLI version and stop shipping vendored Markdown files in the zip.
- New woocommerce_xero_update_existing_contact filter to decide per order whether an existing contact is updated.
- New WC_XR_XML class for escaping values in Xero XML, including in woocommerce_xero_line_item_additional_xml callbacks.
- Values returned by woocommerce_xero_* getter filters are now escaped before they are sent to Xero. To add XML elements, use woocommerce_xero_line_item_additional_xml or woocommerce_xero_invoice_to_xml.
- Pin the deploy action to a reviewed commit and limit the deploy workflow's permissions.
- Run PHPStan at level 2 on every pull request, with a baseline of existing findings.
- Bump WooCommerce "tested up to" version 11.3.
- Bump WooCommerce minimum supported version to 11.1.
- Bump WordPress minimum supported version to 7.0.
- Start MySQL directly in the PHPUnit workflow so it runs on Ubuntu 26.04.
- Upgrade @wordpress/env to 12.
Correção
- Update the bundled Guzzle and PSR-7 libraries to address security advisories.
- Xero contact lookups by email now work for addresses with "+", instead of creating a duplicate contact.
- Invoices sync when the invoice prefix or other values sent to Xero contain characters such as "&".
- Xero account code settings reject values that can't be valid account codes.
- Erasing a customer's personal data now removes their cached Xero contact details, and the eraser reports what stays in Xero.
- Remove Xero IDs from subscription renewal orders when erasing personal data on stores using HPOS.
- Xero rate-limit retries now back off up to 6 hours, wait at least as long as Xero's Retry-After, add an order note only when they start or stop, and stop after 7 days.
- A full refund now cancels the order's queued rate-limit retry of the payment, and of the invoice if it hasn't reached Xero yet.
- A payment is no longer lost when Xero rate limits the store while its invoice is waiting to be sent.