June 2025 - v0.80.1
Release notes for v0.80.1.
Added
- Complete framework decoupling - templUI components now expose clean
window.templUI.*APIs instead of hardcoded HTMX event listeners - Add comprehensive framework integration documentation with examples for HTMX, Datastar, and manual initialization
- Add Gopher mascot image and enhance features section with detailed framework-agnostic benefits
- Enhance ‘How To Use’ documentation with structured sections and detailed integration guides
- Add performance notes explaining HTMX vs Datastar trade-offs (targeted vs global re-initialization)
- Add submenus to documentation navigation for better discoverability
- ๐ Better Performance: Targeted re-initialization where supported (HTMX)
Changed
- ๐ ๏ธ Patch Note
- This is a version bump release to sync the internal version with the actual tag.
- If you’re using go install, make sure to use v0.80.1.
- Improve ESLint configuration for JavaScript files for better development experience
- Clean component APIs - all components now follow consistent
initAllComponents(root)pattern - ๐ฏ Framework Agnostic: Works with HTMX, Datastar, Alpine.js, or any framework
- ๐ฎ Future Proof: Ready for whatever hypermedia framework comes next
- ๐งน Cleaner APIs: Consistent component interfaces across the board
- ๐งช Easier Testing: No framework dependencies in component code
- ๐ Broader Adoption: Not tied to specific ecosystems (thanks everyone who provided feedback on RFC discussion; thanks @vague2k for honest developer experience perspective; thanks @delaneyj (Datastar author) for collaboration insights; thanks @chris-perardi for startup use case validation; thanks @glsubri for thoughtful component API feedback)
- This change represents templUI’s evolution from an HTMX-focused library to a truly universal Go/templ component system! ๐
- ๐ Migration Guide: Framework Integration Docs
- This release is a bit radical โ but it lays the foundation for a cleaner, framework-agnostic future._
Removed
-
๐ฅ BREAKING CHANGES: templUI is now completely framework-agnostic! Works seamlessly with HTMX, Datastar, or any hypermedia framework.
- Remove HTMX-specific props from components (HxGet, HxPost, etc.) - use
templ.Attributesinstead for maximum flexibility - _Note: Since templUI is pre-v1.0, I’m intentionally moving fast and breaking things to get the architecture right. That means: yes, there might be bugs โ and theyโll get fixed fast. If anything broke for you because of this change: sorry! Let me know and Iโll patch it ASAP.
Fixed
- No changes to the codebase โ just fixing version mismatch from v0.80.0.
- Fix form component docs: Fixed select box href typo (thanks @jaingounchained) (thanks @jaingounchained for documentation fixes)
Released in v0.80.1.