7.4.0 (2025-01-07)
Bug Fixes
- core: add unknown[] when items is not defined (#1757) (5be5cd4)
- core: fixed error where a renamed enum was used by old name (#1767) (21ba4b2)
- core: fixes 878 header parameter as ref not generated properly (#1714) (8aded2e)
- core: generate schemas when filters.schemas undefined (#1744) (2ab33db)
- core: make sure to add '| null' to enums with null in type array (#1739) (b653320)
- core: make sure to keyof typeof native enums (#1759) (9321a0c)
- core: take output.indexFiles setting into account (#1770) (074936a)
- core: undefined type is sometimes allowed for formdata (#1720) (9dccae9)
- correct imports in Mock handlers without index (#1758) (5a1b087), closes #1547
- fetch: make sure to not double promise for custom fetch mutator (#1768) (c89d9c9)
- fetch: pass headers to
fetch
whenheaders
option is activated (#1780) (9784454), closes #1779 - msw: fix errornous comma at start of object (#1754) (4cb2942)
- msw: no more missing properties. support oas31 const (#1755) (1853e1b)
- query: make sure to make definition have optional typing if allparamsoptional (#1762) (7c36284)
- query: vue query unref form data (#1713) (872e5d7)
- workspaces: properly setup eslint v9 (#1793) (4d696f5)
Features
- core: property sorting (#1763) (c0eba70)
- core: take servers fields into account (#1718) (88ad889)
- fetch: add type to response data in
fetch
client (#1773) (7753b29) - fetch: avoid exception when the response body has no content (#1778) (743a71f)
- fetch: include error types in data type of fetch response (#1776) (17b1517)
- generate API as
TypeDoc
docs (#1705) (e67fa69) - handle ndjson response type in fetch client (#1722) (8fbaf07)
- query: Add default mutation key (#1730) (b23257b)
- TData generic for mutation hooks (#1735) (ac375fa)