# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [2.1.42] - 2023-07-11 ### Changed - Updated package dependencies. [#31785] ## [2.1.41] - 2023-07-05 ### Changed - Updated package dependencies. [#31659] ## [2.1.40] - 2023-06-23 ### Changed - Updated package dependencies. [#31468] ## [2.1.39] - 2023-06-06 ### Changed - Updated package dependencies. [#31129] ## [2.1.38] - 2023-05-11 - Updated package dependencies ## [2.1.37] - 2023-05-02 ### Changed - Updated package dependencies. [#30375] ## [2.1.36] - 2023-04-10 ### Added - Add Jetpack Autoloader package suggestion. [#29988] ## [2.1.35] - 2023-04-04 ### Changed - Updated package dependencies. [#29854] ## [2.1.34] - 2023-03-20 ### Changed - Updated package dependencies. [#29471] ## [2.1.33] - 2023-03-08 ### Changed - Updated package dependencies. [#29216] ### Fixed - Fix lazy-load images in Safari [#29243] ## [2.1.32] - 2023-02-20 ### Changed - Minor internal updates. ## [2.1.31] - 2023-02-15 ### Changed - Update to React 18. [#28710] ## [2.1.30] - 2023-01-26 ### Changed - Minor internal updates. ## [2.1.29] - 2022-12-06 ### Changed - Updated package dependencies. [#27688, #27696] ## [2.1.28] - 2022-11-28 ### Changed - Updated package dependencies. [#27043] ## [2.1.27] - 2022-11-14 ### Changed - Updated package dependencies. [#27289] ## [2.1.26] - 2022-11-01 ### Changed - Updated package dependencies. [#27196] ## [2.1.25] - 2022-10-13 ### Changed - Updated package dependencies. [#26791] ## [2.1.24] - 2022-10-05 ### Changed - Updated package dependencies. [#26568] ## [2.1.23] - 2022-09-20 ### Changed - Updated package dependencies. ## [2.1.22] - 2022-08-30 ### Changed - Updated package dependencies. [#25814] ## [2.1.21] - 2022-07-26 ### Changed - Updated package dependencies. [#25158] ## [2.1.20] - 2022-07-12 ### Fixed - Do not attempt to lazy-load images in embeds. [#24989] ## [2.1.19] - 2022-06-28 ### Fixed - Fix an issue where processing image attributes more than once resulted in images not being displayed. ## [2.1.18] - 2022-06-21 ### Changed - Disable core lazy loading implementation for images that get lazy loaded by Jetpack - Renaming master to trunk. - Updated package dependencies. ## [2.1.17] - 2022-06-14 ## [2.1.16] - 2022-06-08 ### Changed - Reorder JS imports for `import/order` eslint rule. [#24601] ## [2.1.15] - 2022-05-24 ### Fixed - Do not lazy-load images when in RSS feeds. [#24471] ## [2.1.14] - 2022-05-18 ### Changed - Setup lazy-images filters to run on 'the_post' hook not 'wp_head' to fix a variety of issues. [#24277] - Updated package dependencies [#24372] ## [2.1.13] - 2022-05-10 ### Changed - Updated package dependencies. [#24302] ## [2.1.12] - 2022-05-04 ### Added - Add missing JavaScript dependencies. [#24096] ### Changed - Update JS sources to modern syntax. [#24213] ## [2.1.11] - 2022-04-26 ### Changed - Updated package dependencies. - Update package.json metadata. ## [2.1.10] - 2022-04-06 ### Changed - Microperformance: Use === null instead of is_null ## [2.1.9] - 2022-03-29 ### Changed - Microperformance: Use === null instead of is_null ## [2.1.8] - 2022-03-23 ### Changed - Updated package dependencies. ## [2.1.7] - 2022-03-02 ### Changed - Updated package dependencies. ## [2.1.6] - 2022-02-16 ### Changed - Updated package dependencies. ## [2.1.5] - 2022-02-09 ### Changed - Updated package dependencies. ## [2.1.4] - 2022-02-02 ### Changed - Updated package dependencies. ## [2.1.3] - 2022-01-25 ### Changed - Updated package dependencies. ## [2.1.2] - 2022-01-18 ### Changed - General: update required node version to v16.13.2 ## [2.1.1] - 2022-01-11 ### Changed - Updated package dependencies. ## [2.1.0] - 2022-01-04 ### Changed - Switch to pcov for code coverage. - Updated package dependencies. - Updated package textdomain from `jetpack` to `jetpack-lazy-images`. ## [2.0.10] - 2021-12-14 ## [2.0.9] - 2021-11-30 ### Changed - Remove `.min` from built JS. - Updated package dependencies. ## [2.0.8] - 2021-11-22 ### Changed - Updated package dependencies ## [2.0.7] - 2021-11-17 ### Changed - Updated package dependencies. ## [2.0.6] - 2021-11-16 ### Added - Use monorepo `validate-es` script to validate Webpack builds. ### Changed - Updated package dependencies. ## [2.0.5] - 2021-11-09 ### Changed - Update webpack build config. ## [2.0.4] - 2021-11-02 ### Changed - Set `convertDeprecationsToExceptions` true in PHPUnit config. - Update PHPUnit configs to include just what needs coverage rather than include everything then try to exclude stuff that doesn't. ## [2.0.3] - 2021-10-19 ### Changed - Updated package dependencies. ### Deprecated - General: remove numerous long-deprecated functions. ## [2.0.2] - 2021-10-12 ### Changed - Updated package dependencies ## [2.0.1] - 2021-09-28 ### Changed - Allow Node ^14.17.6 to be used in this project. This shouldn't change the behavior of the code itself. - Updated package dependencies. ## [2.0.0] - 2021-08-31 ### Changed - Run composer update on test-php command instead of phpunit. - Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). - Update annotations versions. - Update to latest webpack, webpack-cli and calypso-build. - Use Node 16.7.0 in tooling. This shouldn't change the behavior of the code itself. ### Removed - Removed IE11 support. ## [1.5.1] - 2021-08-10 ### Changed - Updated package dependencies ## [1.5.0] - 2021-06-29 ### Changed - Build using calypso-build, and use the intersection-observer npm module instead of bundling a copy. - Update docs to replace yarn with pnpm. - Update node version requirement to 14.16.1 ## [1.4.4] - 2021-05-25 ### Changed - Updated package dependencies. ## [1.4.3] - 2021-04-27 ### Changed - Updated package dependencies ## [1.4.2] - 2021-03-30 ### Added - Composer alias for dev-master, to improve dependencies ### Changed - Update package dependencies. ### Fixed - Update icon file used for tests, WP 5.7 no longer silences exif errors. - Use `composer update` rather than `install` in scripts, as composer.lock isn't checked in. ## [1.4.1] - 2021-02-23 - Update dependency webpack to v4.46.0 - Update dependency webpack-cli to v4.5.0 - CI: Make tests more generic - CLI: Add install command ## [1.4.0] - 2021-01-26 - Mirroring: Move build command into composer - Mirroring: Fix vendor copy of lazy-images in jetpack-production - Add mirror-repo information to all current composer packages - Lazy Images: do not include js linting config in production - Monorepo: Reorganize all projects - Various PHPCS and Cleanup ## [1.3.0] - 2021-01-05 - Lazy-Images: Downgrade to ES5 - Pin dependencies - Packages: Update for PHP 8 testing - Reorganize composer scripts - General: update minimum required version to WordPress 5.5 - Codecoverage: fix reports - Updated PHPCS: Packages and Debugger ## [1.2.2] - 2020-12-09 - Update dependencies to latest stable - Updated dependencies to latest stable ## [1.2.1] - 2020-11-24 - General: update minimum required version to WordPress 5.5 - Codecoverage: fix reports - Updated PHPCS: Packages and Debugger ## [1.2.0] - 2020-10-27 - Lazy Images: Use a better name for wp_localize_script's l10n object - Lazy Images: Start linting lazy-images.js ## [1.1.3] - 2020-12-09 - Update dependencies to latest stable ## [1.1.2] - 2020-11-24 - Version packages for release ## [1.1.1] - 2020-11-10 - Update dependencies to latest stable ## [1.1.0] - 2020-09-29 - Consolidate the Lazy Images package to rely on the Assets package ## 1.0.0 - 2020-08-25 - Lazy Images: Move into a package [2.1.42]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.41...v2.1.42 [2.1.41]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.40...v2.1.41 [2.1.40]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.39...v2.1.40 [2.1.39]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.38...v2.1.39 [2.1.38]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.37...v2.1.38 [2.1.37]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.36...v2.1.37 [2.1.36]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.35...v2.1.36 [2.1.35]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.34...v2.1.35 [2.1.34]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.33...v2.1.34 [2.1.33]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.32...v2.1.33 [2.1.32]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.31...v2.1.32 [2.1.31]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.30...v2.1.31 [2.1.30]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.29...v2.1.30 [2.1.29]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.28...v2.1.29 [2.1.28]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.27...v2.1.28 [2.1.27]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.26...v2.1.27 [2.1.26]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.25...v2.1.26 [2.1.25]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.24...v2.1.25 [2.1.24]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.23...v2.1.24 [2.1.23]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.22...v2.1.23 [2.1.22]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.21...v2.1.22 [2.1.21]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.20...v2.1.21 [2.1.20]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.19...v2.1.20 [2.1.19]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.18...v2.1.19 [2.1.18]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.17...v2.1.18 [2.1.17]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.16...v2.1.17 [2.1.16]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.15...v2.1.16 [2.1.15]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.14...v2.1.15 [2.1.14]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.13...v2.1.14 [2.1.13]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.12...v2.1.13 [2.1.12]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.11...v2.1.12 [2.1.11]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.10...v2.1.11 [2.1.10]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.9...v2.1.10 [2.1.9]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.8...v2.1.9 [2.1.8]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.7...v2.1.8 [2.1.7]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.6...v2.1.7 [2.1.6]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.5...v2.1.6 [2.1.5]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.4...v2.1.5 [2.1.4]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.3...v2.1.4 [2.1.3]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.2...v2.1.3 [2.1.2]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.1...v2.1.2 [2.1.1]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.1.0...v2.1.1 [2.1.0]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.0.10...v2.1.0 [2.0.10]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.0.9...v2.0.10 [2.0.9]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.0.8...v2.0.9 [2.0.8]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.0.7...v2.0.8 [2.0.7]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.0.6...v2.0.7 [2.0.6]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.0.5...v2.0.6 [2.0.5]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.0.4...v2.0.5 [2.0.4]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.0.3...v2.0.4 [2.0.3]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.0.2...v2.0.3 [2.0.2]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.0.1...v2.0.2 [2.0.1]: https://github.com/Automattic/jetpack-lazy-images/compare/v2.0.0...v2.0.1 [2.0.0]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.5.1...v2.0.0 [1.5.1]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.5.0...v1.5.1 [1.5.0]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.4.4...v1.5.0 [1.4.4]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.4.3...v1.4.4 [1.4.3]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.4.2...v1.4.3 [1.4.2]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.4.1...v1.4.2 [1.4.1]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.4.0...v1.4.1 [1.4.0]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.3.0...v1.4.0 [1.3.0]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.2.2...v1.3.0 [1.2.2]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.2.1...v1.2.2 [1.2.1]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.2.0...v1.2.1 [1.2.0]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.1.3...v1.2.0 [1.1.3]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.1.2...v1.1.3 [1.1.2]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.1.1...v1.1.2 [1.1.1]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.1.0...v1.1.1 [1.1.0]: https://github.com/Automattic/jetpack-lazy-images/compare/v1.0.0...v1.1.0