Changelog

Release notes. For the full history, see GitHub Releases at MarvinRF/nest-docfy.

See GitHub Releases and CHANGELOG.md in the repository for the canonical, commit-level history.

v0.4.0 (current version)

  • DocfyUiModule now works on Fastify apps (@nestjs/platform-fastify), not just Express — needs the optional peer dependency @fastify/static.
  • /api-json (staticSpecPath) and the fallback handler now use the adapter-agnostic res.type()/res.send() instead of Express-only APIs.

v0.3.6

  • Fixed a missing default export condition in the package's exports map.

v0.3.5

  • Enhanced routing support in DocfyUiModule; bumped the docfy-ui companion dependency to 0.0.5.

v0.3.3 – v0.3.4

  • Housekeeping releases: bumped the docfy-ui companion dependency (to 0.0.3, then 0.0.4). No functional changes to nestjs-docfy itself.

v0.3.1 – v0.3.2

  • Housekeeping releases (lockfile/version metadata only), no functional changes.

v0.3.0

  • DocfyUiModule introduced: serves docfy-ui by default, with a webpack-safe static-spec mode.
  • patch-spec CLI command: static-analysis-only OpenAPI patching.
  • coverage command for documentation metrics, and lint command for documentation quality checks.
  • Tag groups (x-tagGroups) for ReDoc.
  • Fixes: case-sensitive tag merging that split the sidebar group, patch-spec losing fields when two controllers patched the same route, controller source resolution via stack+source-map, false-positive missing-docs-file warnings, and a crash on require.cache entries with throwing getters.
  • Docs: webpack: true documented as fundamentally unsupported, with why.

v0.2.8

  • check command, @HttpCode() awareness, and class-validator schema inference.

v0.2.7

  • Removed @scarf/scarf telemetry via a swagger-ui-dist override; README structure and clarity improvements.

v0.2.5 – v0.2.6

  • Richer ApiResponse output, with descriptions and error responses (v0.2.6 was a housekeeping release with no further functional change).

v0.2.4

  • Inline schema generation for interface-typed DTOs.

v0.2.3

  • Complete CLI output: ApiParam/ApiBody/ApiQuery, inferred summaries, ApiBearerAuth, and watch mode.

v0.2.2

  • DTO response type inference added to ApiResponse output.

v0.2.1

  • generate now produces ready-to-use decorators instead of commented placeholders.

v0.2.0

  • The nestjs-docfy generate CLI command — the first CLI feature.

v0.1.1 – v0.1.4

  • Initial release: the @WithDocs()/docs() companion-file convention and DocfyModule.forRoot().
  • Type-safe method keys in docs() via generics (v0.1.4).