Patch Changes
-
#10659
1f124c3Thanks @effect-bot! - Fixhttpapigeneration to produce type-correct declarations for buffered binary bodies and SSE responses. -
#10664
dcaf897Thanks @tim-smart! - Fix strict compilation of SSE methods generated withhttpclient-type-onlyby preserving the declared event type. -
#10793
3412c77Thanks @gcanti! - When an endpoint accepted both multipart and URL-encoded forms, generated HTTP clients sent a multipart request but required callers to supply the fields from the URL-encoded schema. Both client formats now use the multipart schema for the payload argument, so TypeScript checks the fields the client sends. -
#10763
f3961b9Thanks @haranishi! - Generate client and HttpApi operations from local OpenAPI Path Item references. -
#10773
ca9de3cThanks @gcanti! - Reject OpenAPI patch moves that use an array property such aslengthas the source. -
#10625
94fe28eThanks @gcanti! - Fix generated HTTP client path parameter types and serialization according to OpenAPIstyleandexplode.When regenerating clients, pass numeric, boolean, and array path arguments directly instead of converting them to strings.
-
#10569
2402fe3Thanks @gcanti! - Add the experimentalCodegen.Modulebuilder and fix recursive initialization, name collisions, generated types, and symbol identity in schema and OpenAPI generation.Remove
SchemaRepresentation.toCodeDocument,CodeDocument,Artifact, andmakeCode. Generate schema source withCodegen.Module.addSchemasandprint; construct{ runtime, Type }directly instead of callingmakeCode.Custom
toCodecallbacks must interpolate supplied argument strings unchanged and return supported schema/type expressions. Move unsupported code, such as functions with local declarations, into imported helpers.The
@effect/openapi-generator/OpenApiTransformermodule is removed. Use theOpenApiGeneratorservice to generate from an OpenAPI spec, selecting the output withformat.Some nullable OpenAI objects, such as
Batch.errors, now strip undeclared fields and no longer expose index signatures; use their declared fields instead. -
Updated dependencies [
3e2030b,f9f5f9d,eecfff5,7e9e5df,ddd142f,2bd41fe,36e335a,7c36414,284b978,f3957c6,e7f4493,1c990e9,1cccb18,0d5eb2c,6b8ea38,ff682e9,45937b7,cda1466,aa5047d,8bc4e44,c61bb44,5caf323,19c76ab,c282e64,77fa72a,82904fe,df790ca,1b807a0,4d78900,0799e39,80622bf,3d13d1e,e373f19,e3aed41,c49caf7,9f9d58b,5234eed,44f3b48,31b0a19,b01d576,7e155df,c74244b,0082c45,e197c57,313194d,ca8ffea,7f5ab2f,8750da4,b53856a,efccc92,7f2919f,f3961b9,c31cb76,c239f40,8a4ef37,9ef7a47,e5f2e97,acfbe1b,22909d5,5662efa,a9b1998,b4803f0,689c1ba,f12fefb,f18320b,f89f473,7cb302b,ae947a3,cbe8b0e,3fcc7fa,2402fe3,39bd6e0,57c8873,d28a692,9851931,7ed0880,7ec6395,101e58b,a2654f5,9bb48ee,ec2c12a,fc69670,3ec2199,b246e24,8564843,88d028e,fec20c5,394e32b,c71de85,b19b959,9f00fd5,04e9e83,ff34753,8745885,3058f01]:- effect@4.1.5
- @effect/platform-node@4.1.5