ts-json-schema-generator
2.9.0 · 4 Mar 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed
148 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 2.x · latest line
2.5.0
4 Feb 2026node:test #2413 (@arthurfiorette)
:tada: This release contains work from new contributors! :tada:
Thanks for all your work!
:heart: Alex (@alexchexes)
:heart: Valentyne Stigloher (@pixunil)
:heart: Cal (@CalLavicka)
:heart: James Vaughan (@jamesbvaughan)
:heart: Orta Therox (@orta)
:heart: Sam Sudar (@srsudar)
:heart: Aaron Madlon-Kay (@amake)
:heart: Arya Emami (@aryaemami59)
:heart: Julian Bez (@webjunkie)
:heart: Neal Granger (@10xjs)
Enhancement
node:test #2413 (@arthurfiorette)
Simplify parsing variadic arg (and support -t X Y and -t X -t Y patterns) #2416 (@domoritz)
Add
NewExpressionparser #2346 (@jamesbvaughan)Add --full-description option to include full comment in schema #2224 (@alexchexes)
parser: Support SpreadElement in array literals #2269 (@alexchexes)
Bug Fix
Error "has multiple definitions" with discriminate unions #1836 (@webjunkie)
Remove
removeCommentsfromtsconfig.json#2443 (@aryaemami59)Generic index access constraint case (#542) #2421 (@10xjs @amake)
Follow up for node:test pr #2419 (@arthurfiorette)
Narrow AnyType to StringType in mapped types #2412 (@srsudar)
Mapped number types in Record syntax (#2418) #2418 (@srsudar)
Crashes and incomplete schema generation when mapped/intersection helpers are used with
--additional-propertiesoption #2305 (@alexchexes)Fix promise with generic type arguments #2291 (@CalLavicka)
Prune unreachable definitions when
--type "*"is used with multiple exports #2284 (@alexchexes @arthurfiorette)Crash when a union includes
symbol#2282 (@alexchexes)Correctly generate anyOf on unions with string and boolean constant #2208 (@pixunil)
Fully unwrap union aliases in mapped keys to avoid generating incorrect additionalProperties #2232 (@alexchexes)
Avoid incorrect additionalProperties for Pick<..., AliasLiteralUnion> #2230 (@alexchexes)
2.4.0
6 Apr 2025Go back to generating enums out of unions containing enums #2149 (@Twixes @arthurfiorette)
Add unhandled error to append useful information #2063 (@arthurfiorette)
:tada: This release contains work from new contributors! :tada:
Thanks for all your work!
:heart: Bence Balogh (@baloghbence0915)
:heart: Werner Robitza (@slhck)
:heart: null@dcharbonnier
:heart: Michael Matloka (@Twixes)
Enhancement
Go back to generating enums out of unions containing enums #2149 (@Twixes @arthurfiorette)
Add unhandled error to append useful information #2063 (@arthurfiorette)
--expose allwith generic types #2009 (@arthurfiorette)
Bug Fix
Support for generic functions #2159 (@arthurfiorette)
Keyof typeof fields inside objects #2040 (@arthurfiorette)
TypeError on const spread #2039 (@arthurfiorette)
Schema generation when property name cannot be escaped #2018 (@baloghbence0915)
2.3.0
5 Jun 2024Revert back to commons js #1975 (@arthurfiorette)
Remove ts-expose-types temporarily #1968 (@arthurfiorette)
:tada: This release contains work from a new contributor! :tada:
Enhancement
Revert back to commons js #1975 (@arthurfiorette)
Remove ts-expose-types temporarily #1968 (@arthurfiorette)
Added diagnostics to all errors #1963 (@arthurfiorette)
Bug Fix
factory: Fix deprecated glob import that prevents using from code after glob upgrade #1981 (@gallayl)
Unknown type "undefined" when using generics without base type #1978 (@arthurfiorette)
2.2.0
23 May 2024Add back cjs output #1964 (@arthurfiorette @domoritz)
Support
export *statements #1962 (@arthurfiorette)Improved Promise handling to support packages like Prisma #1924 (@arthurfiorette)
:tada: This release contains work from new contributors! :tada:
Thanks for all your work!
:heart: Tim (@timothympace)
:heart: Rama Krishna Ghanta (@ramaghanta)
:heart: Sampsa Kaskela (@SampsaKaskela)
Enhancement
Add back cjs output #1964 (@arthurfiorette @domoritz)
Support
export *statements #1962 (@arthurfiorette)Improved Promise handling to support packages like Prisma #1924 (@arthurfiorette)
Bug Fix
bug: fix usage of * in type on Windows #1942 (@SampsaKaskela @domoritz)
Removed import assertion #1944 (@ramaghanta)
Provide more type saftey for vega-lite fixme #1947 (@timothympace)
2.1.0
20 Apr 2024- 1.x
1.5.1
8 Apr 2024Reading the note…
1.5.0
5 Dec 2023Reading the note…
1.4.1
27 Nov 2023Reading the note…
1.4.0
16 Oct 2023Reading the note…
1.3.0
14 Aug 2023Reading the note…
1.2.0
22 Dec 2022Reading the note…
1.1.2
28 Sep 2022Reading the note…
1.1.1
22 Sep 2022Reading the note…
1.1.0
21 Sep 2022Reading the note…
1.0.0
21 Mar 2022Reading the note…
- 0.98.x
0.98.0
16 Feb 2022Reading the note…
- 0.97.x
0.97.0
4 Nov 2021Reading the note…
- 0.96.x
0.96.0
5 Oct 2021Reading the note…
- 0.95.x
0.95.0
22 Jul 2021Reading the note…
- 0.94.x
0.94.1
7 Jul 2021Reading the note…
0.94.0
3 Jul 2021Reading the note…
- 0.93.x
0.93.0
26 May 2021Reading the note…
- 0.92.x
0.92.0
7 May 2021Reading the note…
- 0.91.x
0.91.0
22 Apr 2021Reading the note…
- 0.90.x
0.90.0
14 Apr 2021Reading the note…
- 0.89.x
0.89.3
9 Apr 2021Reading the note…
0.89.2
4 Apr 2021Reading the note…
0.89.1
26 Mar 2021Reading the note…
0.89.0
12 Mar 2021Reading the note…
- 0.88.x
0.88.0
27 Feb 2021Reading the note…
- 0.87.x
0.87.0
26 Feb 2021Reading the note…
- 0.86.x
0.86.1
17 Feb 2021Reading the note…
0.86.0
17 Feb 2021Reading the note…
- 0.85.x
0.85.0
17 Feb 2021Reading the note…
- 0.84.x
0.84.0
5 Feb 2021Reading the note…
- 0.83.x
0.83.2
16 Jan 2021Reading the note…
0.83.1
16 Jan 2021Reading the note…
0.83.0
15 Jan 2021Reading the note…
- 0.82.x
0.82.0
23 Dec 2020Reading the note…
- 0.81.x
0.81.0
21 Dec 2020Reading the note…
- 0.80.x
0.80.1
15 Dec 2020Reading the note…
0.80.0
1 Dec 2020Reading the note…
- 0.79.x
0.79.0
26 Nov 2020Reading the note…
- 0.78.x
0.78.0
10 Nov 2020Reading the note…