1.24.0

(feat): Add support for protocol-level SSE discrimination via the new discriminatorContext IR field. When a streaming endpoint returns a discriminated union with discriminatorContext: "protocol", the SSE event: field value is injected into the JSON data payload as the discriminant key before unmarshaling, so the union’s existing UnmarshalJSON works unchanged. If the data already contains the discriminant key, injection is skipped. Existing SSE endpoints using data-level discrimination (the default) are unaffected.

1.23.8

(feat): Add omitEmptyRequestWrappers configuration flag to skip generating empty request structs for endpoints where the SDK request wrapper has no user-facing fields. When enabled, endpoints whose wrapper was created (e.g., due to service headers) but where all fields are handled globally via RequestOptions will no longer produce an empty struct parameter in the method signature. The flag defaults to false for backward compatibility.