Skip to content

Releases: ash-project/ash_typescript

v0.8.4

25 Nov 17:13

Choose a tag to compare

Bug Fixes:

  • codegen: support calculation fields in aggregates across all modules by @Torkan

  • rpc: respect allow_nil_input and require_attributes for input type optionality by @Torkan

  • support sum aggregates over calculations and discover calculation argument types by Oliver Severin Mulelid-Tynes (#23)

v0.8.3

24 Nov 12:32

Choose a tag to compare

Bug Fixes:

  • improved error message for missing AshTypescript.Resource extension or missing typescript dsl-block
  • add closing backticks on the code example for composite type field selection by Jacob Bahn (#21)

v0.8.2

20 Nov 17:57

Choose a tag to compare

Bug Fixes:

  • codegen: export Infer*Result types from generated TypeScript by @Torkan

v0.8.1

20 Nov 13:34

Choose a tag to compare

Bug Fixes:

  • test: remove URLs from argsWithFieldConstraints to fix parser issue by @Torkan

  • codegen: make nullable fields optional and fix spacing in input types by @Torkan

  • codegen: use get_ts_input_type for argument types in input schemas by @Torkan

  • Add default boolean values to config getters by zeadhani (#20)

v0.8.0

19 Nov 20:25

Choose a tag to compare

Features:

  • add FieldExtractor module for unified tuple/keyword/map extraction by @Torkan

Bug Fixes:

  • exclude struct union members with instance_of from primitiveFields by @Torkan

  • require wrapped format for union inputs with proper validation by @Torkan

  • add is_primitive_struct? check in result_processor by @Torkan (#17)

Improvements:

  • preserve TypedStruct instance_of for field name mappings by @Torkan

  • standardize RPC error structure with vars, path, fields, details by @Torkan

  • use bulk actions for update/destroy by @zachdaniel (#17)

  • support read_action configuration by @zachdaniel (#17)

  • better error handling & struct field selection in RPC by @zachdaniel (#17)

v0.7.1

08 Nov 15:50

Choose a tag to compare

Bug Fixes:

  • add missing resources to typescript_rpc in test setup to fix compile warnings by @Torkan

v0.7.0

08 Nov 15:31

Choose a tag to compare

Features:

  • add configurable warnings for RPC resource discovery and references by @Torkan

  • add resource scanner for embedded resource discovery by @Torkan

v0.6.4

03 Nov 13:09

Choose a tag to compare

Bug Fixes:

  • add reusable action/validation helpers, improve lifecycle hook types by @Torkan

v0.6.3

01 Nov 18:44

Choose a tag to compare

Bug Fixes:

  • use type constraints in zod schema generation by @Torkan

v0.6.2

28 Oct 22:08

Choose a tag to compare

Bug Fixes:

  • rpc: make fields parameter optional with proper type inference by @Torkan

  • rpc: improve type inference for optional fields parameter by @Torkan

  • rpc: generate optional fields parameter for create/update in TypeScript by @Torkan

  • rpc: make fields parameter optional for create and update actions by @Torkan