Flint release notes
28 January 2022
Summary
In this release, in the OpenAPI flow-trigger, we added support for updating an existing OpenAPI document via the UI, and also introduced smart body encoding and content-type
header selection. Additionally, we added support for overriding host
, basePath
and schemes
in OpenAPI 2.0 and servers
in OpenAPI 3.0 documents respectively.
Update
To update an existing API Builder application, execute the following command from within the application directory:
npm update
To update the API Builder CLI, execute the following command:
axway pm update
Breaking changes
- #7195: @axway/api-builder-plugin-ft-oas now requires a minimum API Builder version of Flint.
- #7168: @axway/api-builder-plugin-ft-oas is more strict when a response body is sent without a
content-type
header, and will now return a500 Server Error
if the correctcontent-type
cannot automatically be determined from the OpenAPI document. - #7212: @axway/api-builder-plugin-ft-oas now sends
400 Bad Request
if a client includes a HTTP body but the document does not define one.
Features
- #7220: Added support for updating previously imported API documents.
- #7168: @axway/api-builder-plugin-ft-oas now has smart
content-type
header selection to when a HTTP response body is set in the flow without acontent-type
header. The flow-trigger will attempt to determine the correctcontent-type
from the OpenAPI document. - #7168: @axway/api-builder-plugin-ft-oas now has automatic JSON response body encoding when a
content-type
header is not set in the flow and the OpenAPI document describes a single JSON mime-type for that response. - #7195: @axway/api-builder-plugin-ft-oas can now handle OpenAPI documents containing references with
requestBody
of content-typeapplication/x-www-form-urlencoded
ormultipart/form-data
. - #7138: @axway/api-builder-plugin-ft-oas now supports configuration overrides in the OpenAPI 2.0 and 3.0 documents when
config.apidoc.overrides
are set. - #7214: Added a log warning when a GET/HEAD request sends a body, that the body will be ignored.
Fixes
- #7226: Fixed an issue with @axway/api-builder-plugin-fn-restclient flow-node while invoking an API with it should be able to access the response body of the API call when the method is DELETE or OPTIONS.
- #7195: Fixed an issue with @axway/api-builder-plugin-ft-oas that failed to dereference JSON schema when parsing and validating the request body or parameters.
- #7228: Updated
marked
dependency to fix CVE-2022-21680 and CVE-2022-21681. - #7212: Fixed an issue in @axway/api-builder-plugin-ft-oas that incorrectly treated requests having
content-length: 0
as being invalid, even when the body was optional.
Updated modules
- @axway/amplify-api-builder-cli@2.0.2
- @axway/api-builder@5.0.2
- @axway/api-builder-admin@1.49.0
- @axway/api-builder-runtime@4.80.2
- @axway/api-builder-sdk@1.1.19
- @axway/api-builder-test-utils@1.5.5
Updated plugins
Known issues
For a list of up-to-date known issues see API Builder known issues.
Previous releases
Year | Releases |
---|---|
2022 | Dickens (7 Oct), Wicklow (7 Oct), Christie (23 Sep), Beckett (19 Sep), Austen (9 Sep), Villasimius (9 Sep), Unna (26 Aug), Tauranga (16 Aug), Sunnyvale (29 Jul), Riga (15 Jul), Qom (24 Jun), Paris (17 Jun), Oyo (3 Jun), Nantes (20 May), Madurai (6 May), London (22 Apr), Kabul (8 Apr), Johannesburg (25 Mar), Ikeja (11 Mar), Haarlem (25 Feb), Gondar (11 Feb), Flint (28 Jan), Exeter (14 Jan) |
2021 | Djibouti (31 Dec), Caracas (17 Dec), Bangkok (3 Dec), Amsterdam (19 Nov), Zigong (5 Nov), York (22 Oct), Xalapa (8 Oct), Wrecsam (24 Sep), Venice (10 Sep), Utrecht (27 Aug), Timbuktu (13 Aug), Sydney (30 Jul), Roberttown (16 Jul), Quezon (2 Jul), Perm (18 Jun), Ottawa (4 Jun), Nashville (21 May), Madrid (7 May), Lyon (23 Apr), Kalamitsi (9 Apr), Jaunpur (26 Mar), Ibiza (12 Mar), Hanoi (26 Feb), Giza (12 Feb), Faro (29 Jan), Edirne (15 Jan) |
2020 | Dubai (18 Dec), Calgary (4 Dec), Bruges (20 Nov), Agra (6 Nov), Zagreb (23 Oct), Yokohama (8 Oct), Xenia (25 Sep), Warsaw (11 Sep), Vancouver (28 Aug), Ufa (14 Aug), Tokyo (31 Jul), Shanghai (17 Jul), Rason (3 Jul), Qena (19 Jun), Prague (5 Jun), Oslo (20 May), Nancy (8 May), Marrakech (24 Apr), Leeds (10 Apr), Kharkiv (27 Mar), Jackson (28 Feb), Independence (31 Jan), Huddersfield (17 Jan) |
2019 | Ghent (20 Dec), Florence (6 Dec), Ennis (22 Nov), Darwin (8 Nov), Cairo (11 Oct), Barcelona (27 Sep), Akita (30 Aug), Zams (16 Aug), Yako (2 Aug), Xapuri (19 Jul), Wellington (5 Jul), Valencia (21 Jun), Utopia (7 Jun), Turin (24 May), Sofia (26 Apr), Raga (12 Apr), Quebec (29 Mar), Phoenix (15 Mar), Osaka (1 Mar), Naples (15 Feb), Melbourne (1 Feb), Lisbon (18 Jan) |
2018 | Kobe (21 Dec), Jakarta (7 Dec), Istanbul (23 Nov), Halifax (26 Oct), Geneva (12 Oct), Fuji (28 Sep), Eden (14 Sep), Dublin (31 Aug), Canberra (17 Aug), Boston (3 Aug), Athens (24 Jul), v4 (29 Jun) |
Last modified January 28, 2022: Flint release notes (#56) (5cd3d9e)