generate-runtypes

A code generator for Runtypes types. Perfect to create tooling to generate code for Runtypes!

APACHE-2.0 License

Stars
17
Committers
7

Bot releases are visible (Hide)

generate-runtypes - generate-runtypes v3.1.1 Latest Release

Published by github-actions[bot] almost 2 years ago

Bug Fixes

  • Don't throw on names with leading number (#181) (7bcd1fb)
generate-runtypes - generate-runtypes v3.1.0

Published by github-actions[bot] about 3 years ago

Features

Bug Fixes

generate-runtypes - generate-runtypes v3.0.0

Published by github-actions[bot] over 3 years ago

⚠ 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 - generate-runtypes v2.1.0

Published by github-actions[bot] over 3 years ago

Features

generate-runtypes - generate-runtypes v2.0.1

Published by github-actions[bot] over 3 years ago

Bug Fixes

  • use formatter function for all named types (#52) (335fc0e)
generate-runtypes - generate-runtypes v2.0.0

Published by github-actions[bot] over 3 years ago

⚠ 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 🙏

generate-runtypes - v2.0.0-alpha.4

Published by github-actions[bot] over 3 years ago

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

Bug Fixes

generate-runtypes - v2.0.0-alpha.3

Published by github-actions[bot] over 3 years ago

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

Bug Fixes

  • intersection was generated with wrong name (f94d755)
generate-runtypes - v2.0.0-alpha.2

Published by github-actions[bot] over 3 years ago

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

Bug Fixes

generate-runtypes - v2.0.0-alpha.1

Published by github-actions[bot] over 3 years ago

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
generate-runtypes - v1.1.1

Published by github-actions[bot] over 3 years ago

1.1.1 (2021-03-21)

Bug Fixes

  • Reference correct main file (0a9da84)
generate-runtypes - v1.1.0

Published by github-actions[bot] over 3 years ago

1.1.0 (2021-03-21)

Features

generate-runtypes - v1.0.0

Published by github-actions[bot] over 3 years ago

1.0.0 (2021-03-21)

Features