All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Types of changes:
Addedfor new features.Changedfor changes in existing functionality.Deprecatedfor soon-to-be removed features.Removedfor now removed features.Fixedfor any bug fixes.Securityin case of vulnerabilities.
Date format: YYYY-MM-DD
If we have some "Breaking changes" we can mark it in message by
**BREAKING**preffix, like:- **BREAKING**: Some message
Todo list for future
- ...
- Replace
react-lazyloadplugin withreact-lazy-loadto support React 18.
- Remove CVE vulnerabilities
- prop-types dependency
- Support React 18
- Removed deprecated methods
- Low preview image width
- Low preview image width
- Update documentations
- possibility to render unwrapped image using
disableAnimationprop
- possibility to add
doNotReplaceURLto single image
- change devicePixelRatioList to [1, 1.5, 2]
- prevent the lazyLoading property from being spread onto the img tag
- removed hardcoded ci_info query parameter to fix image caching
- img-src starts with "//"
- possibility to remove API versions
- better support for SSR (render placeholders with correct sizes via SSR stage)
- domain property in config
- new property: customDomain
Property ignoreNodeImgSize is deprecated. Use imageSizeAttributes: 'ignore' instead
- new property: imageSizeAttributes
- onImgLoad handler to Img and BackgroundImg components
- allow unmounting the provider
- delay property to handle cases when we need wait till some layout is loaded first
- missing properties in the documentation (README), fix some mistakes
- problem with not setting ratio on preview load when no image is set
- problem with srcset attribute
- add SSR support
- improve logic for bound resize
- add possibility to configure minLowQualityWidth
- improve logic for bound resize
- problem with not setting ratio
- if use params as objects remove from html
- babel version from 6.x.x to 7.x.x
- improve logic structure / core refactoring
- separate build without polyfills to support Gatsby