Update Lazy-load module documentation to reflect latest module and lazysizes library versions

Created on 21 April 2025, about 1 month ago

The current Composer installation example on the Lazy-load module documentation page uses outdated version constraints:

drupal/lazy:^3.0 — the latest stable release is 4.0.

bower-asset/lazysizes:^5.1 — the latest available version is 5.3.2.

Using outdated constraints could:

Prevent users from accessing new features, security patches, or bug fixes.

Cause confusion when trying to install or integrate the latest version.

Introduce conflicts if newer versions are required elsewhere in a project.

Proposed Update: Update the documentation to the latest supported versions.

Update this:

composer require drupal/lazy:^3.0 bower-asset/lazysizes:^5.1 oomphinc/composer-installers-extender:^2.0 --no-update

To:

composer require drupal/lazy:^4.0 bower-asset/lazysizes:^5.3 oomphinc/composer-installers-extender:^2.0 --no-update

Update composer.json example:

"require": {
  "drupal/lazy": "^4.0",
  "bower-asset/lazysizes": "^5.3",
  "oomphinc/composer-installers-extender": "^2.0"
}
📌 Task
Status

Active

Version

4.0

Component

Documentation

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024