Product Updates

DatoCMS changelog for new features and general improvements
Content Delivery API

Improving the exposure of Inline Blocks in the Content Delivery API

March 24th, 2025

Based on early feedback from the recent release of inline blocks for Structured Text fields, we're introducing a small but impactful update to how our Content Delivery API handles them.

Previously, inline blocks were included within the blocks GraphQL selector. With this update, they now have a dedicated inlineBlocks selector:

Before the update:

query Before {
blogPost {
content {
value
blocks {
__typename
... on BlockModelRecord {
title
}
... on InlineBlockModelRecord {
title
}
}
}
}
}

After the update:

query After {
blogPost {
content {
value
blocks {
__typename
... on BlockModelRecord {
title
}
}
inlineBlocks {
__typename
... on InlineBlockModelRecord {
title
}
}
}
}
}

Why this change?

By separating inlineBlocks from blocks, developers gain more precise control over rich text content, making it easier to manage and render structured text accurately, especially when using TypeScript. This improvement enhances both flexibility and consistency when working with inline blocks in GraphQL queries.

We appreciate your feedback and will continue refining the experience to make content management even smoother! 🚀

Start using DatoCMS today
According to Gartner 89% of companies plan to compete primarily on the basis of customer experience this year. Don't get caught unprepared.
  • No credit card
  • Easy setup
Subscribe to our newsletter! 📥
One update per month. All the latest news and sneak peeks directly in your inbox.
support@datocms.com ©2025 Dato srl, all rights reserved P.IVA 06969620480