Skip to content

Commit f4632fa

Browse files
author
Amr Wagdy
committed
chore: changelog
1 parent b4a06c7 commit f4632fa

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ Types of changes:
2525
- ...
2626

2727
-------------
28+
## 1.6.2 - 2021-11-17
29+
### Fixed
30+
- possibility to remove API versions
31+
2832
## 1.6.1 - 2021-07-27
2933
### Fixed
3034
- domain property in config

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Release](https://img.shields.io/badge/release-v1.6.1-blue.svg)](https://github.com/scaleflex/react-cloudimage-responsive/releases)
1+
[![Release](https://img.shields.io/badge/release-v1.6.2-blue.svg)](https://github.com/scaleflex/react-cloudimage-responsive/releases)
22
[![Free plan](https://img.shields.io/badge/price-includes%20free%20plan-green.svg)](https://www.cloudimage.io/en/home#b38181a6-b9c8-4015-9742-7b1a1ad382d5)
33
[![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)](#contributing)
44
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
@@ -178,6 +178,29 @@ Note: this will disregard your token above as this should be built into the CNAM
178178

179179
Your image folder on server, this alows to shorten your origin image URLs.
180180

181+
### apiVersion
182+
183+
###### Type: **String** |Default: **'v7'** | _optional_
184+
185+
Allow to use a specific version of API.
186+
187+
- set a specific version of API
188+
```javascript
189+
const cloudimageConfig = {
190+
token: 'demo',
191+
baseURL: 'https://jolipage.airstore.io/',
192+
apiVersion: 'v7' // optional
193+
};
194+
```
195+
- disable API version
196+
```javascript
197+
const cloudimageConfig = {
198+
token: 'demo',
199+
baseURL: 'https://jolipage.airstore.io/',
200+
apiVersion: null // optional
201+
};
202+
```
203+
181204
### doNotReplaceURL
182205

183206
###### Type: **bool** | Default: **false**

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-cloudimage-responsive-plain",
3-
"version": "1.6.1",
3+
"version": "1.6.2",
44
"main": "dist/index.js",
55
"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.",
66
"author": "scaleflex",

0 commit comments

Comments
 (0)