Repository navigation
v0.1.17
Added
- The pages of metaobjects are served. With
templates/metaobject/<type>.json(or.liquid) in the theme,/pages/<type>/<handle>renders the entry, with the globalmetaobject,?view=and a per-entrytemplate_suffixin the data.shopify://metaobjects/links lead there, andmetaobject.system.urlis nil for a type without a template, as on a store whose definition has no web pages. - A 404 page says why. The server answers it with an
x-lsf-not-foundheader (no route, unknown resource, no template) and logs the reason, so a test can fail on it. shopify_asset_urlfiles are served.vendor/qrcode.jsis the MIT qrcode.js library that Shopify serves, so a gift card draws its QR code. The other documented files are small local stand-ins:shopify_common.jsformats money, the others only warn in the console.
Fixed
metaobjectandmetaobject_listsettings are metaobjects, not the string of the template: a handle,type.handle,type/handleor agid://shopify/Metaobject/id.- The search follows
sort_by:relevance,price-ascendingandprice-descending, with the other results after the products under a price order, as Shopify does.search.sort_bysays which order applies andsearch.sort_optionslists those three. 'now' | date: '%N'differs between calls. Each'now'reads the clock again, as on Shopify, so ids built from it no longer repeat. With a fixednowin the data, each read is one nanosecond after the previous one: renders stay reproducible.
What's Changed
Full Changelog: v0.1.16...v0.1.17