Skip to content

Releases: cap-js-community/mtx-tool

v0.9.2

13 Dec 14:55
Compare
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.

v0.9.1

13 Dec 14:31
Compare
Choose a tag to compare

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.

v0.9.0

07 Dec 08:32
Compare
Choose a tag to compare

Removed

  • node v16 is no longer supported

  • hdi: remove legacy instance manager code

  • cds: remove legacy cds-mtx code

  • reg: remove registry job command

  • srv: remove server info command

Changed

  • marked --server-start-debugger as not dangerous

Added

  • established baseline test coverage

  • hdi: list relations also gets the --json flag

Fixed

  • override whatwg-url to v14. this fixes a punycode incompatibility
    warning when using the commonjs variant of node-fetch with node v21+.

  • fix some internal context call queuing under parallel execution

  • fix console output for --server-start-debugger and --version

v0.8.8

04 Dec 08:02
Compare
Choose a tag to compare

Added

  • reg/cds/hdi: the list and long list command gets a --json flag to produce json output (fixes #86)

  • uaa: all uaa commands get a --json flag to produce json output

  • code scanning with codeQL

Fixed

  • added node v22 to voters

  • better separation for test request-replay recording and playback

  • hdi: fixed logic for ready list column, such that it's false if either instance or binding is not ready

  • srv: better resilience for apps with no buildpack

v0.8.7

23 Jul 07:34
Compare
Choose a tag to compare

Added

  • reg: new --only-stale and --only-failed filter options for most registry commands.
    stale here means that the last changed on day is older than the invocation day.

Fixed

  • reg: --registry-update-all is more resilient for failing calls

  • better error message for users with access restrictions due to new btp space supporter role

v0.8.6

03 Jun 13:41
Compare
Choose a tag to compare

Fixed

  • cds: upgrade now fails with a non-zero error code if an underlying task fails (fixes #82)

v0.8.5

15 May 08:19
Compare
Choose a tag to compare

Changed

  • reg: registry service calls now happen concurrently where appropriate similar to hdi and cds interactions.

Added

  • added environment variables to control polling frequency for interactions:

    environment variable effect
    MTX_CDS_FREQUENCY change polling frequency milliseconds for server async job calls (default is 15000)
    MTX_REG_FREQUENCY change polling frequency milliseconds for service async job calls (default is 15000)

Fixed

  • reg: better error handling for registry updates

v0.8.4

01 May 06:45
Compare
Choose a tag to compare

Fixed

  • reg: fixed a paging bug where most registry commands had an infinite loop if more than 200 tenants are handled. (reported by @cgaillydetaurines)

v0.8.3

26 Apr 09:41
Compare
Choose a tag to compare

Changed

  • cds: tenant upgrade now logs progress of individual tasks (@sap/cds-mtxs uses one task per tenant) for every poll.
    the logs will look something like:
    GET https://my-server-mtx.cfapps.sap.hana.ondemand.com/-/cds/jobs/pollJob(ID='d2f560dc-542c-4091-a632-919c941210b4') 200 OK (163ms)
    job d2f560dc-542c-4091-a632-919c941210b4 is RUNNING with tasks queued/running:  5/ 5 | failed/finished:  0/ 0
    GET https://my-server-mtx.cfapps.sap.hana.ondemand.com/-/cds/jobs/pollJob(ID='d2f560dc-542c-4091-a632-919c941210b4') 200 OK (98ms)
    job d2f560dc-542c-4091-a632-919c941210b4 is RUNNING with tasks queued/running:  4/ 5 | failed/finished:  0/ 1
    GET https://my-server-mtx.cfapps.sap.hana.ondemand.com/-/cds/jobs/pollJob(ID='d2f560dc-542c-4091-a632-919c941210b4') 200 OK (98ms)
    job d2f560dc-542c-4091-a632-919c941210b4 is RUNNING with tasks queued/running:  1/ 4 | failed/finished:  0/ 5
    ...
    
  • cds: tenant upgrade now tracks that task progress is still happening. if no progress is detected for 30 minutes, it
    will show the final status for each tenant and fail.

Added

  • uaa: some arguments can be passed in via environment variable instead of the commandline. this behavior is expected
    by Jenkins and Github Actions. for example, the following is now possible:
    UAA_USERNAME=user UAA_PASSWORD=pass mtx --uaa-user
    

Fixed

  • sensitive input arguments are now masked in the running console output

v0.8.2

15 Mar 07:14
Compare
Choose a tag to compare

Fixed

  • removed npm postinstall script

Changed

  • hdi: all accesses to service instances and bindings now filter for the service-plan hdi-shared. this change allows
    the service-manager to be used with other services, e.g. redis-cache, alongside HANA containers.