If you’re curious what’s new, head over to the v3.0 release notes. Since the last major release was in September 2018, Gatsby v3 includes a couple of breaking changes. This is a reference for upgrading your site from Gatsby v2 to Gatsby v3. Have you run into something that’s not covered here? Add your changes to GitHub! Introduction JSON imports: follow the JSON modules web spec.Schema Customization: Consistent return for nQuery.Schema Customization: Remove many argument from childOf directive.Schema Customization: Removed noDefaultResolvers argument from inference directives.Schema Customization: Extensions must be set explicitly.Schema Customization: Add explicit childOf extension to types with disabled inference.GraphQL: _typename field is no longer added automatically.GraphQL: character escape sequences in regex filter.webpack 5 node configuration changed (node.fs, node.path. ![]() Removal of sizes & resolutions for image queries.Removal of hasNodeChanged from public API surface.Removal of fieldName & fieldValue from createNodeField.ESLint upgraded from version 6 to version 7.webpack upgraded from version 4 to version 5.Handling dependencies for plugins that are not yet updated.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |