Skip to content

plain-htmx: vendor v2 head-support extension to match htmx 2 core - #165

Open
imsurya26 wants to merge 1 commit into
dropseed:masterfrom
imsurya26:fix/htmx-v2-head-support
Open

imsurya26 wants to merge 1 commit into
dropseed:masterfrom
imsurya26:fix/htmx-v2-head-support

Conversation

@imsurya26

@imsurya26 imsurya26 commented Nov 13, 2026 •

Copy link
Copy Markdown

Fixes #73

Summary of changes

Updates plain-htmx/plain/htmx/assets/htmx/vendor/src/ext/head-support.js to the official v2 release from bigskysoftware/htmx-extensions / htmx-ext-head-support (2.0.5).

Why

plain-htmx ships htmx core 2.0.4, but previously bundled the htmx 1.x version of head-support.js. On every page load where head-support was enabled, the console fired:

head-support.js:9 WARNING: You are using an htmx 1 extension with htmx 2.0.4.
It is recommended that you move to the version of this extension found on
https://htmx.org/extensions

The v2 extension eliminates the warning and safely checks for xhr before accessing xhr.response on htmx:afterSwap.

Verification

  • Tested with plain.testing (plain-htmx/tests): 26/26 tests passed.
  • Compared against htmx-ext-head-support@2.0.5 on npm and bigskysoftware/htmx-extensions/src/head-support/head-support.js.

@pullapprove5

pullapprove5 Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Next steps

  • imsurya26: Waiting for reviews
PENDING: 1 review scope pending
Scope Progress Pending
⏳ code 0/1 davegaeddert

View in PullApprove

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T13:01:11.929388Z 0d9765b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

plain-htmx bundles htmx 1.x head-support extension with htmx 2.0.4 core

1 participant