Skip to content

Latest commit

 

History

History
102 lines (78 loc) · 2.13 KB

CHANGELOG.md

File metadata and controls

102 lines (78 loc) · 2.13 KB

v2.1.13

  • Fix missing root boolean in tree item

v2.1.9

  • Prevent missing entities from causing exceptions during create nodes

v2.1.8

  • Add facebookPageUrl

v2.1.7

  • Remove Gatsby v3 warnings
  • Upgrade deps 0f4f939

v2.1.4

  • Bugfix: Fixed error when no uploads were present in the Media Area

v2.1.2

  • Bugfix: JSON fields where returned as strings

v2.1.0

  • 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
        }
      }
    }
  }
}

v2.0.2

  • Restore support of gatsby-image base64 field

v1.1.9

v1.1.8

  • Added originalId (#18)