Skip to content

v12.6.13

Latest

Choose a tag to compare

@clevercloud-ci clevercloud-ci released this 01 Dec 14:30
3dd1033

Patch Changes

  • #263 b23af5e - Add GetMysqlInfoCommand to read the details of a MySQL add-on

  • #263 aff1b87 - Add GetPostgresqlInfoCommand to read the details of a PostgreSQL add-on

  • #263 cd739a2 - Add GetRedisInfoCommand to read the details of a Redis add-on

  • #261 21678a4 - The type declarations now require TypeScript 5.0 or later

    They import each other with the .ts extension, which TypeScript resolves to the .d.ts files since 5.0.
    With an older TypeScript, the imports of @clevercloud/client fail to resolve with TS2691, or lose their types with skipLibCheck.

  • #264 3097a4b - Expose monthlyActiveUsers on the output of GetKeycloakInfoCommand, UpdateKeycloakVersionCommand and CreateKeycloakNetworkGroupCommand

    It counts the distinct users active since midnight UTC on the first day of the current month, and is undefined when the API cannot read it.

  • #266 c5819e6 - Breaking: MatomoInfo.resources.redisId is now optional

    A Matomo add-on can now be deployed without Redis, and the API then sends null.
    The client used to pass that null through: redisId, like kvId, is now undefined instead.
    Check for undefined before using it:

    -const redisId: string = matomo.resources.redisId;
    +const redisId: string | undefined = matomo.resources.redisId;
    +if (redisId != null) {
    +  // link to the Redis add-on
    +}
  • #266 55c43d3 - Add CheckMatomoVersionCommand and UpdateMatomoVersionCommand to check and change the Matomo version of an add-on

    Moving a single-instance add-on to Matomo 6 or later also deletes its Redis add-on: the output of UpdateMatomoVersionCommand then has no resources.redisId.

  • #265 6afbe3a - Expose resources.cellarId and resources.postgresqlId on the output of GetOtoroshiInfoCommand, UpdateOtoroshiVersionCommand and CreateOtoroshiNetworkGroupCommand

    Both are undefined when the instance has no Cellar or no PostgreSQL exporter.

  • #261 086cb93 - Private state of the classes is now held in _-prefixed properties instead of native # private fields

    Instances of the clients, commands, streams and errors now show these properties when inspected, listed with Object.keys() or serialized with JSON.stringify().
    They are not part of the public API: read the public getters instead.