Skip to content

Releases: oazapfts/oazapfts

v4.6.0

15 Mar 19:19
Compare
Choose a tag to compare

New Features ✨

  • add request headers to HttpError (#391) _contributed by @trim21

v4.3.3

30 Nov 22:52
b4c7ad7
Compare
Choose a tag to compare

Bugfixes 🐛

  • Avoid name conflicts between types and enums (#340) contributed by @timmbuktu

v4.3.2

30 Nov 10:11
8091117
Compare
Choose a tag to compare

Bugfixes 🐛

  • do not allow primitive values as form body since we currently do not support serializing them

v4.3.1

30 Nov 09:55
f5a0180
Compare
Choose a tag to compare

Bugfixes 🐛

  • We can now use any JSON.serializable value as request body with out typescript complaining about it. (#330) contributed by @swernerx

Also this release should have been v4.2.1, something went wrong on my end - there are no new features in here

v4.2.0

28 Oct 09:09
d774571
Compare
Choose a tag to compare

New Features ✨

v4.1.0

16 Sep 09:06
9b0bd4d
Compare
Choose a tag to compare

New Features ✨

v4.0.0

12 Sep 09:36
054cb66
Compare
Choose a tag to compare

Bugfixes 🐛

serialize object query parameters as exploded form by default

BREAKING CHANGE 🚨

When style and/or explode are not explicitly set on a path parameter in your swagger.json
Then in the past oazapfts had send an array as ?key=a,b
From now on the same data is sent as ?key=a&key=b
Also space and pipe delimited serialization now requires explicit disabling of explode to be effective

Migration:
When your backend implements the OpenAPI Specification correctly, you do not need to do anything.

If not, or you're unsure, in your swagger.json:

  • Set "explode": false on all array and object path parameters that had no explicit explode setting before
  • Except for object parameters with "style": "deepObject". These have been handled correctly and you should not change them.

See https://swagger.io/docs/specification/serialization/#query for details

v3.6.0

25 May 09:32
Compare
Choose a tag to compare

New Features ✨

  • Numeric enums are now exposed as a numerical union type (#169)

v3.5.0

27 Jul 13:42
Compare
Choose a tag to compare

Changes ✏️

  • Remove logic that introduces duplicate fields when name contains dot (#109)

v3.4.0

06 Jul 10:28
Compare
Choose a tag to compare

New Features ✨

  • JSON Hypertext Application Language (HAL) mime-types are now supported properly (#86)

Changes ✏️

  • Parameters using the square bracket notation are no longer expanded into deepObject for OpenAPI v3 specs (#83)