Loading 200,000 markers onto a map before first paint used to take 21 seconds. Now it takes four-tenths of a second. Late November 2026 brought four major releases of battle-tested frontend libraries: Leaflet.markercluster 2.0, luma.gl 10, d3-dag 2.0, and GitHub Hotkey 4.0. Here is what changed and where your code needs adjustments when upgrading.
Leaflet.markercluster 2.0: ESM, Strict Types, and Leaflet 2.0 Support
The first stable Leaflet.markercluster 2.0 release in five years removes the main blocker to adopting Leaflet 2.0: a single build now supports both 1.9 and 2.0. Browser support targets Baseline 2022, dropping legacy polyfills and IE.
The package moved to ES modules (standard import with no global L) and ships strict TypeScript generics like MarkerClusterGroup<CircleMarker>. Animations switched from CSS transitions to the Web Animations API, so MarkerCluster.css is gone, leaving MarkerCluster.Default.css and an animationDuration option (300 ms by default).
Removing quadratic overhead when adding points before map mount also cut memory per marker at 200K points from 600 bytes to 370 bytes.
Operation times in Leaflet.markercluster: 1.x vs. 2.0
As the chart shows, both initial loads and zooming feel far smoother. Accessibility improved too, adding aria-expanded, focus management, keyboard navigation, clusterLabel, prefers-reduced-motion, and closing spiderfy on Escape.
import * as L from 'leaflet';
import {MarkerClusterGroup} from 'leaflet.markercluster';
// MarkerCluster.css was removed; import only the default cluster styles
import 'leaflet.markercluster/dist/MarkerCluster.Default.css';
const map = new L.Map('map').setView([-37.82, 175.24], 13);
new L.TileLayer(
'https://tile.openstreetmap.org/{z}/{x}/{y}.png'
).addTo(map);
// Global L.markerClusterGroup is gone in the ESM build
const markers = new MarkerClusterGroup();
markers.addLayers(latlngs.map((latlng) => new L.Marker(latlng)));
map.addLayer(markers);
When migrating, remove the MarkerCluster.css import, replace L.markerClusterGroup() with new MarkerClusterGroup(), and replace marker.__parent with group.getParent(marker). Each marker can now belong to only one group. For <script> tags, dist/leaflet.markercluster-global.js remains available, while Leaflet 1.0–1.8 users should stay on 1.5.3.
luma.gl 10: Next-Gen WebGPU and WebGL from vis.gl
The vis.gl team shipped luma.gl 10, their GPU toolkit for WebGL and newer WebGPU (which also supports GPU compute). Separate packages were consolidated under @luma.gl/core/*: @luma.gl/webgl and @luma.gl/webgpu moved to @luma.gl/core/webgl and @luma.gl/core/webgpu, while constants and debugging moved to @luma.gl/core/webgl-constants and @luma.gl/core/webgl-debug.
ShaderPassRenderer gives way to a declarative EffectRenderer in @luma.gl/engine with @luma.gl/engine/effects: temporal effects, SMAA, color correction, bloom, light rays, and shared scene buffers. The release also adds compatibility-max and core-max WebGPU profiles, GPU-baked animation, geometry/physics ops, math.gl 5.0.5, loaders.gl 5.0.3, and ANARI updates.
Outside 3D rendering, it expands GPU SQL, DataFrame support (numeric and bounded joins, group expressions, UNION ALL, arithmetic error handling), and Apache Arrow numeric collections on the GPU. Upgrade @luma.gl/* packages together and follow the upgrade guide.
d3-dag 2.0: Visualizing Directed Acyclic Graphs
Pipelines and dependency trees rely on DAGs—directed graphs without cycles. The TypeScript library d3-dag 2.0 provides Sugiyama, Zherebko, and Grid layouts while staying much lighter than elkjs (~500 KB of transpiled Java). Via import { dagre } from "d3-dag", d3-dag works as a drop-in replacement for dagre in React Flow.
Version 2.0.0 adds support for self-loops (a node pointing to itself) and aligns dagre adapter types. setGraph, setNode, and setEdge now preserve attached labels, filterNodes drops them by default like dagre, and tweakShape plus built-in shapes treat the node border as the outer boundary so edges meet the box edge cleanly. When upgrading from 1.x, check edge endpoint coordinates and filterNodes calls.
GitHub Hotkey 4.0: Hotkey Normalization on macOS
The lightweight @github/hotkey 4.0 library powers shortcuts across GitHub pages using HTML data-hotkey attributes: single keys, sequences like g c, Control+Alt+h, cross-platform Mod, and data-hotkey-scope regions.
Version 4.0 ships a single breaking change—fixing macOS normalization. When pressing Shift with a digit or symbol, the library now passes the exact character produced by the active keyboard layout, while keeping the old normalization for Shift + letters. That fixes broken shortcuts on non-English keyboard layouts.
<!-- Sequence g c and Mod (Cmd on macOS, Ctrl on Win/Linux) -->
<a href="/code" data-hotkey="g c">Code</a>
<button data-hotkey="Shift+?">Show help dialog</button>
<a href="/settings" data-hotkey="Mod+s">Settings</a>
Declare shortcuts in markup with data-hotkey—Mod maps automatically to Cmd on macOS and Ctrl on Windows or Linux. Then wire up listeners once in script:
import {install} from '@github/hotkey';
// Attach the hotkey handler to every element with data-hotkey
for (const el of document.querySelectorAll('[data-hotkey]')) {
install(el);
}
Setup hasn't changed, yet the major version bump matters: if your macOS app relies on Shift + digit or symbol shortcuts, test them across your target keyboard layouts before upgrading.


