Just released htmx-spring-boot 5.1.0 with a very nice new feature: automatic CSRF token injection. You no longer need to manually worry about CSRF if you use hx-post, hx-get or hx-delete.

See https://github.com/wimdeblauwe/htmx-spring-boot/releases/tag/5.1.0 for the full release notes.

Release 5.1.0 · wimdeblauwe/htmx-spring-boot

What's Changed Make swap style optional and add support to define “none” for scroll and show in HX-Reswap by @xhaggi in #191 Add support for automatic CSRF token injection by @lcnicolau in #188 Up...

GitHub