gatsby-source-tmdb

🎬 Source from The Movie Database (TMDb) in Gatsby

MIT License

Downloads
82
Stars
57
Committers
2

Bot releases are hidden (Show)

gatsby-source-tmdb - v2: All new & shiny

Published by LekoArts over 3 years ago

Description

Hello!

With https://github.com/LekoArts/gatsby-source-tmdb/pull/9 merged a new v2 of gatsby-source-tmdb is out.

Key highlights of this release:

  • The plugin doesn't download all images upfront anymore, only on demand when you use localFile
  • Easier handling of endpoints with the new endpoints option
  • Query any endpoint you can think of and extend requests with the new extension option
  • You can use multiple instances of the plugin with typePrefix
  • Custom plugin errors for easier debugging
  • Uses pluginOptionSchema to validate plugin options
  • Better logging & progress bars

You can find all plugin options here: https://github.com/LekoArts/gatsby-source-tmdb/tree/main/package#options

Breaking Changes

  • The modules option was replaced with endpoints
  • The image nodes (e.g. backdrop_path) have another shape now with localFile in them
  • The reqPerTenSeconds option was removed
  • The poster & backdrop option was removed
Package Rankings
Top 9.2% on Npmjs.org
Related Projects