Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@skryukov skryukov released this 26 Nov 12:03
· 2 commits to main since this release
c8fcf9a

Added

  • Add support for enum attributes declared using ActiveRecord::Enum or explicitly in serializers (@Envek)
  • Add support for comments in generated TypeScript interfaces (@Envek)
  • Add TypeScript verbatim module syntax support through verbatim_module_syntax config option (@patvice)
  • Add typelizer:generate:refresh command to clean output directory and regenerate all interfaces (@patvice)
  • Allow disabling Typelizer in Rails development with DISABLE_TYPELIZER environment variable to true (@okuramasafumi)
  • Allow to get interfaces without generating TypeScript files (@Envek)

Fixes

  • Do not override Typelizer.dirs in the railtie initializer (@patvice)
  • Do not raise on empty nested serializers (@skryukov)
  • Attribute options merging in inherited serializers (@Envek)
  • Allow recursive type definition (@okuramasafumi)

New Contributors

  • @Envek made their first contribution in #21

Full Changelog: v0.1.5...v0.2.0