Releases: nestjsx/crud
Releases · nestjsx/crud
v4.6.2
v4.6.1
4.6.1 - 2020-05-08
Bug Fixes
- typeorm - fixed query generation when a column display name differs from its name in db #401). Kudos to @farhad2161 for finding this bug
v4.6.0
v4.5.0
v4.4.3
4.4.3 - 2020-04-18
Bug Fixes
- crud fixed returning
pageCountin some cases (#465) - typeorm fixed critical bug with possible SQL injections when using query
?sort=(big kudos to @joaogmauricio) - typeorm fixed filter conditions for LIKE/iLIKE operators (#395)
v4.4.2
v4.4.1
v4.4.0
4.4.0 - 2019-12-27
Features
- crud added
serializeto the global options
v4.3.0
4.3.0 - 2019-12-21
Features
- crud added
dtoto theCrudOptions(#132) - crud added
serializeto theCrudOptions - crud added
searchquery param and a new search condition api - crud added new condition operators:
$eqL,$neL,$startsL,$endsL,$contL,$exclL,$inL,$notinLfor case insensitive queries (#77) - crud added
@crudAuth()class decorator for authorized requests
Improvements
- crud
CrudRequestInterceptorcan be used for both crud and non-crud controllers or for custom routes within crud controller - crud support
@nestjs/swaggermajor versions: v3 and v4 (#340) - crud added
returnShallowoption to theCrudOptions.routescreateOneBase,updateOneBase,replaceOneBasemethods (#158) - crud added
aliasto theCrudOptions.join(#350) - crud added
alwaysPaginateto theCrudOptions.query, can be used globally as well (#213) - crud
CrudOptions.query.filtercan be a function that returns transformedsearchobject - crud added
disabledfor an objects withingCrudOptions.params - request query builder: now uses qs package
- request query builder:
filterandormethods can accept array of filter objects - typeorm changed visibility of all methods (#226)
- typeorm use
ILIKEfor PostgreSQL (#212)
Bug Fixes
- crud swagger: fixed response models (#350)
- crud swagger: fixed query params (#196)
- crud swagger: fixed renamed params (#283)
- crud swagger: fixed swagger method decoration on overridden methods
- crud query parser: fixed parsing integers when it's a big int
- typeorm fixed load embedded entities (#138)
- typeorm fixed left join issues (#31, #98)
- typeorm fixed composite key joins (#238)
- typeorm fixed entity events (#51)
- typeorm all methods return entity instances (#259)
v4.2.0
4.2.0 - 2019-07-26
Features
- crud added support for older versions of
UUID(#186)
Bug Fixes
- crud fixed
BulkDtoswagger description (#159) - crud fixed
CrudRequestInterceptorrequest parsing - requests added
@nestjsx/utilas a dependency (#184) - requests fixed condition operators mapping (#148)
- requests fixed ISO date string validation (#161)
- typeorm fixed filtering and sorting by nested fields (#105)
- typeorm fixed
too many nested levelsexception (#87) - typeorm fixed pagination
pageCount(#179)
Deps
- dev updated deps