Releases: cap-js-community/mtx-tool
v0.11.2
v0.11.1
ADDED
-
svm: new command
--svm-fresh-bindingsto 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-bindingsfor cleanup. -
svm: new bindings created via
--svm-fresh-bindings,--svm-refresh-bindings, or--svm-repair-bindingswill have
amanaging_client_liblabel if their associated instances have the offeringhanaand planhdi-shared. this
specific label was expected by cap java until recently.
FIXED
- svm: new bindings created via
--svm-fresh-bindingsor--svm-refresh-bindingswill combine the labels from the
associated instance and from the previous binding.
v0.11.0
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-mtxsendpoints are protected by a custom mTLS middleware.
FIXED
- core: move from deprecated url.parse() to silly WHATWG API.
v0.10.3
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
regcommands will work with either subscription manager or saas registry or both depending on what is
configured withset(fixes #100). -
reg: new command
--registry-migrateto 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 keysap.custom.
FIXED
- cds: cdsl will correctly display values for tenants held in either saas registry or subscription manager (fixes #127).
v0.10.2
CHANGED
-
svm: new bindings inherit all labels from the underlying service instance.
-
svm: new bindings always get a
service_plan_idlabel, which is expected by@sap/cds-mtxs.
ADDED
- [experimental] set env variable
MTX_CORRELATION=1to 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
FIXED
- svm:
--svm-repair-bindingsand--svm-refresh-bindingswill ignore instances withready: false.
v0.10.0
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-debuggeris 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-bindingscommand will now clean up bindings withready: false.
v0.9.4
Added
- cds: offer an optional flag
--first-instancefor--cds-upgrade-allthat 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
hanaand plan namehdi-shared.
this takes one more request, but it's much cleaner. before, we had implicitly assumed that no other service offering
uses the plan namehdi-shared.
v0.9.3
Fixed
-
srv: fix debug command type mixture bug where app instance argument was ignored
-
srv: fix certificate dump command
v0.9.2
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.