Skip to content

v2.0.0

Choose a tag to compare

@seambot seambot released this 28 Jul 01:39
· 150 commits to main since this release
v2.0.0
b84e9ab

Features

BREAKING CHANGES

  • Remove isUndocumentedApiEnabled and all undocumented routes, endpoints,
    resources, parameters, properties, and enum values. There is no replacement for undocumented APIs.
  • Remove deprecated generated *Params and *Body request type aliases. Use the
    corresponding *Parameters types instead.
  • Rename generated resource types by removing the Resource suffix. For example,
    DeviceResource becomes Device, ActionAttemptResource becomes ActionAttempt, and
    EventResource becomes SeamEvent.
  • Remove the generated UnknownResource fallback. Code generation now fails when
    Blueprint cannot identify a non-batch response resource.
  • Change batch response typing from an unknown record to Batch<TKey>, where TKey
    limits the optional resource collections available on the batch.
  • Generate endpoint response types from Blueprint resources instead of
    RouteResponse from @seamapi/types. This may produce stricter response and action-attempt types.