Skip to content
SDK

SDK 0.17.0

  • cmsImageUrl, cmsImageSrcSet, cmsImageAvif and <CmsImage> resize images linked from Cloudinary, Bynder and Frontify with that library's own transformations, so linked images get the same widths and formats as uploaded ones. See Connect services and your own bucket.
  • Two new field types for organisations that connect Shopify in Orbit: shopifyProduct and shopifyProducts. The delivery API and GraphQL answer them as CmsShopifyProduct (id, handle, title, priceRange with min and max, image and url), and cms-orbit types generate, schema validate and content validate know them. See Field types.
  • Four new built-in field types: slider and rating arrive as numbers, code as CmsCodeBlock ({ language, code }, plain text to escape before you show it) and palette as CmsPaletteColour ({ name, hex }). CmsFieldDefinition has their settings, step, unit, halfStars, languages and defaultLanguage, with CmsCodeLanguage for the languages, and GET/schema answers them on CmsSchemaField. cms-orbit types generate types them in TypeScript, Swift, Kotlin and PHP, schema validate checks their settings, schema init, diff and push keep them, and content validate checks their values. See Field types.