4.4.1 - 2019-12-28
4.4.0 - 2019-12-27
- crud added
serialize
to the global options
4.3.0 - 2019-12-21
- crud added
dto
to theCrudOptions
(#132) - crud added
serialize
to theCrudOptions
- crud added
search
query param and a new search condition api - crud added new condition operators:
$eqL
,$neL
,$startsL
,$endsL
,$contL
,$exclL
,$inL
,$notinL
for case insensitive queries (#77) - crud added
@crudAuth()
class decorator for authorized requests
- crud
CrudRequestInterceptor
can be used for both crud and non-crud controllers or for custom routes within crud controller - crud support
@nestjs/swagger
major versions: v3 and v4 (#340) - crud added
returnShallow
option to theCrudOptions.routes
createOneBase
,updateOneBase
,replaceOneBase
methods (#158) - crud added
alias
to theCrudOptions.join
(#350) - crud added
alwaysPaginate
to theCrudOptions.query
, can be used globally as well (#213) - crud
CrudOptions.query.filter
can be a function that returns transformedsearch
object - crud added
disabled
for an objects withingCrudOptions.params
- request query builder: now uses qs package
- request query builder:
filter
andor
methods can accept array of filter objects - typeorm changed visibility of all methods (#226)
- typeorm use
ILIKE
for PostgreSQL (#212)
- 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)
4.2.0 - 2019-07-26
- crud added support for older versions of
UUID
(#186)
- crud fixed
BulkDto
swagger description (#159) - crud fixed
CrudRequestInterceptor
request parsing - requests added
@nestjsx/util
as 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 levels
exception (#87) - typeorm fixed pagination
pageCount
(#179)
- dev updated deps
4.1.0 - 2019-06-27
- crud added
PUT
request handling (#107) - requests added creating request builder with params (#131)
- requests improved query params naming parsing (#101)
- crud set decorators after Swagger so metadata can be overwritten
- requests added support for ISO-8610 date strings
4.0.1 - 2019-06-21
- requests fixed query parser to properly accept numbers and booleans (#97)
4.0.0 - 2019-06-12
- crud: changed
CrudOptions
(docs) - crud: remove decorators:
@ParsedOptions
,@ParsedParams
,@ParsedQuery
. Add decorator@ParsedRequest
instead. - crud: change interfaces
- services: remove
RestfulOptions
from services - services: changed base abstract class
- repo: refactor to monorepository
- docs: new documentation
- packages: totally refactor
@nestjsx/crud
to be service (ORM) agnostic - packages: add
@nestjsx/crud-typeorm
(docs) - packages: add
@nestjsx/crud-request
(docs, #53) - crud: add global options (docs, #64)
- crud: add eager relations option (#54, #67)
- several fixes