Open Source
Shaping the tools I use every day, one pull request at a time
A hand-picked selection: only the contributions worth reading about, not every merged pull request. Articles about Magento and Adobe Commerce are on the blog.
Encode current_url in the suggested store request — on GitHub
The suggestion popup appended config.current_url to the REST URL without encoding, so on a page with a query string such as ?color=red&size=m everything after the first & became a separate parameter and the store was resolved for a truncated URL. The value is now wrapped in encodeURIComponent().
Emit currencyCode for the cart and checkout credit widget — on GitHub
The cart and checkout credit widgets read creditWidget.currencyCode from the checkout config, but ConfigProvider emitted the value as currency, so the widget received an undefined currency sign. The provider now emits currencyCode, matching the mini cart config.
Add Magento compatibility checks with GitHub Actions — on GitHub
One GitHub Actions workflow checks every pull request and push: Composer validation, PHP lint, the Magento coding standard, setup:di:compile, static content deployment, the unit tests and PHPStan, on the latest patch of each supported Magento Open Source release at its lowest and highest PHP version. The release list refreshes on every run, so a new Magento or PHP version is tested without a workflow change.
Apply the OPcache settings to PHP 8.5 images — on GitHub
The PHP 8.5 build skipped 10-opcache.ini because OPcache is built in, which also dropped opcache.enable_cli = Off, so php -l crashed with the ionCube Loader and PHP-FPM ran on distribution defaults. The build now copies the file without its zend_extension line, and container structure tests check the settings and a lint run.
Match YouTube URLs with query string, fragment or leading parameters — on GitHub
URLs such as youtu.be/ID?si=..., embed/ID?start=42, watch?feature=share&v=ID and m.youtube.com did not match, so the module silently kept the original youtube.com URL. The pattern now accepts them, and URLs that matched before convert identically.
Contain Google Analytics failures when exporting a processing order — on GitHub
AnalyticsService::handleProcessingOrder() called the analytics caller without a try/catch from the sales_order_save_after observer, so a Google Analytics timeout surfaced as an exception during order save. The call is now wrapped, the failure is logged with the increment id, and the order stays exportable.
Fix Redirect to Success Page showing the popup instead of redirecting — on GitHub
With the success display mode set to “Redirect to Success Page”, a successful submit showed the popup. onSuccess read success_mode and formSuccessUrl from this instead of this.options, so the redirect branch was never taken. The branch now reads both values from this.options, as the form branch already does.
Skip unknown module dependencies and modules with unparsable registration — on GitHub
info:dependencies:show-removable aborted with Module name for composer name "..." not found. when a module required a */module-* package that is not a registered module, and an unparsable registration.php mapped the module to the previously processed name. Unknown packages are now skipped with a verbose notice, and the failed module is skipped.
Stop sending legacy AfterPay shipping costs twice — on GitHub
With the legacy AfterPay method, shipping went out in ShippingCosts and a second time as an extra-fees article, because the grand total reconciliation only summed article lines and read the shipping amount as a gap. The shipping field is now counted in that reconciliation, so no extra article is added.
Only merged work is listed here, and only the parts worth a comment — the full history, including everything still in review, lives on GitHub .
The “Send Email Copy To” setting was read from
mfbirthdayemail/email//copy_to, a path with a double slash that never resolves, so no copy was ever sent. The loop over the addresses also passed the whole array toaddBcc()instead of the current address. The path now matchessystem.xmland each trimmed address is added as its own BCC.