Closed (fixed)
Project:
HTMX
Version:
1.5.0
Component:
Documentation
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Nov 2025 at 17:11 UTC
Updated:
10 Dec 2025 at 19:34 UTC
Jump to comment: Most recent
This module functionality breaks when updating from pre 1.4 to 1.5+ because htmx/drupal is now missing
Update a site using this module according to instructions on project page and documentation from 1.4 to 1.5. All functionality will break because the htmx/drupal lib is gone.
Reintroduce the library, even if redundant.
Bring back the library.
Publish a change record.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
onion commentedFwiw, I was able to get basic functionality working again by switching out htmx/drupal for core/htmx.
Comment #4
fathershawnThank you! I sure thought I put that in the release notes :(
I also just learned how to keep an empty library that has dependencies, so I'll get that in and create a patch version to make it easier for others.
Comment #5
fathershawnComment #8
fathershawnhtmx/drupallibrary that depends oncore/drupal.htmxhtmx/drupalto verify that this approach works.Thanks @onion. Note the appropriate swap value above for refactoring your attachment code to use core. Using
core/htmxwill not get you merged incoming assets.Comment #10
onion commentedWe ended creating a dependency for core/drupal.htmx in our theme library as well.
Thanks @fathershawn for the quick fix!