MichaelDeBoey / gatsby-remark-embedder

Gatsby Remark plugin to embed well known services by their URL.
MIT License
294 stars 58 forks source link

feat: support Gatsby 4.x #219

Closed MichaelDeBoey closed 2 years ago

MichaelDeBoey commented 2 years ago

BREAKING CHANGE: Requires Node >=14.15.0 BREAKING CHANGE: Requires Gatsby ^4.0.0


Closes #211 Closes #214

codecov[bot] commented 2 years ago

Codecov Report

Merging #219 (e2a83a7) into main (a5ad0eb) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #219   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           17        17           
  Lines          300       300           
  Branches        95        95           
=========================================
  Hits           300       300           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a5ad0eb...e2a83a7. Read the comment docs.

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 6.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

trevorblades commented 2 years ago

@MichaelDeBoey thanks for merging this. Unfortunately, the plugin will still not work with Gatsby v4 because it exports itself using exports.default instead of module.exports. My other PR (#214) addressed this issue by enabling a babel plugin that would add module.exports to the main entrypoint.

Relevant issue on Gatsby's repo: https://github.com/gatsbyjs/gatsby/issues/15991