Skip to content

Version 18.0.3

Latest

Choose a tag to compare

@jaydenseric jaydenseric released this 20 Nov 04:29

Patch

  • Updated the dependency @types/busboy.

  • Corrected the type FileUpload property filename from string to string | undefined to reflect existing runtime behavior when the client uploads without a filename using the MIME type application/octet-stream in a GraphQL multipart request file field; an unusual scenario that’s now supported by tests.

    This is in response to a similar correction published upstream in the dependency @types/busboy in the recent SemVer patch release v1.5.5.

    This change is likely to introduce useful TypeScript errors in projects that, due to the previously incorrect types, unsafely assumed all file uploads have a filename. While a SemVer patch release breaking builds is undesirable, it’s the least bad option out of the considered alternatives.

  • Refactored tests in nested suites with more focused test names.