expose removeMiddleware() and getMiddleware() on app These methods were documented but never wired up in createApp.js. Users had no public API to remove tracked middleware or list registered entries. - app.removeMiddleware([path]) — delegates to setMiddleware.remove() - app.getMiddleware() — returns app.locals._kaelum_middlewares - Updated index.d.ts with corresponding type definitions - Added head/options to RouteHandlers interface (0f85d44)
add HEAD and OPTIONS to supported HTTP methods The supportedMethods array only included get, post, put, delete, patch, and all. Users attempting to register head or options handlers via addRoute received an ‘Unsupported key’ error, even though Express supports these methods natively. Added ‘head’ and ‘options’ to the array. (b687204)