Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Commit

Permalink
Bump version numbers to 1.0.1, and update changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixarntz committed Sep 11, 2019
1 parent d9fce40 commit e41e9b5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "google/native-lazyload",
"description": "Lazy-loads media using the native browser feature.",
"version": "1.0.0",
"version": "1.0.1",
"license": "Apache-2.0",
"type": "wordpress-plugin",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion native-lazyload.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin Name: Native Lazyload
* Plugin URI: https://wordpress.org/plugins/native-lazyload/
* Description: Lazy-loads media using the native browser feature.
* Version: 1.0.0
* Version: 1.0.1
* Author: Google
* Author URI: https://opensource.google.com
* License: Apache License 2.0
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "native-lazyload",
"version": "1.0.0",
"version": "1.0.1",
"description": "Lazy-loads media using the native browser feature.",
"author": "Google",
"license": "Apache-2.0",
Expand Down Expand Up @@ -31,4 +31,4 @@
"build": "webpack -p --mode=production --config='./webpack.config.js' && copyfiles -f ./assets/images/src/* ./assets/images",
"lint": "eslint ."
}
}
}
8 changes: 7 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Contributors: google, flixos90
Requires at least: 4.7
Tested up to: 5.2
Requires PHP: 7.0
Stable tag: 1.0.0
Stable tag: 1.0.1
License: Apache License 2.0
License URI: https://www.apache.org/licenses/LICENSE-2.0
Tags: lazyload, lazy, load, native, loading, images, iframes
Expand Down Expand Up @@ -64,6 +64,12 @@ You can also contribute to the plugin by translating it. Simply visit [translate

== Changelog ==

= 1.0.1 =

* Improve compatibility with other plugins by using more specific class and only adding it for JS fallback.
* Run lazy-load script on `DOMContentLoaded` when necessary to improve compatibility with plugins like Autoptimize.
* Do not transform elements inside an AJAX response due to lack of predictability of the context and script execution.

= 1.0.0 =

* Initial release
Expand Down
2 changes: 1 addition & 1 deletion src/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function url( string $relative_path = '/' ) : string {
/**
* Checks whether the current request is an AJAX request.
*
* @since 1.0.0
* @since 1.0.1
*
* @return bool True if an AJAX request, false otherwise.
*/
Expand Down

0 comments on commit e41e9b5

Please sign in to comment.