Install

Works with Drupal: ^11.3 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 128.55 KB
MD5: 3760c3ab75657a86a8f78893c1242580
SHA-1: 2061f37ad178f7974f1fcb89212188ec6c903d45
SHA-256: 3bde71f65c37dbc0e49d8b8dc3b1cb83a547cb4d995cdeb5f9a85d229af87080
Download zip 133.43 KB
MD5: fac97f4d4546e67d5679a1f55d44a056
SHA-1: 0282803b0653223a338c54b44c34afa263c921cc
SHA-256: 5c2f5dabfcc15b32d1b6431b27a1ae891d86167b694f490632ad44805e5d811d

Release notes

This is the first beta release of Anime 2.x. It introduces Drupal 11
and 12 compatibility and support for Anime.js 3 and 4 browser bundles,
while preserving the module's existing Drupal library IDs.

This beta is intended for compatibility testing and feedback ahead of
the stable 2.0.0 release.

What's new

  • Support for Drupal 11.3 and later, and Drupal 12.
  • Automatic detection of supported Anime.js 3 and 4 browser bundles
    in site-specific, root-level, and installation-profile library
    directories.
  • Recognition of anime, animejs, and
    anime.js library directory names.
  • Improved status reporting, including detected library versions,
    installation status, and diagnostics for unsupported files.
  • An Anime.js 3.2.2 fallback from cdnjs over HTTPS, protected by
    Subresource Integrity (SRI), when no usable local library is found.

Compatibility and upgrade notes

  • PHP requirements: PHP 8.3 or later is required.
    Drupal 12 requires PHP 8.5.
  • Anime.js version selection: When both major versions
    are installed, Anime.js 3 takes precedence. Library selection is
    global rather than per consumer.
  • Anime.js 4: The v3 and v4 JavaScript APIs are not
    interchangeable. Update consuming scripts and remove installed
    v3 copies before switching to v4. The module does not translate
    animation code between versions.
  • Cache rebuilding: Rebuild Drupal caches after
    installing, moving, replacing, or removing library files.
    Replacements using the same path and version are not detected
    automatically.
  • CDN fallback: The fallback always provides
    Anime.js 3.2.2, not v4.
  • Existing integrations: Test integrations that
    depend on Anime.js, particularly Anime UI, before adopting this
    beta.

Fixes and testing

  • Fixed a Drupal 12 runtime-requirements error triggered when the
    Core Update module invokes requirements hooks.
  • Expanded unit and functional regression coverage for library
    detection, requirements reporting, and Update module integration.
  • Verified against Drupal 11.3, Drupal 11.4, and Drupal 12
    development environments through the project's GitLab CI pipeline.

The legacy 1.0.x release series remains separate and
unchanged.

Created by: mahyarsbt
Created on: 29 Oct 2026 at 19:19 UTC
Last updated: 29 Oct 2026 at 19:19 UTC
Bug fixes
New features

Other releases