Releases: zodiacmedia/drupal-libraries-installer
v2.0.0 - Add PHP 8.4 support
What's Changed
- Explicitly marking parameter $filesystem as nullable by @dlopez-akalam in #10
New Contributors
- @dlopez-akalam made their first contribution in #10
Full Changelog: v1.6.0...v2.0.0
v1.6.0 - Fix error when attempting to delete directories in the latest composer version
-
Address breaking change introduced in
symfony/finder^5.4.0 || ^6.0.0where theignoreUnreadableDirsoption no
longer allows you to delete files/directories within the same loop.throwing an exception such as this:
RecursiveDirectoryIterator::__construct(docroot/libraries/library_name/subdirectory): Failed to open directory: No such file or directorySee
commit.
v1.5.0 - Support composer/installers version 2.
- #5 - Support composer/installers version 2.
- Improve support for detecting various versions and archive types.
v1.4.1 - Fix Composer 2 "empty libraries" behaviour
Add better Composer 2 support - #2.
-
Fix issue where libraries could not be downloaded on an empty cache, creating an empty folder instead.
Composer 2 introduces additional steps to the
DownloaderInterface, which needed integration as well as promises which need to be resolve/awaited properly. -
Support parallel library downloads on Composer 2, while keeping existing synchronous download support on Composer 1.
-
Fix issue with the plugin failing early if the plugin package is an
AliasPackage.
v1.4.0 - Add Composer 2 support.
Add Composer 2 support.
v1.3.0 - Vendor namespace and file rename support
- Add a
renameproperty to the library definition, providing the ability to
rename a library asset to match a particular folder pattern. - Add support for libraries with vendor namespaces like ckeditor.
- Add a convenience
install-drupal-librariescomposer command. It typically
requires your composer dependencies to have already been resolved.
v1.2.0 - Uninstall bug-fix
- Address a
LogicExceptionbeing thrown when the package is uninstalled.
v1.1.1 - Quality of life improvements and fidelity
- Quality of life improvements such as an alternative configuration
definition for supporting:- Different file extensions.
- SHA1 checksum verification.
- Removing example/demo/test files from the libraries (see PSA-2011-002).
- Ability to pull in library dependencies declared in subpackages through the
drupal-libraries-dependenciesextra option. - Basic unit tests.
v1.1.0 - Add better support for sub-packages
Also expanded the library definition to support different file extensions, SHA1 hashsums and removing potentially dangerous files from the asset.
See #5 for more detail.