datocms / gatsby-source-datocms

Official GatsbyJS source plugin to pull content from DatoCMS
MIT License
140 stars 50 forks source link

Migrating to gatsby-plugin-image with v3 release #147

Closed theikid closed 3 years ago

theikid commented 3 years ago

With Gatsby v3 release yesterday even if gatsby image is still supported, migration to gatsby-plugin-image should be done.

Is there any plan to migrate the datocms source plugin to use this new plugin ?

Thank you !

https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v2-to-v3

https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/

stefanoverna commented 3 years ago

Absolutely! We'll work on this next week!

cymkd commented 3 years ago

@stefanoverna Appreciate the responsiveness, really looking forward to seeing how the lighthouse metrics behave (on a large ecommerce gatsby website)!

stefanoverna commented 3 years ago

Alright, v2.6.2 should be Gatsby v3 ready! Here's how you can use the new <GatsbyImage /> component!

https://github.com/datocms/gatsby-source-datocms#integration-with-gatsby-image