We've updated how Shopify Plus handles versioning for asset URLs, such as CSS and JS files. Previously, assets used varied query parameters like ?108. Now, all asset URLs will adopt a consistent format: ?v=VERSION_STRING. This is reflected in the liquid tags and Shopify-rendered storefront HTML.
This update aligns asset handling with future infrastructure enhancements, ensuring better maintenance and compatibility. It standardizes how external and internal assets are recognized, facilitating smoother integration and functionality for Shopify Plus merchants.
?v= format. Updates to regular expressions or logic targeting old numeric query parameters are necessary.Consider a store using a custom app for loading JS assets. Previously, it relied on urls ending in ?123. Switching to the new ?v=123 format ensures app functionality remains intact, preventing future loading errors.
?v= format.Q: Do all themes need updating?
A: No, themes with standard asset filters auto-adapt to the new format.
Q: What if there are errors after the update?
A: Review error logs for query parameter mismatches and adjust app logic accordingly.
For further details, visit Shopify Plus documentation.
Need guidance? Talk to Makro.