Skip to content

Releases: zodiacmedia/drupal-libraries-installer

v2.0.0 - Add PHP 8.4 support

08 Aug 08:54
561edc0

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.6.0...v2.0.0

v1.6.0 - Fix error when attempting to delete directories in the latest composer version

19 Nov 17:34

Choose a tag to compare

  • Address breaking change introduced in symfony/finder ^5.4.0 || ^6.0.0 where the ignoreUnreadableDirs option 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 directory
    

    See commit.

v1.5.0 - Support composer/installers version 2.

01 Mar 16:53

Choose a tag to compare

  • #5 - Support composer/installers version 2.
  • Improve support for detecting various versions and archive types.

v1.4.1 - Fix Composer 2 "empty libraries" behaviour

22 Feb 09:34
b58b669

Choose a tag to compare

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.

23 Nov 14:20

Choose a tag to compare

Add Composer 2 support.

v1.3.0 - Vendor namespace and file rename support

30 Oct 16:20

Choose a tag to compare

  • Add a rename property 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-libraries composer command. It typically
    requires your composer dependencies to have already been resolved.

v1.2.0 - Uninstall bug-fix

20 Jul 08:31

Choose a tag to compare

  • Address a LogicException being thrown when the package is uninstalled.

v1.1.1 - Quality of life improvements and fidelity

13 Jul 14:37
a7c9a0e

Choose a tag to compare

  • 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-dependencies extra option.
  • Basic unit tests.

v1.1.0 - Add better support for sub-packages

01 May 11:31

Choose a tag to compare

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.