Skip to content

Releases: swagger-api/swagger-js

Swagger-Client 3.8.5 Released!

26 May 19:45
e71bc4c

Choose a tag to compare

Interface changes: none.

Changelog:

  • feature: OAS3 binary media type support (via #1324)

Swagger-Client 3.8.4 Released!

28 May 19:47
7ba17ef

Choose a tag to compare

Interface changes: none.

Changelog:

  • feature: OAS3 object parameter serialization support (via #1321)
  • bugfix: $ref value encoding/decoding (via #1322)

Swagger-Client 3.8.3 Released!

13 May 00:06
a6b975f

Choose a tag to compare

Interface changes: none.

Changelog:

  • bugfix: parsing of an empty OAS3 servers array (via #1310)

Swagger-Client 3.8.1 Released!

06 May 21:24
2c8d476

Choose a tag to compare

Interface changes: none.

Changelog:

  • bugfix: $ref + allOf interation in the resolver (via #1275, #1309)
  • bugfix: deep $ref resolution issue based on data order in a document (via #1243)
  • bugfix: relative URL construction based on remote definition URL (via #1312)
  • dependency: upgrade to deep-extend@^0.5.1 to avoid potential prototype pollution security issue (via #1304)
  • meta: multiple issue templates, to encourage higher-quality reports (via #1311)

Swagger-Client 3.8.0 Released!

28 Apr 06:37
356ac9c

Choose a tag to compare

This release introduces a new attachContentTypeForEmptyPayload option that attaches Content-Type headers when an operation calls for a body but no value is provided.

There are also some minor changes to requestContentType: it now allows control over Content-Type when no body value is provided.

Swagger-Client 3.7.2 Released!

24 Apr 06:44
3cd93d9

Choose a tag to compare

Fixes a regression related to parameter normalization that was causing an infinite loop; see swagger-api/swagger-ui#4466 and swagger-api/swagger-ui#4467.

Swagger-Client 3.7.1 Released!

21 Apr 02:42
3ec8f5e

Choose a tag to compare

Interface changes: none.

Changelog:

  • bugfix: groups of multiple referenced inherited parameters are now handled correctly by resolveSubtree (via #1295)

Swagger-Client v3.7.0 Released!

14 Apr 00:29
2eb5ae0

Choose a tag to compare

Interface changes: v2OperationIdCompatibilityMode option is now available. You can use it to generate v2-style names for operations in the tags interface.

Changelog:

  • feature: operationId generator v2 compatibility mode (via #1283)
  • bugfix: nested allOf + $ref resolution (via #1282)
  • bugfix: http error handling quality regression (via #1285)

Swagger-Client 3.6.0 Released!

07 Apr 05:01
14063b5

Choose a tag to compare

Interface changes: you can now return a Promise from a requestInterceptor or responseInterceptor and Swagger-Client will wait for it to resolve.

Changelog:

  • feature: asynchronous interceptors (via #1261)
  • bugfix: normalization is more durable to n > 1 rounds of subtree resolution (via #1274)

Swagger-Client 3.5.2 Released!

27 Mar 01:00
36a3d45

Choose a tag to compare

Interface changes: none.

Changelog:

  • bugfix: whole-document remote references (e.g. $ref: "./myOtherDoc.json") are no longer erroneously flagged as indirect circular references (via #1265)