Canberra release notes

17 August 2018

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

  • #4532: Support data connectors actual primary key type in API, models, and flows
  • #4724: Support for Models based on tables that have no primary key.

Fixes

  • #4791: Model flow-node distinct method’s schema does not support the PK field
  • #4834: UI not showing error pages when internal errors occur.
  • #4855: Show better CLI error when using unsupported node version
  • #4869: Config: apiPrefix is not validated for a required leading slash.
  • #4916: Endpoints with names that require URI encoding cannot be opened in the UI
  • #4920: Improve the findAndModify Swagger documentation

Release notes

  • #4532: Previously, APIs and flows generated for models created by data connectors assumed IDs were of type string. Now, the APIs and flows will use the primary key type for the IDs. This is enabled with a feature flag. See deprecation [D005].
  • #4724: Previously, if a model was created for a table that had no primary key the auto-generated APIs did not work. Now, the correct set of APIs will be generated and work as expected. This is enabled with a feature flag. See deprecation [D004].
  • #4791: Previously, distinct method schema did not allow using of the primary key field. Now, the primary key field is added to the schema and can be specified in distinct queries.
  • #4834: Previously, errors in API Builder runtime or invalid views in the console would not render an error page and may have caused errors in the browser. Now, a consumable error page is shown when most errors occur.
  • #4855: Previously, when running the API Builder CLI on an unsupported Node.js version, there would be an unhelpful syntax error. Now, a useful error is output on install and when running a command which tells the user which version of Node.js to use.
  • #4869: Previously, setting value without leading slash to apiPrefix configuration parameter resulted in active service with improperly bound paths. Now, validation has been added for the apiPrefix parameter, if the leading slash is missing exceptions are thrown and the service loading is interrupted.
  • #4916: Previously, if the endpoint filename contained a % symbol the API Builder Console could not open the detail page for that endpoint. Now, the endpoint detail page will open as expected.
  • #4920: Previously, the findAndModify method had a misleading description stated that only a single object is found and modified. Now, it is corrected to denote that multiple objects could be found but only the first one in the list gets modified.

Deprecations

These are the deprecations introduced in this release. Click here for a list of all deprecations.

  • [D004] enableModelsWithNoPrimaryKey: For models that do not have a primary key:

    • The delete, findAndModify, findByID, upsert, and update APIs and endpoints will not be generated.
    • The Model flow-node will not have delete, findAndModify, findByID, upsert, or update methods.
    • The Create API will no longer return a location header.
  • [D005] usePrimaryKeyType: model IDs are based on the database’s primary key type instead of being hard-coded as a string.

Updated modules

Updated plugins

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)