3.61.0-rc.0
(feat): Upgrade to IR v66 which reduces the IR size by a lot and increases performance.
3.60.8
(fix): Sanitize non-primitive path parameter example values at test-generation time.
When the IR contains object-typed path params (e.g. from unknown types), the
test generator now coerces them to the parameter’s original name string and
rebuilds the mock URL accordingly. This prevents [object Object] in generated
wire test URLs regardless of the CLI version used to produce the IR.
3.60.7
(fix): Fix auto-generated error test examples producing object path parameter values
(e.g. { key: "value" }) instead of strings. Path parameters are always scalar
URL segments, so generatePathParameterExamples now coerces non-primitive values
to a string fallback derived from the parameter name. This prevents [object Object]
from appearing in generated wire test URLs and removes the getMockUrlForExample
workaround added in 3.60.5.
3.60.6
(fix): Fix wire test generator asserting hasNextPage().toBe(true) for offset-paginated
endpoints when the example response has has_more: false (or equivalent
hasNextPage property set to false). The generator now checks the actual value
of the has-next-page property in the mock response and skips the hasNextPage()
and getNextPage() assertions when the example indicates there is no next page,
matching the SDK’s runtime behavior.
3.60.5
(fix): Fix wire test mock URL encoding mismatch for path parameters with non-primitive
example values. The IR’s example.url uses JSON.stringify for object path
parameter values (e.g. %7B%22key%22%3A%22value%22%7D), but the SDK’s
encodePathParam uses String() (producing %5Bobject%20Object%5D). The test
generator now reconstructs mock URLs using the same encoding as encodePathParam,
ensuring MSW intercepts requests correctly in auto-generated error test cases.
3.60.4
(chore): Redirect biome/lint/formatter output to a separate log file (/tmp/fern-*.log)
inside the Docker container instead of piping to the main generation log.
This reduces noise in the primary output while still preserving the tool
output for debugging.