- Fix missing root boolean in tree item
- Prevent missing entities from causing exceptions during create nodes
- Remove Gatsby v3 warnings
- Upgrade deps 0f4f939
- Bugfix: Fixed error when no uploads were present in the Media Area
- Bugfix: JSON fields where returned as strings
- GraphQL schema customization (no more random errors due to inferred types!)
- Support for traced SVG image placeholders (
GatsbyDatoCmsFixed_tracedSVG
and GatsbyDatoCmsFluid_tracedSVG
)
- Automatically use WebP images when the browser supports the file format. If the browser doesn’t support WebP, fall back to the default image format
- Hyper fast real-rime content preview in watch mode (just the content that actually changes gets re-downloaded)
- Fixed some bugs when using Imgix transformations on
gatsby-image
queries
- Disable watch mode when Gatsby is in build mode
- Locale fallbacks:
plugins: [
{
resolve: `gatsby-source-datocms`,
options: {
// In this example, if some field value is missing in Italian, fall back to English
localeFallbacks: {
it: ['en'],
},
},
},
]
- If you need to get every locale for a specific field, you can now use the
_all<FIELD>Locales
query:
{
allDatoCmsBlogPost(filter: { locale: { eq: "en" } }) {
edges {
node {
_allTitleLocales {
locale
value
}
_allExcerptLocales {
locale
value
}
}
}
}
}
- Added
meta
fields to records:
{
allDatoCmsBlogPost {
edges {
node {
meta {
createdAt
updatedAt
publishedAt
firstPublishedAt
isValid
status
}
}
}
}
}
- Restore support of gatsby-image base64 field