AI summaryThe author describes how the CSS ':has' pseudo-class, initially not a highly anticipated feature, turned out to be surprisingly powerful once they began using it, revealing many incredible possibilities. It has since become a core part of their toolkit, and the post showcases practical real-world problems solved with ':has', along with some mind-blowing experiments.
AI summaryBun v1.1.27 fixes 130 bugs and introduces new features such as `bun pm pack`, static routes in Bun.serve(), per-request timeouts, and a faster `node:zlib`. The release also enhances ReadableStream support in response.clone() and request.clone(), improves `bun run`'s handling of CTRL+C, speeds up buffered streams, and adds package filtering to `bun outdated`. Additional updates include watching arbitrary file types with --hot and --watch, proxy fixes on Windows, and several Node.js compatibility improvements.
JSR, created for the JavaScript community, needed a logo and a website to look distinct, friendly, and inclusive. Here's how we approached this design problem.
AI summaryThe September 2024 Svelte update introduces several changes, including $state.raw replacing $state.frozen, removal of $state.is, per-component css injection via svelte:options, deprecation of in runes mode, and expanded :global support, alongside numerous performance improvements. The article also showcases community projects built with Svelte (such as Apple Podcasts for the web and UCLA Student Affairs), highlights learning resources and articles, and features new libraries and tools like select-kit and ssgoi.
AI summaryVue 3.5, codenamed "Tengen Toppa Gurren Lagann," has been released as a minor update with no breaking changes. Key highlights include major reactivity system optimizations (up to 56% memory reduction and faster tracking for large reactive arrays), stabilization of Reactive Props Destructure, and SSR improvements such as lazy hydration, useId(), and data-allow-mismatch. The release also adds new features including useTemplateRef(), Deferred Teleport, onWatcherCleanup(), and various custom element enhancements.
AI summaryBun v1.1.26 fixes 9 bugs and adds new features, including a `bun outdated` command to show outdated dependencies and new Bun.serve() options such as `idleTimeout` and `subscriberCount(topic)` for counting WebSocket subscribers to a topic. The release also improves bun:test so that `test.only` now skips tests both before and after the selected test, and fixes `expect.assertions(n)` in async functions. Additionally, "use strict" is now preserved in CommonJS modules, along with further Node.js compatibility improvements and bug fixes.
Our last 1.x release before Deno 2 comes with a ton of features, ranging from a simpler, improved CLI, to multi-threaded web servers, improvements to Node.js/npm compatibility, and more.
Fixes 42 bugs (addressing 470 👍). Support for `node:cluster` and V8's C++ API. Faster WebAssembly on Windows with OMGJIT. 5x faster S3 uploads with @aws-sdk/client-s3, Worker in standalone executables, and more Node.js compatibility improve
Support for `TextEncoderStream` and `TextDecoderStream`, 50% faster `console.log(string)`, support for `Float16Array`, Node.js<>Bun IPC on Windows, truncate large arrays in `console.log()`, and many more bug fixes and Node.js compatibility
AI summaryThe article explains how garbage collection can be a cause of metastability in large-scale systems: memory pressure increases GC overhead and per-request latency, which reduces throughput, increases the number of in-flight requests, and further increases memory pressure in a self-perpetuating cycle. Systems without concurrency limits are especially vulnerable, and evidence from benchmarks and production shows some collectors can increase the cost of work by up to 70% under memory pressure. The author concludes that GC—and similar mechanisms like pool/arena allocators and reference counting—should be watched as a potential source of metastable collapse in open request-response systems.
AI summaryBun v1.1.22 fixes 79 bugs and delivers significant performance improvements, including making Express 3x faster, faster ES module loading on Windows, and 10% faster Bun.serve() for POST requests. The release also reduces memory usage in --hot, Bun.serve(), and imports, adds source map support to bun build --compile, and introduces Uint8Array.toBase64() and Uint8Array.toHex(). Additionally, it includes many Node.js compatibility improvements and bugfixes.