tsed

Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone. ⭐️ Star to support our work!

MIT License

Downloads
1.8M
Stars
2.7K
Committers
162
tsed - v6.72.0

Published by Romakita about 3 years ago

6.72.0 (2021-09-27)

Bug Fixes

  • di: Rollback change with private accessor (1872649)
  • di: Rollback private accessor changes on ContextLogger (645077f)
  • di: Rollback private accessor changes on Provider (50aef91)
  • platform-serverless: Fix issue with x-request-id (6f3b640)

Features

  • common: Move PlatformLogMiddleware outside to its own package @tsed/platform-log-middleware (875574f)
  • di: Async factory can depend on another async factory (beb65c7), closes #1502
tsed - v7.0.0-alpha.1

Published by Romakita about 3 years ago

7.0.0-alpha.1 (2021-09-26)

chore

  • ci: Add Node.js 16. (3da3078)
  • common: Remove EndpointInfo decorator. (db9d912)
  • common: Remove GlobalAcceptMimesMiddleware and AcceptMimesMiddleware (2956674)
  • common: Remove PropertyMetadata (bb583e0)
  • common: Remove PropertyMetadata.getProperties (969e142)
  • common: Remove PropertyMetadata.getProperties (1d97ae2)
  • common: Remove ResponseData decorator. (c0533cf)
  • common: Remove UseParam(type, options) signature (ec04ac5)
  • core: Remove deepExtends util (035582d)
  • di: Remove loadInjector utils (a100f4b)
  • di: Remove registerFactory (9f7aa52)
  • mongoose: Remove MongooseVirtualRefOptions.type (e859e5f)
  • platform-middlewares: Remove IMiddleware interface. (d741ea5)
  • schema: Remove IAuth interface on AuthOptions decorator (5270ca3)
  • typegraphql: Remove GraphQLService (69d5fa5)
  • Configure v7 release (1ef1790)

BREAKING CHANGES

  • ci: Remove Node.js 12 support
  • common: Remove PropertyMetadata. Use JsonEntityStore instead
  • common: Remove UseParam(paramType, options) signature. Use UseParam{{paramType: 'BODY', ...}} signature instead
  • common: Remove ResponseData decorator. Use @Context() $ctx: Context then $ctx.data
  • common: Remove EndpointInfo decorator. Use @Context() then ctx.endpoint to retrieve endpoint information
  • mongoose: Remove MongooseVirtualRefOptions.type. Use Remove MongooseVirtualRefOptions.ref instead
  • typegraphql: Use TypeGraphQLService instead
  • di: Use registerProvider instead
  • common: Use getProperties from @tsed/schema instead
  • common: Use getProperties from @tsed/schema instead
  • common: Use PlatformAcceptMimesMiddleware instead
  • core: Use deepMerge instead
  • di: Use injector.load(container, module) instead
  • platform-middlewares: Remove IMiddleware. Use MiddlewareMethods instead.
  • schema: Drop IAuth.security and IAuth.responses on AuthOptions decorator

Use @Security() and @Returns() instead

  • Initiate v7
tsed - v6.71.1

Published by Romakita about 3 years ago

6.71.1 (2021-09-26)

Bug Fixes

  • common: use createRequest and createResponse to mock data (b24895a)
tsed - v6.71.0

Published by Romakita about 3 years ago

6.71.0 (2021-09-26)

Bug Fixes

  • common: Fix headers assignment priority (d5bedee), closes #1537
  • common,serverless: Fix headers order assignment (1e6a767), closes #1537

Features

  • schema: Add Redirect and Location decorators (755261c)
tsed - v6.70.2

Published by Romakita about 3 years ago

6.70.2 (2021-09-23)

Bug Fixes

  • serverless: Fix issue with requestId on serverless platform (785b0f2)
tsed - v6.70.1

Published by Romakita about 3 years ago

6.70.1 (2021-09-20)

Bug Fixes

  • di: Rollback change on createRegisterFn (ed4636e)
tsed - v6.70.0

Published by Romakita about 3 years ago

6.70.0 (2021-09-20)

Bug Fixes

  • di: remove injectable option (bfd1960)
  • Fix CI and fix homepage in package.json (df0fe5f)

Features

  • serverless: Add x-request-id to response header (3e7a1df)
  • Add move code outside @tsed/di to @tsed/components-scan (c8b1e52)
tsed - v6.69.3

Published by Romakita about 3 years ago

6.69.3 (2021-09-19)

Bug Fixes

  • Fix CI and fix homepage in package.json (998a01c)
tsed - v6.69.2

Published by Romakita about 3 years ago

6.69.2 (2021-09-19)

Bug Fixes

  • #1529: Fix issue with the undefined ctx.isDone method (b432b4b), closes #1529
tsed - v6.69.1

Published by Romakita about 3 years ago

6.69.1 (2021-09-17)

Bug Fixes

  • core: Fix issue on getValue function when scope is undefined (1270625)
tsed - v6.69.0

Published by Romakita about 3 years ago

6.69.0 (2021-09-16)

Bug Fixes

  • Fix dependencies (44fbecf)
  • Fix dependencies issue (4f144fc)
  • Update all peerDependencies (dcce956)
  • mongoose,objection: fix dependencies (6172c36)
  • typeorm: Remove @tsed/common package dependencies (01dc131)

Features

  • core: Add AnyToPromise class to handle callback result (Promise, Observable, Stream/Buffer, Sync, Axios response) (f369016)
  • params: Add compile method to precompile args mapper (0612f32)
tsed - v6.69.0-rc.4

Published by Romakita about 3 years ago

6.69.0-rc.4 (2021-09-16)

Bug Fixes

  • Update all peerDependencies (dcce956)
  • Update all peerDependencies (2dfb8b7)
  • swagger: Fix how swagger generation handles pathPatterns, hidden and doc (8d303a1)
tsed - v6.68.3

Published by Romakita about 3 years ago

6.68.3 (2021-09-16)

Bug Fixes

  • Update all peerDependencies (2dfb8b7)
tsed - v6.69.0-rc.3

Published by Romakita about 3 years ago

6.69.0-rc.3 (2021-09-16)

Bug Fixes

tsed - v6.68.2

Published by Romakita about 3 years ago

6.68.2 (2021-09-15)

Bug Fixes

  • swagger: Fix how swagger generation handles pathPatterns, hidden and doc (8d303a1)
tsed - v6.69.0-rc.2

Published by Romakita about 3 years ago

6.69.0-rc.2 (2021-09-15)

Bug Fixes

tsed - v6.69.0-rc.1

Published by Romakita about 3 years ago

6.69.0-rc.1 (2021-09-15)

Bug Fixes

  • mongoose,objection: fix dependencies (6172c36)
  • typeorm: Remove @tsed/common package dependencies (01dc131)

Features

  • core: Add AnyToPromise class to handle callback result (Promise, Observable, Stream/Buffer, Sync, Axios response) (f369016)
  • params: Add compile method to precompile args mapper (0612f32)
tsed - v6.68.1

Published by Romakita about 3 years ago

6.68.1 (2021-09-14)

Bug Fixes

  • di: Fix missing url and id on ContextLogger (#1525) (c1901e9)
  • Fix readme and dependencies (4ac495a)
tsed - v6.68.0

Published by Romakita about 3 years ago

6.68.0 (2021-09-13)

Bug Fixes

  • common: Rename interface PathParamsType to PathType (8f527d3)

Features

  • common: merge mvc with platform (414f131)
  • common: Move Middlewares outside @tsed/common (8b0bbd4)
  • common: Move Params management inside his own package (0363a64)
  • common: Move Platform cache outside @tsed/common (86edbfb)
  • common: Move platform-exceptions outside @tsed/common (0e1ed3d)
  • common: Move platform-response-filter outside @tsed/common (00a5024)
  • common: Move PlatformViews outside @tsed/common package (6e7795c)
  • di: Add runInContext function to allow async_hook_context override (c34911f)
  • di: Create a common ContextLogger to share interface with common package (b23d41f)
tsed - v6.67.0

Published by Romakita about 3 years ago

6.67.0 (2021-09-07)

Bug Fixes

Features

  • objection: Upgrade Knex.js to 0.95.11 (85cf158)
Package Rankings
Top 1.14% on Npmjs.org
Top 6.72% on Proxy.golang.org
Badges
Extracted from project README
Build & Release PR Welcome npm version semantic-release code style: prettier github opencollective