add app.listen() as alias for app.start() Most Express users expect app.listen() by convention. This adds a simple alias so both methods work identically. Updated index.d.ts with the listen type signature and healthCheck(path, options) overload. (cf28fb1)
support two-argument overload (path, options) Previously, calling healthCheck with a string path meant you couldn’t also pass options like include or readinessCheck. Now supports: app.healthCheck(‘/status’, { include: { metrics: true } }) The string path is merged into options, with the path taking priority. The createApp wrapper now forwards both arguments to registerHealth. (c1aa5d7)
normalize default views path with path.resolve The views directory was set as a bare relative string ‘./views’, which depends on process.cwd() implicitly and could resolve incorrectly. Now uses path.resolve(process.cwd(), ‘views’), consistent with the static middleware pattern. (949d9f4)
Other Changes
update and pin all dependencies to exact versions (e92b0ae)
make kaelum() the default export and remove the 1.x API (#95)
the default export now creates a 2.0 app (kaelum()), replacing the 1.x factory and its setConfig/ddRoute/piRoute API. createKaelum is renamed to kaelum. The kaelum/validate and kaelum/test subpaths are removed (use the endpoint schemas and kaelum/testing). .env files are no longer loaded on import, and ejs is no longer a dependency.