Release v2.2.4 - #25
Merged
Merged
Conversation
TypeORM, Drizzle, and MikroORM services log 'CrudService initialized:' at construction; the Prisma adapter was silent. Same debug-level line now emitted with the model name.
Operation descriptions referenced library internals — @crud({ query: { softDelete: true } }) and CrudValidationGroups — which mean nothing to API consumers reading the generated docs and leak the backend's library stack. Behavior is now described in consumer terms. Per-parameter 'Docs' HTML anchors are consolidated into a single CommonMark 'Query Syntax' reference link on the getMany/getOne operation descriptions (the only routes with a query surface); query-parameter descriptions describe their syntax inline. The internal Swagger.docsLink helper is removed.
|
Packages with version v2.2.4 have been released |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
@Crud(...)config orCrudValidationGroups) — operation and parameter descriptions are now written for API consumers and describe query syntax inline (field||$operator||value).Added
@nestjs-crud/prismanow emits the same debug-levelCrudService initialized: <model>constructor log as the TypeORM, Drizzle, and MikroORM adapters (visible only when debug logging is enabled) — closes a logging-parity gap.Removed
Swagger.docsLinkhelper removed — superseded by the self-contained parameter descriptions above.