Skip to content

Releases: simenandre/generate-runtypes

generate-runtypes v3.1.1

27 Nov 21:49
4a18c29
Compare
Choose a tag to compare

Bug Fixes

  • Don't throw on names with leading number (#181) (7bcd1fb)

generate-runtypes v3.1.0

30 Jul 18:44
f1eb219
Compare
Choose a tag to compare

Features

Bug Fixes

generate-runtypes v3.0.0

10 Jun 21:10
ddaae12
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • Previous versions vould emit code that doesn't deal with cycles, this version does. The previous versions would likely emit illegal code, nevertheless, this is breaking change.
  • Anyone relying on ES6 being the target when transpiling, will need to adjust their settings when consuming this package.

Features

  • Add flag to detect unknown named types (#106) (85267f0)
  • Add flag to throw on cyclic dependencies between named types (#101) (2e33303)
  • Add support for comments in output (#80) (b1da522)
  • Support generating lazy runtypes (#107) (a63d32c)
  • Topological sort of dependencies (#114) (f0a80b5)

Bug Fixes

  • generate correct type for dict/record (8037530)

Miscellaneous Chores

generate-runtypes v2.1.0

28 Apr 18:25
8803236
Compare
Choose a tag to compare

Features

generate-runtypes v2.0.1

23 Apr 08:18
d0e4c94
Compare
Choose a tag to compare

Bug Fixes

  • use formatter function for all named types (#52) (335fc0e)

generate-runtypes v2.0.0

16 Apr 16:24
1927b7f
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • This package no longer require ts-morph and does not take inn file argument. Please consult our README.md for more information

Features

  • Add groupFieldKinds, symbol type, remove void and partial/readonly (742ce62)
  • Alternative object format for runtypes (#9) (baaaa02)
  • More compact raw source output (c76338d)
  • output type definitions and allow custom names (#30) (bbad2d3), closes #28
  • Try alternate writer for for alt_serializer (6543c99)

Bug Fixes

  • Getting ready to release v2 (8080edc)
  • infinite loop on empty record (#34) (5596de4)
  • intersection was generated with wrong name (f94d755)
  • release please (f09823b)

Code Refactoring

This release is made possible because of @runeh. He has totally rewritten this tool and generally made it so much better!
I am forever grateful 🙏

v2.0.0-alpha.4

10 Apr 12:41
Compare
Choose a tag to compare
v2.0.0-alpha.4 Pre-release
Pre-release

2.0.0-alpha.4 (2021-04-10)

Bug Fixes

v2.0.0-alpha.3

28 Mar 20:20
Compare
Choose a tag to compare
v2.0.0-alpha.3 Pre-release
Pre-release

2.0.0-alpha.3 (2021-03-28)

Bug Fixes

  • intersection was generated with wrong name (f94d755)

v2.0.0-alpha.2

27 Mar 20:29
Compare
Choose a tag to compare
v2.0.0-alpha.2 Pre-release
Pre-release

2.0.0-alpha.2 (2021-03-27)

Bug Fixes

v2.0.0-alpha.1

25 Mar 13:55
Compare
Choose a tag to compare
v2.0.0-alpha.1 Pre-release
Pre-release

2.0.0-alpha.1 (2021-03-25)

Code Refactoring

Features

  • Add groupFieldKinds, symbol type, remove void and partial/readonly (742ce62)
  • Alternative object format for runtypes (#9) (baaaa02)
  • More compact raw source output (c76338d)
  • Try alternate writer for for alt_serializer (6543c99)

BREAKING CHANGES

  • This package no longer require ts-morph and does not take inn file argument. Please consult our README.md for more information