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.
Size the progress bar labels to their content — on GitHub
The labels on either side of the cart progress bar had fixed widths of 17px and 33px, which only fits single-character currency symbols. With a currency such as CHF the label overflowed its box and was drawn over the start of the bar. The label row is now a flex container where the labels keep their natural width and the bar takes the remaining space.
Read remote hreflang settings from the admin config paths and keep the query string — on GitHub
With the type set to Remote, the observer read web/hreflang/* while the admin saves the settings under oe_hreflang/general/*, so the hreflang value, alternate base URL and mirror toggle were ignored. buildUrl() also checked is_array() on the parsed query, which dropped the query string. Both are corrected.
Count only the system rewrite as existing for --skip-existing — on GitHub
With --skip-existing any url_rewrite row hid a missing system rewrite, so a custom 301 made the command report a category as processed and create nothing. _urlRewriteExistsForEntity() now counts only autogenerated rewrites that point at catalog/<entity>/view/id/<id>.
Keep address autocomplete responsive after repeated checkout updates — on GitHub
Each checkout update appended the same address inputs to the discovery list and created more Autocomplete instances and place_changed listeners for all accumulated entries, so selecting an address could trigger repeated address updates. The discovered list is now replaced on each discovery, and one Autocomplete instance is kept per element in a WeakMap.
Do not add a second loading attribute when the img tag already has one — on GitHub
An image tag that already carried loading="lazy" ended up with the attribute twice inside the generated <picture>, and loading="eager" got a conflicting second one. picture.phtml now appends loading="lazy" only when the original tag has no loading attribute.
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.
Match IPv6 addresses against IPv6 CIDR network rules — on GitHub
IP::ipMatchesCidr() used ip2long() and a 32-bit mask, so an IPv6 network rule with a prefix above 32 threw an ArithmeticError and never matched, and one with a prefix of 32 or less matched every IPv6 client. The check now compares inet_pton() bytes and bits, and rejects a mix of address families.
Do not render the EPC QR code for orders not placed in EUR — on GitHub
The SEPA QR payload always carries the currency EUR, but the renderer filled the amount from the order grand total in the order currency without checking it. A 100.00 PLN or CHF order showed a code asking the customer to transfer EUR 100.00. The renderer now skips the QR code for orders that are not in EUR.
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.
Only merged work is listed here, and only the parts worth a comment — the full history, including everything still in review, lives on GitHub .
etc/module.xmllistedMagento_Cookiedirectly under the module node, whichmodule.xsddoes not allow and the module loader ignores, so the dependency was never declared. The module only worked becauseMagento_Cookiesorts before it alphabetically. The entry now sits inside<sequence>.