v7.0.0-rc.6
Pre-release
Pre-release
7.0.0-rc.6 (2022-09-16)
Bug Fixes
- adapters: add useAlias flag on validate options (8eb4de1)
- adapters: add useAlias to store correctly the model in database (d8f2057)
- adapters: fix validation issue when the data is inserted in redis (4a0a482)
- adapters: remove missing console log (68ed4a1)
- common: bump Ts.ED logger to v6.2.2 (8316753)
- common: move normalizePath to Ts.ED core (94d2549)
- common: remove import @tsed/components-scan in common (9c09860)
- core: deepClone did not clone RegExp objects correctly (067e0e6)
- json-mapper: add option to disable unsecured constructor mapper (61fb554), closes #1942
- json-mapper: fix deserialize when property have default value and Partial is used (91d75d5)
- json-mapper: fix issue with ReadOnly decorator (78eced3)
- json-mapper: fix potential security issue when a constructor is declared on a model (2cc8556)
- koa: fix issue over async_hook with Koa platform (80ee899)
- koa: fix issue over async_hook with Koa platform (502d182)
- oidc-provider: export Client and RefreshToken type (b0b4360)
- oidc-provider: fix oidcCtx.getGrant() (fdab12b), closes #1942
- platform-cache: add more log details when the cache fail to be set in background (c048718)
- platform-express: prevent loosing context with express middleware (4fd0ec3)
- schema: fix Examples decorator used on parameters for RequestBody (f006be7)
- schema: fix imports (ab4c092)
- socketio: revert changes to SocketHandlersBuilder, added new @SocketNsp decorator instead (790f747)
Features
- di: allow registering multiple providers for the same token (45bb9fc), closes #1693
- ioredis: add new package @tsed/ioredis (223cd74), closes #2060
- objection: add model relationship decorators (91d9542)
- schema: add deprecated decorator for params and props (177b6c9)
- schema: add test for unsupported decorator types (56f3452)
- schema: add tests for deprecated param and prop (d94c1db)
- socketio: allow dynamic namespaces for @socketservice and @Nsp/@namespace (989b2c3)