Skip to content

Latest commit

 

History

History
94 lines (62 loc) · 2.86 KB

CHANGELOG.md

File metadata and controls

94 lines (62 loc) · 2.86 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.2.0 - 2024-11-26

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)

0.1.5 - 2024-10-07

Fixed

  • Fix the duplicated import with multiple same association (@okuramasafumi)

0.1.4 - 2024-10-04

Added

0.1.3 - 2024-09-27

Added

  • Support inline associations (@okuramasafumi, @skryukov)

    Example of Alba serializer with inline associations (note the helper Typelizer::DSL, see Alba's docs for more details):

    class FooSerializer
      include Alba::Resource
      helper Typelizer::DSL
    
      many :bars do
        typelize_from Bar
    
        attributes :id, :name
      end
    end

0.1.2 - 2024-09-05

Fixed

0.1.1 - 2024-08-26

Fixed

0.1.0 - 2024-08-02