Releases: nestjsx/crud
Releases · nestjsx/crud
v4.1.0
4.1.0 - 2019-06-27
Features
- crud added
PUT
request handling (#107 ) - requests added creating request builder with params (#131 )
- requests improved query params naming parsing (#101 )
Bug Fixes
- crud set decorators after Swagger so metadata can be overwritten
- requests added support for ISO-8610 date strings
v4.0.1
v.4.0.0
4.0.0 (2019-06-12)
BREAKING CHANGES
- 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
Features
- 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)
Bug Fixes
- several fixes
v.3.2.0
Features:
- controller - added
UsePathInterceptors
decorator that allows to wire upRestfulQueryInterceptor
andRestfulParamsInterceptor
on customCrudController
routes (those interceptors are already wired up on@Override()
routes) (#45) - repository service - added simple
findOne
andfind
methods (link to the repo methods)
v.3.1.0
Enhancements:
- crud: added
@ParsedBody()
route param decorator. It's very helpful if you need to override a method with default validation kept in place. Also, no need to create your ownBulkDto
in overriddencreateManyBase
method any more until you really need to.
v.3.0.0
Features:
- routes:
- params:
- allow selecting each URL param type (
number
,uuid
,string
). Validation and transforming has been added - allow select any slug URL param name that differs from
id
. e.g. providing{ params: { slug: 'uuid' } }
will be processed asGET | PATCH | DELETE /:slug
; will validateslug
asuuid
string; and will be making aSELECT
query byslug
column (#11)
- allow selecting each URL param type (
Enhancements:
- crud:
- added pagination data to the
getManyBase
request (data
,count
,total
,page
,pageCount
). Along with the ability to add interceptors without method overriding, this should totaly fix (#12, #18 ) - added nested filtering (#42)
- removed helpers in
CrudController
(getParamsFilter
andgetMergedOptions
). Added helpful custom route decorators instead (@ParsedQuery
,@ParsedParams
,@ParsedOptions
) - a lot of micro improvements.
CrudController
became more ORM agnostic. - method overriding became more easy.
- added pagination data to the
Bugs
v.2.1.0
v.2.0.0
Features
- swagger - added support for Swagger #6
- additional - added
getFeature
andgetAction
helpers for getting metadata from a controller and a route (docs)
Breaking Changes
@Crud()
acceptsCrudOptions
that containsoptions
,params
. Controller propertiesparamsFilter
,options
are deprecated
Bug Fixes
cacheId
generation update
v.1.1.0
Merge pull request #8 from nestjsx/develop Develop