Repository navigation
v0.6.0
·
46 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Fixed
- Breaking: A
text/*response whose schema has notype(binary data;type: string, format: binaryin 3.0) was read as UTF-8 text, so a CSV in Shift_JIS, for example, lost its bytes. It is now typed and read as aBlob. Useawait data.text()where text was wanted. (#69) - Leave a flagged property out of an allOf member's $ref (#70)
- Treat an empty server-sent event type as the default (#71)
- Read a flow-style YAML document that is not JSON (#72)
- Breaking: A request body declared by a media type range such as
image/*could leave outcontentType, and was then sent as another of the operation's media types.contentTypeis now required and typed by the range (`image/${string}`). For*/*it stays astring, required only when the operation also hasapplication/json. (#73) - Breaking: A request body could be a value that fetch sends as another media type. A multipart body other than
multipart/form-datais now aBlobinstead ofFormData: build it yourself and give theBlobatypewith the boundary, such asmultipart/mixed; boundary=b. A binary body no longer takesFormDataorURLSearchParams. (#74) - Leave out a property that another allOf $ref member flags (#75)