Skip to content

Releases

APIM-CLI 1.15.1

Choose a tag to compare

@github-actions github-actions released this 25 Nov 20:07

[1.15.1] 2026-11-25

Added

  • New option -credentialType for app get to export only applications having at least one credential of the given type
    (#601). Supported types are oauth, apikeys and extclients; several
    types can be given comma separated, e.g. apim app get -s api-env -credentialType oauth -o json -t /tmp/exported_apps. The option can be combined
    with -credential and -redirectUrl, in which case the matching credential must be of the given type.
  • APIImportApp returns the details of an error (#594). Applications, which use
    the class to import APIs (e.g. in a service used by a CI/CD pipeline), get the error code, the name of the error, the message and the details of the
    underlying causes instead of only the return code: APIImportApp.importAPIwithDetails(params) returns a one-line JSON, e.g.
    {"errorCode":25,"error":"CANT_SEND_HTTP_REQUEST","mappedErrorCode":25,"message":"Can't login to API-Manager","details":["Connect to https://localhost:8075 failed: Connection refused"]}.
    mappedErrorCode is the return code of the CLI, which differs from errorCode if -returnCodeMapping is used.
  • The CLI prints the same one-line JSON to stderr, if api import fails and the environment variable print_error_details=true is set. Nothing changes if the
    variable is not set.

Fixed

  • Applications with the same name (in the same or in different organizations) were not all exported by app get: the second application was
    skipped, or with -deleteTarget replaced the export of the first one, as the export folder was derived from the application name only
    (#600). Each application is now exported into its own folder; a repeated
    name gets a numeric suffix (My-App, My-App_1, My-App_2). This applies to the JSON and YAML export.
  • Updating the quota of an API corrupted restrictions that use the same method, e.g. a throttle and a throttlemb restriction for *
    (#592). Restrictions were matched by method only, which turned
    one restriction into the other. They are now identified by method, type, period and per. Restrictions of the same type and method with a different
    period (e.g. 100 messages per second and 10000 messages per day) are kept apart. Changing the limit updates the restriction, changing
    the type, period or per replaces it.
  • Application quota restrictions of different APIs, which are given by apiPath, were all applied to the first API. The API lookup reused
    the cached response of a previous lookup by another API path, as the cache key of the API filter ignored the API path
    (#567). The same applies to any other lookup of APIs by apiPath,
    state, deprecated, retired or createdOn within one execution.
  • Updating an API failed with "No operation found with name: ''" if an inbound or outbound profile exists for a specific operation and the API
    is updated more than once during an import, for example when the backendBasepath is changed together with other properties
    (#581).
  • OpenAPI 3.1 specifications with resolve_openapi_ref=true failed silently on import (#582):
    • The resolved specification was ignored, as the original specification was used after resolving the references.
    • The resolved OpenAPI 3.1 model was serialized with a plain Jackson mapper instead of the one of swagger-core, which fails for
      boolean schemas like additionalProperties: false. Mixed up swagger library versions (NoSuchMethodError for booleanSchemaValue)
      were fixed by aligning swagger-models and swagger-core.
    • Errors while resolving the references now fail the import with a message. References are only resolved for OpenAPI 3.x specifications.
    • Errors thrown by a command, which are no longer lost silently, are now logged by the CLI.

Changed

  • Improved the performance of commands loading remote hosts, like api get, api import and the settings export. The users (createdBy) and organizations
    of remote hosts are only loaded for the requested remote hosts, instead of one by one (/users/{id}) for all remote hosts on every
    lookup (#462).
  • Upgraded dependencies:
    • swagger-parser 2.1.19 to 2.1.48
    • swagger-models 2.2.0 to 2.2.55 (swagger-core 2.2.55 is now managed as well). The 3.x line of swagger-models requires
      Jackson 3 and is not supported by swagger-parser yet, so it is not used.
    • Ehcache 3.10.8 to 3.12.0, now using its jakarta build together with jaxb-runtime 4.0.9 (jakarta.xml.bind) instead of
      the javax based jaxb-runtime 2.3.9 to read cacheConfig.xml. A customized conf/cacheConfig.xml keeps working.

Removed

  • OData support was removed. Passing an OData $metadata / EDMX document (OData V2, V3 and V4) as the API
    definition of api import is no longer supported and fails with a message pointing to the replacement.
    The conversion was built on Apache Olingo, which is no longer maintained. It moved to
    the separate project apim-cli-odata, which converts OData V2/V4 metadata into an OpenAPI 3 specification:
    apim-odata convert -m <metadata file or URL> -b <backend of the OData service> -o openapi.json
    
    Convert the metadata first, then import the resulting OpenAPI file with the CLI as usual. Everything else about
    importing such an API stays the same. The OData-Routing policy is still required for these APIs. API-Specification
    filters can still be applied, as they now work on the converted OpenAPI file.
  • Removed the OData example configurations from examples/basic and the Apache Olingo dependencies.

APIM-CLI 1.14.16

Choose a tag to compare

@github-actions github-actions released this 12 Nov 22:12

[1.14.16] 2026-11-12

Fixed

  • API import of a WSDL based API with -overrideSpecBasePath ignores backendBasepath and uses the endpoint from the WSDL

  • Updating an existing application with an extclients credential failed with a 404 when its clientId was the same as
    the clientId of an existing OAuth credential, because the OAuth credential was matched instead. Credentials are now
    matched by type as well as by ID (#597).

Changed

  • With -quotaMode replace an API without an application or system quota now removes the quota configured for the
    API in API-Manager. With the other quota modes a missing quota still keeps the existing one.
  • Upgraded dependencies:
    • Apache HttpClient 4.5.14 (end-of-life) to HttpClient 5 (httpclient5 5.6.4)
    • jackson-* to 2.22.4 to fix security issues
    • log4j to 2.26.1 and slf4j-api from 1.7.36 to 2.0.20. log4j-slf4j-impl is replaced by log4j-slf4j2-impl
  • Quota restrictions are now added, updated and removed individually using the API-Manager endpoints below
    /quotas/{id}/constraints instead of replacing the complete quota document. This leaves the restrictions of
    other APIs untouched and avoids lost updates. API-Managers older than 7.7.20261130 keep using the previous
    document level update, and the CLI falls back to it automatically if the endpoints are not served.

Added

  • API import supports -quotaUpdateMode (auto, legacy, constraints) to control how quotas are written to
    API-Manager. Defaults to auto.

Deprecated

  • OData support is deprecated and will be removed in the next release. Passing an OData $metadata / EDMX
    document as the API definition, which the CLI detects and converts to OpenAPI before importing, is affected for
    all three versions: OData V2, V3 and V4.
    The conversion is built on Apache Olingo, which is no longer maintained, so it
    cannot be kept up to date or secured within this project.
    The conversion will move to a separate project that turns OData metadata into an OpenAPI definition. Convert the
    metadata there first, then import the resulting OpenAPI document with the CLI as usual. Everything else about
    importing such an API, including the generated API-Methods, stays the same.

APIM-CLI 1.14.16-SNAPSHOT

Pre-release

Choose a tag to compare

Fixed

API import of a WSDL based API with -overrideSpecBasePath ignores backendBasepath and uses the endpoint from the WSDL

Changed

  • With -quotaMode replace an API without an application or system quota now removes the quota configured for the
    API in API-Manager. With the other quota modes a missing quota still keeps the existing one.
  • Upgraded dependencies:
    • Apache HttpClient 4.5.14 (end-of-life) to HttpClient 5 (httpclient5 5.6.4)
    • jackson-* to 2.22.4 to fix security issues
    • log4j to 2.26.1 and slf4j-api from 1.7.36 to 2.0.20. log4j-slf4j-impl is replaced by log4j-slf4j2-impl
  • Quota restrictions are now added, updated and removed individually using the API-Manager endpoints below
    /quotas/{id}/constraints instead of replacing the complete quota document. This leaves the restrictions of
    other APIs untouched and avoids lost updates. API-Managers older than 7.7.20261130 keep using the previous
    document level update, and the CLI falls back to it automatically if the endpoints are not served.

Added

  • API import supports -quotaUpdateMode (auto, legacy, constraints) to control how quotas are written to
    API-Manager. Defaults to auto.

Deprecated

  • OData support is deprecated and will be removed in the next release. Passing an OData $metadata / EDMX
    document as the API definition, which the CLI detects and converts to OpenAPI before importing, is affected for
    all three versions: OData V2, V3 and V4.
    The conversion is built on Apache Olingo, which is no longer maintained, so it
    cannot be kept up to date or secured within this project.
    The conversion will move to a separate project that turns OData metadata into an OpenAPI definition. Convert the
    metadata there first, then import the resulting OpenAPI document with the CLI as usual. Everything else about
    importing such an API, including the generated API-Methods, stays the same.

APIM-CLI 1.14.15

Choose a tag to compare

@github-actions github-actions released this 26 Aug 16:59

[1.14.15] 2026-08-26

Fixed

  • Can't write certificate to disc #591

Added

  • API import supports -safeUpdate to prevent updates when an existing API path belongs to a different API name #556
  • Allow deletion of application credentials like oauth/apikey #583
  • Extend the functionality of "override_certificates" environment property #565

APIM-CLI 1.14.14

Choose a tag to compare

@github-actions github-actions released this 13 Jul 19:51

[1.14.14] 2026-07-13

Fixed

  • code 102 and message "Quota constraint not found" (#588)
  • API Methods summary fields are being lost after api import (#587)
  • template generate -includeMethods does not work in 1.14.12 (#586)
  • Creating external application developer user with apim-cli (#577)
  • APIM CLI -state Parameter Not Working (#576)

Added

  • Show outbound security in export (#569)

APIM-CLI 1.14.13

Choose a tag to compare

@github-actions github-actions released this 06 Feb 04:43

##[1.14.13] 2026-02-05

Fixed

  • Parameter to override apiBasepath doesn't work #568
  • Fix issue with updating of external credentials #570

Added

  • Full export API in JSON file (See issue #557
    • Added new environment parameter RESOLVE_OPENAPI_REF to resolve open api references

APIM-CLI 1.14.12

Choose a tag to compare

@github-actions github-actions released this 18 Aug 02:43

[1.14.12] 2025-08-17

Fixed

  • Exporting multiple APIs with the same path overwrites configuration files in the same target directory (See issue #545)
  • apim api get doesn't give the list of APIs (See issue #543)

Added

  • Full export API in JSON file (See issue #559)
  • Support may 2025 APIM release (See issue #562)
  • Support OpenAPI 3.1.x (See issue #537)

APIM-CLI 1.14.11

Choose a tag to compare

@github-actions github-actions released this 26 Feb 18:17

[1.14.11] 2025-02-26

Fixed

  • Error 409 from API Gateway API when creating API-Access for application(See issue #538)
  • APIM-cli import breaks feAPIs with basic auth w/out password(See issue #470)

Full Changelog: 1.14.10...1.14.11

APIM-CLI 1.14.10

Choose a tag to compare

@github-actions github-actions released this 04 Feb 16:50

[1.14.10] 2025-02-04

Fixed

  • Regression when updating API proxy(See issue #535)
  • Custom Properties not exported correctly (empty or with wrong value)(See issue #473)

What's Changed

Full Changelog: 1.14.9...1.14.10

APIM-CLI 1.14.9

Choose a tag to compare

@github-actions github-actions released this 27 Jan 17:24

[1.14.9] 2025-01-27

Fixed

  • File extension is missing in apiSpecification.resource when exporting API(See issue #528)

Added

  • Support csv format for organization export (See issue #534)
  • Generate api-config.json with permethod override and methods tags (See issue #522)
  • import .dat APIs (See issue #532)

What's Changed

Full Changelog: 1.14.8...1.14.9