Skip to content

5.0.0

Choose a tag to compare

@wimdeblauwe wimdeblauwe released this 27 Nov 20:35
· 15 commits to main since this release

Upgrade notes

Spring Boot 4

This release requires a Spring Boot 4.x baseline.

Removed annotations

These annotations have been removed: @HxRefresh, @HxRedirect and @HxLocation. You should instead return your view name with a special prefix:

Annotation View Name
@HxRefresh refresh:htmx
@HxRedirect redirect:htmx:/path
@HxLocation redirect:htmx:location:/path

What's Changed

  • [fix] repo url in pom.xml points to old name by @xhaggi in #158
  • [fix] broken HtmxResponse handling since 9cc7331 by @xhaggi in #157
  • [cleanup] remove deprecated classes HtmxView and HtmxViewMethodReturnValueHandler by @xhaggi in #172
  • Allow @HxRequest to ignore restore history requests and ignore them by default by @xhaggi in #171
  • Remove annotations HxRefresh, HxRedirect and HxLocation in favor of special views by @xhaggi in #176
  • Upgrade to Spring Boot 4.0.0-RC1 by @xhaggi in #175
  • build: Replace nexus-staging-maven-plugin with central-publishing-maven-plugin by @wimdeblauwe in #178
  • [fix] autoconfiguration not limited to servlet-based web application by @xhaggi in #181
  • [fix] showTarget and settle parameters of @HxReswap are mapped to wrong HtmxReswap fields during conversion by @xhaggi in #186
  • Add support for native htmx redirects in Spring Security by @lcnicolau in #169

New Contributors

Full Changelog: 4.0.0...5.0.0

Full Changelog: 4.0.2...5.0.0