Skip to content

Releases: lukeautry/tsoa

v4.1.2

31 Aug 14:02
@WoH WoH
Compare
Choose a tag to compare

In order to fix breaking changes in TypeScript and it's API, we pinned our TypeScript version to <4.8.
New builds with the 4.8 API will be released in tsoa v5. Please check out the next tag on npm and let us know.

What's Changed

New Contributors

Full Changelog: v4.1.1...v4.1.2

v5.0.0-alpha.1

30 Aug 15:19
@WoH WoH
Compare
Choose a tag to compare
v5.0.0-alpha.1 Pre-release
Pre-release

Breaking Change

Remove deprecated commands (swagger-and-routes, swagger) by @WoH in 84dd609

Fixes:

Fix an issue with calling the cli by @WoH in 84dd609

Full Changelog: v5.0.0-alpha.0...v5.0.0-alpha.1

v5.0.0-alpha.0

30 Aug 13:28
@WoH WoH
Compare
Choose a tag to compare
v5.0.0-alpha.0 Pre-release
Pre-release

Due to TypeScript 4.8's breaking changes, this is the initial alpha for TS 4.8. Big thanks to @simllll for the PR.

yarn add tsoa@next

Breaking Changes

  • Some Types may not produce correct results for now. We will try to fix whatever the new version of the compiler api broke step by step
  • Dropped support for node 12 which is EOL

What's Changed

New Contributors

Full Changelog: v4.1.1...v5.0.0-alpha.0

v4.1.1

16 Jul 09:56
@WoH WoH
Compare
Choose a tag to compare

Fixes

Chores

New Contributors

Full Changelog: v4.1.0...v4.1.1

v4.1.0

21 May 17:08
@WoH WoH
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.0.0...v4.1.0

v4.0.0

29 Apr 12:38
@WoH WoH
Compare
Choose a tag to compare

What's Changed

No changes since the last RC.
For a formatted list of changes, please see the previous pre-release notes.

What's changed since 3.14

  • feat(spec): allow defining custom media type of responses + fix(koa): dont overwrite content-type of response by @mrl5 in #1129
  • allow custom middlewares for controllers and methods by @cheng81 in #1123
  • feat(spec): allow defining multiple media types per response, custom media type of requestBody by @mrl5 in #1140
  • Require Node 12, TS 4.1 by @WoH in #1009
  • feat(): Distrubute property validators over unions by @WoH in #997
  • tsoa yargs dependency update by @grahamplata in #1098
  • chore(ci): Node 17 by @WoH in #1146
  • feat: Add support for js config file (closes #745) by @AudunWA in #1144
  • add support for esm by @noamokman in #1053
  • Remove need for useSuccessResponseCode:true by @devnev in #1154
  • fix(cli): support types indexed by their own keys by @fgnass in #1160
  • fix(resolver): Resolve keyof using the type checker by @WoH in #1163
  • Support multerOpts in tsoa.json by @cma-skedulo in #1148
  • TS 4.5 Compiler API, strict tsconfig in test packages, chores by @WoH in #1167
  • Remove eslint config rules with no issues by @jayeclark in #1166
  • feat: Add support for labels on @example decorator by @Albertowska in #1168
  • Support for undefined type alone and in union by @Hi-Fi in #1127
  • Do not use cjs require in generated routes if esm is true by @BradenM in #1177
  • Fix issue/516 by @pkotov in #1179
  • fix(cli): Don't truncate synthetic type nodes by @WoH in #1190
  • chore(deps): bump pathval from 1.1.0 to 1.1.1 in /tests by @dependabot in #1189
  • chore(deps): bump node-fetch from 2.6.2 to 2.6.7 by @dependabot in #1192
  • chore(deps): bump pathval from 1.1.0 to 1.1.1 by @dependabot in #1193
  • Fix: (#1046) | Prefixed Unused Arguments for validateBuffer by @ParundeepSingh in #1195
  • chore(deps): bump urijs from 1.19.7 to 1.19.8 in /tests by @dependabot in #1201
  • chore(deps): bump urijs from 1.19.7 to 1.19.8 by @dependabot in #1200
  • chore(deps): bump urijs from 1.19.8 to 1.19.9 in /tests by @dependabot in #1206
  • chore(deps): bump urijs from 1.19.8 to 1.19.9 by @dependabot in #1207
  • chore(deps): bump urijs from 1.19.9 to 1.19.10 in /tests by @dependabot in #1209
  • chore(deps): bump urijs from 1.19.9 to 1.19.10 by @dependabot in #1210
  • chore(deps): bump minimist from 1.2.5 to 1.2.6 by @dependabot in #1218
  • Generate correct esm import(s) in middleware templates by @BradenM in #1215
  • chore(deps): bump minimist from 1.2.5 to 1.2.6 in /tests by @dependabot in #1219
  • Implement operationIdTemplate config parameter. by @BradenM in #1196
  • fix(cli): indexed types by their own keys when using TypeReferences by @marudor in #1221
  • chore(deps): bump urijs from 1.19.10 to 1.19.11 by @dependabot in #1233
  • chore(deps): bump urijs from 1.19.10 to 1.19.11 in /tests by @dependabot in #1234
  • chore(deps): bump ansi-regex from 3.0.0 to 3.0.1 in /tests by @dependabot in #1235
  • Only export dist in published package bundles. by @BradenM in #1216
  • Add support for termsOfService Spec field by @smkoyan in #1227
  • feat(cli): Add labels to parameter examples by @thetrevdev in #1236

New Contributors

Full Changelog: v3.14.1...v4.0.0

v4.0.0-rc.2

19 Apr 14:10
@WoH WoH
Compare
Choose a tag to compare
v4.0.0-rc.2 Pre-release
Pre-release

Installation

yarn add tsoa@next

Assuming everything works as planned, I intend to release 4.0.0 in a few days with no changes.

What's Changed

  • fix(cli): indexed types by their own keys when using TypeReferences by @marudor in #1221
  • chore(deps): bump urijs from 1.19.10 to 1.19.11 by @dependabot in #1233
  • chore(deps): bump urijs from 1.19.10 to 1.19.11 in /tests by @dependabot in #1234
  • chore(deps): bump ansi-regex from 3.0.0 to 3.0.1 in /tests by @dependabot in #1235
  • Only export dist in published package bundles. by @BradenM in #1216
  • Add support for termsOfService Spec field by @smkoyan in #1227
  • feat(cli): Add labels to parameter examples by @thetrevdev in #1236

New Contributors

Full Changelog: v4.0.0-rc.1...v4.0.0-rc.2

v4.0.0-rc.1

26 Mar 15:47
@WoH WoH
Compare
Choose a tag to compare
v4.0.0-rc.1 Pre-release
Pre-release

Features

  • Implement operationIdTemplate config parameter. by @BradenM in #1196

Fixes

Chores

New Contributors

Full Changelog: v4.0.0-rc.0...v4.0.0-rc.1

v4.0.0-rc.0

20 Feb 10:30
@WoH WoH
Compare
Choose a tag to compare
v4.0.0-rc.0 Pre-release
Pre-release

What's Changed

Fixes:

  • fix(cli): @BodyParam in OpenAPI by @pkotov in #1179
  • fix(cli): Don't truncate synthetic type nodes by @WoH in #1190

Chores:

New Contributors

Full Changelog: v4.0.0-beta.0...v4.0.0-rc.0

v4.0.0-beta.0

22 Jan 20:14
@WoH WoH
Compare
Choose a tag to compare
v4.0.0-beta.0 Pre-release
Pre-release

Installation

yarn add tsoa@next

Breaking Changes

Remapped keys of deprecated properties are no longer considered deprecated themselves. This is now consistent with how TypeScript handles it.

Example:

interface A {
  /**
   * @deprecated
   */
  one: string
}

type B = {
    [K in keyof A as `${K}Prop`]: boolean;
}

no longer marks B.oneProp as deprecated.

Features:

Fixes & chores:

  • Remove eslint config rules with no issues by @jayeclark in #1166
  • Do not use cjs require in generated routes if esm is true by @BradenM in #1177
  • fix(esm-spec): Paths, register pretest by @WoH in bbfcf30
  • strict tsconfig in test packages, chores by @WoH in #1167

New Contributors

Full Changelog: v4.0.0-alpha.2...v4.0.0-beta.0