Tokyo release notes
31 July 2020
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
Features
- #6493: Added a new tab to the Admin UI: Flows. This tab shows all the Flows which are part of an API Builder application, as well as their flow-triggers, including those which are invoked by Endpoints. This tab is in a preview state currently and subject to change.
- #6494: Added Event, a new flow-node and pluggable flow-trigger that enables producing and consuming Events @axway/api-builder-plugin-ft-event.
- #6510: Added two new features to the
APIBuilder
programmatic interface to allow a shutdown to be triggered via an event("shutdown")
, and also to allow the system to be marked as unstable/unavailable via an event("system-unavailable", "message")
. After receiving the “system-unavailable” event, the healthcheck API ](/Images/apibuilderPing.json`) will return success: false, allowing for external monitoring systems (just as Docker or Kubernetes) to detect that the system is unhealthy. - #6515: Previously, API Endpoints always returned the HTTP response with the Content-Type header set to “application/json” and always JSON encoded the response body. Now, the Content-Type header can be overridden in the flow editor using the HTTP Response flow-node and setting a custom header value in Headers, or when not set, it will use the type of body to choose an appropriate Content-Type. If the body is a Buffer, the Content-Type is “application/octet-stream”. If the body is a string or number, the Content-Type is “text/plain”. If the body is an Object, then the Content-Type is “application/json”. See deprecation [D042].
Fixes
- #5617: Previously, long responses would cause the debugger in the Flow Editor to expand wider than the browser width, resulting in a lot of horizontal scrolling and potentially losing track of the Flow graph. Now, the debugger only will resize to the available screen space.
- #6407: Previously, a newly scaffolded API Builder app was coming with “timeout” set in app config to 120000ms (2 minutes) and “start-period” parameter of the Docker HEALTHCHECK set to 10 seconds. Now, the “timeout” is set to 90000ms and the “start-period” parameter is set to 45 seconds.
- #6506: Previously, API Builder could crash on startup with the error “Error: no schema with key or ref” due to a missing dependency on
ajv
. Now, API Builder will no longer crash with this error.
Deprecations
These are the deprecations introduced in this release. Click here for a list of all deprecations.
- [D042] enableOverrideEndpointContentType: API Endpoints will no longer return the Content-Type
application/json
in all cases, the Content-Type will either be explicitly set from within a flow, or set according to the type of response body.
Updated modules
- @axway/amplify-api-builder-cli@1.10.0
- @axway/api-builder@4.19.8
- @axway/api-builder-admin@1.21.0
- @axway/api-builder-runtime@4.32.2
Updated plugins
Known issues
To see 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 October 4, 2021: RDPP-7054: Automate release note and deprecation sections (#23) (3cb2ea5)