0.9.0
Features:
- The
srcandsrcSetprops given at the top-level component (LazyImageandLazyImageFull) now pass those props back in their render callbacks. The reasoning is to encourage consistency (if there is a mismatch, you can lose the benefits of the preloading). - The
altattribute for the final image is now accepted at the top-level. It is passed down to the render callbacks alongsidesrcandsrcSet.
None of those should be breaking, but it is recommended to change your components to use them, as they can prevent accidental errors.
Breaking Changes:
- The Typescript types are correctly referenced in package.json. If you were using the library as described in the docs, you should be ok. But given that this wasn't enforced, I cannot safely describe this as non-breaking.
Docs/Infrastructure:
- Our storybook setup also uses Typescript now.