v9.4.0
What's Changed
Features
- Zero-parameter command constructors — Commands with no path/query/header params (e.g.
ListBillingAccountsCommand) now generate a no-arg constructor withsuper(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
unspecifiedKeywordas a response type argument - Remove
| undefinedfrom optional header types — Optional header properties now use?only, fixing compatibility with theCommandgeneric constraint (Record<string, string | number | boolean>)
Chores
- Bump
@block65/rest-clientpeer dependency to^12.1.0(4th generic for headers) - Add biome config
Full Changelog: v9.3.0...v9.4.0