Tech News
← Home  ·  All topics

Htmx

2 GoKawiil briefs on this topic · RSS for htmx

Developer releases Zig HTML templating library built on compile-time type checks

A developer who has worked across PHP, Python and Perl web stacks describes building a templating system for the Zig programming language, aimed at generating HTML without runtime errors or memory leaks. The approach uses Zig's compile-time features and arena allocators to check template inputs at compile time, auto-escape output to prevent XSS, and write directly to a writer without extra allocations. The project follows the author's earlier Zig libraries zio and Dusty, and was inspired after encountering an existing project called Ziex.

htmx 4.0.0 ships with fetch()-based core and explicit attribute inheritance

The htmx team released version 4.0.0 after eight months of development, rewriting the library's internals to use the fetch() API instead of XMLHttpRequest. Key user-facing changes include making attribute inheritance explicit by default, standardizing event names, and dropping localStorage as the default for history support. The team is not marking 4.0 as 'latest' on NPM, keeping 2.x as the default for CDN users until early 2027 while 4.0 becomes the 'next' line.