Skip to content

Releases: swagger-api/swagger-js

Swagger-JS 3.0.18 Released!

20 Jul 22:00
v3.0.18
Compare
Choose a tag to compare

Interface changes: None.

  • Bugfix: added support for merging arrays in allOf constructs (via #1101)
  • Bugfix: added support for constructing query strings with 0 values (via #1105)
  • Chore: Enabled linter check during CI PR testing (via #1104)

Swagger-JS 3.0.16 Released!

26 Jun 22:30
v3.0.16
Compare
Choose a tag to compare

Interface changes: None.

  • IE11 compatibility: removed references to Array.prototype.find (via #1088)
  • Bugfix: Query parameters with Boolean value false were not being properly serialized in buildRequest (via #1093)

Version Diff

Swagger-JS 3.0.15 Released!

20 Jun 20:40
v3.0.15
Compare
Choose a tag to compare

Interface changes: None.

  • README updates and improvements
  • Configured the default resolver fetch implementation to send cookies and Authorization headers for same-origin requests (see #1083)
  • Developer note: removed package-lock.json from the repository, as it was causing problems.

Version Diff

Swagger-JS 3.0.14 Released!

14 Jun 00:57
v3.0.14
Compare
Choose a tag to compare

Interface changes: None.

  • Fixed a defect in __originalOperationId logic (swagger-api/swagger-ui#3203) and added more tests around the functionality
  • Added throw when execute can't find a requested operation

Version Diff

Swagger-JS 3.0.12 Released!

27 May 03:30
Compare
Choose a tag to compare

Interface changes: New resolve options, see below.

  • Improvement: parameterMacro and modelPropertyMacro options in resolve (via #1067)

Version diff

Swagger-JS 3.0.10 Released!

15 May 07:38
Compare
Choose a tag to compare

Interface changes: Client interface method names may differ if you have duplicate operationIds in your spec. Note that this is not a breaking change, as duplicate operationIds were previously undefined behavior.

  • Improvement: generated operationIds are now friendlier (get_one instead of get-/one), and duplicate explicit operationIds are now handled more reliably (#1003 via #1048)
  • Bugfix: ensure we don't stringify formData + fix multipart upload (via #1051)

Version Diff

Swagger-JS 3.0.9 Released!

08 May 06:51
Compare
Choose a tag to compare

Interface changes: no longer need to manually stringify request bodies for execute.

  • Improvement: request bodies are now automatically stringified if they are JavaScript objects (#1006 via #1034)
  • Bugfix: send Authorization: Bearer ... in OAuth2, for RFC 6750 compliance (#1040 via #1041)
  • Bugfix: include response property on Errors (via #1039)

Version Diff

Swagger-JS 3.0.8 Released!

02 May 01:17
Compare
Choose a tag to compare

Interface changes: Potentially breaking change for corner cases to internal fetch. We elected to break semver for this release - see discussion in #1015.

  • Bugfix: circular reference issues when baseDoc is present (via #1031)

Version Diff

Swagger-JS 3.0.3 Released!

07 Apr 16:30
Compare
Choose a tag to compare

Interface changes: No runtime interface changes, but the bundle file is now exported as a UMD module.

  • Added loadSpec option to fetch that allows optimistic loading of a resource as text, regardless of response Content-Type
  • Added authorizations to instance execute
  • Fixed an issue where path and operation parameters weren't being merged (#965)
  • Added contextUrl option that allows user to specify the URL that a spec is in the context of

Version Diff

Swagger-JS 3.0.2 Released!

07 Apr 16:29
Compare
Choose a tag to compare

Interface changes: None

  • the Access-Control-Allow-Origin: * header is no longer attached to all requests

Version Diff