Releases: davepwsmith/gatsby-source-flickr
Releases · davepwsmith/gatsby-source-flickr
Updated build pipeline for NPM Publish
v2.0.4 Bump version to 2.0.4
Adding tests and improving types
v2.0.3 Update publish workflow
Typescript Support
Small release to include types in the NPM package.
Updated for Gatsby 5 and gatsby-plugin-image
Quite a lot has changed about Gatsby since I wrote this plugin, not least the entire way that images are handled, it seems! As a result, I've rewritten or refactored much of this plugin, and it now behaves nicely with GatsbyImage and so on.
As a result, these changes are very breaking - not much will work if you install this over the top of a v1.x without changing your implementation. On the bright side, the implementation is now much neater and better, as a result of the GatsbyImage functionality that has been added.
Some highlights in the CHANGELOG.
Bigger and Better
Add two larger size images to the default get for bigger screens.
Typos
Fixed
- Correct README
- Correct Repo URL
A few updates...
Added
- Add some types - not amazing though, since none of the actual API data has any documentation about types!
- Fix additional data (lat/long to number from string)
- Add orientation
Removed
- Remove some unnecessary/cryptic fields
First Release
Added
- Initial Version
- Was originally based on gatsby-source-flickr by Chris Earle, but has deviated fairly significantly!
Changed
- Use getPublicPhotos endpoint to start with - might add more configurability later
- Replace standard API calls with flickr-sdk
- Rewrite in typescript
- Refactor to allow for paginated responses