Problem/Motivation
This module functionality breaks when updating from pre 1.4 to 1.5+ because htmx/drupal is now missing
Steps to reproduce
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.
Proposed resolution
Reintroduce the library, even if redundant.
Remaining tasks
Bring back the library.
Publish a change record.
Issue fork htmx-3559894
Show commands
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!