From 887bd50c30818eb11fdd330be8aff65076dc953c Mon Sep 17 00:00:00 2001 From: Amr Wagdy Date: Wed, 9 Feb 2022 16:26:51 +0200 Subject: [PATCH] chore: changelog --- CHANGELOG.md | 8 ++++++-- README.md | 4 ++-- package.json | 4 ++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c91fdc..4f4977c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,11 +25,15 @@ Types of changes: - ... ------------- -## 1.6.5 - 2021-01-18 +## 1.6.6 - 2022-02-09 +### Fixed +- change devicePixelRatioList to [1, 1.5, 2] + +## 1.6.5 - 2022-01-18 ### Fixed - prevent the lazyLoading property from being spread onto the img tag -## 1.6.4 - 2021-01-04 +## 1.6.4 - 2022-01-04 ### Fixed - removed hardcoded ci_info query parameter to fix image caching diff --git a/README.md b/README.md index 153bed0..aca7211 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Release](https://img.shields.io/badge/release-v1.6.2-blue.svg)](https://github.com/scaleflex/react-cloudimage-responsive/releases) +[![Release](https://img.shields.io/badge/release-v1.6.6-blue.svg)](https://github.com/scaleflex/react-cloudimage-responsive/releases) [![Free plan](https://img.shields.io/badge/price-includes%20free%20plan-green.svg)](https://www.cloudimage.io/en/home#b38181a6-b9c8-4015-9742-7b1a1ad382d5) [![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)](#contributing) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) @@ -283,7 +283,7 @@ For example ### devicePixelRatioList -###### Type: **[Number,...]** | Default: **[1, 1.5, 2, 3, 4]** | _optional_ +###### Type: **[Number,...]** | Default: **[1, 1.5, 2]** | _optional_ List of supported device pixel ratios. If there is no need to support retina devices, you should set empty array `devicePixelRatioList: []` diff --git a/package.json b/package.json index 890282b..49dee2a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-cloudimage-responsive-plain", - "version": "1.6.5", + "version": "1.6.6", "main": "dist/index.js", "description": "Cloudimage Responsive will smartly resize, compress and accelerate images across the World in your site for all devices. The plugin supports lazy loading technique.", "author": "scaleflex", @@ -39,7 +39,7 @@ "publish-demo": "npm run build-demo && npm run deploy" }, "dependencies": { - "cloudimage-responsive-utils": "^2.4.2", + "cloudimage-responsive-utils": "^2.4.4", "core-js": "^3.6.5", "react-lazyload": "^2.6.7", "throttle-debounce": "^2.0.1"