Skip to content

apiwork: v0.5.0

Choose a tag to compare

@github-actions github-actions released this 23 Mar 11:39
91309ad

0.5.0 (2026-03-23)

⚠ BREAKING CHANGES

  • make OP required in nested payload discriminated union
  • move default and example to concrete param types

Features

  • add builders option to TypeScript, Zod, and Sorbus exports (91f1c11)
  • add object() and union() type definitions to representations (105ce8c)
  • add record param type for key-value maps with typed values (e2339f3)
  • add unknown as a param type (46e4765)
  • move default and example to concrete param types (f20e082)
  • support union types inside array elements (2f0d05e)
  • treat boolean options without arguments as setter to true (392112d)

Bug Fixes

  • add boolean type validation to configuration options (a5940fe)
  • allow referencing types named after DSL keywords in union variants (be526bb)
  • boolean export options ignoring default false (0098b76)
  • broken union type and kebab-case playground examples (a8202cd)
  • make OP required in nested payload discriminated union (04f2c86)
  • omit ErrorSchema from sorbus contract when no raises are declared (df06c22)
  • preserve ALL-CAPS keys in response key transformation and extract key transform methods (1e813c9)
  • preserve path segments in sorbus export transform_path (8768597)
  • produce complete param hashes for of-elements in introspection dump (99b7ec4)
  • resolve :id from resource path segment in playground scenario runner (10328d7)
  • return null body for no_content responses in introspection (5f8845b)
  • select hub node as cycle breaker and iterate until all cycles resolved (c66bfb2)
  • skip primitive types when resolving type references in introspection dump (0970b5b)
  • use custom_type to resolve type references in introspection (41d1c5b)
  • use type definition scope for enum resolution during type expansion (70fbdbf)