Skip to content

v2: All new & shiny

Compare
Choose a tag to compare
@LekoArts LekoArts released this 17 Apr 16:31
· 66 commits to main since this release
811c1dc

Description

Hello!

With #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