Skip to content

v0.0.7

Choose a tag to compare

@jackielii jackielii released this 13 Aug 09:36
· 195 commits to main since this release

What's Changed

Bug Fixes

  • Fix HTMXPageRetargetMiddleware incorrectly retargeting pages with custom PageConfig methods
  • Pages with their own PageConfig method now have their custom behavior respected

Documentation

  • Clarified that HTMXPageRetargetMiddleware implements a heuristic for specific use cases
  • Added detailed documentation explaining when retargeting will and won't occur
  • Documented the middleware's behavior with custom PageConfig methods

Notes

The HTMXPageRetargetMiddleware is designed for a specific pattern where you're using HTMXPageConfig as the default and want automatic retargeting when requested partials don't exist. It will not interfere with pages that have custom PageConfig methods.

This is an alpha release - the API may change in future versions.