3.7.3
(fix):
Fix default request parameter value unwrapping for nullable<>
.
3.7.2
(fix):
Include extra-properties
(aka. additionalProperties
) when generating examples for objects and inlined request bodies.
(fix):
Allow arbitrary properties in inlined request bodies when extra-properties
(aka. additionalProperties
) is set to true.
3.7.1
(fix):
Filter out undefined
from lists, maps, sets, and object properties when generating examples.
(fix):
Restore missing test scripts in package.json when using useLegacyExports: true
.
3.8.0
(feat):
Use Biome for formatting instead of Prettier, and also use Biome to check (fix) the generated code.
3.7.0
(feat):
Generate a BaseClientOptions
, BaseRequestOptions
, and BaseIdempotentRequestOptions
interface and extend from these in the generated client Options
, RequestOptions
, and IdempotentRequestOptions
interfaces.
This reduces a large amount of duplicate code in the generated SDK.
3.6.1
(fix):
Add missing test scripts when bundle: true
.
3.6.0
(feat):
Allow for configuring timeoutMs
and maxRetries
request options at the client-level as well as the request level.
3.5.0
(feat):
Enable verbatimModuleSyntax
in tsconfig.esm.json to increase TypeScript performance for the ESM build (not CJS).
You may need to update your custom TypeScript code to comply with this setting.
3.4.0
(feat):
Add wireTestsFallbackToAutoGeneratedErrorExamples
configuration option to control whether to use autogenerated error examples if user does not provide error examples for generating wire tests.
3.3.9
(fix):
Use // ... file header ...
file header instead of /** ... file header ... */
.
The latter is considered a JSDoc comment and may cause issues with some tools.
The TypeScript compiler will remove //
but not /** */
comments.
3.3.7
(fix):
Dynamically build type for enums based on the const to reduce generated code.
Before:
After:
3.3.6
(fix):
Fix basic auth password parsing to support colons in passwords.
3.3.5
(feat):
Log error when testFramework: vitest
is used alongside useBigInt: true
, streamType: wrapper
, or packagePath: path/to/package
.
3.3.4
(fix):
Upgrade generator-cli dependency to fix local generation handling of .fernignore files.
3.3.3
(fix):
If useLegacyExports
is true
, reference ../tsconfig.json
instead of ../tsconfig.base.json
in tests/tsconfig.json
.
3.3.2
(fix):
Fix non-GitHub output modes.
(fix):
Format GitHub Actions workflow files using prettier.
(fix):
Add .prettierignore to ensure dist and temporary files are not formatted.
3.3.2-rc1
(fix):
Fix npm publish output mode
3.3.2-rc0
(fix):
Format GitHub Actions workflow files using prettier.
(fix):
Add .prettierignore to ensure dist and temporary files are not formatted.
(fix):
Fix non-GitHub output modes.