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 totrue
(@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
Full Changelog: v0.1.5...v0.2.0