Skip to content

v9.4.0

Choose a tag to compare

@maxholman maxholman released this 23 Apr 14:03

What's Changed

Features

  • Zero-parameter command constructors — Commands with no path/query/header params (e.g. ListBillingAccountsCommand) now generate a no-arg constructor with super(pathname) directly
  • Optional input for all-optional params — Commands where all parameters are optional no longer require an empty {} argument (e.g. new FindPetsCommand() now works)

Fixes

  • Skip response type for non-JSON endpoints — Endpoints without JSON response content no longer incorrectly get unspecifiedKeyword as a response type argument
  • Remove | undefined from optional header types — Optional header properties now use ? only, fixing compatibility with the Command generic constraint (Record<string, string | number | boolean>)

Chores

  • Bump @block65/rest-client peer dependency to ^12.1.0 (4th generic for headers)
  • Add biome config

Full Changelog: v9.3.0...v9.4.0