Skip to content

Commit bf4e712

Browse files
author
Amr Wagdy
committed
chore: release 4.8.2
1 parent ea6e054 commit bf4e712

17 files changed

+55
-33
lines changed

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ Types of changes:
2525
- ...
2626

2727
-------------
28+
## 4.8.2 - 2021-11-08
29+
30+
### Fixed
31+
- possibility to remove API version in blur-hash, low-preview, wp and plain
2832
## 4.8.1 - 2021-08-17
2933

3034
### fixed

Diff for: README-BLUR-HASH.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Release](https://img.shields.io/badge/release-v4.8.1-blue.svg)](https://github.com/scaleflex/js-cloudimage-responsive/releases)
1+
[![Release](https://img.shields.io/badge/release-v4.8.2-blue.svg)](https://github.com/scaleflex/js-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)
@@ -116,7 +116,7 @@ You have to pay attention on the following things:
116116
Add script tag with CDN link to js-cloudimage-responsive
117117

118118
```javascript
119-
<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.1/blur-hash/js-cloudimage-responsive.min.js"></script>
119+
<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.2/blur-hash/js-cloudimage-responsive.min.js"></script>
120120
```
121121

122122
or using npm
@@ -233,6 +233,12 @@ If set to **true** the plugin will only add query params to the given source of
233233

234234
Your image folder on server, this alows to shorten your origin image URLs.
235235

236+
### apiVersion
237+
238+
###### Type: **String** |Default: **'v7'** | _optional_
239+
240+
allow to use a specific version of API
241+
236242
### <a name="lazy_loading_config"></a>lazyLoading
237243

238244
###### Type: **Bool** | Default: **false** | _optional_
@@ -467,7 +473,7 @@ add the following scripts right after js-cloudimage-responsive script
467473
window.lazySizesConfig = window.lazySizesConfig || {};
468474
window.lazySizesConfig.init = false;
469475
</script>
470-
<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.1/blur-hash/js-cloudimage-responsive.min.js"></script>
476+
<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.2/blur-hash/js-cloudimage-responsive.min.js"></script>
471477
<script src="https://cdn.scaleflex.it/filerobot/js-cloudimage-responsive/lazysizes.min.js"></script>
472478
```
473479

Diff for: README-PLAIN.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Release](https://img.shields.io/badge/release-v4.8.1-blue.svg)](https://github.com/scaleflex/js-cloudimage-responsive/releases)
1+
[![Release](https://img.shields.io/badge/release-v4.8.2-blue.svg)](https://github.com/scaleflex/js-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)
@@ -110,7 +110,7 @@ This version of plugin doesn't add any CSS or change layout thus no effect on yo
110110
Add script tag with CDN link to js-cloudimage-responsive
111111

112112
```javascript
113-
<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.1/plain/js-cloudimage-responsive.min.js"></script>
113+
<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.2/plain/js-cloudimage-responsive.min.js"></script>
114114
```
115115

116116
or using npm
@@ -127,7 +127,8 @@ After adding the js-cloudimage-responsive lib, simply iniatialize it with your *
127127
<script>
128128
const ciResponsive = new window.CIResponsive({
129129
token: 'demo',
130-
baseURL: 'https://cloudimage.public.airstore.io/demo/' // optional
130+
baseURL: 'https://cloudimage.public.airstore.io/demo/', // optional,
131+
apiVersion: 'v7' // optional
131132
});
132133
</script>
133134
```
@@ -224,6 +225,12 @@ If set to **true** the plugin will only add query params to the given source of
224225

225226
Your image folder on server, this alows to shorten your origin image URLs.
226227

228+
### apiVersion
229+
230+
###### Type: **String** |Default: **'v7'** | _optional_
231+
232+
allow to use a specific version of API
233+
227234
### <a name="lazy_loading_config"></a>lazyLoading
228235

229236
###### Type: **Bool** | Default: **false** | _optional_
@@ -446,7 +453,7 @@ add the following scripts right after js-cloudimage-responsive script
446453
window.lazySizesConfig = window.lazySizesConfig || {};
447454
window.lazySizesConfig.init = false;
448455
</script>
449-
<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.1/plain/js-cloudimage-responsive.min.js"></script>
456+
<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.2/plain/js-cloudimage-responsive.min.js"></script>
450457
<script src="https://cdn.scaleflex.it/filerobot/js-cloudimage-responsive/lazysizes.min.js"></script>
451458
```
452459

Diff for: README.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Release](https://img.shields.io/badge/release-v4.8.1-blue.svg)](https://github.com/scaleflex/js-cloudimage-responsive/releases)
1+
[![Release](https://img.shields.io/badge/release-v4.8.2-blue.svg)](https://github.com/scaleflex/js-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)
@@ -115,13 +115,13 @@ You have to pay attention to the following things:
115115
Add a style tag with CDN link to js-cloudimage-responsive in the head of your site
116116

117117
```javascript
118-
<link rel="stylesheet" href="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.1/js-cloudimage-responsive.min.css?vh=a076ef&func=proxy"></link>
118+
<link rel="stylesheet" href="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.2/js-cloudimage-responsive.min.css?vh=a076ef&func=proxy"></link>
119119
```
120120

121121
Add a script tag with CDN link to js-cloudimage-responsive
122122

123123
```javascript
124-
<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.1/js-cloudimage-responsive.min.js"></script>
124+
<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.2/js-cloudimage-responsive.min.js"></script>
125125
```
126126

127127
or using npm
@@ -222,6 +222,12 @@ If set to **true**, the plugin will only add query parameters to the provided im
222222

223223
Your image folder on server; this alows to shorten your origin image URLs.
224224

225+
### apiVersion
226+
227+
###### Type: **String** |Default: **'v7'** | _optional_
228+
229+
allow to use a specific version of API
230+
225231
### <a name="lazy_loading_config"></a>lazyLoading
226232

227233
###### Type: **Bool** | Default: **false** | _optional_
@@ -472,7 +478,7 @@ add the following scripts right after js-cloudimage-responsive script
472478
window.lazySizesConfig = window.lazySizesConfig || {};
473479
window.lazySizesConfig.init = false;
474480
</script>
475-
<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.1/js-cloudimage-responsive.min.js"></script>
481+
<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.2/js-cloudimage-responsive.min.js"></script>
476482
<script src="https://cdn.scaleflex.it/filerobot/js-cloudimage-responsive/lazysizes.min.js"></script>
477483
```
478484

Diff for: build/blur-hash/js-cloudimage-responsive.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: build/blur-hash/js-cloudimage-responsive.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: build/low-preview/js-cloudimage-responsive.min.css

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: build/low-preview/js-cloudimage-responsive.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: build/low-preview/js-cloudimage-responsive.min.js.map

-1
This file was deleted.

Diff for: build/plain/js-cloudimage-responsive.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: build/plain/js-cloudimage-responsive.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: build/wp/js-cloudimage-responsive.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: build/wp/js-cloudimage-responsive.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: examples/blur-hash/src/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ <h2 class="text-center">Ready to get started?</h2>
509509
// lazy load is a separate feature
510510
&lt;script src="https://cdn.scaleflex.it/filerobot/js-cloudimage-responsive/lazysizes.min.js"&gt;&lt;/script&gt;
511511
// main core
512-
&lt;script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.1/blur-hash/js-cloudimage-responsive.min.js"&gt;&lt;/script&gt;
512+
&lt;script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.2/blur-hash/js-cloudimage-responsive.min.js"&gt;&lt;/script&gt;
513513
</code></pre>
514514
</figure>
515515
</div>

Diff for: examples/low-preview/src/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ <h2 class="text-center">Ready to get started?</h2>
499499
// lazy load is a separate feature
500500
&lt;script src="https://cdn.scaleflex.it/filerobot/js-cloudimage-responsive/lazysizes.min.js"&gt;&lt;/script&gt;
501501
// main core
502-
&lt;script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.1/js-cloudimage-responsive.min.js"&gt;&lt;/script&gt;
502+
&lt;script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.2/js-cloudimage-responsive.min.js"&gt;&lt;/script&gt;
503503
</code></pre>
504504
</figure>
505505
</div>

Diff for: examples/plain/src/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ <h2 class="text-center">Ready to get started?</h2>
516516
// lazy load is a separate feature
517517
&lt;script src="https://cdn.scaleflex.it/filerobot/js-cloudimage-responsive/lazysizes.min.js"&gt;&lt;/script&gt;
518518
// main core
519-
&lt;script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.1/plain/js-cloudimage-responsive.min.js"&gt;&lt;/script&gt;
519+
&lt;script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.2/plain/js-cloudimage-responsive.min.js"&gt;&lt;/script&gt;
520520
</code></pre>
521521
</figure>
522522
</div>

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "js-cloudimage-responsive",
3-
"version": "4.8.1",
3+
"version": "4.8.2",
44
"main": "dist/low-preview/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 with fancy animation on image load.",
66
"author": "scaleflex",

0 commit comments

Comments
 (0)