Skip to content

htmx4 native support - #203

Open
usofm wants to merge 2 commits into
dotpas:mainfrom
usofm:codex/htmx4-native-pr
Open

htmx4 native support#203
usofm wants to merge 2 commits into
dotpas:mainfrom
usofm:codex/htmx4-native-pr

Conversation

@usofm

@usofm usofm commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add Dext.Web.Htmx4 for HTMX 4 request inspection.
  • Support HX-Request-Type: partial|full and related request headers.
  • Add a fluent <hx-partial> builder for multi-target responses.
  • Add unit/integration coverage and a native-server HTMX 4 demo.
  • Register the new unit in all supported Dext.Web.Core package targets.
  • Safely handle missing request headers and use an SRI-pinned HTMX 4 CDN script in the demo.

Validation

  • Delphi 13 isolated compile and runtime smoke test passed.
  • git diff --check passed.
  • Full package build is currently blocked by pre-existing local package artifacts:
    rtl must be recompiled / Dext.Net.Core not found.

…mple

- Htmx4.Request: HX-Request / HX-Request-Type (partial/full) header inspection
- Htmx4.Partials: multi-target <hx-partial> builder with attribute escaping
- Unit + in-process integration tests in Dext.Web.Htmx.Tests (183/184 pass;
  TestHtmx4RegularRequest exposes a missing-key exception in GetHeader for
  non-HTMX requests - fix pending)
- Docs/HTMX4.md usage guide, Docs/HTMX4_TEST_PROMPT.md, Web.Htmx4Demo native-server example
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.

1 participant