Skip to content

v2.2.4

Choose a tag to compare

@github-actions github-actions released this 10 Jun 22:10
· 30 commits to master since this release
a850b3f

Patch release — cleans up the generated OpenAPI/Swagger descriptions so they read for your API consumers instead of exposing library internals, and brings the Prisma adapter to logging parity with the other three adapters.

Changed

  • Generated OpenAPI descriptions no longer reference library internals (@Crud(...) config or CrudValidationGroups) — operation and parameter descriptions are now written for API consumers and describe query syntax inline (field||$operator||value).
  • The per-parameter "Docs" HTML anchors are consolidated into a single CommonMark "Query Syntax" reference link on the list / get-one operations (renders in swagger-ui, Redoc, and other OpenAPI tooling). Endpoints without a query surface carry no link.

Added

  • @nestjs-crud/prisma now emits the same debug-level CrudService initialized: <model> constructor log as the TypeORM, Drizzle, and MikroORM adapters (visible only when debug logging is enabled) — closes a logging-parity gap.

Removed

  • Internal Swagger.docsLink helper removed — superseded by the self-contained parameter descriptions above.