Skip to content

All versions since 1.8.2

1.8.2

Bug Fixes

  • read version dynamically from package.json in template meta endpoints (30a51ff)
  • replace Portuguese sample names with English in template controllers (3d0491f)

1.8.3

Bug Fixes

  • remove hardcoded version from template HTML footers (6d06f62)

Documentation

  • add explanatory comment for process.cwd() usage in TS pagesController (fdeb448)
  • update README with TypeScript templates, new CLI commands, and missing features (48894ba)

1.8.4

Bug Fixes

  • add missing apiRoute type overloads for handler and crud shorthand (c56a371)
  • respect user-provided morgan format in setConfig logs option (f7ef35e)

1.8.5

Bug Fixes

  • modernize TypeScript templates with proper imports - Convert all require() calls to ESM import syntax across 6 files - Remove broken ../../package.json reference in API routes template - Templates now align with TypeScript best practices (esModuleInterop) Affected: ts/api (app.ts, routes.ts), ts/web (app.ts, routes.ts, pagesController.ts) (c3b0506)

1.8.6

Bug Fixes

  • 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)

1.8.7

Features

  • 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)

1.8.8

Features

  • support env-specific .env files (.env.production, etc) (cecc30e)

Bug Fixes

  • remove app.listen alias, preserve Express native method (3757096)

1.8.9

Refactoring

  • 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)

1.9.0

Features

  • add requestId and timing middleware for request observability (55ffbc1)

1.9.1

Features

  • add semantic response helper methods to Express response object (e1f42b9)

1.9.2

Features

  • add group routing functionality with middleware support for modular route organization (4395856)

1.9.3

Features

  • add request body, query, and params validation middleware (60809e5)

1.9.4

Features

  • add testApp utility for testing Kaelum applications via supertest (36a06ac)
  • add test-utils package for HTTP integration testing via supertest (bbc6b9d)

1.10.0

Features

  • add CSRF protection support with origin checking and double-submit cookie strategies (790035e)

1.10.1

Features

  • add centralized configuration helper and etag support (662ed5d)

1.10.2

Features

  • add 404 Not Found and 405 Method Not Allowed core handlers and application methods (c5a89ec)

Other Changes

  • add tests for app.notFound and app.useMethodNotAllowed functionality (de985b0)

1.10.3

Features

  • add core features for ip restriction, pretty json, set config, and trailing slash middleware (e2e7830)

Other Changes

  • add unit tests for ipRestriction, prettyJson, and trailingSlash core features (87a2ed9)
  • add typings for PrettyJsonMode, TrimTrailingSlashOptions, IpRestrictionOptions (509e5e4)

1.10.4

Features

  • update Node.js version requirement and enhance API response handling with new middleware (e1c62d9)

2.0.0-alpha.0

⚠ BREAKING CHANGES

  • upgrade to Express 5 and drop dotenv and morgan
  • convert kaelum to TypeScript and ESM, switch to Vitest
  • move project scaffolding to the create-kaelum package

Features

  • docs: rebuild docs on stock Starlight with AI-ready output (3558f27)
  • docs: rebuild docs on stock Starlight with AI-ready output (e44d7d8)
  • move project scaffolding to the create-kaelum package (b32ee17)
  • upgrade to Express 5 and drop dotenv and morgan (d05832a)

Code Refactoring

  • convert kaelum to TypeScript and ESM, switch to Vitest (62f7456)

2.0.0-alpha.1

Features

  • add app options with production-ready defaults (f0cb3a3)
  • add app options with production-ready defaults (#91) (f1a313d)
  • add rate limit, CSRF, IP restriction and timing options (e6aa89b)
  • add rate limit, CSRF, IP restriction and timing options (#92) (e43a5a1)
  • add the k schema builder (9cef147)
  • add the k schema builder (#90) (04f952f)
  • add the Kaelum class, Context and typed route trees (b35856d)
  • add the Kaelum class, Context and typed route trees (c1f474f)
  • validate and type endpoint input with Standard Schema (ff234c7)
  • validate and type endpoint input with Standard Schema (#89) (23f9606)

2.0.0-alpha.2

⚠ BREAKING CHANGES

  • 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.

Features

  • add resource routes, plugins, graceful shutdown, logger and testing client (7e44516)
  • add resource routes, plugins, graceful shutdown, logger and testing client (#93) (9685b35)
  • make kaelum() the default export and remove the 1.x API (bd90d85)
  • make kaelum() the default export and remove the 1.x API (#95) (295fc32)
  • move the create-kaelum templates to the 2.0 API (8a88413)
  • move the create-kaelum templates to the 2.0 API (#96) (c0c21c5)

2.0.0-alpha.3 Latest

⚠ BREAKING CHANGES

  • defineRoutes is removed; put routes in a function that receives the app and calls app.route. app.route takes only (path, tree).
  • single-file templates, testApp from the app file, remove defineRoutes

Features

  • add static, views, port, etag, pretty JSON, redirects, notFound and onError options (975c7ec)
  • add static, views, port, etag, pretty JSON, redirects, notFound and onError options (#104) (63ebfcd)
  • load .env when kaelum is imported and use a static home page in the web templates (94b4f42)
  • load .env when kaelum is imported and use a static home page in the web templates (#106) (8db1c17)
  • single-file templates, testApp from the app file, remove defineRoutes (8eaf6d2)
  • single-file templates, testApp from the app file, remove defineRoutes (#105) (67bf49c)