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.98.1

Published by Romakita almost 3 years ago

6.98.1 (2022-01-16)

Bug Fixes

  • schema: schema can be null in mapNullableType (4bee99f)
tsed - v6.98.0

Published by Romakita almost 3 years ago

6.98.0 (2022-01-02)

Bug Fixes

  • common: Move domain code to @tsed/schema (3f405d1)

Features

  • schema: Add JsonOperationRoute.has() to determine if the method consume Files/Body etc... (ea3f8dd)
tsed - v7.0.0-beta.3

Published by Romakita almost 3 years ago

7.0.0-beta.3 (2021-12-31)

Bug Fixes

  • common: Remove Location and Redirect decorators (ffd91fc)
  • common: Remove View decorator (a4d665f)
  • common: Remove EndpointFn (b67659f)
  • di: Remove injector.forkProvider (d9404d8)
  • di: Remove provider.instance (f49710d)
tsed - v7.0.0-beta.2

Published by Romakita almost 3 years ago

7.0.0-beta.2 (2021-12-31)

Bug Fixes

  • schema: Remove Swagger/OS2 support (68eff3e)

BREAKING CHANGES

  • schema: The support of OS2 has been removed. Use OS3 instead.
tsed - v7.0.0-beta.1

Published by Romakita almost 3 years ago

7.0.0-beta.1 (2021-12-31)

Bug Fixes

  • swagger: Deprecate OpenSpec2 (139998f)

chore

  • Remove ConverterService (34704bb)
  • ci: Add Node.js 16. (6a13608)
  • common: Remove EndpointInfo decorator. (751391e)
  • common: Remove GlobalAcceptMimesMiddleware and AcceptMimesMiddleware (de52bfe)
  • common: Remove PropertyMetadata (1ca3559)
  • common: Remove ResponseData decorator. (09f44d2)
  • common: Remove UseParam(type, options) signature (d96c5e1)
  • core: Remove deepExtends util (6e5e91e)
  • di: Remove loadInjector utils (e6d07ae)
  • di: Remove registerFactory (3957690)
  • mongoose: Remove MongooseVirtualRefOptions.type (f74b6bc)
  • platform-middlewares: Remove IMiddleware interface. (cbc6486)
  • schema: Remove IAuth interface on AuthOptions decorator (59e1b09)
  • Configure v7 release (1f6b9d9)

BREAKING CHANGES

  • Use serialize/deserialize functions from @tsed/json-mapper
  • 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
  • di: Use registerProvider 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.97.2

Published by Romakita almost 3 years ago

6.97.2 (2021-12-31)

Bug Fixes

  • swagger: Deprecate OpenSpec2 (139998f)
tsed - v6.97.1

Published by Romakita almost 3 years ago

6.97.1 (2021-12-31)

Bug Fixes

  • schema: Fix nullable behavior (95425c5)
  • schema: make fields private (e929e58)
tsed - v6.97.0

Published by Romakita almost 3 years ago

6.97.0 (2021-12-30)

Features

  • di: allow using a custom token with the @Injectable decorator (#1698) (b3f5a5c), closes #1695
  • mikro-orm: add EntityManager decorator (#1699) (c89f634)
  • mikro-orm: provide the ability to set up a retry strategy (#1697) (e0301b1), closes #1696
tsed - v6.96.2

Published by Romakita almost 3 years ago

6.96.2 (2021-12-29)

Bug Fixes

  • common: Fix issue when request is canceled (d88fcac), closes #1689
tsed - v6.96.1

Published by Romakita almost 3 years ago

6.96.1 (2021-12-27)

Bug Fixes

  • common: Fix $beforeRoutesInit hook (cd3f221)
tsed - v6.96.0

Published by Romakita almost 3 years ago

6.96.0 (2021-12-27)

Features

  • di: Add possibility to mock instance when using PlatformTest.create method (0545282)
  • mikro-orm: add support for MikroOrm (64e5e30), closes #1547
tsed - v6.95.10

Published by Romakita almost 3 years ago

6.95.10 (2021-12-27)

Bug Fixes

  • schema: Fix Nullable decorator used with many models (28c921e)
  • Fix minor issue (e20eaf3)
tsed - v6.95.9

Published by Romakita almost 3 years ago

6.95.9 (2021-12-15)

Bug Fixes

  • json-mapper: Use the expected type from metadata when nested list item is a plain object (5123303)
tsed - v6.95.8

Published by Romakita almost 3 years ago

6.95.8 (2021-12-14)

Bug Fixes

  • common: Ensure server.$beforeRoutesInit priority (#1685) (8dd55d7)
tsed - v6.95.7

Published by Romakita almost 3 years ago

6.95.7 (2021-12-14)

Bug Fixes

tsed - v6.95.6

Published by Romakita almost 3 years ago

6.95.6 (2021-12-13)

Bug Fixes

  • schema-formio: Avoid issue when Readonly is used with a nested form (#1683) (a0e5293)
tsed - v6.95.5

Published by Romakita almost 3 years ago

6.95.5 (2021-12-13)

Bug Fixes

  • ajv: Fix the coercing type when query param is an array (70a99af)
tsed - v6.95.4

Published by Romakita almost 3 years ago

6.95.4 (2021-12-10)

Bug Fixes

  • socketio: Update SocketClientService to support custom paths (#1677) (e8ab522)
tsed - v6.95.3

Published by Romakita almost 3 years ago

6.95.3 (2021-12-09)

Bug Fixes

tsed - v6.95.2

Published by Romakita almost 3 years ago

6.95.2 (2021-12-08)

Bug Fixes

  • core: Fix error message when importing a package (56c5530)
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