Skip to content

Releases: cap-js-community/mtx-tool

v0.11.2

17 Feb 13:29
30e7fdb

Choose a tag to compare

ADDED

  • svm: add client headers Client-Name and Client-Version for all calls to service-manager.

FIXED

  • cds: list filter for subdomain works again.

  • cds: works with xsuaa broker plan again (fixes #161).

v0.11.1

10 Dec 11:57
b27483c

Choose a tag to compare

ADDED

  • svm: new command --svm-fresh-bindings to create new bindings without deleting the current bindings. this is meant
    for scenarios, where you create new bindings, do rolling restarts, and then run --svm-repair-bindings for cleanup.

  • svm: new bindings created via --svm-fresh-bindings, --svm-refresh-bindings, or --svm-repair-bindings will have
    a managing_client_lib label if their associated instances have the offering hana and plan hdi-shared. this
    specific label was expected by cap java until recently.

FIXED

  • svm: new bindings created via --svm-fresh-bindings or --svm-refresh-bindings will combine the labels from the
    associated instance and from the previous binding.

v0.11.0

24 Nov 10:31

Choose a tag to compare

⚠️ This release is potentially disruptive. The configured app used for cds commands now needs to be bound to an auth
service: both xsuaa (UAA) and identity (IAS) are supported. For most projects, this will be the case already.

CHANGED

  • core: require node engine >= 20.0.0

  • cds: now supports IAS-only, unless the @sap/cds-mtxs endpoints are protected by a custom mTLS middleware.

FIXED

  • core: move from deprecated url.parse() to silly WHATWG API.

v0.10.3

29 Oct 13:46

Choose a tag to compare

CHANGED

  • [experimental] core: requests that fail and get a retry, will be logged with a request id [req-xx] for easier
    correlation.
  • [experimental] core: extended list of correlation headers to X-CorrelationId, X-Correlation-Id, X-Request-Id,
    X-Vcap-Request-Id.

ADDED

  • set: added a new configuration option for an app to access subscription manager.

  • reg: all reg commands will work with either subscription manager or saas registry or both depending on what is
    configured with set (fixes #100).

  • reg: new command --registry-migrate to migrate one tenant from saas registry to subscription manager. this
    operation is irreversible and requires that the tenant's subaccount trusts an IAS with origin key sap.custom.

FIXED

  • cds: cdsl will correctly display values for tenants held in either saas registry or subscription manager (fixes #127).

v0.10.2

29 Jul 12:15

Choose a tag to compare

CHANGED

  • svm: new bindings inherit all labels from the underlying service instance.

  • svm: new bindings always get a service_plan_id label, which is expected by @sap/cds-mtxs.

ADDED

  • [experimental] set env variable MTX_CORRELATION=1 to log correlation information for service responses.
    we will show the first matching header of: X-CorrelationId, X-Correlation-Id, X-Vcap-Request-Id.

v0.10.1

23 Jun 09:13

Choose a tag to compare

FIXED

  • svm: --svm-repair-bindings and --svm-refresh-bindings will ignore instances with ready: false.

v0.10.0

11 Jun 08:47

Choose a tag to compare

⚠️ This release is potentially disruptive. We carved out the service-manager interactions from hdi into a new section
svm. Among other things, this allows us to handle credentials rotation for all managed service plans consistently, not
just for HANA containers.

deprecated hdi command corresponding svm command
--hdi-list-relations --svm-list
--hdi-rebind-tenant TENANT_ID --svm-refresh-bindings hana:hdi-shared TENANT_ID
--hdi-rebind-all --svm-refresh-bindings hana:hdi-shared all-tenants
--hdi-repair-bindings --svm-repair-bindings hana:hdi-shared
--hdi-delete-tenant TENANT_ID --svm-delete hana:hdi-shared TENANT_ID
--hdi-delete-all --svm-delete hana:hdi-shared all-tenants

REMOVED

  • srv: command --server-start-debugger is not needed anymore, this happens implicitly now with --server-debug.

CHANGED

  • hdi: all binding manipulation commands have migrated to dedicated service-manager.

ADDED

  • svm: new dedicated command section for service-manager interactions (fixes #87).

  • svm: coding that creates or deletes bindings has some built-in retries for temporary outages.

  • cds: cds upgrade commands will download tenant deployment logs from cf app container.

FIXED

  • svm: --svm-repair-bindings command will now clean up bindings with ready: false.

v0.9.4

27 Feb 15:02

Choose a tag to compare

Added

  • cds: offer an optional flag --first-instance for --cds-upgrade-all that will cause all tenants to be processed by
    the first app instance only. this will make the upgrade less resource efficient, but resilient to auto-scaling.
    (fixes #104)

Fixed

  • hdi: change internal logic to identify the relevant service both by offering name hana and plan name hdi-shared.
    this takes one more request, but it's much cleaner. before, we had implicitly assumed that no other service offering
    uses the plan name hdi-shared.

v0.9.3

22 Jan 09:21

Choose a tag to compare

Fixed

  • srv: fix debug command type mixture bug where app instance argument was ignored

  • srv: fix certificate dump command

v0.9.2

13 Dec 14:55

Choose a tag to compare

Needed to release this again to include npm-shrinkwrap.json into published files.

Fixed

  • cds: fix cds upgrade safety net for stalled upgrades

  • the whatwg-url override did not reach users, because it only works
    locally. this should be fixed by using shrinkwrap.