The fetch()ening
htmx 4.0 rebuilds the library's internals on fetch() instead of XMLHttpRequest, drawing on lessons from fixi.js, and makes three simplifying breaking changes: attribute inheritance becomes explicit via an :inherited modifier, history no longer snapshots the DOM locally but re-fetches content, and the event model is linearized with a new htmx:<phase>:<system> naming scheme. The async runtime makes room for streaming responses and SSE in core, idiomorph-based morph swaps, a new <htmx-partial> template element for elaborate out-of-band swaps, queued view transitions, a unified hx-on:<event> syntax, and deeper extension hooks including replaceable fetch(). htmx 2.0 will be supported indefinitely; 4.0 is in alpha now, targeting release in 2026 and becoming latest around early 2027.
Related posts
- Fresh 1.5: Partials, client side navigation and more
Deno mediumAdeptFresh 1.5 introduces Partials, a client-side navigation model where marked regions of a page are swapped with server-rendered HTML without a full reload, preserving island state. Developers opt in with an f-client-nav attribute and <Partial name> wrappers, can point links at slimmed partial endpoints via f-partial, return multiple partials in one response, and choose replace, prepend or append merge modes. The release also adds automatic data-current/data-ancestor attributes for active link styling, configurable esbuild targets, an exposed esbuild metafile for bundle analysis, a new dev error overlay, automatic CSP nonces on inline scripts, and experimental buildStart/buildEnd plugin hooks.
- Fresh 2.3: Zero JS by default, View Transitions, and Temporal support
Deno mediumAdeptFresh 2.3 now skips the client-entry bootstrap script entirely on pages that use no islands or partials, cutting static pages from roughly 5–9 KB gzipped JavaScript to zero with no configuration. It adds opt-in View Transitions wired into partial navigation, built-in WebSocket routes via app.ws() and ctx.upgrade(), CSP nonce and CIDR-based IP filter middleware, W3C traceparent injection for browser-side OpenTelemetry, Temporal types as island props, and trustProxy handling of X-Forwarded headers. Vite integration drops two Babel passes, fixes CJS and duplicate-Preact issues, and middleware chains are now precompiled at startup; upcoming work targets Vite 8 with Rolldown and build-time prerendering.
- May in Servo: user scripts, mp4 compat, blackboxing in DevTools, and more!
Servo mediumAdept
Servo 0.3.0 bundles May's 391 commits: new font-variant properties, mp4 playback without fast start, multipart and text/plain form encodings, new DOM APIs, a SpiderMonkey 140.10.1 update fixing memory safety CVEs, and breaking embedding API changes to cookies, thread-pool preferences and DiagnosticsLogging. Layout got faster by making the fragment tree mostly immutable (avoiding AtomicRefCell borrows), merging containing-block and stacking-context traversals, and computing scrollable overflow lazily and incrementally. DOM attribute writes now defer serialisation (up to 25% faster inline style writes) and Attr nodes are created lazily. servoshell gains --userscripts and --host-file, and the DevTools debugger supports blackboxing scripts.
- September in Servo: <progress>, rounded rectangles, and more!
Servo easyNovice
Servo 0.7.0 bundles 527 commits from September, adding web platform features such as the <progress> element, :checked, user-select, CSS typed arithmetic, alpha(), font-width, Canvas roundRect() and an MLKEM768-X25519 WebCrypto algorithm, plus many new DOM APIs. Embedding API changes include automatic throttling of hidden WebViews (set_throttled removed), embedder-driven focus via WebView::set_focused, WebGL in default features, an opt-out multiprocess Cargo feature (~2MB savings), and new SpiderMonkey GC threshold preferences for memory-constrained devices. Performance and memory work removed allocations, avoided IPC in single-process mode, reduced GC interactions and compacted data structures, alongside progress on accessibility, WebGL2, contenteditable editors, text tracks and IndexedDB.
- Micro Frontends: Deep Dive into Rendering Engine (Part 2)
Zalando Engineering mediumAdeptZalando's Interface Framework replaces Mosaic HTML fragments with Renderers: declarative TypeScript modules that state their data needs as GraphQL queries and render a single Entity type as a React component. A Node.js Rendering Engine maps Entities to Renderers through rendering rules, recursively and asynchronously resolves the entity tree, and streams server-rendered HTML that is later progressively hydrated on the client. A custom React reconciler lets the same Renderers emit JSON layouts for the iOS and Android apps. The engine also handles batched, cached data fetching (DataLoader, Perron circuit breakers), persisted queries, code splitting, Web Vitals collection and Mosaic backward compatibility.