Releases: LekoArts/gatsby-source-tmdb
Releases · LekoArts/gatsby-source-tmdb
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
Major Changes
With #14 merged a new v3
of gatsby-source-tmdb
is out.
Key highlights of this release:
- Full compatibility with Gatsby 4
- Improved error handling
- Ability to download images specific to an endpoint
Breaking Changes:
- By default no images are downloaded anymore and you'll have to specifically opt-in to that. The shape (
localFile
on e.g.poster_path
) stayed the same but you'll need to either enable image downloading globally or individually for each endpoint
You can read a migration guide here: https://github.com/LekoArts/gatsby-source-tmdb/blob/main/MIGRATING.md
[email protected]
v2: All new & shiny
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 withendpoints
- The image nodes (e.g.
backdrop_path
) have another shape now withlocalFile
in them - The
reqPerTenSeconds
option was removed - The
poster
&backdrop
option was removed
[email protected]
Patch Changes
- d64e402: fix: Improve getParam usage with custom error