cloudly/changelog.md

17 KiB

Changelog

2025-01-02 - 4.12.1 - fix(deps)

Updated @git.zone/tspublish to version ^1.9.1

2025-01-02 - 4.12.0 - feat(cli)

Add CLI support and external registries view

  • Adds CLI client functionality
  • Introduces a new view for External Registries in the dashboard

2024-12-30 - 4.11.0 - feat(external-registry)

Introduce external registry management

  • Added ExternalRegistryManager to handle external registry operations.
  • Implemented ability to create, retrieve, and delete external registries.
  • Enhanced Cloudly class to include ExternalRegistryManager.

2024-12-29 - 4.10.0 - feat(apiclient)

Added support for managing external registries in the API client.

  • Introduced methods to get a registry by ID, get all registries, and create a new registry in the externalRegistry object.
  • Updated external registry request interfaces to match new API client capabilities.

2024-12-29 - 4.9.0 - feat(apiclient)

Add external registry management capabilities to Cloudly API client.

  • Introduce ExternalRegistry class with methods for getting, creating, and updating external registries.
  • Expand requests module to handle external registry management, including creation and deletion.

2024-12-28 - 4.8.1 - fix(interfaces)

Fix image location schema in IImage interface

  • Refactored the 'external' object within IImage data to a 'location' object.
  • Added 'internal' boolean to 'location' to specify internal/external status.

2024-12-28 - 4.8.0 - feat(manager.registry)

Add external registry management

  • Introduced ExternalRegistry class for handling external registry configurations.
  • Updated IExternalRegistry interface to include registry details.
  • Enhanced IImage interface to support linking with external registries.

2024-12-28 - 4.7.1 - fix(secretmanagement)

Refactor secret bundle actions and improve authorization handling

  • Refactored secret bundle handling by renaming methods and reorganizing static and instance methods in SecretBundle class.
  • Added getSecretBundleByAuthorization method to SecretBundle.
  • Improved getFlatKeyValueObjectForEnvironment to accurately retrieve key-value pairs for specified environments.
  • Removed deprecated IEnvBundle interface and related request handler for better clarity and code usage.
  • Updated request interfaces related to secret bundles for consistent method naming and arguments.

2024-12-22 - 4.7.0 - feat(apiclient)

Add method to flatten secret bundles into key-value objects.

  • SecretBundle: Implemented toFlatKeyValueObject method to flatten secret groups into key-value pairs.
  • Removed stale SecretManager class from apiclient.

2024-12-22 - 4.6.0 - feat(cloudlyapiclient)

Extend CloudlyApiClient with cluster, secretbundle, and secretgroup methods

  • Added methods to CloudlyApiClient for managing clusters: getClusterById, getClusters, createCluster.
  • Added methods to CloudlyApiClient for managing secret bundles: getSecretBundleById, getSecretBundles, createSecretBundle.
  • Added methods to CloudlyApiClient for managing secret groups: getSecretGroupById, getSecretGroups, createSecretGroup.

2024-12-22 - 4.5.5 - fix(apiclient)

Fixed image creation method in cloudlyApiClient

  • Corrected method call from 'images.createImage' to 'image.createImage' to ensure proper image creation.
  • Updated cluster retrieval methods and ensured proper API routes are being called.

2024-12-21 - 4.5.4 - fix(ts_web)

Fix action type and data fields in appstate for CRUD operations

  • Correct request method in createSecretGroupAction to accurately reflect the purpose.
  • Align the deleteSecretGroupAction and deleteSecretBundleAction request types with proper interfaces.
  • Ensure data payload matches backend requirements for secret group and secret bundle operations.

2024-12-21 - 4.5.3 - fix(secret-management)

Refactor secret management to use distinct secret bundle and group APIs. Introduce API client classes for secret bundles and groups.

  • Updated secret management logic to separate secret bundle and group APIs.
  • Implemented new API client classes for managing secret bundles and groups.
  • Fixed incorrect method usages for secret-related actions.

2024-12-20 - 4.5.2 - fix(apiclient)

Implemented IService interface in Service class and improved secret bundle documentation.

  • Implemented plugins.servezoneInterfaces.data.IService interface in the Service class within ts_apiclient.
  • Updated documentation comments for the type property in the ISecretBundle interface.

2024-12-17 - 4.5.1 - fix(core)

Updated dependencies in package.json to latest versions.

  • Bumped @git.zone/tswatch to version ^2.0.37
  • Bumped @types/node to version ^22.10.2
  • Bumped @design.estate/dees-catalog to version ^1.3.2
  • Bumped @push.rocks/smartfile to version ^11.0.23
  • Bumped @tsclass/tsclass to version ^4.2.0

2024-12-14 - 4.5.0 - feat(services)

Add service management functionalities

  • Integrated service-related API client methods including getServices, getServiceById, and createService.
  • Updated the deployment data structure in the service manager.
  • Enhanced service interface to incorporate additional fields for comprehensive data handling.
  • Ensured secure token generation for Cloudly authentication processes.

2024-11-18 - 4.4.0 - feat(api-client)

Add static method getImageById for Image class in api-client

  • Introduced a static method getImageById in the Image class.
  • Updated CloudlyApiClient to include the getImageById method in the images interface.

2024-11-18 - 4.3.21 - fix(interfaces)

Remove deprecated deployment directive and update related interfaces

  • Removed IDeploymentDirective from data and requests.
  • Updated IDeployment to remove references to directives.
  • Changed IRequest_Any_Cloudly_GetClusterConfig to return services instead of deployment directives.
  • Removed deploymentDirectiveIds from IService data structure.

2024-11-18 - 4.3.20 - fix(apiclient)

Ensure mandatory parameter in CloudlyApiClient constructor

  • Made the 'optionsArg' parameter mandatory in the constructor of CloudlyApiClient class.

2024-11-18 - 4.3.19 - fix(docker)

Fix improper Docker push command preventing push to the correct registry.

  • Corrected the docker push command in the '.gitea/workflows/docker_tags.yaml' file to push images to the 'code.foss.global' registry.

2024-11-17 - 4.3.18 - fix(docker_tags)

Updated Docker configuration to include NPM tokens.

  • Restored NPMCI_TOKEN_NPM and NPMCI_TOKEN_NPM2 environment variables in docker_tags.yaml for authentication purposes.

2024-11-17 - 4.3.17 - fix(Dockerfile)

Corrected docker base image tag in Dockerfile for alpine compatibility.

  • Updated Dockerfile to use the correct base image tag for Alpine.
  • Resolved any potential build issues related to incorrect image tag usage.

2024-11-17 - 4.3.16 - fix(infrastructure)

Correct Docker image path in Dockerfile for improved build consistency.

  • Dockerfile: Updated base image paths from 'code.foss.global/hosttoday/ht-docker-node' to 'code.foss.global/host.today/ht-docker-node'.

2024-11-17 - 4.3.15 - fix(project setup)

fixed incorrect configuration in npmextra.json

  • Removed unnecessary 'dockerBuildargEnvMap' entry for NPMCI_TOKEN_NPM2.
  • Corrected the githost and gitscope in gitzone module configuration.
  • Updated the license field to reflect the correct license.

2024-11-16 - 4.3.14 - fix(docker tags)

Comment out unused secret variables in docker_tags.yaml

  • Modified docker_tags.yaml to comment out unused secret variables related to NPM and GitHub tokens.

2024-11-16 - 4.3.13 - fix(package)

Updated package dependencies

  • Updated @design.estate/dees-catalog version to 1.3.1

2024-11-06 - 4.3.12 - fix(workflow)

Fix Docker image path in GitHub action workflow

  • Corrected the path of the Docker image used in the GitHub action workflow from 'code.foss.global/hosttoday/ht-docker-dbase:npmci' to 'code.foss.global/host.today/ht-docker-dbase:npmci'.

2024-11-06 - 4.3.11 - fix(overall)

Refactor and improve code consistency across all modules

  • Updated cloud configuration management for better reliability.
  • Enhanced security measures in the authentication and authorization processes.
  • Streamlined deployment logic in cluster management.
  • Refactored code to improve maintainability and readability.

2024-11-06 - 4.3.10 - fix(dependencies)

Updated dependencies and fixed Docker Alpine image retrieval issue in tests

  • Updated @push.rocks/tapbundle to version ^5.5.0 in devDependencies.
  • Updated @push.rocks/smartrequest to version ^2.0.23 in dependencies.
  • Ensured the Docker Alpine image is retrieved as a local tarball in cloudlyfactory.ts test helper.

2024-11-06 - 4.3.9 - fix(test and dependencies)

Corrected cloudlyUrl in test.apiclient and updated tapbundle dependency.

  • Fixed cloudlyUrl assignment in the test.apiclient to use the correct helper method.
  • Updated tapbundle dependency version from ^5.4.3 to ^5.4.4.

2024-11-06 - 4.3.8 - fix(api client)

Fixed localhost URL issue in test.client.ts

  • Changed the cloudlyUrl in test.client.ts from 'localhost' to '127.0.0.1' to ensure consistency in network requests.

2024-11-06 - 4.3.7 - fix(tests)

Refactored test setup for consistency and isolated config initialization.

  • test/helpers/cloudlyfactory.ts: Test configuration setup was refactored to ensure consistent initialization of cloudly configuration across tests.
  • test/test.apiclient.ts: Updated cloudlyApiClient test setup to use testCloudlyConfig for dynamic port allocation.

2024-11-06 - 4.3.6 - fix(test)

Enhance test helpers with dynamic Hetzner token retrieval.

  • Updated test/helpers/cloudlyfactory.ts to retrieve Hetzner token from environment variables.
  • Expanded docker_tags workflow to securely handle and pass new environment secrets.

2024-11-06 - 4.3.5 - fix(helpers)

Add missing sslMode configuration to Cloudly config.

  • Added the sslMode key with a value of 'none' to the Cloudly configuration object in test/helpers/cloudlyfactory.ts.

2024-11-06 - 4.3.4 - fix(testing)

Fixed Cloudly testing setup and dependencies

  • Updated devDependency @push.rocks/tapbundle version from ^5.3.0 to ^5.4.3 in package.json.
  • Updated devDependency @push.rocks/npmextra version from ^5.1.1 to ^5.1.2 in package.json.
  • Improved the Cloudly test suite setup to ensure proper initialization of MongoDB and S3 services.
  • Ensured asynchronous stopping and cleanup of MongoDB and S3 services post-test execution.

2024-11-05 - 4.3.3 - fix(core)

Fix configuration initialization by accepting a config argument

  • Configuration initialization now accepts an optional config argument
  • Updated test cloudly factory to use default public URL and port
  • Updated dependencies versions

2024-11-05 - 4.3.2 - fix(npmextra)

Updated npm registry URL in npmextra.json

2024-11-05 - 4.3.1 - fix(package)

Update dependency version for @git.zone/tspublish

  • Bump @git.zone/tspublish from version ^1.7.6 to ^1.7.7 in package.json

2024-11-05 - 4.3.0 - feat(dependencies)

Upgrade dependencies and include publish orders

  • Upgraded @git.zone/tsbuild to version ^2.2.0
  • Upgraded @git.zone/tspublish to version ^1.7.6
  • Upgraded @types/node to version ^22.8.7
  • Added publish order to ts_apiclient/tspublish.json and ts_interfaces/tspublish.json

2024-11-04 - 4.2.1 - fix(config)

Fix Docker image URL in Gitea workflow.

  • Corrected the IMAGE URL from 'hosttoday' to 'host.today'.

2024-11-04 - 4.2.0 - feat(cloudron)

Add Dockerfile for Cloudron deployment

  • Introduced a new Dockerfile for Cloudron deployment.
  • The Dockerfile uses the latest version of cloudly as a base image.

2024-10-28 - 4.1.3 - fix(dependency)

Updated dependency @git.zone/tspublish to version ^1.6.0

  • Bumped @git.zone/tspublish version from ^1.5.5 to ^1.6.0 in package.json

2024-10-28 - 4.1.2 - fix(core)

Corrected description and devDependencies

  • Updated package.json description to accurately reflect features.
  • Added @git.zone/tsdoc to devDependencies.
  • Corrected version discrepancy in @types/node devDependency.
  • Standardized description across multiple files including npmextra.json.

2024-10-28 - 4.1.1 - fix(core)

Fixed syntax issues in commitinfo data and package.json file.

  • Added a missing newline at the end of the package.json file.
  • Corrected a trailing comma and added proper syntax in the commitinfo data.

2024-10-28 - 4.1.0 - feat(core)

Enhance core functionality for cloud management and orchestration

  • Improved initialization and management of cloud environments with Docker Swarmkit.
  • Added capability to manage DNS records via Cloudflare.
  • Introduced integration support for DigitalOcean resources.

2024-10-28 - 4.0.1 - fix(package_manager)

Update @git.zone/tspublish dependency version

  • Bump @git.zone/tspublish version from 1.5.4 to 1.5.5.

2024-10-28 - 4.0.0 - BREAKING CHANGE(core)

Significant overhaul with potential breaking changes, update to version 3.0.0

  • Updated project version from 1.2.5 to 3.0.0 in package.json

2024-10-28 - 1.2.5 - fix(build)

Updated devDependencies for tspublish and removed buildDocs script

  • devDependencies updated: @git.zone/tspublish to version ^1.5.4
  • Removed: buildDocs script from the scripts section

2024-10-27 - 1.2.4 - fix(ci)

Fix Docker images and npm registry URL in CI workflows

  • Updated Docker image registry URL from 'registry.gitlab.com' to 'code.foss.global'.
  • Fixed npmci package installation path from '@shipzone/npmci' to '@ship.zone/npmci'.

2024-10-23 - 1.2.3 - fix(cli)

Set up CLI client definition and registry configuration

  • Added a console log message for CLI identification.
  • Defined package name for CLI client.
  • Configured npm registries for package distribution.

2024-10-23 - 1.2.2 - fix(docs)

Updated documentation with clearer usage instructions and examples.

  • Refined setup guides in README.
  • Added more detailed examples in code snippets.
  • Clarified cloud service integration instructions.

2024-10-23 - 1.2.1 - fix(core)

Fixed startup issue for the Cloudly instance

2024-10-21 - 1.2.0 - feat(cli)

Add tspublish.json for CLI client and interfaces

  • Added registration details for publishing CLI client (@serve.zone/cli)
  • Specified npm and custom registries in the tspublish.json for better publish control
  • Updated dependency version for @git.zone/tspublish in package.json

2024-10-21 - 1.1.9 - fix(build)

Update Node types and other dependencies, add tspublish.json for api client

  • Updated Node types devDependency to version ^22.7.7 from ^22.7.5.
  • Updated smartbucket dependency to version ^3.0.23 from ^3.0.22.
  • Added tspublish configuration file to the api client.
  • Fixed the npm publish script in package.json.

2024-10-16 - 1.1.8 - fix(big fix upgrade)

fix: update dependency versions and address type errors

  • Updated all listed dependencies in the package.json to their specified ranges.
  • Fixed type mismatches and added missing imports in various TypeScript files.
  • Refined existing tests and added a new helper to manage Docker image streams.

2024-08-25 - 1.1.7 - fix(deps)

Update dependencies to latest versions

  • Updated @git.zone/tsbuild from ^2.1.80 to ^2.1.84
  • Updated @push.rocks/tapbundle from ^5.0.23 to ^5.0.24
  • Updated @types/node from ^20.14.6 to ^22.5.0
  • Updated @apiclient.xyz/docker from ^1.2.2 to ^1.2.3
  • Updated @design.estate/dees-catalog from ^1.0.289 to ^1.1.6
  • Updated @design.estate/dees-element from ^2.0.34 to ^2.0.36
  • Updated @git.zone/tsrun from ^1.2.37 to ^1.2.49
  • Updated @push.rocks/smartbucket from ^3.0.20 to ^3.0.22
  • Updated @push.rocks/smartpromise from ^4.0.3 to ^4.0.4
  • Updated @serve.zone/interfaces from ^1.0.74 to ^1.0.78
  • Updated @tsclass/tsclass from ^4.0.60 to ^4.1.2

2024-06-20 - 1.1.6 - Updates

Routine updates and fixes.

  • (fix) core: update

2024-06-13 - 1.1.4 - Service Management Preparation

Incorporated updates and service management preparations.

  • (fix) core: update
  • (feat) prepare service management

2024-06-05 - 1.1.3 - CI Integration Improvement

Structural improvements and better CI integration preparation.

  • (fix) structure: improve structure, prepare better CI integration

2024-06-02 - 1.1.2 - Image Manager Update

Prepared proper storage and retrieval of container images.

  • (fix) imagemanager: prepare proper storage and retrieval of container images

2024-06-01 - 1.1.0 - Image Registry Work

Initiated work on image registry.

  • (fix) image registry: start work on image registry

2024-05-30 - 1.0.216 - Enhanced Smartguards

Enhanced smartguards to verify action authorization.

  • (feat) guards: use better smartguards to verify action authorization

2024-05-28 - 1.0.215 - Unified Package Update

Updated package unification for cloudly + API + CLI.

  • (fix) switch to unified package for cloudly + API + CLI: update

2024-05-05 - 1.0.214 - Core Updates

Routine core updates.

  • (fix) core: update

2024-04-20 - 1.0.213 - Core Update

Routine core updates.

  • (fix) core: update