Skip to content

v0.80.1

Choose a tag to compare

@axadrn axadrn released this 23 Jun 08:53
be40e48

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.Attributes instead 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)