A love letter to brownfield code (written in BDD)
Devlog: 2026-10
October: tooling cleanups and, true to the title, Behavior-Driven Development across my Leaflet plugins.
First target: the test and build setup of leaflet-elevation. BDD testing moved the suite from node:test to cucumber-js so scenarios read like plain English, and closed ten old issues on the way. I also replaced rollup with esbuild and removed d3js: few of my contributors ever knew how to use it properly.
Later in the month, the focus shifted to preparing for the next major Leaflet release. I opened pull requests to add support for Leaflet v2.0.0-alpha.1 in leaflet-rotate, leaflet-elevation (while retaining v1.9.4 compatibility), and leaflet-ui, which also picked up esbuild and BDD tests. I also opened a PR to Leaflet itself proposing to add several of my long-maintained plugins to the official directory (merged in November).

An illustration of leaflet-rotate.
Between v2 updates, leaflet-rotate got new features and a fix: pitch rotation, Maplibre-like gestures, and a fix for distortion when panning far from the rotation point.
On the g3w-suite side, I kept dependencies moving forward with client PRs for bumping OpenLayers to 10.11.0 and replacing vue-template-compiler, reviewed a handful of PRs across g3w-client and g3w-admin, and opened a PR to convert g3w-admin-portal from a Vue 3 project to vanilla JS and CSS.
Here's an interactive example straight from leaflet-rotate: